‎2006 Oct 24 1:02 PM
hello all,
I am using BAPI_SALESORDER_CREATEFROMDAT2 to create orders. Since I need automatic item number generation, I have set the INT_NUMBER_ASSIGNMENT flag to X.
However, I am getting the following error -
Error - No item category available (Table T184 ZOSC ZDEL ZPOB)
Since there is no item number attached to the line items and the schedule lines, the item category generation part picks up the item category of the previous material, which is the first line in the line items. - with item number 00.
Note that since I have set the INT_NUMBER_ASSIGNMENT flag, all line item numbers are 00.
Can anyone suggest how I can fix this error please?
Thanks
Vaishali
‎2006 Oct 24 1:26 PM
I guess that a functionmal consultant is responsible for a correct content of table T184. Customizing?
‎2006 Oct 24 1:26 PM
Hi,
Internal Item number assignment is used for different reason. Read this documentation.
Description
This parameter activates internal item number assignment. Sometimes,
internal item numbering from SAP is needed, for example for articles
that cause a bill of material to explode in the sales order.
Example:
You create an order with 2 items, each with a schedule line and enter
item numbers 10 and 20 in the SALES_ITEMS_IN and SALES_SCHEDULES_IN. If
the article for item 10 contains a sales bill of material, this is
exploded and a sub-item is created with item number 20. This means that
the relationship between the schedule line (VBEP) and the item (VBAP) is lost.
In this case, the SAP nees to assign the item numbers internally.
Default
Space, which means that you have tried to create an order with external
item numbering.
Regards,
Sudheer