2011 Feb 18 1:13 AM
Hi ,
I am using BDC to upload the data for transaction PR05. The condition is if trip number not there , i need to create one and for succesive records where trip number is not there I need to add the values of to the created line items . I am performing a CALL TRANSACTION for creating the trip number but when I go to the succesive records it is not able to select the trip created . I am using a single loop . Is it that I have to explicitly give a COMMIT after the first CALL TRANSACTION or change to update 'S". Please advise
2011 Feb 18 1:18 AM
Yes use update mode S (for synchronized update).
Synchronous processing. Updates of the called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition had been specified.
Kind regards,
Robert
Hi ,
I am using BDC to upload the data for transaction PR05. The condition is if trip number not there , i need to create one and for succesive records where trip number is not there I need to add the values of to the created line items . I am performing a CALL TRANSACTION for creating the trip number but when I go to the succesive records it is not able to select the trip created . I am using a single loop . Is it that I have to explicitly give a COMMIT after the first CALL TRANSACTION or change to update 'S". Please advise
2011 Feb 18 1:18 AM
Yes use update mode S (for synchronized update).
Synchronous processing. Updates of the called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition had been specified.
Kind regards,
Robert