Application Development 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: 

Error when creating sales order using idoc

Former Member
0 Kudos

Hi Expert,

Is there anyone who can help me the following problem. Thank you very much!!

When I use idoc to create order, it will create order using bdc VA01.

During call transaction VA01, i got the following error message

'Item &'s configuration can no longer be changed'. It is from message class V2, 204.

When i look at the standard code for VA01,

This message is triggered in program FV45SFCO_CONFIGURATION_PREPARE, line 132.

if not ch_anzeigen is initial and

da_subrc = 4.

message e204(v2) with vbap-posnr.

endif.

The variable ch_anzeigen was set to X. It was set in FV45SFCO_CONFIGURATION_MODE_DE, line 35. because vbap-abgru is 'YX', It is not initial.

da_subrc = 4. was set in program FV45SFCO_CONFIGURATION_CHECKI1.

In this program LV_SUBRC = 1(it is executed using idoc). MAEPV-STDPD is not initial, SVBAP-TABIX is initial(because it is creation process, if it is change order process, it will not be initial), therefore CH_SUBRC = 4.

2 REPLIES 2

Former Member
0 Kudos

May be you are trying to create an order with invalid Item number. May be you are keying in incorrect pattern of Item number for the sales order.

Former Member
0 Kudos

no.

because when i set vbap-abgru to initial, it works.