09-30-2005 8:46 PM
09-30-2005 9:01 PM
Why not? BAPI_VENDOR_CREATE calls transaction XK01. I don't think it's the standard way of doing things though.
I don't think it buys you anything, so why not stick with BDC or call transaction?
Rob
Message was edited by: Rob Burbank
09-30-2005 11:09 PM
There is no reason AS LONG AS this BAPI will not accessed from an external system. BAPIs are intended to accessed by external systems... otherwise, creating a Func Module is just fine.
I would be cautious with using BDCs. SAP continually changes screens with each upgrade. When you use BDCs, you are TOTALLY dependent on those screen fields. And when an upgrade changes a screen, you have extra work to do to fix your BDC in the new version.
By using a BAPI or a Func Mod, your impact from an upgrade is greatly reduced.
Remember to reward points accordingly.
Message was edited by: John Jakabcsin
Message was edited by: John Jakabcsin
10-01-2005 5:59 PM
Hello Lakshmi,
I dont see any reason behind using call transaction in a BAPI. Many be some cases uses both.
As in my case once, call transaction program developed by me was running for ever for sales order mass maintenance and I had to replace that with a BAPI.
As John said, there is a more risk in using call transaction compared to BAPI.
Regards,
Naren
10-01-2005 6:13 PM
The three main ways of creating/changing SAP data are BAPI, call transaction and BDC. If there is no BAPI (which seems to be the case here) you are left with the other two.
Rob
10-01-2005 11:42 PM
Thanks for the replies but in my case i want to create a customer using BAPi which will be called remotely. I did not find any existing BAPI which suits my requirement. So, I am calling the transaction in my BAPI. If there r any other ways to do it pls. let me know.
Thanks.
10-01-2005 11:51 PM
10-02-2005 3:49 AM
In my (limited) experience, remote enabled FMs are much easier to develop than BAPIs. That's the way I'd go.
Bear in mind that if, during a future upgrade, SAP makes the transaction unusable via BDC, you won't be able to change your BAPI or FM to use it; you'll have to use their BAPI.
I presume that neither BAPI_CUSTOMER_CREATEFROMDATA nor BAPI_CUSTOMER_CREATEFROMDATA1 suit your purpose.
Rob
Message was edited by: Rob Burbank