‎2016 Jul 26 1:04 PM
Hi
I was trying to update an existing sales order using the above BAPI.
But I am getting this error;
The system will not accept the entry of a functional area
Error in ITEM_IN 000010
I do not know where i am missing.
Can someone help me please
Regards,
Venkat
‎2016 Jul 26 1:10 PM
are you passing function area to item table ORDER_ITEM_IN ? If yes then remove it from ORDER_ITEM_IN and ORDER_ITEM_INX. You are getting this error because functional area might be non editable field in your sales order.
‎2016 Jul 26 1:36 PM
Hi Sachin,
I passed only the new item quantity.
s_order_header_inx-updateflag = 'U'.
MOVE-CORRESPONDING itab_ch TO i_order_item_in.
i_order_item_in-itm_number = itab_ch-itm_number.
i_order_item_in-material = itab_ch-material.
i_order_item_in-target_qty = ( itab_ch-target_qty + 10 ).
i_order_item_in-sales_unit = itab_ch-sales_unit.
i_order_item_inx-updateflag = 'U'.
i_order_item_inx-itm_number = itab_ch-itm_number.
i_order_item_inx-material = 'X'. "itab_ch-material.
i_order_item_inx-target_qty = 'X'.
i_order_item_inx-sales_unit = 'X'. "itab_ch-sales_unit.
APPEND: i_order_item_in, i_order_item_inx.
‎2016 Jul 26 1:44 PM
are you changing the material number also ? If no then please comment the material code and check ?
‎2016 Jul 26 1:53 PM
‎2016 Jul 26 2:01 PM
Additonal informlation, it is the plant value that shows in return table.
I do not know, how it comes, even though i did not spcify in my i_order_item_in table.
Regards
Venkat
‎2016 Jul 26 2:11 PM
There should be some other messages also, apart from this message. Can you check what else is present in the BAPI return table?
Thanks,
Juwin
‎2016 Jul 26 2:32 PM
No other messages. Juwin,
I saw in return table. It shows only a value 5100 - which is my plant ...
Regards,
Venkat
‎2016 Jul 28 9:36 AM