Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Work in debugger but no run time

Hello Gurus:

I am trying to validate the processed document in document flow. For whatever the reason. When I am using debugger. it works just fine. But when it run in real time nothing pops up. What am I doing wrong?

settlein = ''.

SELECT VBELN FROM VBFA into settlein UP TO 1 ROWS where VBELV = INVOICEDOCUMENT.

ENDSELECT.

IF sy-subrc eq 0.

RETURNS-MESSAGE_V1 = settlein.

ELSE.

  • Do something else

ENDIF.

Tags:
Former Member
Former Member replied

When you call BAPI_TRANSACTION_COMMIT after the bapi call, set WAIT = 'X' and see if this helps.

Rob

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question