‎2007 Jul 24 2:05 AM
Hi,
I have used BAPI_SALESORDER_CREATEFROMDAT2 and working successfully.. but for some material no., it generates error message :
'Internal error: 10, 000010, CFG_IS_INCONSISTENT_OR_INCOMPLETE',
how to solve this? If this is on the functional side? where can we check?
‎2007 Jul 24 2:28 AM
Before consulting Functional guy:
Create sales order manually with that order ,if you get same error,then it would be problem material master configuration with respect sales order.
Then contact Functional guy.
if you are not getting same error while creating sales order manually ,then problem might be at your code
Thanks
Seshu
‎2007 Jul 24 7:44 AM
Hi,
Thanks for your reply..
i check my codes, it becomes an error when i set po_itm_no as '000010'
here is my code:
gt_items-itm_number = '000010'.
<b>gt_items-po_itm_no = '000010'.</b>
gt_items-matl_group = 'Z0000'.
gt_items-item_categ = 'ZIT1'.
gt_items-material = lv_material.
gt_items-target_qty = gv_quantity.
gt_items-currency = 'MYR'.
APPEND gt_items.
CLEAR gt_items.
gt_itemsx-itm_number = '000010'.
gt_itemsx-po_itm_no = 'X'.
APPEND gt_itemsx.
ok, this code works perfect with other materials including their cfg values as well... but 3 of them failed when
gt_items-po_itm_no = '000010'. So, when i changed gt_items-po_itm_no = ' '.
the order_items_in has no errors anymore but the characteristics could not be linked. so is this a functional issue or not? but when i create using the material manually, it works. please help anyone? is there some other codes need to be added for certain materials?
thanks
‎2007 Jul 24 8:00 AM
hi,
i think its the problem of leading zeroes and padding.
just see how many zeros or spaces are needed to be padded.
reward points if helpful
‎2007 Jul 24 8:06 AM
but why other materials is ok? pls explain more? n which table that i can use to see these values?
thanks
‎2007 Aug 09 4:27 PM
I am having the exact same problem. It errors out for random characteristics. Did you get a solution for this issue?