Material Mandatory not showing at sales order level error

Hi Every one,
According to my client Requirement  at the time of  sale order creation material is mandatory , but i tried through Incompletion log
its showing material mandatory but the problem is after entered the material in one line item when i try to save the sales order
system is asking enter the material  again ie one more line item
so i have avoid the that error and how to map into SAP system suppose to ask onetime material is mandatory
Can any one guide me how to solve the issue

Hi Prasanna,
As Amit Suggested, in user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ, you need to add a small 2 liner code telling the system that if VBAP-MATRN is blank then give an error message.
I had the same requirement and I have used it and it works perfectly fine for me. Let me know if you have any further questions.
Regards,
Rohan Gudavalli

Similar Messages

  • Free Goods - Not showing in sales order as subsequent item

    Dear Gurus,
    I have created a Free Goods procedure determination and maintained it at Customer/ Material level in VBN01.
    The procedure is inclusive as follow:
    For every 100 units purchased, the customer gets 10 units free
    However at sales order level there is no indication at all that the Free Goods are being triggered.
    When I check the pricing procedure, the condition record NA00 that I have used doesn't show-up.
    There is no subsequent item in the sales order under the main item showing the Free-Goods discount.
    Could you please help me go through the customizing process to correct the error?
    Many thanks for your help
    Chris

    Hi,
    FYI
    Free goods can be configured in SAP by following two methods.
    (1) Manually
    (2) Automatically
    Manually: By specifying higher level item category for a line item we can determine free goods as a free of charge
    items during sales order processing.
    Automatically: System proposes free of goods automatically in the sales order. In automatic free goods
    configuration system follows two methods.
    (1) Exclusive
    (2) Inclusive
    Exclusive: System configures free goods in exclusive option like free goods quantity is going to be excluded in
    order quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 10 + 1.
    Inclusive: System configures free goods in inclusive option like free goods quantity is going to be included in order
    quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 9 + 1.
    NOTE: In exclusive method other items also can be given as a free of charge items for order item.
    Configuration steps: INCLUSIVE
    SAP follows condition technique to configure free goods automatically.
    Maintain pricing procedure
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Condition technique for free goods
    Maintain pricing procedures
    Choose free goods procedure NA0001 and select it
    Click on copy icon on application tool bar and rename it Ex: SRI001
    Condition type is NA00 and Access sequence also NA00
    Save it and Exit
    Activate free goods determination
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Condition technique for free goods
    Activate free goods determination
    Go to new entries
    Specify our sales area, document pricing procedure, customer pricing procedure and specify our free goods
    procedure Ex: SRI001
    Save and Exit
    Control free goods pricing
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Control pricing for free goods item category
    Choose item category TAN from position button
    Specify the pricing as X = Pricing standard
    Choose item category TANN from position button
    Specify pricing as B = Pricing for free goods (100% discount)
    Save and Exit
    Maintain condition type for 100% discount
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain condition type for 100% discount
    Check whether condition type R100 is available or not (R100 = is 100% discount)
    Exit
    Maintain pricing procedure for pricing
    Path:
    IMG
    Sales and distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain pricing procedure for pricing
    Choose our pricing procedure form position button and select it
    Click on control data icon under dialog structure
    Include condition type R100 between the steps of discounts.
    Specify requirement = 55 and Routine No: 28 (100% discount) in Alt. CBV.
    Save and Exit
    Requirement 55: The Routine No. 55 is assigned to condition type R100. If the user wants to look both revenues
    and sales deductions for the free items since the product that we are going to give as a free of charge item can be
    sold separately in the same sales order. Then the item category of free goods TANN has the pricing value as B.
    Then the system calculates value of the free goods as 100% discount as we discussed above the same material [that
    is going to be given as a free of charge item]. Some times the same item is going to be given as a normal item.
    Then system calculates price for normal item and system should not calculate price for same item [free of charge
    item]. So as to perform this calculation we have to assign Requirement/Routine 55 is to assign condition type
    R100.
    Alt CBV = 28: [100% Discount] Condition type R100 should be taken as a ZERO value. The formula 28
    calculates condition type R100 value as a ZERO.
    Set Transfer of cost to Main item: [Copy control]: Transaction code: VTFL
    Copy control is a concept by which the system copies the data from source document to target document.
    Path:
    IMG
    Sales and Distribution
    Basic functions
    Pricing
    Free goods
    Control free goods pricing
    Set transfer of cost to main item [copy control]
    Choose Billing type F2 Delivery document type LF from position button
    Select it and click on itemicon under dialog structure
    Choose item category Ex: TAN
    Click on details icon
    Click on display or change icon
    Choose item category as TAN again
    Select it and click on details icon
    Check cumulative cost
    Save and Exit
    Cumulative cost controls whether the cost value (VPRS) is to be copied from relevant sub items into main items.
    Sub items cost are not relevant for billing.
    Maintain copying control: Transaction code: VTAA
    Path:
    IMG
    Sales and Distribution
    Basic functions
    Free goods
    Control free goods pricing
    Maintain copying control
    We maintain copy control at item level category for free goods. In this field we can control whether the
    free goods should also be transferred when we copy from one document to another document.
    Choose source document type as QT and target document type as OR from position button
    Select it and click on item control button under dialog structure
    Choose AGN item category from position button
    Click on display or change button
    Again click on AGN
    Click on details icon
    Check Re u2013 explode structure/Free goods
    Save and Exit
    This indicator controls whether the free goods are copied from source document to target document or redetermined
    again.
    Maintain condition records for Free goods [INCLUSIVE]: Transaction code: VBN1
    Path:
    Logistics
    Sales and Distribution
    Master data
    Conditions
    Free goods
    VBN1 u2013 Create
    Specify condition type NA00
    Click on key combination
    Specify all the data
    Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
    Specify the Material No., Minimum order quantity (Ex: 10), Specify [from] the free goods quantity (Ex:
    10), Unit of measure u201CEAu201D (Each), Free goods (are free goods) as u201C1u201D.
    Calculation procedure: We can specify the Routines for calculation procedure as 1 or 2 or 3
    1 = Pro u2013 Rata (Proportionate): Ex: If the customer places order for 100 cases of material u201CXu201D, then customer
    receives 20 cases of same material as free. That means, the business can say that buy 100 and get 20. If the
    customer orders for 162 cases, then system automatically grants 32 cases as a free of cost (162x20/100 = 32 Cases).
    2 = Unit of reference: When customer orders for 100 cases of material u201CXu201D, then the customer receives an
    additional 20 cases as a free of goods. That means business can say that buy 100 get 20 free by granting 200 free
    for every full of 100 cases. The customer places order for 162, then system automatically grants only 20 cases
    (100x20/100=20).
    3 = Whole unit: When a customer places order for 100 cases of material u201CXu201D, then the customer receives additional
    20 cases of material u201CXu201D as a free of goods item. The business can say that buy 100 and get 20 free of charge items.
    If the customer orders for increment of 100 that means 200 (100 + 100) items, then he gets 40. If he placed the
    order for 101 u2013 199 items he gets only ZERO.
    Save and Exit
    Condition record for EXCLUSIVE: Transaction code: VBN1
    Path:
    Logistics
    Sales and Distribution
    Master data
    Conditions free goods
    Specify the discount type u201CNA00u201D
    Click on key combination
    Click on Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
    Specify the sales organization, distribution channel
    Specify customer number and validity periods, material, minimum quantity, order quantity, unit of
    measure, calculation procedure, free goods (3)
    Specify additional material free goods (if other goods is going to be given as a free of charge item.
    Save and Exit
    Go to VA01 and raise the sales order for INCLUSIVE and EXCLUSIVE.
    See the Free Goods effect.
    Condition type NRAB = Free goods: Requirement = 59, Alt CBV = 29: [only for INCLUSIVE purpose]
    Requirement 59: We have to assign requirement 59 to the condition type NRAB. If the customer buys 100 cases
    of product u201CXu201D, then he receives 10 cases of the product free. If the user would not like the additional line item in
    the sales order for free goods rather than the discount of the 10 cases is represent in the same line item as other 90
    cases. If the free goods discount should not apply on credit for returns that do not make reference in the previous
    document.
    Alt CBV 29: The condition type NRAB is to be assigned with 29 formula to support inclusive free goods
    agreement where the user would have to apply the discount to the order item rather than having a sub item
    generated for the free quantity.
    Ex: The customer orders for 100 cases of product u201CXu201D, 10 cases are free instead of having a free sub item generated
    b the system to represent the free 10 cases, the user would like to have a discount applied to the 100 cases line item
    equal to the value of the 10 cases.
    NOTE: Free goods can only be configured on document category type u201CCu201D (OR). That means we cannot configure
    free goods on Inquiry and Quotation.
    Header Conditions
    SAP has delivered two kinds of condition types: (1) Header conditions
    (2) Item conditions
    Header conditions: The value of the header condition applies to the whole items in the sales document.
    Header conditions do not have any access sequence.
    So that, value of the header conditions should be maintained manually.
    Ex: HA00, HB00
    Configuration settings:
    Include condition types HA00, HB00 in V/08 in between the discount condition types.
    Go to VA01 and raise the sales order
    Select line item and go to Go to button
    Header Conditions
    Include condition type HA00 HB00 with values [HA00 is percentage discount and HB00 is absolute
    discount]
    If HA00 = 1%, then system applies 1% on base value on all items in the sales order.
    If HB00 = 100/- Rupees, then system applies 100/- Rupees proportionately to all items in the sales order. If sales
    order has two items, then system applies 50/- Rupees to each item.
    Click on activate button
    Go to item condition screen
    Check how system applied header conditions for line items
    NOTE: Make sure that sales order contains more than one item.
    Condition Scales
    We can maintain scales for each and every condition type. So that we can determine pricing conditions values
    depending upon the range of the order quantity.
    Ex: If you maintain condition record for PR00 for material one as a 100/- Rs. For 1 material, then we can maintain
    scales for this material like below:
    From Quantity Price
    1 u2013 10 1000
    11 u2013 20 999
    21 u2013 30 998
    31 u2013 40 997
    Configuration settings:
    Go to VK11
    Maintain condition record for PR00
    Select line item and click on scales icon on the application tool bar
    Maintain scales and scale rates accordingly
    Save and Exit
    Go to VA01 and raise the sales order
    Enter the order quantity according to the scale and see the scale effect
    Regards,
    Siva

  • Error when trying to create a delivery note from a sales order -  Internal error (-2010) occurred

    Hi
    I am trying to create a delivery note form a sales order in B1 V9 PL8 and I am getting the following error -
    Internal error (-2010) occurred
    The code has been working but we seem to be getting problems now
    Can anyone suggest anything please ?
    Copy of the code attached
    Thanks
    Andy

    Hi Andrew,
    Try replacing this line:
    odel.Lines.BaseLine = lineno - 1
    with this:
    odel.Lines.BaseLine = oorder.Lines.LineNum
    Beni.

  • Country of Delivering Plant is not showing in Sales Order Pricing Analysis

    Hello All,
    I have created a new condition table with the field Country of Delivering Plant (KOMK-WKCOU).
    But in the sales order pricing analysis this field is not fetching the country of the plant (it is showing the Yellow color exclamation icon).
    This is  a standard field, I am not able to understand why it is not fetching this field.
    I have used the same field for tax condtions in my previous projects as well, there it worked well. 
    Even I have activated the KOMK structure in SE11 also, but still the same problem.
    Can anybody tell me how to resolve this issue.
    Thanks & Regards,
    Sreehari.

    Rightly suggested by Shiva.
    As plant determines at item level.
    So, instead of KOMK-WKCOU, field should append in KOMP.
    FYI, for checking any inconsistency in condition table, you can use TCode VK+C.
    Regards
    JP

  • VA01 - Plant not showing in Sales Order view

    Dear Gurus,
    I want to create a sales order and have selected a SP + 1 Item.
    The plant has been maintained both in the Customer and the Material MD
    Why then is it not showing in the plant'/s table field: RV45A
    If I enter the plant manually: TCSP, the system sends me the following message of error:"The delivering plant will not be copied into the existing items".
    What does that mean?
    Please help.
    Regards
    Chris

    Hi Palani,
    Yes I have maintained it and it shows. As I said, I maintained the plant in the customer and the material master data.
    So what shall I do to show it into the document header?
    Please advise
    Kind regards
    Chris

  • Material is not editable in sales order

    Hello,
    we have service order returns (zbre). with reference to returns order we create free of subsequent delivery (zbsd).
    but here some times the business wont delivery same material which shows in returns order it replaces different material.
    but the sap not allowing change the material in free of charge subsequent delivery.
    Regards,
    ramesh

    Dear,
    Since it is a subsequent delivery free of charge, it is standard that that sytem wont allow to change the material .
    (as a standard process , we will deliver only the material which was sent and was faulty )
    But please try to use the concept of material determination.
    This might help in your requirement.
    If the issue is closed, please let us know how you resolved the issue.
    Thanks & Regards,
    Hegal

  • Credit check not reflecting in sales order level

    Hi,Experts,
    I have configured a dynamic credit check,but even if the credit limit for the customer is crossed,still it is not reflecting in the sales document level,and allows me to create the sales order.please guide me as where should I check the error in the system,
    Thanks in advance,
    A.Chakraborty

    yes it is active for order type,and active for item category,as well as the dynamic credit check setting that is the combination of
    risk categoryccaccgrp(for sales order) ,is also done,still when the sales order is created,and even though the credit limit has crossed it is not throwing any message ,which is supposed to appear in the sales order,when we are going to save...
    please revert bach to me,to guide me about any further areas i need to explore within the particular area so far as the setting is concerned.
    Many thanks,
    Anshuman

  • Status not updated at sales order level though the billing is done.

    HI,
    This is related Third party sales, where i created order, billing but document status has been showing as BEING PROCESSED.
    There are 3 line items, where one item status is showin as completed, and for other two line items status is being shown as BEING PROCESSED.
    PLEASE LET ME KNOW THE REASONS.

    Read the following OSS notes to understand the status related to third party orders?
    1)  Note 210500 - Billing status of a third-party item
    2)  Note 549818 - FAQ: billing status for third-party items in sales order
    Regards,

  • Material Exclusion Not working in Sales Order

    Hi All,
    I configured material Listing/Exclusion to make some  materials available for(Industrial Sector customer) and exclude for ( Public  Sector customer).
    I used the following configuration procedures
    u2022     Created a  Condition table with combination of fields(Sales Organisation, Customer Group and Material).
    u2022     Then created two Access sequences   and Assigned the Condition table to each Access Sequence.
    u2022     Created two condition Types and Assigned the Access Sequence.
    u2022     Created Determination Procedure for Listing/Exclusion and Assigned the Condition Types.
    u2022     Then  assigned the Determination Procedures(Listing/Exclusion) to Order Document Type.
    u2022     Using VB01, I created a condition record for Exclusion, select the sales area, defined the Customer Group as Public Sector and selected all the materials to be excluded.   Also created the condition record for listing with the customer group defined as (_Industrial Sector_ and selected all the valid materials).
    When I create the Sales Order the exclusion materials were allowed for the Public Sector Customer.
    Could you please tell me what I am doing wrong?
    Thanks in advance for your help.
    DorisFola.
    PS:  I am a beginner.

    Hello,
    Thank you very much, I have tried the suggested solution but it has not solved the problem.
    Have you encountered similar problem in the past and is it possible it can be due to the related table not being refreshed?
    As someone just told me, it has encountered the problem  before and that sometime if the backup tables are not supportive it will not reflect?
    Regards Doris.

  • (Condition rate not showing in sales order correctly.

    Condition rate not showing correctly in Sales order. it has maintained  perfect in condition record. Please provide me the programe which can retrive the correct rate in sales order.

    Hi,
    Including above suggestions, try if Pricing date is coming. If not, this may be one of the cause. Go to VOV8, select your doc type and in "Pricing date/purchase order date" section, check the "prop for valid-to" and "valid-from" settings. Buth should be blank.
    Reward if sorts out your issue
    Regards
    SD

  • Delivery plant is not showing in sales order change mode

    HI FRIENDS
    I was created sales order, in the first  screen i choose the delivery plant , the delivery plant is copied to all items but when we go to sales order change mode we are unable to see the delivery plant in the first screen .

    Hi
    In VA02 if you are unable to see the delivering plant in the first screen then go  to Environment ->changes in VA02.
    Secondly , Also check in transaction variant , SHD0 for t.code VA02 wheather the VBAP-WERKS are in display or disable mode. If it is in disable mode then change it to display mode and then create the sales order again and then check wheather you are able to see the delivering plant or not
    Regards
    Srinath

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    where these setting incurred in this process. i have verifies all the routies, there is no such kind of logic to calculate in a particular palce.
    treat this one as high priority and let me know.
    Thanks
    Raju.

    Hi
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    Please check your Pricing Procedure, whetehr against your Cash Discount Condition Type, Requirement 24 or 23 is maintained? If it is maintained remove these requirements and save. Then try to run the transaction.
    Regards,
    Amitesh Anand

  • Partner determination functions are not determine in sales order

    Dear Sap Gurus,
    I have made a new partner function (P2) and have been configure it in partner determination procedure, although i hv made new customer master for the same account group. All th partner function are showing in the customer master data but these are not determine in sales order, one error is coming...this partner procedure is not defined.......kindly give me advide how to resolve this problem.
    Regards
    Parul Deshwal

    Hi
    Have you assigned the Partner determination procedure to your sales document type?
    Also have you assigned the Partner function to your Partner determination procedure.
    Also do the same to the sales order item partner determination
    regards
    Prashanth

  • Not open in sales order

    Dear All,
    i am used the t-code VA02 and type the customer code then enter, not open the sales order, so error show in SAP
    Customer for function SP may not have account group. plz solve the problem.

    Kindly don't create the same issue again. If it has been answered then close all the relevant issues.Refer the answer for the below issue.
    In IMG > SD > Basic Function > Set up Partner Determination
    Check the assignment of Partner Function with the Account Group in Account Groups - Function Assignment.
    Best Regards,
    Ankur

  • Route not determing automatically at sales order level for some sales order

    Dear All ,
    Route not determing automatically at sales order level  for some sales orders.We are using automatic route determination without wt group,eventhough we have configured the required settings
    I have checked all the forums but didn't find any solution for the same.
    Looking for your inputs .
    Thanks inadvance
    Regards
    Venkat

    Hi
    1. Copare the Routes which are Automatically determined and which are not automatically determined
    2. Have you mainted this route to be RELEVANT FOR TRANSPORTATION without this check route will not get picked up.
    SPRO > Logistic General > Shipping > Basic Shipping Function > Routes > Define Routes > Define Routes and stages > Select the Route and check for it's settings > CHECK MARK Relevant for Transport. Without this check the route will not get picked up as of my understanding.
    Thanks
    RB

Maybe you are looking for

  • Mail keeps crashing and app store and terminal and wont open in Mavericks

    Help! Ever since I installed Mavericks last week, Mail keeps crashing with the following error message below. The App Store and Terminal also refuse to open, please can someone help? Process:         Mail [832] Path:            /Applications/Mail.app

  • Midlet Signing

    Hello, Questions - Is trusted third party signing enough to reach a significant amount of JSR-75 compatible mobiles, with a good user experience ? -What is the best third party for signing midlets ? - Is Manufacturer & Operator Sining feasible for a

  • I am on a Mac OS X Version 10.6.8 I am trying to use a trial of lightroom 4.

    My photos that I uploaded are telling me they are now off line. What happened? Do I need to start editing over and never sign out tell I am done editing all photos?

  • Process order required for each sales order without mrp run

    Hi, it is mto scenario. wants system to create a process order for each sales order without running mrp. please advise is it possible? if possible please guide what settings need to be done. Thabk you.

  • How can I fix blank spots and missing images with firefox

    I type in pch.com for instance and the image doesn't appear and when I hit begin It shows me spaces for names address etc. but there is no submit box. I can click where it should be and it works. On yahoo themes, All the squares are white. If I point