cancel
Showing results for 
Search instead for 
Did you mean: 

Block old PO for inserting new items

Former Member
0 Kudos

Hi all,

u know which user exit should i use for preventing inserting new items in old PO's?

Tx...

P*

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paula,

You have 2 options:

1- a posteriori control

2- a change on UI so this never occurs

Option 1

you could try to use BADI BBP_DOC_CHECK_BADI:

- read PO details with BBP_PD_PO_GETDETAIL + IV_DOC_GUID

- in item details, check if SRC_GUID is not empty. If empty that means this is a manual item. Then raise an error message.

Option 2

Another way is to change HTML templates to hide new lines or empty lines, and the button "Add item" (if existing in Process PO transaction).

Rgds

Christophe

PS: please reward points for helpfull answers

Answers (0)