Skip to Content
Former Member
Dec 02, 2005 at 10:40 AM

BADI: PO creation : ME_PROCESS_PO_CUST : check line item matnr


Hi all,

I am using a BADI for PO creation definition is ME_PROCESS_PO_CUST and method PROCESS_ITEM

if material number in the Line item is blank, create a material number(BDC or BAPI) and fill it in the line item.

I am not very conversant in Objects...

i seek help on the correctness of the method iam referring to for this purpose and also how to pass values to field matnr in the line item of the PO.

i have used Get_Data for getting all the values and am using set_Data for changing the value of matnr if it is blank. but if i set the value of matnr it doesnt seem to change and am not able to figure out where i am wrong.

Thanks in advance,

Harish Ramakrishnan.