Rfc code to call  any sap tcode  in excel macro

Advertisement

Hi all,
         We are trying call sap tcode in excel macro programm using RFC.
         Can any one  send me sample code for this?
         This is urgent.points will be rewarded.
regards,
Shyam

Advertisement

Hi harish kollipara
you should create the FM in the B system, that return some data that you can catch in system A after have called the FM.
check this link for the function:
http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/frameset.htm
CALL FUNCTION 'NAME OF FUNCTION' DESTINATION rfc_destination_name
importing ...
exporting ...
EXCEPTIONS
system_failure = 1
OTHERS = 2.
hope this help you
Marco

November 30, -0001

Rfc code to call  any sap tcode  in excel macro

Hi all,          We are trying call sap tcode in excel macro programm using RFC.          Can any one  send me sample code for this?          This is urgent.points will be rewarded. regards, ShyamHi harish kollipara you should create the FM in the B

Calling SAP Tcode on Button click

Hello All, i want to call SAP Tcode on click of button. below is the code for the same, data l_componentcontroller type ref to ig_componentcontroller .   data l_api_componentcontroller type ref to if_wd_component.   data l_sapgui_manager type ref to

SAP BAPI to get Component of any SAP Transaction

Dear All, I Want to get the Component Id of any given SAP Transaction Code, with the help of some SAP RFC. I tried to get the Component, I got it too but I need some SAP BAPI to do this task. Some details are available over here, Component of any SAP

Call SAP WebService in Excel

Hello, I want to call a WebService from a SAP-System in Excel. I created this WebService with the WebService Creation Wizard by using a RFC function. The WebService expects two parameters of string and it delivers a table. I'm using the MS SOAP Type

I cant see any thing any SAP MMC for my XI server.

Hi All, I cant see any thing any SAP MMC for my XI server. I checked the services SAPXID_00 and SAPXID_01, those sevices were not running. when i try to start the service I am getting error 1067: The process terminated unexpectedly. I have uninstalle

How to call standard SAP method in the Custom Program ?

Hi, i need to call sap standard method 'OpenItemRollinout' in my custom program. For the SAP Standard method 'OpenItemRollinoun' the BOR(Business Object) is 'PAYSCHEME'. So how to call the SAP standard method in the custom program ???Hi, In the metho

Error when making a call to SAP using SaveData

Hi, Iam getting the following error while making a function call to SAP T:5392 *>RfcInstallStrucure2: field 1 (SIZE_DIM, t:0, l:1) offset 16 too small Can somebody please explain me what's going wrong. Thanks & Regards, SudhaHi Sudha, WELCOME TO SD

Cprojects - calling a SAP transaction

Hi I am trying to call a sap transaction QA03 to display inspection lot. I need to do Customizing for Collaboration Projects under Connection to External Systems → Object Links in SAP Systems → Make Settings for Calling an SAP Transaction I need help

How can we make function calls to sap in odi ?

how can we make function calls to sap in odi ? to populate a column i need to make a function call which returns the value.There are two ODI SAP adapters available that allows extraction from SAP ERP and SAP BW. For SAP ERP we allow extraction from E

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion

I keep on getting this error while connecting to amfphp. Any idea what might be the problem? Code: private function init(e:Event = null):void             responder = new Responder(onResult, onFault);             connection = new NetConnection;       

Default Coder in VIM in SAP Portal

Hi all experts, When set and save the Default Coder in VIM in SAP Portal under Personalise setting, the next day or next time the coder's name is disappeared in the VIM SAP Portal screen and the most important is invoice does not route to the default

Function call in SAP GUI with errors

Dear All,              When i am calling FM of Comports using OLE Integration i got " Function call in SAP GUI with errors" error now my front end version is 6.40. how to solved this problem. In my Function Module i am creating object like this

Charam - System cancel RFC destination SM_GSPCLNT300_TMW, Call BAPI_USER_EX

While configuring charm for my prd rfc im getting following error. System cancel RFC destination SM_GSPCLNT300_TMW, Call BAPI_USER_EXISTENCE_CHECK: Password logon no longer possible - too many faile d attempts RFC connection of type SPACE does not ex

Web Service Call from SAP DS 4.2

Hello all, Thank you for any insight you can provide: When calling a web service from a function call in SAP DS 4.2, it constantly provides an XML formatting error. We can call the web service fine through SOAPUI. Here is what SAP DS sends back as th

Cannot call ANY stored functions from my Java program

My problem is that I cannot call ANY stored procedure from my Java program. Here is the code for one of my stored procedures which runs very well in PL/SQL: PL/SQL code: CREATE OR REPLACE PACKAGE types AS TYPE cursorType IS REF CURSOR; END; CREATE OR

Is there any SAP substitute role to create expense report for executives?

Hello, In an organization there are executives like MD, CEO and they need to submit their expenses. This activity is basically needs to be done by their secretary (substitute). So is there any SAP provided roles to do this activity? I have seen SAP_F

Has any SAP project integrated an EFTPOS device with ABAP Gui using an ActiveX controller?

Dear Friends, I would like to know, Has any SAP Project integrated an EFTPOS Devise with ABAP Gui using ActiveX Controller? If used could you please share the Technicalities involved in them as we have a suggestion to have the same used in our Projec

Update failed for Fireworks CS5 and Adobe Extension Manager CS5 5.0. Received Error Code: U43M1D207. Any suggestions?

Update failed for Fireworks CS5 and Adobe Extension Manager CS5 5.0. Received Error Code: U43M1D207. Any suggestions?Download the Fireworks updater from here: https://www.adobe.com/support/fireworks/downloads_updaters.html When you have downloaded an

Zoom option in accessibility enabled automatically and icon become so large. So not able to access (even call any no.) phone. Please fix this problem.

Zoom option in accessibility enabled automatically and icon become so large. So not able to access (even call any no.) phone. Please fix this problem.Update:  I tried the "Toshiba Recovery Wizard" after everything else either fizzled out or hung

Facing difficulty calling any Indian numbers (mobi...

I am facing difficulty calling any Indian numbers from UAE. I have recently subscribed to Skype calls to India. Everytime I call to any number, the call gets connected and drop after few seconds. Neither side is able hear anything. There is no ring t