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

Problem in BAPI_SALESORDER_CHANGE

Former Member
0 Likes
1,478

Hi,

i am new to BAPI.

i am trying to execute ZBAPI_SALESORDER_CHANGE in SE37. We have appended VBAK table with zinfo table. our requirement is if i give the sales order no and status field in the input parameter, the particular status field need to change in the VBAK table. i am trying to execute the ZBAPI_SALESORDER_CHANGE in SE37 by enterring sales order and status, i am getting error " Field ABGURU cannot be changed.". i tired to debug the BAPI, but for the particular table order reason is not there.. please tell me whether this is the errr with order reason data or any other problem.

Hi,

i am new to BAPI.

i am trying to execute ZBAPI_SALESORDER_CHANGE in SE37. We have appended VBAK table with zinfo table. our requirement is if i give the sales order no and status field in the input parameter, the particular status field need to change in the VBAK table. i am trying to execute the ZBAPI_SALESORDER_CHANGE in SE37 by enterring sales order and status, i am getting error " Field ABGURU cannot be changed.". i tired to debug the BAPI, but for the particular table order reason is not there.. please tell me whether this is the errr with order reason data or any other problem.

9 REPLIES 9
Read only

madhu_vadlamani
Active Contributor
0 Likes
1,397

Hi Shankar,

Welcome to SCN.1) Why there is a custom bapi 2) What is the business requirement to append ztables . I think it is better instead of change some field add a custom field and use that.

Regards,

Madhu.

Read only

Former Member
0 Likes
1,397

My requirement is that, we have added VBAK with ZINFO table. ZINFO table has the field name STATUS. Our requirement is to give the sales order no and STATUS as input. Suppose example VBELN is 100 and status is 01, i need to give in input VBELN is 100 and status 02 so that the sales order no 100 is to update with status 02.

Regards,

zubera

Read only

0 Likes
1,397

Hi Shankar,

Still there is a doubt. This bapi is useful to change sales order.This custom fields where you want to updated in ztable or vbak.

Explain some more.

Regards,

Madhu.

Read only

Former Member
0 Likes
1,397

we have added the some screen to VA01 field, which includes status field of the ZINFO table. ZINFO table is updated to VBAK table. my requirement is to change the status field of the va02 screen, by passing the value for VBELN and status.

example VBELN 12345 status is 01 in va02, if i pass the input value VBELN 12345 and status 03 it should be updated in the va02 screen and as well as VBAK table.

Read only

0 Likes
1,397

Hi Shankar,

Sorry, I forgot this note: Note 939641 - Reason for rejection and configuration in the BAPI

Regards

Eduardo

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,397

Hi

Please, see these notes:

SAP Note 143580 - Information on SD BAPIs and customer enhancement concept

SAP Note 509898 - BAPI enhancement concept and Unicode

SAP Note 700795 - Enhancement category of BAPI enhancement structures

and related notes

Regards

Eduardo

Read only

Former Member
0 Likes
1,397

Thanks for your answer. i solved probelm myself.

Regards,

zubera

Read only

0 Likes
1,397

Hi Shankar,

it is good.

Regards,

madhu.

Read only

Former Member
0 Likes
1,397

thanks.. solved