Skip to Content
0
Former Member
Dec 02, 2004 at 11:13 AM

Help :- BAPI or BATCH Input for VA01 / VA02

360 Views

Hi People,

I bet you know this one, I am new to ABAP Programming and following is my problem .

My piece of code is

1. To identify and read (some type of) stock transfers that meet a certain criteria and

2. create/change sales orders for all the ST's (from above), depending upon proprietary requirements.

I was told that Batch input should be used for the transaction VA01 / VA02 which I found very cumbersome. I have rather decided to use BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.

Now that I have the program structure in mind I ask myself,

1. Is BATCH input / BAPI good ? Errorhandling in both ?

2. If I go on with the BAPI, what would be the standard method for error handling / monitoring in case of errors. This is of interest to me because my program would run in background and as you have might have guessed does mass processing. how do I deal with mass processing of Status Messages ?

Help me out !!

TIA,

ZAM

Message was edited by: ZAMUser