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

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

  • 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

  • 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

  • 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

  • BAPI_INCOMINGINVOICE_CREATE : Payment Terms not appearing

    Dear All,
    In the Bapi "BAPI_INCOMINGINVOICE_CREATE ", i am passing the HEADERDATA (invoice_ind, doc_type, doc_date, pstng_date, ref_doc_no, comp_code, diff_inv, currency, gross_amount, pmnttrms) and ITEMDATA (invoice_doc_item, po_number, po_item, tax_code as 0, item_amount, quantity, po_unit, cond_type)
    and when i run the Bapi,the invoice document is getting generated successfully and in the display mode(Transaction:mir4) when i give this invoice no. all the values which i have passed to bapi are captured correctly except the PAYMENT TERMS is blank.
    THOUGH I AM PASSING THE  PAYMENT TERMS  IN THE BAPI, THE PAYMENT TERM IS BLANK IN THE GENERATED INVOICE.
    Can anyone please give me a correct solution.
    Thanks & Regards
    Sajid

    I think SAP does not support this functionality!!!!!

  • 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

  • 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

  • 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

  • Payment  term issue

    we are using one payment term called BT03 that pay term is assign to vendor master at company code data and purchase data level.we; have created a P.O. in R/3 with vendor which is having same payment term after given mandatory details payment term  is reflecting.But when same vendor is SAP-SRM when user is creating a Purchase order with payment term BT03 is not reflecting i am not able to get why this error is happening. so  let us know your thought on this thread.All suggestions are welcome.

    Have you confirmed that the payment term also exists in SRM?  Not sure if you have a job that synchs them or if you manually have to do it.  Have you confirmed that you synched the vendor data between SRM and R/3?  Can you see in SRM under Manage Vendor Data the terms of payment is displayed?  I'm assuming you are NOT using Extended Classic config in SRM?

  • Payment term issue "error payment term is not defined"

    I have created a new payment term, and incorporated in customer master and created sales order . payment term is getting populated in sales order with an error "payment term is not defined". Please help to resolve.'
    David

    There can be many possibilities for this error,  in tcode OBB8,
    - the terms of payment is not marked for customer.
    - date limits are not mention properly.
    - if the installments are not config properly
    Or
    Try it putting manually in to the sales doc.
    If problem persists, take assistance of FI team member to sort out the error.
    Also, refer following SAP Notes:
    - 66529  F5839 Payment term & not defined
    - 598025  Work method terms of payment for condition records
    - 1180397 enterprise SOA conversion/Supplement to Note 117317
    - 311514 No payment method for installment terms of payment
    - 649567      EDI: incorrect baseline date for payment
    - 208023      Posting bill doc ->FI:incor cash discount rate used
    - 391939      Entries ignored with warning messages in sales document
    Thanks & Regards
    JP

  • Payment terms issue.

    Hi,
    Payment terms is maintained in Vendormaster and got copied when created PO but when invoice is made payment terms field is zero, Can someone please tell why?
    Regards
    Arun

    Hi Arun
    U can maintain Payment terms in VM in Payment trnx. accounting view and in Purchasing data
    Check where did u maintain Payment terms
    U need to maintain it in Payment trnx. accounting view as it is at company code level
    Vishal...

  • Payment Terms issue(for different divisions)

    Here our business is Distribution...
    We take order from customer (SO)....we place order to vendor(our Pricipal vendors we have 7 vendors) (PO) and deliver the goods to customer.....
    we treat that different principals as Division...........
    For each customer for one div there will be one payment terms.....if i need to have different payment terms for one customer.
    what should i do.............
    Pls suggest me....

    Hi,
    Please tell me how many sales areas are there.
    If there are 7 sales ares then while maintaining price condition records in VK11, you can maintain payment terms  while maintaining condition records for the specific sales area.
    Check in VK11 by using standard condition type PR00.
    You can include sales document type field also and maintian price condition along with payment terms.
    Hope this helps.
    Regards,
    Sharan

  • Customer payment terms issue

    Hi I need one urgent solution
    In customer master data the payment terms is znz8 which is due 20th of the following month.
    But they want it if we do invoice  11/06/2008(today) the due date shpuld be 11/07/2008.
    for that in customer masta we need to change know? is this require TP (transport) Movement from development to quality and then move to prodn?
    or  directly we can change in production in customer master data? is this done by FICO consultants or  SD consultants
    if settings to be done where we do the settings for the payment terms?
    Kindly dothe needful

    Hi,
    If the required terms are already configured in the system and are available in Production, then it is just a master data change.  You need not transport the same.  In production environment, the master data changes are generally done by the business teams.  Alternatively, either the FI or SD consultant can do it, but you need to ensure that the terms are updated in both Finance and SD views.
    If the required terms are not available, then you need to create the terms and transport them to Production.
    Assign Points accordingly.
    Thanks,
    Madhav Nanduri

Maybe you are looking for