cancel
Showing results for 
Search instead for 
Did you mean: 

Sales order creation using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

Hi,

I'm using the bapi 'BAPI_SALESORDER_CREATFROMDAT2' to create sales order. I need to pass the COST CENTER value to the header data of the sales order.

The salesheader structure of the bapi does not support this field.

How do I go about it?

I need to pass this field to the bapi to process my sales orders.

Please help.

Regards,

Shibu Mathew.

Accepted Solutions (1)

Accepted Solutions (1)

ferry_lianto
Active Contributor
0 Kudos

Hi Shibu,

Welcome to SDN.

I never tried but you can pass the cost center information to BAPI_SALESORDER_CREATFROMDAT2 via <b>EXTENSIONIN</b>.

Please check SAP Note <b>143580</b> for more information on how to implement this enhancement.

Hope this will help.

Regards,

Ferry Lianto

Please reward point if helpful.

Former Member
0 Kudos

Hi Ferry,

I think EXTENSIONIN is used to pass custom field that are added on to the standard screen.

But still I will check out if we can pass cost center value through this structure.

Thanks for the help.

Regards,

Shibu Mathew.

Answers (0)