Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add Cost Centre for Line Item for Sales Order?

former_member593030
Participant
0 Kudos
1,375

Hello All,

I need your help here.

I want to create a Sales order with Bapi( BAPI_SALESORDER_CREATEFROMDAT2 ) and this is working fine.

Now I need to add a Cost Centre on Line Item level.

Can Anyone help me ?

Regards,

Sujoy

1 ACCEPTED SOLUTION

eduardo_hinojosa
Active Contributor
862

Hi

Try with the following two options:

  • Try with customizing tools: tcode OVF3, but you need to populate order reason
  • Userexit USEREXIT_MOVE_FIELD_TO_COBL in Program MV45AFZB
  • Try with EXTENSIONIN in the BAPI for field KOSTL.

I hope it helps you

Regards

Eduardo

2 REPLIES 2

eduardo_hinojosa
Active Contributor
863

Hi

Try with the following two options:

  • Try with customizing tools: tcode OVF3, but you need to populate order reason
  • Userexit USEREXIT_MOVE_FIELD_TO_COBL in Program MV45AFZB
  • Try with EXTENSIONIN in the BAPI for field KOSTL.

I hope it helps you

Regards

Eduardo

former_member593030
Participant
0 Kudos
862