Skip to Content
0
Jun 03, 2022 at 11:10 AM

Cost Center should be Blank while Creating PO using BAPI_PO_CREATE1 FM Through Inbound Proxy

133 Views

Dear Friends,

I have requirement that while creating purchase orders using BAPI_PO_CREATE1 through Inbound Proxy The Cost Center should blank in ECC means For the PO, IF it belongs to Account Assignment Category 'I' and Company Code as AE10, AE20 AE30 etc, The Cost Center Should Blank in ECC when the PO is created.

The Issue I am facing is though I am clearing the Cost center inside the program while executing BAPI_PO_CREATE1 FM the Cost Center is automatically populating when the PO created in ECC.

The Code I have written as below inside the method.

Please suggest guys. Thanks in advance.

Regards,

Kiran

image.png

PO created as below.

image.png

Attachments

image.png (156.2 kB)
image.png (91.6 kB)