‎2009 Dec 02 5:46 AM
Hello Experts,
I have one problem, i will explain you in detail....
we have an application where we are changinging the inquiry No for the line items.
If we have 10 line items say 10...20....30......up to 100.
if an error occured at 40th item, the BAPI_CUSTOMERINQUIRY_CHANGE will not go further and exits .
if we commit the 10,20 and 30 items with 'BAPI_TRANSACTION_COMMIT' will the Database commit will be successfull ?
Is the inquiry will be changed for the three line items ?
I am struck here .Please help me.
Thanks,
Badri
Moderator message - Moved to the correct forum
Edited by: Rob Burbank on Dec 2, 2009 9:14 AM
‎2009 Dec 03 6:49 AM
Hi,
If you get an error message in return table the bapi will not update the database tables.
Regards,
Manesh R
‎2009 Dec 03 7:33 AM
Are we call the BAPI_CUSTOMERINQUIRY_CHANGE in a loop and each time we are passing one item or we are passing all the line items together?
‎2009 Dec 03 9:32 AM
Hi Srinivas,
The BAPI Take the line item in an internal table INQUIRY_ITEM_IN so if you want it will update all the line items in one shot .
Please update the table INQUIRY_ITEM_INX with all the feilds that needs to be updated for all the line items .
Note : the feild ITM_NUMBER in INQUIRY_ITEM_INX will be item number ie 000010 and 000020 etc .
i fell there is no use of calling bapi in loop for updaing different line item .