Facing problem in sales order

Hi Friends,
While selling trading goods, the requirement type is coming as 011 in sales order.And schedule line as CP.
But if  I want to requirement type as 011 and schedule line as CN.
Kindlty guide me
Thanks in advance
Shailesh

Dear Shailesh
For information, your Requirement Type is based on your Strategy group which you would be maintaining in material master MRP3 view. So go to material master, choose MRP3 view and see what strategy group you have maintained.  If you want requirement type 11 to flow, assign the same in OPPS.
With regard to schedule line category, since you wanted CN to flow in your sale order, go to VOV4, select your item category and maintain CN against the item category.
thanks
G. Lakshmipathi

Similar Messages

  • Problem in Sales Order with specific condition type.

    Hello Experts,
    I'm facing a problem in sales order creation for a specific condition type.
    the actual scenario is as below,
    We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
    To achieve this I've written a user exit "RV64A999"
    In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
    But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
    But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
    Any help or pointers reagrding this issue will be very helpful and highly appreciated.

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

  • 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.

  • Condition Period Problem in Sales order -  Need help

    Hi Gurus
    I am testing Sales Order back dated
    Condition period Problem in Sales order
    example for you to understand
    Sales Order where PO date is 17.12.2007
    Del Date & Price date is 13.02.2008
    Then it is not calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621]
    But if i do it after 14 feb 2008 then it is calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621]
    When I do it with current date it is calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621] say date is 9-5-2008
    I am not able to trace out problem, kindly help me from where I do I check and why this is happening.
    Rajesh Chalke

    Hi,
    I am not sure if this solves your problem, but I am suspecting that this might be due to the 'valid on date' of the condition records created for the relevant duty condition types.
    Since it was a recent regulation and VK11 usually defaults current date as the valid date, that condition record may have been valid only from the recent date on which it was created.
    Check the date in VK12 (To find the exact selection parameters, check the pricing analysis in the sales order which will display the exact condition record which is being selected as of current date.) Check for the same parameters; change the date to relevant date in the past and recreate the sales order. Hopefully this should solve the issue.
    Cheers,
    KC

  • BAPI - Problem in Sales order creation

    Hi Friends,
    I have problem in Sales order creation using BAPI ,I am getting a messsage - Error in creating document ,I have sent the code along with this mail ,can you help it out.
    Code:
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Sales organization
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Distribution channel
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Division.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
    PARAMETERS: p_spart TYPE spart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Sold-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
    PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Ship-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
    PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Material
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
    PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Quantity.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
    PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Plant
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    Initialization.
    INITIALIZATION.
    v_text   = 'Order type'.
    v_text1  = 'Sales Org'.
    v_text2  = 'Distribution channel'.
    v_text3  = 'Division'.
    v_text4  = 'Sold-to'.
    v_text5  = 'Ship-to'.
    v_text6  = 'Material'.
    v_text7  = 'Quantity'.
    v_text9  = 'Plant'.
    Start-of-selection.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = p_auart.
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = p_vkorg.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = p_vtweg.
      headerx-distr_chan = 'X'.
    Division
      header-division = p_spart.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = p_sold.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = p_ship.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    Regards,
    Dinesh

    what messages u are gettting in RETURN ? Please check the RETURN tables data.
    [code]CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
    EXPORTING
    sales_header_in = header
    sales_header_inx = headerx
    IMPORTING
    salesdocument_ex = v_vbeln
    TABLES
    return = return
    sales_items_in = item
    sales_items_inx = itemx
    sales_schedules_in = lt_schedules_in
    sales_schedules_inx = lt_schedules_inx
    sales_partners = partner.
    Regards
    Prabhu

  • Rounding off value problem in sales order

    Hi All,
    This is related to a rounding off value problem in sales order.
    The problem is described by an example which is as follows -
    Selling Price of Material A = Rs. 176.76
    Excise charged = Rs. 21.80
    Total Price = Rs.176.76 + Rs.21.80 = Rs. 198.56
    On this total Trade Discount (ZDTD) having access sequence,is calculated  at the rate of 4% = Rs. 7.94
    But the condition base value after the discount is showing Rs.198.60 instead of Rs.198.56
    I want the system to reflect the value as Rs.198.56 intact and it should not round up to the nearest value i.e. Rs. 198.60
    Why is this happening? Is it possible to reflect the exact value? If yes what is needed to be done?
    The commercial round off is activated for the DIFF Condition Type.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    Hi Ramesh,
    Thanks for your suggestion but the problem has been solved by me.
    Regards
    Priyanka Mitra

  • Problem about sales order stock stock transfer and batch determination

    Hi, experts, I get a problem about sales order stock stock transfer and batch determination.The following is the current situation of my system:
      In OMCG I assigned search procedure ME0001 to both 311 and 311 E and ticked check batch. After that, I found  that if iI need to tranfer unrestricted-use material from storage location 1000 to 2000 with movement type 311, I just need to input * at the field batch, then the system will display all of the available batches. But for the transferring of sales order stock with movement type 311 E, after I input * at the batch field, no batch is displayed and there is also no message from the system.
      Can anybody help me? Is there anything else I need to do? Thanks very much.

    I think my question is not clear, actually I tried 562 E , 411 E and 413 already. all the transaction looking for the sales order but unfortunatly the sales order is deleted  from SAP.

  • Problem with sales order and Service order

    Dear Guru's
    We have a real problem with sales orders and service orders and how we treat these. For a project that uses a WBS, it's not a problem to manipulate SAP to give us a list of shortages (orders with no or limited supply) for each order, but for some reason our after sales orders and our service orders do not work this way.
    Thanks and Regards,
    Deethya.

    CLOSED

  • The problem for sales order ra settlement

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

  • Problem in Sales Order Credit Memo

    Hello All,
    The problem is related to item category ZTAN where we have changed the Completion Rule to B and in VTAF ( Bill to Order Copy Control) under Item details for Credit Memo Request for example from Domestic Invoice to Credit Memo we changed the positive/negative quantity updation to positive. Now after changing the completion rule we were facing a problem where after completion of Sales Process till generation of Invoice the document flow was showing the status as :Being Processed". Then after changing the Completion Rule again to 'blank' the problem of document flow status was solved as it showed the status as "Completed".
    Now after doing this change in Item Category for normal sales order we are facing a problem in Credit Memo where again after completion of Credit Memo the document flow status here is showing as 'Being Processed' instead of 'Completed'. Please suggest what configurations need to be done to get the desired result which is in Credit Memo after completion the status will show as "Completed".
    Thanks & Regards
    Priyanka Mitra

    Hello Mr. Shiva Ram,
    First of all thanks a lot for your help.The problem of credit memo is now solved but to resolve the status of the existing sales order documents as per your suggestion we have run the  program SDVBUK00 in SA38.Still we didn't get the desired result as the status of the completed normal sales orders are still showing "Being Processed" even after running the program.
    Please suggest what else need to be done to change the status of the completed sales documents till invoice.
    Regards
    Priyanka Mitra

  • Division problem in sales order

    Hi all,
    In my company there are at present 6 different divisions. Also I have created a common division as the end user was facing problems of customer extension.
    1. The excise duty rates are different for all divisions.
    2. When I create the sales order and if i select suppose 2 different divisions then the system is accepting. This will definitely pose a problem for me when the I create the inoice as the duty rates will be different.
    Please guide me as to how to prevent the different divisions being entered at the same time in the sales order.
    <b>Settings in VOV8:</b>
    Check division - no dialogue
    Item division - No tick
    Regards,
    Allabaqsh G. Patil

    Hi Patil,
    You can use the check division option to make sure the division of the materials entered in the sales order is the same as the one entered in the first screen of order entry. This way you can avoid materials of two different division entered in the same sales order and hence one excise duty rate would be applicable. The drawback here is you might have to extend the customers to all sales areas apart from the existing reference ones.
    <b>Alternative</b>
    If the excise duty is applied using a condition type with an access sequence then maybe you could include the material division as one field and apply the excise duty accordingly. I'm not with the SAP system hence not in a position to give you the field name for the material division in the sales order document. Just check the item level data you would find a field with the material division.
    Regards
    Nadarajah Pratheb

  • Free Goods Problem in Sales Order

    Hello All,
    The problem is related to Free Goods in Sales Order which is given with an example -
    We have maintained Free Goods ( T Code - VBN1) in inclusive scenario which is as follows -
    For 210 PAC (Pack) of Material A 18 PAC  Free.
    Where 1 PAC = 20 BT (Bottle) and 20 PAC = 1 CV (Case Pack)
    In the material master of Material A the Base Unit Of Measurement (UOM)  = PAC and Sales UOM  = Blank so that we can use any conversion factor maintained for the material.
    The conversion factors maintained for Material A are as follows -
    1 BT = 1BT
    1 PAC = 20 BT
    1 CV = 20 PAC
    Now when we are raising sales order for 11 CV  the free goods are not generated in the Sale Order.
    Again if we maintain the Sales UOM in CV  and raise the sales order it is showing :
    10 CV as main item and 1 CV as Free which is wrong because in the conversion factor we have already maintained 1CV = 20 PAC ,  Whereas in the inclusive scenario it is given 11CV = 210 PAC and 210 PAC = 18 PAC is free.So in any case it is taking into account 2 more PACs.
    Please suggest what need to be done in this case in respect of SD  /  ABAP(if needed).
    Thanks & Regards
    Priyanka Mitra

    Yes Priyanka
    This is a very interesting  and a challenging issue or question
    I think because of the prorata calculation type the extra 2 units  is coming
    This logical  error has happened to me too
    Inclusive 210 units  means we have defined as 192 + 18 in VBN1
    But the system determines the free goods in sales order as 190 + 20 that means there are 2 units which are going free than what has been maintained as condition record
    But system converts our logic into its own thro that calcultion type PRO  RATA which is the main culprit here
    So it requires ABAP help
    This qn should be awarded points (unfortunately i am not able to do so)
    Regards
    Raja

  • Assorted Free Goods Problems in Sales Order

    Hello All,
    The problem is related to Assorted Free Goods Pricing in Sales Order.I have two queries which are provided below with example:-
    In the sales order I am giving 2 Line Items. -
    Material A & Material B of total quantity 10PC Then 1 PC of the Material C as 3rd line item
    in the sales order is populated which is maintained as an assorted free good having Manual Free Item Category for eg. ZFV5.
    Similarly line items A & B combined of 10 PC = 1 PC of Material C having Manual Free Item Category for eg. ZFV5.
    Again if 10 PC of Material A or B are chosen respectively =  1 PC of Material C having Manual Free Item Category for eg. ZFV5 .
    _Now I want to configure the following**_ -
    1) The system will include the cost of the Assorted Free Good Item within the Main Item.
    2) While raising a Sales Return Order for the above mentioned Sales Order it is observed that the manual free item category ZFV5 is changed to the Return Main Item Category whereas I want the item category to be picked up is Return Free Item Category against the Manual Item category .
    Now considering the above scenarios please suggest solutions to attain my requirement.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka

    Hi Priyanka
    As far as what i understood from your post your requirement doesnt seem to be possible in standards
    If you want the cost to be transferred to the main item then in VTFL at item level there is a check box of cumulative cost
    That has to be ticked
    Constraintsin free goods in R3
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    Regards
    Raja

  • Problem in Sales order create using BAPI with reference to quotation

    Hi,
    I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA.
    The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN".
    Ideally when a sale order is created in VA01 with reference to a quotation and if all items are added in the order from quotation, then the status of the quotation must be "Complete".
    When i use the BAPI, the status of the quotation is sill "Open". Has anyone faced this issue?
    Even if anyone has faced this issue with BAPI_SALESORDER_CREATEFROMDAT2, please let me know...
    Regards

    Hi RV,
    I am using BAPI  to create order reference to contracts. I am facing same issue. Its not updating document flow (vbfa-plmin field). After creating orders I am forcing to update plmin field in vbfa. This worked fine. But now status in reference document not updating properly. I saw your thread. It looks like similar issue. I saw your comments "Customization was not maintained properly for the Order types ". Please can you explain little bit more about your solution. It will helps us lot.
    Thanks,
    srini

  • Quantity problem in sale order

    Dear Friends,
    I had a problem in sales return order. The problem was when i take sales return with the reference to invoice it coping all the data from invoice, up to this point ti is fine, If i changed in line item material quantity 10 insted of 100. In condition it is not reflecting the value, it is capturing hole invoice value insted of picking 10 quantity.I need to solve this problem as a priority 1 so help in this issue.
    Regards
    Eswar

    Dear eashwar
    Check the copy control in VTFA whether these are maintained for your item category.
    Copying requirements    002
    Data VBRK/VBRP         002
    Billing Quantity              A
    Pos/neg.quantity           +
    Pricing Type                  D
    I think in either of the above, your settings differs and hence the problem.  If it differs, please maintain the above and retry.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Is there a maximum file size that can be converted to pdf

    I have a 448mb tiff that I want to convert to a pdf. However, Acrobat gives me the error that the file is damaged or there is some other problem. Photoshop CS5 opens the file with no problem. It won't convert it to a PDF either. The tiff is at 200 re

  • Runtime Error while using Dynamic Selection

    Hi,   We are getting a runtime error while using a dynamic selection. One of the fields has got an apostrophe in the middle of the text and so the condition is returning an error SAPSQL_WHERE_PARANTHESES.   Let's say the value in the field is SCV's.

  • Problems with doctype

    I found a problem where if a document is saved to a container with a doctype using a public identifier it comes back using a system identifer that is the same string as the public id. Here is what happens using an example from the xhtml spec. dbxml -

  • Can anyone assist me on Error 306?

    I have installed iTunes 10.6 on my Windows XP. I have also downloaded music files etc. When I try and access the iTunes Store from my XP laptop, I get the Error message "iTunes could not connect to the iTunes Store (306). Make sure your netowrk is ac

  • Installing OS X 10.4.4 on my ibook g4

    I hope someone can help.... I bought a refurbished ibook g4 12'' 1Ghz with the following.. a. airport extreme b. 512 Mb of ram c. 8x combo drive d. OS X 10.3.9 Now that being said, i was given this dvd with OS X 10.4.4 on it. The problem is when I tr