F4311 End Document

patcccc

Member
Hi...
Does the F4311 End Document Master business function executed asyncronously. I have added some codes just after the MBR to update the table F4311 with some values.
However, it seems that my codes have been executed and then the purchase order is committed to the table.

But if I put the debugger on...then everything is fine, the purchase order is committed first and then my codes are executed...

Am I correct? If Yes...Is there a solution for that?

That's very Strange!!

Thanks
 
patcccc,
Because the BSFN is async, the rest of the code will execute in a separated thread. When you debug, the behavior is the same as the BSFN is sync. You have two options, add the code into the MBS (Not recomended!!!) or turn off the assunc option, so the MBF will execute and will wait until all the process is done and then go into the next line of code.

Hope this helps.
 
Back
Top