Skip to Content
author's profile photo Former Member
Former Member

BAPI_SALESORDER_CREATEFROMDAT2

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 12:26 PM

    I guess that a functionmal consultant is responsible for a correct content of table T184. Customizing?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.