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: 
Read only

Sales Order -BAPI

Former Member
0 Likes
664

Hi experts,

Now, we need to bring "profit center for billing" in sales order to correspondence with meterial master, while BAPI "BAPI_SALESORDER_CHANGE" contain not this field, is there any way to achieve except modify database table directly.

Thanks in advance,

Jmello

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
605

some of the fields are not changeable after creating sales order. Like profit centre is not possible to change after creating sales order. Please check using VA02, whether profit centre for billing is changeable after creating sales order.

Manas M.

Hi experts,

Now, we need to bring "profit center for billing" in sales order to correspondence with meterial master, while BAPI "BAPI_SALESORDER_CHANGE" contain not this field, is there any way to achieve except modify database table directly.

Thanks in advance,

Jmello

3 REPLIES 3
Read only

Former Member
0 Likes
606

some of the fields are not changeable after creating sales order. Like profit centre is not possible to change after creating sales order. Please check using VA02, whether profit centre for billing is changeable after creating sales order.

Manas M.

Read only

0 Likes
605

Thanks for your suggestion,

Maybe i didn't described my question clearly, as you mentioned, ORDER_ITEMS_IN-PROFIT_CTR in BAPI BAPI_SALESORDER_CHANGE match the profit "profit center"(VBAP-PRCTR), while here i want to update field is "profit center for billing"(VBAP-PCTRF), which not contained in ORDER_ITEM_IN, so my question focus here.

Thanks!

Read only

0 Likes
605

Please see this Blog for Implementing the BAPI extension for your additional field data passing you update the standard table VBAP-PCTRF.

/people/srinivasan.c/blog/2008/11/21/customer-enhancements-using-extension-parameters-in-the-bapi-interface

if you are not able to understand the blog , then please see the BAPI FM Documentation in se37 , there about the extension it is clearly given how to go about it .