Skip to Content

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

1.jpg (106.7 kB)
1.jpg (126.9 kB)
1.jpg (32.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    May 24, 2015 at 08:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded