Skip to Content
Former Member
Dec 12, 2011 at 07:59 AM

SBO Transaction Checking Problem in Good Receipt


Dear Sir/Madam,

I found a strange problem after I did a checking in SBO Transactions. My target document is Good Receipt and Good Issue.

My environment:

SAP 8.81 Patch 06

SQL 2008

What i did is:

1. Add UDF in header level -> Reasoncode which linked to UDT with Reasoncode and Acctcode

2. Add a formatted search to Reasoncode then corresponding account of all items will be changed.

3. Edit SBO Tran to check if the Reasoncode is selected. If it's NULL, Error message will come up and document is not able to add.


This checking work fine when adding the Good Receipt with Reasoncode selected for the first time. However, if I continue stock in with Good Receipt (after successful adding previous document) and trying NOT to select the Reasoncode, the checking is not working.

Good Receipt alone WITHOUT Reasoncode, Error.

Good Receipt alone WITH Reasoncode, OK.

Good Receipt (after successful previous document) WITHOUT Reasoncode, OK ---> ??

Good Receipt (after successful previous document) WITH Reasoncode, OK

Thanks for any response.