on 03-21-2013 1:51 AM
Hi Experts
We want to make RFC call from APO to ECC to find the sales order number for the delivery and return the number to APO.
How best we can do that?
Regards
Mridul
Hi,
you do not need to go to ERP for that requirement the information can also be found in APO.
with
CALL FUNCTION '/SAPAPO/SDORDER_READ'
you get the tables
IMPORTING
et_ordadm_i = lt_ordadm_i
et_schedlin = lt_schedlin
these tables contain the information of deliveries and schedulines of sales documents in APO.
with
CALL FUNCTION '/SAPAPO/DM_OBREF_GET'
you can get the predecessor document for your delivery.
a similar code can be found in
class
/SAPAPO/CL_RRP_UNTOL
BR Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mridul,
Please check below links for calling an RFC connection from within the program, i believe that is what you are looking for.
http://help.sap.com/saphelp_nw04/helpdata/en/22/0429f8488911d189490000e829fbbd/content.htm
https://help.sap.com/saphelp_nw04/helpdata/en/22/042652488911d189490000e829fbbd/content.htm
I hope you will get what you are looking for with this.
Rgds
Sourabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.