Skip to Content

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

Badi:Header and Item data


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

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question