‎2007 Aug 29 3:38 AM
how can do for bdc multipule transactioncode.Like the example if create for the VA01 for
MM its has to be occurs in the SD side.
‎2007 Aug 29 8:30 AM
Simple answer is don't.
Try and use BAPI's and /or methods for this.
In general BDC is rather old technology and often delivers more problems than it solves.
For Sales Order creation try one of these
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2.
For Purchasing there's other BAPI's such as BAPI_PO_CREATE
and a whole lot more.
Use transaction BAPI to browse available bapi's.
Advantage with Bapi's is they have no dialog so you can execute these from even non SAP systems with RFC calls.
So for example you might be procuring material on a pure ORACLE system for stock replenishment and from this you might want to submit an order on a SAP system.
Another drawback with BDC is that screen fields often change when a SAP release is updated or even if the configuration is modified -- you can configure parts of SD and MM to not display fields etc so if the configuration has changed your BDC session could fail.
A BAPI interface won't ususally change as this is SAP's preferred method of integration with external systems (including flat files etc.)
Cheers
Jimbo
‎2007 Aug 29 8:33 AM
Hi,
If you are doing BDC for multiple Transaction Code then u have to run 2 Call Transaction method one after another, and if there is any data dependency between the 1st and the 2nd BDC then call the 1st in Asynchronous mode and the 2nd in Synchronous mode.
Hope That Helps
Anirban M.