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

Error Field 'PSTYV' cannot be changed - BAPI_SALESORDER_CHANGE

0 Likes
3,079

Hello All,

I'm trying to change the fields "BAPISDITM-ITEM_CATEG" from 'ZBON' to 'ZTBD' and

"BAPISDITM-REASON_REJ" from '12' to SPACE using BAPI_SALESORDERCHANGE.

However the BAPI returns the message : "Field 'PSTYV' cannot be changed, VBAPKOM 000010 ready for input" (Notification I V1 739)".

Could everyone help me?

Regards,

Denilson Pina

5 REPLIES 5
Read only

Former Member
0 Likes
1,653

Hi

Try to change the same combination using VA02 for the same data.

If it works fine then need to check the fields passing to BAPI.

Shiva

Read only

Former Member
0 Likes
1,653

Hi

The item category can't be changed...that's all

Max

Read only

0 Likes
1,653

Hi,

At the VA02 I can't change the item category if the Reason for rejection is diferent than initial.

If I execute the BAPI twice, first cleaning reason for rejection and second change item category, it works.

But I want avoid call the BAPI two times.

Read only

0 Likes
1,653

Hi

The problem is the BAPI set the modifications after checking the reason for rejection, so you should try to skip that control, but I don't know if it's possible, you can try to use some exit.

Max

Read only

0 Likes
1,653

Hi Pina,

If you do not want to execute it twice the other option you can check as max suggested.Check the form or include where it is checking and try to skip.Copy the bapi into z and try.

Regards,

Madhu.