cancel
Showing results for 
Search instead for 
Did you mean: 

How to input//declare the Cost Center of and SO using BAPI_SALESORDER_CREATEFROMDAT2?

mavdleon
Explorer
0 Kudos

SO I'm using BAPI_SALESORDER_CREATEFROMDAT2 and found out that cost center is not in the FM. Any sample codes there that uses the said FM. Thanks! 🙂

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos

You may consider using EXTENSIONIN parameter (once field appended to BAPE_VBAP, BAPE_VBAPX, VBAPKOZ und VBAPKOZX) depending on your version (very old ones) it was also required to use USEREXIT_MOVE_FIELD_TO_COBL in Program MV45AFZB.

Lakshmipathi
Active Contributor
0 Kudos

What is the Business requirement? For information, in normal circumstances, whenever you create sale order, we will not key in Cost Center. Through OVF3 settings or Order Reason, you can activate the Cost Center in Sale Order.

mavdleon
Explorer
0 Kudos

it says there that it's optional.