Question:
Hello! I am going to write a program for update a text file to create sales orders (VA01). Do u hv any practical experience in doing the same things? Which method is most better for this case? eg. BAPI, batch input, IDOC.
Thanks in advance!
Answer:
Hi ,
Do not use batch input . You may need to change your programs if your SAP system gets upgraded later .
Use either BAPI and IDOC .
But i think IDOC would be a better option , since it has built-in error handling mechanisms . Also , the text files can be stored as IDocs for future reference . Try using LSMW to post your text files as Idoc . The development will be much quicker too .
In case of BAPI , you may have to built your own re-processing and error handling techniques . and you may land up creating lots of Z tables for BAPI .
Regards
Poonam
Answer:
using bapi, you could program a simple application in VB or Java that calls BAPI_SALESORDER_CREATEFROMDAT2 with the data stored in your text file.
Answer:
Use business connector to read the text files and create an ORDERS03 IDoc and post .... nothing simpler
Answer:
Hi all,
One concern is that we are using SAP AFS and we want to create a schedule line for each item in order to support different ship-to partner.
Can we do that with BAPI or IDOC? Is 'CALL TRANSACTION' also ok?
Regards,