‎2008 Jan 02 2:49 PM
hi,
in APO sysyetm am having BAPI whic is 'BAPI_PBSRVAPS_GETDETAIL2'... in R/3,using this BAPI,
we have to get the data from APO system.
how can i write the code in R/3 can..and how to use the data from APO system to R/3...
can any body tell me its verry urjent..
-
Advance thanks...........
‎2008 Jan 02 4:38 PM
Raghu,
First, create a RFC connection for instance ZAPOSYSTEM using SM59 transaction (R/3 connection type). This connection should basically link your APO system from R/3 system. Basis team can you help you with this task.
Second, when you invoke your function module add the following line to it.
CALL FUNCTION 'BAPI_PBSRVAPS_GETDETAIL2'
DESTINATION 'ZAPOSYSTEM'
EXPORTING
etc.
‎2008 Jan 02 4:52 PM
Call Bapi using destination
CALL FUNCTION 'BAPI_PBSRVAPS_GETDETAIL2'
DESTINATION <Dest_System_id>
EXPORTING
abc
xyz
IMPORTING
gds
jds
EXCEPTIONS.
1
2
3.
NOTE:
1.Give the Exporting and importing parameters in the same order as in the BAPI definition.
2. Declare internal tables, work areas and variables with exactly same types as in the BAPI definition in the APO side, else the BAPI wont return anything.
Lokesh