New field in MIGO - Accessing 'Puchase Order' field value
I'm using ZMB_MIGO_BADI to add new field in MIGO header as you can see in the image:
To this point, everything is ok. My problem is I don't know how to get the value of Purchase Order introduced in header field:
If it's possible or easier, it would be great if I can get the Purchase Order value from Purchase Order Data tab:
Thank you very much for you help!
Did you try GET PARAMETER ID 'BES' field <PO variable>.
Or else in method LINE_MODIFY you get the PO number in CS_GOITEM structure EBELN Field. You can export/set and Import/get in your PBO of screen and populate.