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

Similar Messages

  • New Tax code Creation for CST(Condition type

    Hi Friends,
    I am facing an issue during creation of new Tax-code for CST; condition type JIN1. After defining the tax percentage; system is picking an automatic G/L account, which is a grey field and can't be editable. We need to change G/L account and need to assign a new one.
    Can you please tell us how can we remove the default assigned and non-editable G/L account.
    Your support is appreciable.
    Rgds, Krishan Raheja.

    Hi Krishnan,
    Use transaction OB40, here double click on the Account Key (you can check this account key assigned to condition type in OBQ3 and also in FTXP screen) that is mapped to condition type JIN1 and enter your chart of accounts. Now change the G/L account you want.
    Regards,
    Chintan Joshi.

  • Tax value is not picked up correctly for the condition type in SO creation

    Hi All,
    I have a issue in Picking up Tax value correctly for the condition type in SO Creation.
    Actual Issue:
    When creating the sales order manually,
    tax value is picked up correctly for one condition type: ISS3.
    When the Sales Order is created via Idoc using the function module 'idoc_input_orders', tax value is not picked for same condition type: ISS3.
    We need to find out why the value for the condition type 'ISS3' is not picked in this way!
    Can anybody solve this issue!
    What can be the reason which is stopping picking up tax value for condition type: ISS3 when Sales Order is created via F.M 'IDOC_INPUT_ORDERS'! While it picked up the same while creating Sales Order manuallly.
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Can anybody give the solution for above posted issue!
    Working:
    When creating the sales order manually,
    tax value is picked up correctly for the condition type ISS3.
    Actual Issue:
    When the Order is created via Idoc using the function module 'idoc_input_orders',
    tax value is not picked .
    I need to find out why the value for the condition type 'ISS3' is not picked.
    I have debugged the issue from WE19 but upto Conditions tab it is picking up tax value but then it is becoming zero again it remains zero after saving SO.
    But Manually tax value is picked up for condition type ISS3 and remains same after saving order.
    I have debugged it several times fro WE19 but not able to find route cause for the issue.
    What can be the issue over here!
    Can anybody give me solution for the same!
    Thanks in advance.
    Thanks,
    Deep.

  • Hide values for certain condition types in Quotation Saleorder and Invoice

    Hi All,
    I have written code to hide values for certain condition types in LV69AFZZ,
    this works fine in the ITEM LEVEL.
    But for the same condition types, I could not hide the values in the HEADER LEVEL.
    Unless I hide it at header level also, this is useless.
    Please guide me how to do it.
    Thanks & Regards
    Pradeep

    Hi,
    We have been using FORM USEREXIT_FIELD_MODIFICATION of LV69AFZz for item level & FORM USEREXIT_FIELD_MODIFIC_KOPF of LV69AFZZ for hiding heade level conditions.
    I hope this helps,
    Regards
    Raju chiutale.

  • Creation of new condition type: MWST

    Hi, Everyone.
    I would like to ask for some help regarding this issue: Creation of new condition type: MWST with the following details:
    1. For the country French Polynesia, Create a new VAT condition of 10%.
    2. Create a new one called : Class : Z u2013 Designation : France : TOM corresponding to 10 % of VAT to be invoiced
    and then associate this new VAT code u201CZu201D to the applicant Nr 221860
    If you could provide me a step by step process on how to resolve this, it would be very much appreciated.  Thank you so much.

    Hello
    What type of condition type you want.
    It is always advisable to create a new conditon type copying a standard condition type.
    For gross price condition types select PB00/PBXX
    For freight charges, Copy FRA1/FRB1
    Regards

  • Invoice document against PO condition type

    Hello,
    I am developing a landed cost sheet of a Import PO in which i have to display the exchange rate and total value against condition types(in PO). This exchange rate and value is to be taken from the invoice document against the relevant condition type. [Purchase Order History tab is displaying the associated Invoice(RE) against the condition types. How r the invoice kept against condition types in SAP ? and how can i retrieve these values against a cond type thru abap code...  ?
    Hope i am comprehendable and sumone can provide me a reasonable solution ?
    Thanks,
    Shehryar Dahar

    Hi
    You need to fetch the data from EKBE and KONV tables
    Table EKBE has the invoice Number  and PO number etc
    Take KNUMV field of this table and pass to KONV-KNUMV table
    and take the related Rate(KBETR) and Amount(KWERT) fields for the related Condition type and use
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Invoice document against PO condition types

    Hello,
    I am developing a landed cost sheet of a Import PO in which i have to display the exchange rate and total value against condition types(in PO). This exchange rate and value is to be taken from the invoice document against the relevant condition type. [Purchase Order History tab is displaying the associated Invoice(RE) against the condition type. How r the invoice kept against condition types in SAP ? ... Hope i am comprehendable and sumone can provide me a reasonable solution ?
    Thanks,
    Shehryar Dahar

    Hi,
    When you post an invoice you can indicate if this relates to the items, the delivery costs (conditions) or both. You do this by selecting the correct option from the "pull down list" in the centre of the MIRO screen.
    So if you select delivery costs only, then the invoice relates directly to the condittion types on the PO for the delivery costs.
    Steve B

  • How to reactivate cancelled Invoice, Avoid Duplicate Manul Condition Type

    Salute!! Masters,
    I am sending detail about error, please provide solution for it.
    I shall thankful to you.
    1. How to reactivate cancelled Invoice for which Excise Invoice has been created.
    Reason is; user has created commercial Invoice first then Excise Invoice subsequently. Afterwards cancelled Commercial Invoice, by the time all detail has been posted to different department & paid Excise charges to the respective department.
    Now commercial Invoice detail is required to be maintaining at book level at factory as excise has been paid for the same.
    User canu2019t create new commercial Invoice as for this have to maintain Excise Invoice too & pay.
    2. How it is possible to restrict it ME21N Stock Transfer Order at order level only to not to allow 0 value & repeat entry for the same condition type?
    While making a stock transfer (purchase order) by ME21N from supplying plant (Factory) to other plant (depot), if user make mistake & donu2019t put value for Manual condition type ZMRP, system accept & save the order.
    Afterwards when he realizes the same or immediately come to know about not putting value & put again, system take that second line entry also & create double entry.
    When invoice come then it pick the value from first line & show in negative.
    I have triedu2026.
    a). At pricing procedure, there ZMRP is required entry.
    b). Condition Type - ZMRP, there is C No Limitations
    We can not put D Not possible to process manually or fix this condition type as then we have to maintain condition record & prices are varies depot to depot & day by day.
    c). Since this is a Header Condition, so canu2019t restrict at Access Sequence level.
    This is only has to put manually by user according to the instruction of sales department. 
    Got Suggestion to change at user exit level to put check at delivery to not to allow printing or invoicing by putting 0 value/without any value.
    Please suggest at configuration level only as itu2019s difficult to create User Exit for all requirement.
    3. PGI should not happen for forward date; user can put only either current date or back date.
    Rgds.
    Srivastav
    +91-9694096833
    Edited by: Srivastav100 on Jun 14, 2010 11:22 AM
    Edited by: Srivastav100 on Jun 14, 2010 11:24 AM

    Unsolved, Closed.

  • Issue regarding condition pricing date as system date for some condition types in sales order

    Hi
    I have already created a sales order on 30.04.2014. Today I am adding new line item to sales order in VA02 transaction. in this order new line items condition pricing date for conditions JEX2,JECX should show as 12.06.2014. But currently it is showing as 30.04.2014. I need condition pricing date as system date for above conditions.
    Regards
    prashant

    Hi
    When I am changing pricing date VBKD-PRSDT in sales order header . It is changing the condition pricing date for all. Sales order is created on 04.06.2014. I have added line item 150 on 14.06.2014.
    After adding line item 150 , there I have changed the pricing date as 14.06.2014. in sales A tab of item 150. But still it is taking from Sales order header date as 04.06.2014 for all conditions. But my requirement is for line item it should take as system date for some conditions like JEX2,JECX& JA1Y but for other conditions it will take as Order creation date. Please suggest. I have also attached screen shot below. please go through it.
    Regards
    PK
    Sales order header change mode VA02
    Here pricing date VBKD-PRSDT = 04.06.2016
    Item change mode
    I have added new line item 150 on 14.06.2014
    Changed the condition pricing date to 14.06.2014 & saved
    After saving I have gone to Va02 screen of line item 150
    & there I have gone to condition pricing date field from item condition tab
    for JEX2 condition type but still here condition pricing date is showing as
    04.06.2014 as below.
    Condition pricing date
    My requirement is like this
    For some particular conditions like JEX2  condition pricing date will take as system
    date instead sales order creation date when I will add a new item 150 on
    14.06.2014.but for other conditions it will show as order creation date for the
    same line item 150 .

  • Creation of New Condition Type

    Hello SAP Folks,
    I have one issue related to pricing. See the case is i have to produce an extra cost in the Sales Order which is actually depended
    upon the net price. This condition type is percentage based and calculation works in the following way:
    Let the new condition type be Z123 and Net price be PR00.
    So for year variation 1-2 year, the condition type Z123 will be 1.5 times of PR00
                                      2-3 year, the condition type Z123 will be 2.0 times of PR00
                                      3-5 year, the condition type Z123 will be 3.0 times of PR00
    Can anyone throw light on how to configure this condition type ???
    Regards,
    Sarthak

    Hi,
    For Z123 Condition type make (V/06)
    Cond. class A Discount or surcharge
    Calculat.type A Percentage
    Plus/minus A Positive
    and all other settings are same as Discount condition Type
    For making Z123 customize an Discont Condition Type (EX:K004,)
    Then while creating the condition record give the percentage as 150% 1-2 yearin valid from and to date,
    give the percentage as 200% 2-3 yearin valid from and to date, give the percentage as 300% 3-4 yearin valid from and to date, and save the record. (VK11)
    In the pricing procedure For step z123 condition type from which you want the % that is step of PR00 should be mentioned in the FROM and TO column.(V/08)
    This will result as per your requirement

  • In sales order for the condition type MWST, **Tax code** is displaying wron

    Hi
    In sales order for the condition type MWST, *Tax code* is displaying wrongly at header level i.e. FF instead of AO (under account determination tab)
    AO tax is 0% but for FF it is 19%
    I have checked with the Access sequence it is picking access 08 correctly according to this it should show AO in tax code field for MWST but it is not so..
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Even if I consider material tax classification and customer tax code  should not be FF because  tax code  FF is not maintained for the combination of access sequences for condition type MWST
    Please help me.
    Rajendra Prasad

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

  • Tax not calculated in MIRO for the condition type JVCD

    Hi,
    We made some new different tax code and attached with JVCD , its calculating in PO but in MIRO calculation part not done but for other condition type ,JVRD,JVRN system calculating well...
    Please tell me some way why not system calculating in case of JVCD and JVCN for capital case..
    Thanks in Advance,
    Dharmveer

    Hi,
    We totally agreed with you and already we checked our configuration part is OK.Actually we want to map some process where we captured excise in GR but no need to take credit i.e. to post the excise in J1IEX,so we do not have to post our cenvat/modvat entry in MIRO but we need to calculate VAT whether it is deductible or non deductible.So far this thing is concerned,we made separate tax code which we use at time of MIRO posting and in configuration we did not attached the tax code in logitics-basic excise -assign to company code. Because once we attached here , system asking to make to pass furst RG part2 entry then it allows to post MIRO entry which we do not want .So please understand this scenario is different and we got the success for JVRN/JVRD for VAT but getting issue in case of capital VAT where system does not calculate tax for JVCN/JVCD .....where we want to process MIRO without posting J1IEX..
    Please thing and analyse ..give some helping response..
    Thanks,
    Dharmveer

  • Function Module for getting the Sales Price for a condition type

    Hi,
    I am looking for a standard function module to which I can pass my condition type(new customizing) and it will return the sales price. The customer is going to create some new condition type to manitain the sales price. I'll have the necessary information like material/sales org/distribution channel, customer and need the standard function module to read the condition records for that condition type(as configured) and give me the price. PLease help if you know of a standard function module performing this.
    Thanks in advance.
    Regards
    Malthi

    Hi malthi ,
    welcome to sdn
    for material sales area u can look for the validations is table MVKE.
    the classification of the conditions is in tables like A901, a902 etc which in my opinion holds the condition types per classification .
    put a A* in se11 and this will give the list of tables per classification .
    u need to get the conditions as per kschl and dmbtr and
    etc..
    like this ..
    Get Condition Values for Material/Plant combination
      IF NOT i_a916[] IS INITIAL.
        SELECT knumh kappl kschl krech
               kbetr konwa kpein kmein
               INTO TABLE i_konp
               FROM konp
               FOR ALL ENTRIES IN i_a916
               WHERE knumh EQ i_a916-knumh AND
                     kappl EQ i_a916-kappl AND
                     kschl EQ i_a916-kschl AND
                     loevm_ko NE 'X'.
      ENDIF.
    Get Condition Values for Material/Plant/Ordertype/
    Customer combination
      IF NOT i_a925[] IS INITIAL.
        SELECT knumh kappl kschl  krech
               kbetr konwa kpein kmein
               APPENDING TABLE i_konp
               FROM konp
               FOR ALL ENTRIES IN i_a925
               WHERE knumh EQ i_a925-knumh AND
                     kappl EQ i_a925-kappl AND
                     kschl EQ i_a925-kschl AND
                     loevm_ko NE 'X'.
      ENDIF.
    just check this Fm if u can apply ur condition over here ..
    ME_GET_PRICE_CONDITION
    regards,
    VIjay.

  • How to block invoice posting for quality reasons

    how to block invoice posting for quality reasons.For example while doing  Goods receipt  the material is  posted to quality inspection stock. Then the material is rejected for some reasons. Once the decision is made then the  standard system allows to post invoice. But I want to restrict invoice posting once the material is rejected for quality reasons.

    posting of invoice is always allowed, the only thing you can restrict with customizing of QM in Procurement is the payment.
    if you want to block invoice posting, then you have to control this in a user exit.

  • ME21N : Donu2019t copy the price for all condition types from last po

    Dear.
    When I create a purchase order the price for all condition types are copied from last purchase order inside the info-record.
    But I have some condition types like FRA1 or FRA2 that I donu2019t want that system transfer price from last purchase order.
    How can I do that ?
    Thanks.

    Hi Cris,
    Go to SPRO>MM>PUR>Info Record>Define Price History> Here with your Purchasing organization if the tick is active that
    Specifies that the order price history (PO price history) is to be updated with the effective price.
    Normally, the order price history is updated with the net price.
    Procedure
    Set this indicator if you want the order price history to be updated with the effective price.
    Thanks
    Diwakar

Maybe you are looking for

  • Problems with new update of Numbers for Maverick

    When opening any of my documents creted on a alder version of Numbers, I lose the format that I had on the page. The table or spreadsheet stays intact, but no the document perse. Where is the "Show Print View" feature on the new update of Numbers. I

  • I need to disable Ctrl-Alt-Del from a lV 5.1.1 vi under win2k

    Thanks

  • Create View in sql

    hi is there any problem in creating a select view directly in sql? thanks in advanced best regards

  • May be a bug.. please look into this

    Hi, for ex: there is a table like desc trade; trade_date date day_high number day_low number day_open number day_close number there are many records right from trade_date 01-jan-05 to till date. If i want to query records of any perticular date retur

  • All abt mails

    is there any function module to send a file directly to sap inbox? SO_NEW_DOCUMENT_SEND_API1s the file to sap outbox...i can chk it in sbwp. 2 question is there any fm to collect the mail from inbox?? 3 question can anyone send how to configure email