MIssing Conditions in BAPI_SALESORDER_SIMULATE

Hello,
When I execute the BAPI_SALESORDER_SIMULATE function without Schedule Line Data Input (ORDER_SCHEDULE_IN) our custom fixed material pricing are not returned in Conditions Output (ORDER_CONDITION_EX). The fixed pricing is only returned if ORDER_SCHEDULE_IN is populated.
What could be the reason for this? Error with the function or in the configuration of our custom Fix condition type?
Nicholas

Hi Tamás,
What I exactly want to see is what scheduling is possible for the material. So if my understanding is correct I won't get this information from BAPI_SALESORDER_CREATEFROMDAT2. But anyway, thank you for your answers.
I hope I'm not alone with this problem and someone can help.

Similar Messages

  • Update SO after creating missing condition record

    Hi Gurus,
    I was getting error message that missing MWST condition in Order, then I investigated and created missing condition record in VK11. Now I would like to update the Sales order and tried update tab on condition but invain.
    Initially the document was created on 17.11.2008 and today condition record was created 18.11.2008.
    Kindly help me in resolving this.
    Thanks
    Bawa

    Dear Bawa,
    While creating Condition Record "MWST" in VK11/ 12;
    What were the Dates maintained in Fields:
    1. Valid From (try with back-date maintenance)
    2. Valid To (Maintain as 31.12.9999)
    Once done, try to Update with "G - Copy pricing elements unchanged and redetermine taxes", in Sales Order.
    Best Regards,
    Amit

  • Block Invoice creation for missing condition type

    Hi,
    We need to put a chek on the Invoice process, wherein if particular condition type is missing in the relation to sales order, than the Invoice should not get created.
    For example-
    If Order A - has condition type PR00 which gets fecthed from the condition record (VK11)
    And while creating Invoice for the Order A, if someone has deleted the condition record , the invoice gets created without condition type PR00.
    Now at this step a block has to be placed which can block the invoice from being created if PR00 is missing.
    Please let me know what will be the best appraoch of IMPLEMENTING  such check and how to do that.
    Regards,
    Gaurav

    Hi Gaurav,
    first if some deletes the condition record for a paricular condtion record,then ask ur users to uopdate the prices by goin to the condition screen.
    second create a pricing procedure determination for your billing type in t code ovkk
    and in that pricing procedure just maintain the settings as per mentioned by Mr.Lakshmipathy.
    Revert if helpful
    l
    Mohit Singh

  • Missing conditions in my query

    Hi all
    I am trying to develop custom report
    Following are the columns which I required
    while running the query its showing incorrect data and duplicates too
    Not sure where I am missing
    Pls suggest me whether the conditions which I gave are correct or not.
    select distinct
    ppf.full_name Person_Name,
    paf.Assignment_number Assignment_number,
    ppf.Employee_number Employee_number,
    job.name job,
    grade.name salary_grade,
    grdrule.MINIMUM,
    grdrule.MID_VALUE,
    grdrule.MAXIMUM,
    pPb.pay_annualization_factor * PPP.proposed_salary_n annual_salary,
    grdrule.MID_VALUE/pPb.pay_annualization_factor* PPP.proposed_salary_n COMP_RATIO
    from
    per_people_f ppf,
    per_all_assignments_f paf,
    per_jobs_vl job,
    per_grades_tl grade,
    hr_organization_units hou,
    pay_grade_rules_f grdrule,
    per_pay_bases ppb,
    PER_PAY_PROPOSALS ppp
    where
    ppf.person_id = paf.person_id
    and job.job_id=paf.job_id
    and grade.grade_id=paf.grade_id
    and paf.organization_id = nvl (hou.organization_id, paf.organization_id)
    and grdrule.BUSINESS_GROUP_ID=hou.BUSINESS_GROUP_ID
    and ppp.BUSINESS_GROUP_ID=hou.BUSINESS_GROUP_ID
    and ppb.pay_basis_id= paf.pay_basis_id
    Thanks in advance

    After using those two conditions I am able to fetch 12 records
    select
    ppf.full_name Person_Name,
    paf.Assignment_number Assignment_number,
    ppf.Employee_number Employee_number,
    job.name job,
    grade.name salary_grade,
    grdrule.MINIMUM,
    grdrule.MID_VALUE,
    grdrule.MAXIMUM,
    pPb.pay_annualization_factor * PPP.proposed_salary_n annual_salary,
    grdrule.MID_VALUE/pPb.pay_annualization_factor* PPP.proposed_salary_n COMP_RATIO
    from
    per_people_f ppf,
    per_all_assignments_f paf,
    per_jobs_vl job,
    per_grades_tl grade,
    hr_organization_units hou,
    pay_grade_rules_f grdrule,
    per_pay_bases ppb,
    PER_PAY_PROPOSALS ppp
    where
    ppf.person_id = paf.person_id
    and job.job_id=paf.job_id
    and grade.grade_id=paf.grade_id
    and paf.organization_id = nvl (hou.organization_id, paf.organization_id)
    and grdrule.BUSINESS_GROUP_ID=hou.BUSINESS_GROUP_ID
    and ppp.BUSINESS_GROUP_ID=hou.BUSINESS_GROUP_ID
    and ppp.assignment_id = paf.assignment_id --added
    and grdrule.grade_or_spinal_point_id =paf.grade_id --added
    and ppb.pay_basis_id= paf.pay_basis_id
    and paf.business_group_id = 202
    and ppf.full_name like 'Benson, Ms. Julianne'
    and trunc(sysdate) between ppf.effective_start_date and ppf.effective_end_date
    and trunc(sysdate) between paf.effective_start_date and paf.effective_end_date

  • Intercompany PO's missing Conditions type..

    In some Intercomany POs (plant to plant).
    Condition types(Z condition types) should automatically be added to the Purchase Order by the system. but here the price condition is not being added to PO... why?
    Is there any configuration problem?

    You should go to pricing folder and click on analisis... probably it will tell you that it is missing an info record. If it is true, you should go to mek1 and create it for the condition you want...
    hope this solves it
    reward if helpfull

  • Missing Condition type

    Hi Gurus,
    I want to create a third party order, when i try saving, the error "mandatory condition mwst is missing" occurs. i then select the item and go to the conditions, the condition mwst is not in the list.
    Please advice, tanx.
    Maureen.

    Hi,
    you might have made it Mandatory in your pricing procedure n also check the condition MWST which you might have done setting as B MANUAL ENTRY HAS PRIORITY
    If you are maintaing info record then
    Go to v/06 select MWST as condition and in CHANGES CAN BE DONE tab select B if you are mainntaining infor record else or D Not possible to process manually
    regards
    Vishal
    Edited by: WISH on Apr 14, 2008 1:29 PM

  • Missing Condition record price in PO history tab

    Hi
    I have a scenario where in the condition record values are coming in conditions tab of PO and the discounts are calculated and shows net price which is less than the Gross price in conditions tab, But when i check in Purchase order history tab, for goods receipt, only Gross price is coming not the Net price.
    can any one help in this??

    Hi,
       The po price will be greyed out if the price is determined based on discount or similar conditions. You have to change the price at item level - conditions tab.
       But in your issue, the PO is already having subsequent documents. (Hope you found the issue in dev only, not in PRD) You may cancel the already posted documents (GR and IR). Now, correct the condition type (acrual flag in M/06) and then assign the acrual key against the condition type in the pricing schema in M/08. Assign the GL account for the acrual key in OBYC. Create a new PO and test the scenario again.
    Regards,
    AKPT

  • Negative Values for condition in BAPI_SALESORDER_SIMULATE

    Hey Guys,
    I have a problem with a condition type in order_header_in. I fill order_header_in-CD_TYPE1 with the condition key 'ZMIN' and order_header_in-CD_VALUE1 with '-8'. Because I want to subtract 8 % from every netto value of the material prices.
    The problem is that the bapi calculates 8% of every netto value, but adds the 8% to every netto value. I want to subtract 8%.
    The bapi adds no matter if I fill order_header_in-CD_VALUE1 with '-8' or with '8'.
    Can anybody help me?
    Greetings
    Timo

    Sorry for the question. I recognized that the condition type is customized as a addition type. So it is correct that the value is added to the netto value!

  • VPRS Price condition missing

    Hi All,
    I am trying to create a intercompany PO, I have two materials in PO 1) SAP material 2) Vendor material in item level (in PO).
    system is throwing the below error message.
    Pricing error: Mandatory condition VPRS is missing
        Message no. V1801
    Diagnosis
        The obligatory condition VPRS does not exist. The document is therefore
        considered to be incomplete from the point of view of pricing.
        The cause can be, for example, that a condition record does not exist
        for condition VPRS or that a field overflow has occurred when the
        condition rate was calculated.
    Procedure
        Check why the condition could not be found. Use the pricing analysis
        function on the pricing screen to do this. If necessary, add the missing
        condition manually to the document.
    Please help me on this issue.
    Thanks a lot

    Hi Remo,
                  as per my knowledge, VPRS is the sales pricing condition, and this message arrises when you have defined tthis condition type in your pricing procedure and also made it as mandatory condition for the respective pricing procedure, but not yet maintained the customer info-record for the mtrl and customer, please check this with the SD counterpart or maintain the info-record for the same mtrl.
    hope it will help you.
    regards,
    YK

  • How to update pricing condition type in a cancelled invoice?

    I have one invoice(let say invoice number 01) which did not posted any accounting documents because one condition type in pricing procedure didn't had any record at the time of creation of invoice. so i cancelled the previous invoice and maintained the condition record of the condition type and again invoiced(let say invoice number 02) the delivery which posted the correct accounting documents.
    Now the problem is that when i am going to the invoice number 01 in change mode and trying to update the pricing procedure by going to item level then the system is now allowing to update the pricing procedure as the UPDATE TAB is grayed out and i cant click on it. (is it because for invoice nummber 01 follow on cncllation invoice has been created? or any other reason and is ther a solution for this?)
    action required: i want to update the invoice number 01.

    Dear Manpreet500,
    If the invoice not having the accounting document no need to cancell that invoice.
    In your case you might have done like this without cancell the invoice 01.
    -->Create condition record for the condition type which was missed while creating invoice.
    -->After creation of condition record you just go to VF02 transaction enter invoice 01 then go to condition tab here you can find the Update tab click on the Update tab now system will take you to the Pricing selection screen here you select B- Carry out new pricing now system will consider the condition record for the missed condition type.
    Now you can release the 01 invoice manually by clicking on green Flag.
    You can not update the 01 invoice may be due to the subsequent document cancelled invoice.
    I hope this will help you,
    Regards,
    Murali.

  • Pricing condition record not getting executed  in Sale order!

    hello all
    I was trying to process a sale order, when i enter the material, system giving me a message "ZINV" condition type missing. i have checked v/08 there is "check - tick mark" for 'zinv' condition type and I have maintained the condition record.
    It is still giving me the same error.
    any one can help me?
    thanks

    Same as above.
    If you are getting the error "Mandatory Pricing condition XXX is missing". All you have to do it select the item and then hit pricing icon on the lower section of your screen and then enter the missing condition in the table displayed in front of you and then enter a price etc.
    This message can be removed by customizing the pricing procedure and removing the 'Mdt' flag.
    Also make sure the condition type has been marked for manual update in the condition detail section.

  • Change required in Condition type definition.

    Dear Experts,
    My requirement is - I have defined one condition type [pricing procedure] with condition class extra pay. Calculation type - C Quantity. Calculation schema has been configured. Next processing Condition record creation and Service Po creation has been done. I have around 50 Service purchase orders in the system now.
    By some reasons, i have to change my condition type defintion. i have to change the calculation type from C to B [Fixed amount].
    please guide me on my requirement.

    Thanks Priyanka !
    Those POs cant deleted. Because of the missing condition type all the calculation will be incorrect in Service entry sheet as well
    Invoice Verification.
    Also i have to change my Key combination for condition records. Current key combination is Plant/ Activity/ Purchasing Organization,
    Vendor. But this condition value can be set at activity level. But i have condition records already maintained.
    Its a major change in configuration i know. but is required and received a permission from client. so whatever job is there,
    no problem.
    Please suggest me the solution on mentioned query.
    Thanks in Advance.

  • Display conditions as billing line items

    Hello,
    I have a sales order with one line item.  This line item is mapped to 2 conditions.  Everything works fine.
    When I generate a billing document, I get only 1 line item (also expected).
    But I would like my billing document to show the conditions.  This is because I'd like my customer to see a complete breakdown of all the prices that were used.
    Is this possible in SD? If so, how?  Thanks!

    If I understood correctly , you have a sales order one line item with 2 conditions , the same order if you do the billing only one condition is appearing.. ?
    If yes then check the pricing analasys in Billing , then check in pricing procedure if Requirement-24 has been assigned againes missing condition type.

  • Mandatory Condition Type

    Dear Gurus,
    I have a condition type PROO at order level, but it will confirm at delivery level. Its a header level condition type apply on all the material at order or delivery level, i want that i cant fullfill the record on order level, and save the order and when this mandatory condition type is missing at delivery same "missing condition type message" is appear at delivery level so user can fill it.
    Yes this message "Missing mandatory contion type" is appear at order level but i save it and when goes to delivery system propose that order is missing some value. but i dont want that..
    Pls provide if there is any solution.
    i can make this condition type at delivery level, but there is only procedure for  value contract. etc.
    Regards,
    Imran

    Issue resolve through mandatory conditions.
    Regards,
    Imran

  • Pricing type Z does not copy all conditions

    Hi All,
    In one copy control we have pricing type Z defined. But for this order type, when we create invoice, one condition type (ZHRT) is not getting copied to invoice. When copy control is modified to use G, the same condition is copied.
    In my USEREXIT_PRICING_COPY I have the below logic.
    STEU-KNPRS = 'Z'.
    STEU-KOAID = 'CD.........'.
    STEU-KNTYP = 'LRIEGSX....'.
    STEU-MAUEB = ' '.
    APPEND STEU.
    Please advice me the meaning of these entries. What changes I need to make to get that missing condition copied to Invoice.
    Thanks in advance.
    Mike

    See OSS note 24832.

Maybe you are looking for

  • Hosting with Business Catalyst for cli

    I currently use Adobe Muse to build websites, I love it it allows me to build and create the type of sites my clients desire. So with that in mind I need the following advice: 1) One of my clients wants to host with a separate company NOT BC. How eas

  • InDesign CS4 in Snow Leopard - final

    Hi! I have searched the issues with Snow Leopard on this forum and now it is not clear for me.. Does ID CS4 work well on 10.6?? Any issue? I plan to clean install 10.6.3. Thanks!

  • Can anyone tell me how to use GUI status in ALV report.

    Can anyone tell me how to use GUI status in ALV report. I want to use  buttons in ALV report.

  • WD ABAP:   ID of multipleroadmap step

    Hi, I have created a MultipleRoadmapStep and associating a node with that. The roadmap is getting generated correctly based on it. But I have the issue of getting the id of the roadmap step selected. Suppose if the user is in roadmap step 1 and click

  • Installing Photoshop 8 on an iMac

    I own Photoshop Elements 8 which is installed on my PC,  I recently purchased an iMac and would like to install the same version.  How do I do this?  The disc I have does not seem to allow me to install it on the Mac.