cancel
Showing results for 
Search instead for 
Did you mean: 

Badi:Header and Item data

jaheer_hussain
Active Contributor
0 Kudos


Hi,

    I am usingBAdI: me_process_po_cust to check (while creating PO) a PO with document type NBPJ(project) has a  PR,if there is no PR I should get error message.

So in the Header I have put code as below.

In the item level I put code like this.

But I am getting error.Can somebody guide me to solve this problem? Regards, Jaheer

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

in this if-statement is certainly another error with the company code field, you wrote

burks while it has to be

bukrs

if you search SCN with the term ls_mepoheader-bsart then you can get several answered discussion already among the first 10 hits where you can see that the data declaration is a bit different.

Answers (0)