Order Item quantity not coming  in va12 transaction

Hi ,
      i am using Bapi : BAPI_INQUIRY_CREATEFROMDATA2 .
      After running and  also commit work .
      Order  Quantity  for item is not Coming in va12 Transaction .
      Any solution fot this .
Input to Inport parameters  INQUIRY_HEADER_IN table : 
                         DOC_TYPE  =  ZBIN .
                         SALES_ORG = 1000
                         DISTR_CHAN  =  70
                         DIVISION      =  03
                         SALES_OFF = 1000 
Input to  INQUIRY_ITEMS_IN table  :
                                  MATERIAL  = scrap
                                 TARGET_QTY = 10
Input   to INQUIRY_PARTNERS :  PARTN_ROLE = SP
                                                 PARTN_NUMB  = 101
So in above example Order Quantiy 10 is not coming in va12 Transaction .

Hi Rishu,
I know this is a really old post, but I am updating this to help anybody else who finds this. 
The answer is because you need to populate schedule lines and also include the quantities on the schedule lines.  If you do not include these then the value is always 0 at item level.
Cheers,
Katan

Similar Messages

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

    I am having a problem when creating a sale order using BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    Problem is that sale order item quantity field is not populating
    code is as follows
    ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
    ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
    ORDER_ITEMS_IN-TARGET_QU = 'LB'.
    ORDER_ITEMS_IN-TARGET_QTY = 1.

    Hi,
    Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
    Regds,
    Rudra

  • Sales order item quantity not rounded and allowing decimals with UoM EA

    Hi gentlemens,
    I noticed something strange in our SAP ERP system.
    When we enter a material in a new sales order item, we are allowed to enter quantity 1,5 EA (1 and half Each).
    But when I check the config of the UoM EA in table T006, the number of decimals (field DECAN) is 0 and the decimal place for rounding (field ANDEC) is also 0.
    As far as I remember from other other SAP system, there should be an error message when entering the quantity 1,5 EA saying that decimals are not allowed for this unit of measure.
    Can someone help and tell me wich error message or which rounding program should normally be active when entering decimals with uom EA ?
    Thanks and regards,
    BDT

    Hi Mani,
    Thanks for the thread reference. I found the related OSS notes yesterday evening but this was for procurement.
    Here the question I have is more for a sales item.
    The strange case we are facing is:
    In a sales order, we can enter a particular material as a standalone item with a quantity of 1.5 EA without any problem.
    But if we create the same new item as a sub-item of a previous one (filling UEPOS), with qty 1,5 EA, then a rounding is triggered by the system based on the T006 config.
    I am wondering if this is a problem with the SAP standard program or if we did anything wrong in the past in our system?
    Best regards,
    BDT

  • Few line items are not coming at the time of creation of delivery

    Dear Experts,
    When the user creating the delivery few line items are not picking in the delivery document
    the following checks i verified,
    Stock is available
    shpping condition is differ from sold to party and sales document
    Plants are same for all the line items
    why the few line items are not coming in the delivery document creation,
    please help me to sort out this issue
    Thanks and Best Regards,
    Muralidharan S

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Err in PO creation-Sales document item is not defined for this transaction

    Dear Consultants the errror  occurs when we process  Individual Purchase Order scenario.
    Err in PO creation-Sales document item is not defined for this transaction  
    Thanks&Regards,
    SanthaRam

    This error because the item category is not determined correctly in the sales order.
    Check the item category in Sales order line item, for Individual Purchase order scenario its TAB.
    If its not TAB, then check the assignement for Item category in VOV4.
    This thread is more of the SD part, so also put it in SD forum for better solutions.
    Regards,
    Sheetal

  • Sales order item quantity update based on goods issue quantity

    Could any one explain me how to achieve the below functionality in SAP.
    Sales order item quantity needs to be updated based on the goods issue quantity when goods issue happens. 
    Tried to achieve the above functionality thru user exit.  But I could not found any user exit.  Could any one help me in finding out the user exit for a delivery which gets triggered when goods issue happens? 
    Or is there any other way thru which we can achieve the above functionality?  For example by using copy control, or requirement stuff. 
    Your inputs are highly appreciated.
    Thanks in advance.

    I dont y u got such type 0f requirement.Do one thing find out BADI it should be activated only when we are going PGI , in that badi try to chage Sales order <b>BAPI_SALESORDER_CHANGE</b>.
    for BADI search in SPRO / Se80.
    Regards
    Prabhu

  • BOM items are not coming in Subcontracting PO

    Hi,
      I have created a Finish good material and also have made BOM for that Finish material  when I am trying to make a Subcontracting PO for that Finish material   the BOM items are not coming in PO for that Finish material only  for other material BOM items are coming properly.
    regards,
      zafar
    Edited by: zafar_karnalkar on May 29, 2010 1:48 PM

    Hi,
    Pl. recheck the BOM.
    Bom usage 1.
    Item Type : L
    SAM

  • Sales order number in not coming as a text in Accounting Document

    Hi Friends,
    Sales order number in not coming as a text in Accounting Document in INSTALLMENT BILLING PROCESS
    is there any config missing for this doc number
    Pl advise me
    Raju

    HI Prem,
    Please understand my query.
    In VF01 in accounting document we can see the text document field.
    Here i need the Sales order number as a Text field.
    But it is not coming over here
    Pl advise me
    Raju

  • Sales document item is not defined for this transaction in Pur.Order

    hi,
    At the time of convertion of pr to po one error message received.
    Sales document item 46 000010 is not defined for the transaction
    Message no. V1198
    Diagnosis
    You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
    This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order.
    Procedure
    Please check your entries.
      this is MAKE TO ORDER SCENARIO  THIS ERROR IS FOR RAW MATERIAL  CONVERTION  AGAINST SALES ORDER.

    Hi,
    Check in material master MRP3 view there is field called strategy group where you have option to define the planning strategy like make to order/make to stock & like.
    Regards
    Ravi Shankar.

  • Line items are not coming on next page in Bill of Lading

    When I am printing Bill of Lading, if it has around 8 line items then its printing on the first page, but if line items are more then its not printing the remaining line items on second page.
    I have one delivery with 10 line items, when I am printing it then on first page 7 line items are coming and for 8 line item only material is printing and on second page its description is printing but last two line items are not printing at all.
    Kindly help me to resolve the issue as it is very critical.

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • How to Fetch Sales Order Item Quantity from Customer table(ztable)?

    Dear Guru's,
    My scenario:
    While creating Sales order the item quantity should be fetched from a Ztable. So iam using the Userexit "V46H0001 - - Customer functions for resource-related billing", in that i have implemented my code in the Function Exit - EXIT_SAPLV46H_001 and the FM documentation says
    This function module allows you to change item information for generating a new item.
    In order to achieve this, you must change the relevant field in the structure C_VBAPKOM.
    So i activated that exit and wrote the following code to test it as follows;
    break-point.
    C_VBAPKOM-zmeng = 10.
    But it seems not working, even it doesn't stop at the break-point when i type the material number for the item in the sales order and press enter...
    Please guide me in this regard, am i correct in choosing the User-Exit? what else have to be done in order to fetch the item quantity from the ztable....
    Please suggest if there is some other way to do this, i also heard that we can do this through Routines...
    Thanks in Advance...
    Regards
    Karthik D

    I have solved this  and you can found how i solved in the last reply of the following thread....
    [SD UserExit - V46H0001 - Customer functions for resource-related billing|SD UserExit - V46H0001 - Customer functions for resource-related billing]
    Thanks
    Karthik D

  • Err in PO creation-Sales document item is not defined for the transaction

    Hi,
    I am getting the following error while creating PO
    "Sales document item 30000183 000100 is not defined for the transaction
    Message no. V1 198
    Diagnosis
    You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
    This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order."
    I have used an item category which is copy of TAB and the sales order line item is attached to WBS element.
    can any one guide me what needs to be done.
    thanks

    If you want the sales order creation to initiate a PO creation automatically, check if the "Create PO Automatically" button is ticked on for the item category in Transaction flow tab in tcode VOV7
    This will solve your problem, provided your configuration for PO on the MM side is fine.
    Reward if this helps.

  • Sales Order item should not be allowed to modify after doing PGI.

    Dear all SAP experts,
    When i create a sales order say for 10 pieces. Now I have created the delivery for all the 10 pieces & also created the invoice.
    My requirement is when i create a delivery for all 10 pieces then after doing the PGI the system should make the sales order line item & qty "grey" - I should not be able to change the sales order item in any respects.
    If not from delivery then when i save the invoice for that sales order then I should not be able to modify the sales order item & qty.
    With best regards,
    Allabaqsh G. Patil

    Hi
    I think there can be a problem in copy control
    In copy control at item level, in teh item category, ensure that the field "Update document flow" and the Pos/neg quantity are properly updated.
    Update document flow shoudl be ticked on
    Pos/neg quantity should be positive.
    Before doing this , check teh document flow of the sales order. Do the same after doign this configuration. Note the difference.
    This will solve your problem

  • Ordered item is not showing in MD04

    Hello SAP Gurus,
    My requirement is like one material is in the sales order but dose not show as ordered in MD04.
    Could someone please help me on this.
    Thanks
    Sha

    Go to your sales order and note the schedule line category of the line item which you want to check
    In t code VOV6 for the schedule line category there is a check box for transfer of requirements near to Availabilty check tick box, If you tick that then this order for this line item will appear in MD04

  • How to limit an order item is not be modified ?

    Hi ,guy .
        Now ,I am implementing an workflow project .I have a troublesome  problem need your help .my scenario is as follows : I have a approval workflow which triggered from sales order item level .during the approal process .this item corresponde content is forbidden to be edit. but the header data and other item relvant data which do not need approval is allowed editing .
    for example , when I created a sales order 200 , it contain two item ,item A and Item B . after saved .the item A is up to approval condtion .so ,Item A trigger a approval work item .but Item B is not up to approval condition .so ,it need not approval . my question is during the approval process .the Item A is not allowed to be modified .but the header and Item B is allowed be modifyed .
       whehter anyone have same scenario or have any solution ? thanks a lot .
    Jialiang.Qiu

    hi,
    If this can't be done in SAP standard (through customizing for instance)
    you're often left with creating a custom screen in which the user can enter the data, after that you can alter the data in SAP with a bapi, or batch input mapping.
    Kind regards, Rob Dielemans

