Skip to Content
avatar image
Former Member

Error when creating sales order using idoc

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 15, 2009 at 03:20 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 03:27 PM

    no.

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

    Add comment
    10|10000 characters needed characters exceeded