‎2010 Jan 23 4:27 AM
Dear all,
I am trying to create a customer from external system through bapi. For this is i have to follow these steps.
1) I am trying to call a report from external system through bapi.
2) I want to pass data from bapi to a bdc program and run it to create a customer.
3) After creating a customer I need to send the ceated customer no again to the bapi from where i passed the data to bdc.
is it possible .
Give me a good idea on this how to work with it.
Regards,
Madhu.
‎2010 Jan 23 9:16 AM
HI Madhu,
I think you are doing something wrong here! If you are using BAPI to create customer from external system then there is no use of calling another program and BDC. You can directly call standard BAPIs Given by SAP.
Other way round is and that is what I think you are doing is , create an RFC Function Module and in that FM call your BDC program. You can call one program from another using SUBMIT statement.
Cheers
Anurag
‎2010 Jan 23 9:16 AM
HI Madhu,
I think you are doing something wrong here! If you are using BAPI to create customer from external system then there is no use of calling another program and BDC. You can directly call standard BAPIs Given by SAP.
Other way round is and that is what I think you are doing is , create an RFC Function Module and in that FM call your BDC program. You can call one program from another using SUBMIT statement.
Cheers
Anurag
‎2010 Jan 23 10:36 AM
Hi Anu,
What you said in the second paragraph is correct. Do you have any idea on that. Have you created a bapi for customer creation.
If you have any idea please share with me.
Regards,
Madhu.
‎2010 Jan 23 2:02 PM
Hi Madhu,
SAP has already given standard BAPI to create customer creation "BAPI_CUSTOMER_CREATEFROMDATA". So there is no need for you to create any thing new. Jut test this BAPI first whether this suit your requirement or not. If it satisfy your requirement then call it directly from external system. On how to call this BAPI or other BAPis searc google or SDn you will definetaly find something.
second approach is if nothing works for you( No BAPI satisfy your requirement) then only go for BDC aapproach. To do that, create a RFC function module( BAPi and RFC FM are diff thing, they looks same but they are not ). Inside your RFC FM directly write the BDC code to create customer.
Regards
Anurag
‎2010 Jan 23 3:36 PM
‎2010 Feb 10 7:04 AM