Help:the sales order is created with a 0 quantity

I am able to create the sales order now. and it is showing up in SAP too.
But i have one more problem.
The sales order is created with a 0 quantity.
I was passing quantity in the field COMP_QUANT of the table ORDER_ITEMS_IN.
Can anyone help me with this, as to what field of the table ORDER_ITEMS_IN should be updated to show the quantity in the sales order
Thanks

This is the mistake...
ORDER_ITEMS_IN-COMP_QUANT you populated, but you missed
ORDER_ITEMS_INX-COMP_QUANT = 'X'.
because of this it is not updated.
try this..
regards
vijay

Similar Messages

  • Can we block the sales order after creating ?

    Can we block the sales order after creating ?
    If how to do.
    Thanks
    naresh

    Hi
    Naresh
    If you want to block the sales order then go to
    >Header -- shipping tab
    There u will find the column of delivery block there u put any reason. This way u block the sales order.
    Another way u can give reason for rejectioon this way also u block the order and as and when u want to desp u can remove the reason/block.
    Hope this will help you.
    Thx.

  • How to know if a Sales order item created with or without reference

    Hi,
    I am working on user exit USEREXIT_MOVE_FIELD_TO_VBAP, and I just wanted to know if there is a way to know if a sales order item is created with or without reference to a contract.
    I need to write the code in USEREXIT_MOVE_FIELD_TO_VBAP, however, when an SO line item is created with reference the userexit is being called twice and when the SO line item is created without reference the user exit is being called only once.
    My aim is to check if a SO line item is created with reference to a valid contract. If the item is without reference to a contract or the referenced contract is not valid, then I will have to determine the contract based on the customer contracts.
    Any help on this would be greatly appreciated.
    Best regards,
    Siva

    Hi Vindo,
    The Userexit USEREXIT_MOVE_FIELD_TO_VBAP is called twice when the SO line item is created with reference to contract. The first time the user exit is called there will be no value filled in vbap-vgbel and the second time it comes to the userexit then vbap-vgbel will have a value. I think CVBAK-VBELN will contain the reference if the so line item is created with reference and the value of CVBAK-VBELN contrains blank if the item is not referenced. Anyway thanks for your reply.
    Best regards,
    Siva

  • Third party sale order wrongly created with Manf plant

    Hi All
    The Scenario is as follows
    I have created a sale order with item category TAS. The system generated a purchase requisition which is expected. But it also created a Planned Order for the same sale order when MRP was run for the material. This resulted in the two Purchase Orders for the same sale order.
    Kindly advise.
    Thanks.

    Hi:
    Could it be the Schedule line Category should not be MRP relevant?
    Regards
    Aaon

  • In the Production Order, Sales Quotation is displayed not the Sales Order

    Hello to All,
    I need a kind help from you.
    My scenario is as follows
    There is a Configurable Material (Finished Product)
    Sales quotation (VA21/2/3) were made for this material.
    Sales Order (VA01/2/3) with reference from the Sales Quotation were made for this same material.
    Now when I run the MRP (MD02) for this material, Planned Orders were created.
    Planned orders were converted to the Production Order.
    In the Production Order (say in Display mode), under the 'General' tab, there is a segment called 'Sales order'. In this segment, the sales order is being displayed if the Production Order is created for a sales order (MTO scenario).
    But, in my case, the Sales Quotation number is being displayed instead of the Sales order.
    My Issue which need your answers:
    Is it a standard SAP scenario?? I mean, if the production order is created for a sales order and again if the sales order is created earlier with reference to a sales quotation, then in the production order, the Sales quotation is displayed. Is it a standard?? Or it is showing wrongly? I mean, is it like that, always the sales order should be displayed in the Production order and not the sales quotation??
    Please suggest so that I can overcome this problem, if at all it is a problem.
    Some More Inputs (For your analysis/research):
    1. After the MRP run of the material the Planned Order is created. I have checked the planned order, and found tha the assignment of sales document (in this case Quotation) is done in the Planned order itslef. It is visible wthin the "Assigmnet" tab of the Planned Order.
    2. For the analysis purpose, I created one stand-alone Sales Order for the same material. I mean, without reference from any Sales Quotation. Then, when I run the MRP (md02), the Planned Order and then production order were created normally, with reference to the Sales order. This just for your kind information.
    3. I have checked the pegged requirement of the Production order in the MD04. It is showing the Sales order itself. But, if I see the production order (CO02/O03), it shows sales quotation.
    User Requirement:
    Evenif, the sales order is created with reference to a Sales Quotation, after MRP run, in the Planned and thereby subsequent production order, the Sales Order should display and not the Sales quotation.
    Please suggest.
    Thanks and Regards,
    Supriyo

    Hi
    Since your scenario is configurable material,  the system takes the reference of sales quotation only. Because the in case of configurable materials the sales quotation is the base and based on the sales quotation the sales order is created and subsequent production order.
    This is std SAP and for configurable materials the sales quotation is deciding factor
    Krishna

  • Block For billing when sales order is created

    Hi experts,
                   I have a requirement in which i want to block the sales documrnt for billing when the sales order is created with particular discount value.
    for this i have checked the condition of discount first it works fine no i want to block it for billing.
    My SD consultant told open the sales doc in change mode(VA02) and then go to Billing Block field (FAKSK)  and then give 02 Compl confirm missing and save the doc
    So for this i have writen a method.
    SET Parameter ID 'VBELN' Field OBJECT-KEY.
    Call Transaction 'VA02' and SKIP FIRST SCREEN.
    SET Parameter ID 'FAKSK' Field '02'.
    in this it is calling the VA02 screen but i am not able to pass the billing block value and save.
    Please give me a solution how to do this.
    for blocking i have also used the standard method in BUS2032  SetDefaultBillingBlock
    it is not blocking the billing.
    Or should i use some bapi for this.
    Regards,
    Hari

    Hi Hari,
    SET parameter ID only sets the value to an input field. It wont saves to the database. More over i don't find any parameter ID for billing block in VA02.(May be because it is a drop down).
    Use BAPI BAPI_SALESORDER_CHANGE Pass the sales order number, ORDER_HEADER_IN-BILL_BLOCK = ur blocking code, ORDER_HEADER_INX-BILL_BLOCK = X.
    After calling the BAPI call BAPI_TRANSACTION_COMMIT.
    Above procedure is to programativally.
    If u want to do it manually then directly open VA02 and change the billing block and save.
    I dont think we can set parameter ID for billing block
    Thanks,
    Vinod.

  • TO CREATE AN INVOICE WITH REFERENCE TO THE SALES ORDER

    I have a credit memo request(sales order) and I need to create a credit memo(invoice) on saving the sales order without creating the delivery order in between.The invoice(credit memo) must be created directly with "reference" to the sales order(credit memo request) without the delivery order in between

    Hi,
      You can deliver the standard sales order by VA02 going to sales document-> deliver.
    then save it it will give you outbound delivery number then go to vl02n the do the PGI of the same.
    and for Invoices first create billing document byVF01 then create invoice list VF21
    Thanks
    Ankur
    Edited by: Ankur Sharma on Jul 23, 2008 7:51 AM

  • NO MATERIALs in the Sales order created through inbound idoc file

    hi,
    i have maintained the customer material number as well the SAP Material number in the tcode VD51,but still the inbound
    idoc type ORDERS03 is posting the application document(Sales order) without the materials.
    for instance,
    I have cust.material as CUSTMAT1 in the idoc file.
    I have maintained the CUSTMAT1 as cust material and 1001 as material no in VD51.
    After posting the inbound idoc file using RSEINB00 prg,the idoc is created and i can see the CUSTMAT1 in the material segment field
    The Sales order is created successfully ,but without the materials.
    i need the application document has to be posted with materialsm,can any one help me to solve this issue.?
    Thanks

    Hi ganesh ram
    In order to determine the Material Number with you custom material then you needs to have some configurations.
    Check with your Functional consultant to add the Access sequence for determining the Material Number with you custom material
    In Sale order processes...
    Thanks
    Ramesh

  • Function module to get Service Order details created with a Sales Order

    Hi,
    Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
    When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item #  in the DB view  CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
    I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
    Your early response is greatly appreciated.
    Thanks in advance,
    venu

    Hi Akshay,
    I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
    Can you please tell me if there is anyother way.
    Thank you,
    venu

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Is the time column in VA05 the time the sales order created?

    i have added a time column in VA05. May i know whether it is the time the sales order is created? How do i know if it it the created time? Need to know the sales order created time, for example at 7:00. Thank you

    Hi
    Yes this is the order creation date. You can cross check by seeing the time by checking the entry in table (VBAK-EZERT) by passing the VBAK-VBELN as the order number.
    Thanks
    Indranil

  • How can we remove an unwanted # in sales order texts created using a bapiFM

    Hi,
    i've written the following code which splits the record fetched from apllication server and moves it into a workarea.
    CONSTANTS:c_sep VALUE cl_abap_char_utilities=>horizontal_tab, "for separation
    SPLIT wa_tab1-rec1 AT c_sep INTO wa_inf_itm-inf_vbeln
                                           wa_inf_itm-itm_number
                                           wa_inf_itm-material
                                           wa_inf_itm-req_qty
                                           wa_inf_itm-uom
                                           wa_inf_itm-amount_pr00
                                           wa_inf_itm-amount_pi02
                                           wa_inf_itm-amount_mwst
                                           wa_inf_itm-amount_vprs
                                           wa_inf_itm-currency
                                           wa_inf_itm-text.
    Here c_sep will have a value '#' instead of 'space' in Flatfile from application server.
    The field 'wa_inf_itm-text' though it doesnot contain any value in debugging, when the sales order is created using FM 'BAPI_SALESORDER_CREATE_FROM_DAT2' the item texts are having a # character at the end of the text if it has any text(when checked in va03--sales order item text) or if it doesnot contain any text ,then also # character is seen in texts.
    Thanks & Regards,
    Prasad Reddy.

    hi
    use
    Replace all occurrence of '#' with space from .......
    I think it will solve ur problem.
    Rewards with point if helpful.
    Regards
    Santosh.

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • Change of sales order in combination with planned/released production order

    Hi Guru's,
    How do you deal with changes in the sales order in combination with planned orders and the scenario how to deal with release production orders?
    Can you tell me the SAP scenario, technically or reports or transactions or user exits, etc?
    Thank you in advance,
    Eric

    Here You have 2 scenarios
    1. Sales order changed at planned order stage
    In this case any chagne of quantity done in the sales order level will be taken care by the Planned order until it was not firmed .
    In case if it was firmed for the increased qty you will get a new planned order getting created.
    In case if it is reduced and if it was unfirmed it will get changed accordingly
    2. Sales order changed at production  order stage
    if the planned order was converted to production order change we can manually changes the respective Production order util no confirmation was done to any operations..
    is all this scenariors you are looking for if it is helpful let me know
    thanks..
    dskumar

  • Automatic creation of production order against the sales order.

    Hi Experts,
           My client requirement is he wants the production order to be generated or created automatically as the sales order is created, please suggest weather it is possible or not.
    Regards,
    Naveen.
    Edited by: vaddapalli naveen on Mar 13, 2010 9:03 AM

    Hi,
    It is possible by selecting proper Planning strategies.
    Example you can use the planning strategy Assemble to order with Production order, it is possible.
    please refer the below help link for more details,
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/191eb845fd11d188ff0000e8322f96/content.htm
    Thanks,
    R.Loganathan

