Block Sales Docs based on payment terms

How can we block the sales documents for a customer who has not paid within the given due date based on the payment terms? 
Thanks and regards,
Bharath S

Hi Bharath,
Use the stored procedure to acheive your requirement and also check the thread
On hold if outside payment terms
*Close the thread if issue solved.
Regards
Jambulingam.P

Similar Messages

  • How to block sales order and Delivery order based on payment terms ?

    Hi  experts ,
    I have an sceneria to block the sales order and delivery based on payment terms ?
        For eg )  Customer payment terms  is Z001 which is 5 % discount within 30 days , No discount within 60 days.
                        My requirement here is a)   if open item exceeds 30 days , delivery to be blocked
                                                               b)  if open item exceeds 60 days , Sales order to be blocked..
    Pls give me a solution....

    HI Kakas,
    If possible in configuration , pls let me know .
    payment terms is     5 % within 30 days if customer pays
                                     No discount  within 30 to 60 days if customer pays.   
    Here , i need to control , sales order to be allowed and delivery not to be allowed  for a customer if any open invoice within 30 to 60 days and sales order to be blocked if  open invoice exceeds 60 days..
    Is this possible in Credit management ?.. 
    pls let me know...
    with Regards
    S.Siva

  • Final price of the Sales Order calculation on payment term

    Hi,
    Out Business requirement  as follows.
    1) one ZNAP pricing condition will be maintained by the monthly wise by business for pricing. this is a  statistical condition only checking at sales order level only. this condition will check with Final price of the Sales order.
    Now the requirement is
    1) based on payment term of the Sales Order. plus if its a credit payment if the its CASH payment. these deduction should be added to ZNAP condition, and same will calculate with Final price, while creating Sales order.
    For Example:
    ZANP condition maintained  1000 USD.
    while creating the SO:
    If the payment term of the customer: PT30, ( it means payment with be in 30 days of the bill creation date)
    system should do the below calculations
    1) Scenario
    Sales Order: Final price :                                       1500  USD( maintained by the Sales User while creating the SO)
    ZNAP price                      :                                    1000  USD
    according payment term 30 days                            20 USD ( as per table maintenance for calculation of the payment term.)
    Calcuation:                                                          1000+20= 1020 (approximate need to add as interest rate)
    Then final it should display final price 1500-1020= 480 USD.
    2) Scenario:
    If the payment term Cash:
    ZNAP                                                            : 1000 - 20= 980 ( approximately and deduct, from the condition due to cash payment its like discount)
    calucalte"                                                       1500-980= 520 difference
    this purely internal pricing calculation with final price...
    pl let me know how to get this in the pricing. and payment could be 30 days, 45 days 60 days etc.
    Thanks.

    Hi M Sham,
    I believe your requirement can not be met with Standard pricing and you will have to create Routines for getting this result.
    From scenario I believe you will be doing below points:
    You should Create Z-Table with Payment Term and respective rates against those payment Term.
    You should create a statistical condition type(Ex. ZNP1) and create Calculation Type routine with Logic to get KOMK-ZTERM field and derive value from Z-Table and update XKWERT field.
    Calculate addition of ZNAP and ZNP1 (With +ve or -ve Signs)
    And then again make deduction of derived value from Finale Value.
    Do let me know if I have misunderstood your question.
    Regards,
    MJ.

  • Dicounts based on payment terms:

    Hi Guru's,
    I have a scenario as below based on the 'payment terms', these dicounts are apart from other discount:
    If old bills are cleared within 7 days............3%, 14 days......2%, 21 days.......1% discounts are given,
    how are these can be configured, can any one help me out urgently please....
    Regards,
    sushil

    Hi,
    As I understood, this is what you want to do. You want to apply a discount automatically based on the sales order line item Payment Term.
    Let's do it in this way.
    the field your talking about is ZTERM in VBKD table.
    This is not there in the condition allowed fields.
    Go to IMG / Sales and Distribution / Basic Functions / Pricing / Pricing Control / Define Condition Tables / Conditions: Allowed fields
    Add ZTERM to there.
    Now you have to create a new condition table with this.
    in the same node use "Create condition tables" to create a table with that new field.
    Now add that table to your Access Sequence using  IMG / Sales and Distribution / Basic Functions / Pricing / Pricing Control / Define Access Sequences
    Now go to VK11 & give your condition type & enter. Select the new table in the access sequence.
    Give your discount combination based on the payment term there. Eg: 7 days............3%, 14 days......2%, 21 days.......1%
    now try from a new sales order. Based on the LIne item Billing tab, payment term, discount will determine automatically.
    Hope this helps you!
    Best regards,
    Anupa

  • How to calculate  Payment not yet due based on payment terms

    Dear All
    i need to calculate the payments which are not yet due based on payment terms in the ageing report of payables.
    FOR Ageing : i used this n this works but i want calculate the payment payment which is not yet due based on payment terms.
    SELECT ail.amount amt, ail.corrected_inv_id inv_id,
    aiv.vendor_id ven_id
    FROM ap_invoice_lines_v ail, ap_invoices_all aiv
    WHERE 1 = 1
    AND ail.invoice_id = aiv.invoice_id
    AND aiv.invoice_type_lookup_code IN ('DEBIT', 'CREDIT')
    AND ail.corrected_inv_id IS NOT NULL) mem
    WHERE 1 = 1
    and inv.invoice_id=paid.invoice_id(+)
    and aida.invoice_id=inv.invoice_id
    AND to_char(to_date(aida.accounting_date) + due.due_days) BETWEEN to_date(:p_invdate) - 90 and to_date(:p_invdate) - 61
    AND ven.vendor_number BETWEEN NVL (:p_supplier, '00000')
    AND NVL (:p_supplier, '99999')
    Regards
    Shaizy
    Edited by: user11298424 on Aug 7, 2012 7:53 AM

    sorry Francis,
    this will run:
    REPORT zforum101 .
    TABLES: faede, bsid, bsega, t052.
    PARAMETERS : p_zterm LIKE t052-zterm DEFAULT '1400'.
    PARAMETERS : bldat TYPE sy-datum DEFAULT '20060801'.
    SELECT SINGLE * FROM  t052
           WHERE  zterm  = p_zterm.
    CLEAR faede.
    MOVE-CORRESPONDING t052 TO faede.
    MOVE: t052-ztag1 TO faede-zbd1t,
          t052-ztag2 TO faede-zbd2t,
          t052-ztag3 TO faede-zbd3t.
    MOVE bldat TO faede-bldat.
    faede-koart = 'D'.
    CALL FUNCTION 'DETERMINE_DUE_DATE'
         EXPORTING
              i_faede = faede
         IMPORTING
              e_faede = faede
         EXCEPTIONS
              OTHERS  = 1.
    bsega-netdt = faede-netdt.
    WRITE bsega-netdt.
    A.
    pls reward useful answers
    Message was edited by: Andreas Mann

  • FM to calculate discount based on Payment Terms (for Accounting document)

    Hi-
    I am refering to Cash discount calculated on an accounting document.
    Discount is calculated based on Payment Terms. [ Baseline date: date from which discount period starts; Cash discount terms ; Cash discount percentage rates.]
    Is there a standard SAP FM that i can use in my custom program calculate discount ???

    Hi,
    Try this.......
    CALL FUNCTION 'ISU_S_DISCOUNT_PROVIDE'
    EXPORTING
    x_rabzus = st_discount_hdr-rabzus
    x_ab = wa_discount_item-ab
    x_wmode = '2'
    IMPORTING
    y_obj = xy_obj
    EXCEPTIONS
    not_found = 1
    foreign_lock = 2
    general_fault = 3
    OTHERS = 4.
    Regards,
    Jyothi

  • Sales order blocked for credit with status "Payment Terms"

    Hi Experts,
    Sales order is blocked for credit, as when i refer the t.code vkm3 or vkm1, the status of blocking showing as "Payment Term". Geenrally the status of credit block would be 'Old item', Dynamic check', value etc.
    My question here is how the sales order is blocked with status "Payment Terms", and what is the role of payment terms in credit management.
    regards
    Vivek.

    Hi  Vivek,
    The Standard Cr. management  ( Automatic credit check) of SAP has Critical Fields Check - payment terms is one of them,
    If it is being changed in sales order (other than maintained in Customer master) the sales order will go for credit block
    Thanks
    Dilip S

  • Delivery block based on payment terms

    Dear Experts,
    I want to set up the delivery block by the system, for the sales order which has the particular payement term 'cash in advance'  until the payment recieved by the accounting..
    How can i achieve this...appreciate if u could share ur ideas...
    Thanks in advance.
    Reg
    JJ

    HI
    This can be achieved at sales order level.
    check if payment terms = "cash in advance"
    VBAk-LIFSK = 01.
    You can write this logic in MV45AFZZ include.
    Use USEREXIT_SAVE_DOCUMENT.
    try and revert

  • Based on Payment terms make Manditory field in Billing DOc

    Dear all,
    I am trying to find LCNUM field in Billing document field.If i check in Table level i can able to see the field..but if i go to VF02 that field is not appearing ,WHere can i see the field.
    Req:
    I need to make the Mandatory field as Financial number (In Header-Billing Tab -LCNUM) when payment term comes as Payment against to LC/BG while creating Billing document in VF01
    Is there any User exit
    In Incompletion log i can control only one filed .but here i need to control the field based on some other field.
    Thanks in Advance
    Regards
    raj.

    Hi Ram ,
    1. In Incompletion log i can control only one filed .but here i need to control the field based on some other field : Use  user exist    MV45FZZ where in you can control or link to the required field.
    2,I need to make the Mandatory field as Financial number (In Header-Billing Tab -LCNUM) when payment term comes as Payment against to LC/BG while creating Billing document in VF01 .Is there any User exit : Use  Zfield which can be achived through field exist. Take the help of developer.
    Trust ok
    Regards
    Veera

  • Automatic credit release of blocked Sales orders with pre payment

    Hi ,
    We have a requirement as given below.Please suggest a better solution for this.
    The customers have the 'prepayment ' payment terms with different percentages of the sales order
    value to be paid before the delivery creation.
    When the sales orders are created, they are blocked for delivery by some credit block.
    The business use VKM1 transaction to view these blocked orders and release them manually for
    delivery creation after checking if the customer has made the prepayment.This is a tedious work
    (since there are too many sales orders )for the credit manager who dont have the complete
    visibility of how much prepayment the customer has made and need to manually check if the
    payment made covers the sales order prepayment amount to be paid.
    1. How can we do a automatic release of these blocked sales orders?
    2. Is there any program(which can be setup as batch job) to do a credit recheck and release the order
        automatically?
    3. Will Milestone billing plan functionality satisfy this requirement?If so how?
    We are using SAP version 4.7 without Project System.
    Thanks in advance.
    Regards,
    Ragesh

    Hello,
    This is not possible because when you created the sales order it has checked the credit limit for that credit limit and if you increase also now that block cant go automatically.
    Go to VA02 i.e change mode of sales order and change something and enter may be if you created a order for 2 quantity then go to VA02 and remove the quantity 2 and again type 2 then system will again check for credit and now that is increased so the order will not block..
    If this is for many order then you can run changes sales order  BAPI for mass update. Take help from ABAP guys.
    Cheers
    Say

  • Link with blocked sales order with advance payment

    Hi Gurus,
    I have a scenerio, where, due to a shortfall of customer credit balance, system blocks the sales order and upon receiving an advance payment from the customer, i would like to know if the system can validate that, an advance has been received and can inform the user that advance received against the blocked sales order. So that, instead of manually releasing the blocked sales order user gets to know whihc are the sales orders to be released first and based on which system can allow the user to release first the blocked sales order and then the subsequent sales orders are processed for credit check.
    Is there any exit or what is the enhancement that can be implemented for having this scenerio mapped.
    Text Removed
    Edited by: Lakshmipathi on Mar 17, 2011 8:57 AM

    If you dont maintain any sale order reference and execute VKM3, system will populate all blocked sale orders.  There users can select the required sale order and release it and I dont think, for this purpose, an user exit is required.  You can also even consider VKM1
    Still if you feel that it is required, you can try with any of the following user exits.
    1)  LVKMPFZ1: USER_CREDIT_CHECK1
    2)  LVKMPFZ2: USER_CREDIT_CHECK2
    3)  LVKMPFZ3: USER_CREDIT_CHECK3
    thanks
    G. Lakshmipathi
    ps:-  Please dont offer anything

  • Control amount value based on payment terms in obb9 and me21n

    Dear Sapgurus,
    In OBB8 Create Payment Terms.
    Create 4 Payment terms PT , PT1, PT2, PT3.
    For the 1st one PT you select Installment Payment CheckBox.
    For PT1, PT2 & PT3 give the no of days as per your requirement.
    Go to OBB9 and assigned.
    PT -- PT1 -- 20% (Document Date)
    PT -- PT2 -- 50% (Posting date)
    PT -- PT3 -- 30% (Posting date) in me21n i assign pt payment terms based on this one i want control amount in f-48 like first accroiss 20% is not allowed 1000 rs total value 200 allowed in f-48 how do i make logic, if i assigned in me21n payment terms i want ot check this payment terms in assigned obb9 if i take first payment terms if document date is their i want to take advance payment if payment date is their its normal payment. Whther it is correct or not & If i given any payment terms in  me21n i want check background how many payment terms is assigned in this one if payment terms is document date i want to check in f-48 and if posting date in payment terms i want to check in f-53 control how do i prepare logic please give me suggessions.
    Regards
    Umi

    Hi Sridhar,
      it would be helpful if you could share with us as how you did?.
    Regards,
    Siva

  • GR based BAPI_INCOMINGINVOICE_CREATE payment terms issues!!

    hello friends,
                    I am using BAPI_INCOMINGINVOICE_CREATE for posting of
    GR based Invoice verification (Alternation to MIRO).I am able to post the document through
    BAPI if and only if ::-
    1) i specify payment terms(PMNTTRMS in header data of BAPI) in coding
    or
    2) if my purchase order contains payment terms .
    I have some issues using this BAPI::
    1) i want to post BAPI for purchase orders and vendors which  doesn't have
    any payment terms , in this case BAPI gives and error message "specify correct payment terms"
    Current SAP version is SAP4.7 enterprise with SAP_APPL at 23 number
    Looking forward for response
    Points will be assigned

    hello friends,
                       I am still looking for good response.
    Regards
    jase

  • Payment to Vendor Based on Payment Term

    Hi experts,
    I want to create some new payment terms in SAP with integration with IV. Say if I have 30 days credit period in PO payment term , system will not allow to pay vendor before 30 days of GR date.
    How to customise this. Can any body explain the process step by step? Is it a config issue or customisation issue? If need to write code, where to write it.
    Full point will be awarded for useful reply,
    Regards,
    Santosh

    Hi all,
    I know how to create Payment terms. But my question  is how to link the payment terms with advance. Say payment term is 50 % advance against GR. rest 50 % after 2 months of GR.System should prevent user if he wants to pay before scheduled date.  How to Map it in sap. Can it be done through config setting? or it is to be done through customised development. If it is done through customisation which user exit to use.
    Regards,
    Santosh

  • Reclassify GR/IR based on payment terms

    Dear experts,
    I am using tcode : FAGLF101 to reclassify my vendor balance from short term to long term payables. This is working fine.
    My user wants to reclassify the credit balance of the GR/IR account related to the above vendor to long term payables as well. This will show a negative amount under the long term payables.
    Accounting entries for GR
    DR  expense
    CR  GR/IR clearing a/c
    Is there a way to reclassify the above entry?
    regards
    Sylvia

    Daer yadav,
    Thanks for your input.
    I have down this requirment with same programe name and with FORM USEREXIT_MOVE_FIELD_TO_VBKD.
    regards
    raj.

Maybe you are looking for