Badi:Header and Item data
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
Jürgen L replied
in this if-statement is certainly another error with the company code field, you wrote
burks while it has to be
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.