Maybe you are looking for

  • Lost ability to add, delete and move email addy's in Address Panel

    Not long ago I downloaded Snow Leopard 10.6.3 from disc and then upgraded to 10.6.8.  Perhaps a coincidence, but now I see I'm no longer able to use Address Panel as I previously had.  Specifically: I recall there had been + and - buttons to add and

  • Prime infrastructure 1.3 / 2.0 - LMS 4.2 and NCS PI coexist on one physical appliance?

    I would like to purchase the physical appliance the serves both LMS/NCS. Is this possible on the NCS appliance running 1.3 or is this only available on a 2.0 appliance. If so any documentation supporting this would be appreciated.. Sent from Cisco Te

  • Seeburger .SDA file deployment

    Hi Experts, I developed Seeburger edi mapping X2E in seeburger and created a .sda file and now want to deploy in XI sever..but there is already some standard mappings deployed. I can see some files like seeburger/mapping_user and mapping_user00. So n

  • Who updates Apple Maps data

    I have repeatley updated pin locations in the desktop version of Apple Maps. At least one or two everyday and have'nt seen a single pin moved. I'm just curious to where this data goes as it clearly doesn't get read or seen

  • Viewing custom Z tables with blank authorization group

    I'm trying to view all the Z tables without any authorization group (blank) in TDDAT.  It only displays Z tables with &NC& or other valid groups we assign.  Is there another table I can query to show ALL Z tables without an auth group? Thanks.