‎2006 Feb 24 8:57 AM
Hi,
Can anybody tell me in which parameter we will give the RFC Destination [Logical Destination] in BAPI Function Modules.
Thanks & Regards,
Rayeez.
‎2006 Feb 24 9:00 AM
You need to call your FM as:
CALL FUNCTION 'BAPI_...'
DESTINATION <system name>.
IMPORTING...
EXPORTING..
Sudha
‎2006 Feb 24 9:00 AM
You need to call your FM as:
CALL FUNCTION 'BAPI_...'
DESTINATION <system name>.
IMPORTING...
EXPORTING..
Sudha
‎2006 Feb 24 9:02 AM
WE HAVE TO SET RFC DESTINATION IN SM59.
CALL BAPI DESTINATION <DEST>.
‎2006 Feb 24 9:15 AM
Hi,
If we take example BAPI as <b>'BAPI_SALESORDER_CHANGE'</b> after running that BAPI F.M in program exactly in which parameter we will get the <b>RFC Destination</b>.
I want that parameter name.
Thanks for those replies.
Thanks & Regards,
Rayeez.
‎2006 Feb 24 9:23 AM
Hi,
While executing a BAPI, the destination is passed as part of the CALL FUNCTION statement, instead of passing as an Import parameter. Hence the BAPI does not store it anywhere as a parameter (unless you have an error in connecting to the system - in which case you might see an error message in the BAPI return table with the name of the logical system that it was unable to connect to).
Hope this helps.
Sudha
‎2006 Feb 24 9:28 AM
Hi,
here you will mention the destination name like this..
call fnction 'BAPI_SALESORDER_CHANGE' Destination <DEST>
this <DEST> value you will maintain using SM59, once you specify it it will check the availble destinations , and if it is there then it will proceed..
parameter type <b>RFCDEST</b>
Regards
vijay
‎2006 Feb 24 9:45 AM
Hi All,
Thanks for those replies.
I am closing the post by assigning points.
Thanks,
Rayeez.
‎2006 Feb 24 9:11 AM
Hi,
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA' DESTINATION DES.
destination are maintained using SM59.
Regards
vijay
‎2006 Feb 24 9:23 AM
Hi,
Without maintaining Logical Destination in SM59 also
can't we connect to RFC Destination through some parameter in BAPI Function Modules.
Thanks & Regards,
Rayeez.
‎2006 Feb 24 9:25 AM
No, you will need maintain a logical destination in SM59 for the BAPI to connect to a remote system.
Sudha