Maybe you are looking for

  • Third party process in MM

    Hi friends, i need all your help in configuring third party process in MM.please guide me by giving step by step process with t-codes. your advise is considdered more valuable. Regards, william

  • Transferring a hard drive from one imac to another

    I have an iMac G5 1.8GHz (2gb RAM) bought new in 2004. I updated the hard drive last year from 80GB to 1TB (Hitachi serial ATA) I have over 500GB of data on this disc. I have now bought the following from a friend: Model Name: iMac Model Identifier:

  • How can I add a fillable table to my form?

    How do I create a form that includes a fillable table in FormsCentral?  I need to create a form that is similar to an order form with multiple spaces available for Quantity, Item Description, and Cost.  Then I need it to calculate a total cost for al

  • Hiya. Since I upgraded to Firefox 36 my MacBook Air battery has been draining horrendously quickly. Is there anything I can do to fix this?

    Since I upgraded to Firefox 36 a few days ago my MacBook Air's battery has been draining at a horrendous rate when I've got Firefox open. For instance, just now when I'd not got Firefox open, my activity monitor told me I've got two hours usage, but

  • Database Design Issuee

    Dear All, Need your expert Comments on this Issue. We are about to design an application. One of the Entities in our Business process is a " Site " . Now for a single Site , there are 10 different department who store their own information . e.g A Si