Skip to Content
0
Former Member
Oct 08, 2013 at 07:22 AM

Program behaving differently in debugger & as online transaction

1210 Views

Hi all

I'm facing a strange problem with my latest development where in a complete auto sales cycle is created in one-go. Cycle is as under:

Sales Order ---> Outbound Delivery ---> Billing ---> Credit Memo ----> Credit Note

I'm using BAPI for each of them (created subroutine for each BAPI processing with using output of previous subroutine as input to next routine) & have absolutely no trouble at each individual subroutine level.

Desired SD documents are being created & whole cycle works fine BUT ONLY IF it is run with breakpoints / in debugger.

But, when I run that program without breakpoints (thru T.code or directly from ABAP Editor both), only first level: Sales Order creation works fine & rest could not be done.

Anybody has some clue, where am I going wrong.

Useful replies will be appreciated & rewarded.

Regards

Sunny