12-14-2012 1:09 PM
Hi Folks,
I have two systems one is ECC and another is PI system.
if i create purchase order using using ME21N T-code in ECC i need to update one DB table in PI system automatically at the time of creation of purchase order..
Please help me for how to update DB table in another system.
12-14-2012 1:20 PM
Hi ,
You can Create a RFC Enabled FM and pass the table data to be updated in PI System and call it at PO Creation Time in the SAVE EXIT.
(USER_EXITSAVE_DUCUMENT_PREPARE).
Hope this will help.
Regards,
Amit
12-14-2012 1:44 PM
12-14-2012 7:14 PM
Hi ,
You may try like this,
1. Make an FM RFC enabled in the PI System , with your logic to be used.
2. suppose the FM name is r3_2_pi.
3. you need to have s trusted RFC connection from r3 to pi for this.
4. Call thi s FM remotely from the R3 System in the exit.
5. like call 'r3-_2_p1' destination 'YOUR RFC CONNECTION'
Passing your table to be updated.
Hope this will help you .
Please let us know thw outcome.
Regards,
Amit
12-15-2012 3:57 AM
Creation of RFC is on ECC side or PI side?
Calling RFC is from ECC?
12-15-2012 7:35 AM
Hi,
Yes, for this you need RFC on ECC side RFC for ECC TO PI.
And the FM Will be in the PI System.
Hope this will help you.
Regards,
Amit