09-23-2008 12:45 PM
Hi all,
My requirement is create a one ZRFC, inside RFC
call BAPI sales order creation.
How to call BAPI in side RFC.
please give step by step.
Thanks,
09-23-2008 12:50 PM
hi,
First create a RFC FM and than call this BAPI in RFC. the following r the steps.
1. Create a FM using tcode SE37. go to Attributes TAB --. make Processing type as Remote enabled module.
2. In the Source ocde of this FM, call the BAPI FM...
Hope it is clear to u.
Regards,
Deepthi.
Edited by: deepthi dandibhotla on Sep 23, 2008 1:51 PM
09-23-2008 12:50 PM
hi,
First create a RFC FM and than call this BAPI in RFC. the following r the steps.
1. Create a FM using tcode SE37. go to Attributes TAB --. make Processing type as Remote enabled module.
2. In the Source ocde of this FM, call the BAPI FM...
Hope it is clear to u.
Regards,
Deepthi.
Edited by: deepthi dandibhotla on Sep 23, 2008 1:51 PM
09-23-2008 12:54 PM
To Call the BAPI inside the ZRFC.
1. Click on button 'Pattern' and paste the name of the BAPI you want to call in the ZRFC. The intefcae will get copied over in your code.
2. Populate the parameters.
Good to Go.
A
09-23-2008 12:55 PM
Hi
1.Create structures as per your requirement
2Create rfc and put those structures in import,export,tables parameter
3.If you are paasing one record to the rfc put the structure in import parameters
4.If you are passing multiple record put that structure in tables parameter
5Pass the values to the structure
6call the bapi
7.pass these structure values to the bapi
regrads
venkat