How to ue the PAYMENT TERMS

Hi Experts,
I am developing one reports, which should give the same output like FBL5N, but my report should calculate the payment terms logic, could any one suggest how i can use payment terms login in my report.
Any function module would give no,of days for payment terms logic.
Thanks,
Gourisankar

HI,
Even i got same requirement.
SELECT belnr                       " Document number
           budat                       " Posting date
           bldat                       " Document date
           waers                       " Currency
           xblnr                       " Reference number
           blart                       " Document type
           shkzg                       " Debit/credit indicator
           wrbtr                       " Amount
           zfbdt                       " Baseline date
           zterm                       " Payment terms
      FROM bsak
      INTO TABLE t_bsik
       FOR ALL ENTRIES IN t_delivery
     WHERE bukrs IN s_bukrs
       AND lifnr IN s_lifnr
      AND belnr IN s_belnr
       AND xblnr EQ t_delivery-vbeln
       AND sgtxt IN s_sgtxt.
we get payment term from the field zterm.
and then to get the payment date.
use the below logic.
SELECT SINGLE ztagg                " Day Limit
           ztag1                       " Days from Baseline Date...
           ztag2                       " Days from Baseline Date...
           ztag3                       " Days from Baseline Date...
           zstg1                       " Due Date for Special Condition
           zstg2                       " Due Date for Special Condition
           zstg3                       " Due Date for Special Condition
      FROM t052
      INTO lfs_days
        WHERE zterm EQ fs_zterm-zterm.
and select maximum days from lfs_days.
and add it to your baseline date.
that will become ur payment date.
Hope it is useful to you.
Regards,
Manjari.

Similar Messages

  • How to lock the payment terms to default terms in customer master

    Hi experts,
    Kindly share with me your knowledge in locking the payment terms to the default in the customer master ?  We want the payment terms not to be manually editable at the sales order level through va01 and va02.
    Appreciate any help.  Thanks a lot.

    Thanks for the suggestion but we can not find an authorization specific to the payment terms.  If I disable "change" then I would not be able to edit the other fields. 
    We only want the payment terms to be disabled not the others.  Thanks a lot.

  • How to pass item payment term through Idoc segment E1EDP18

    We use ORDERS idoc to create sales orders and our customers want to replace the default payment term at item level. I found segment E1EDP18 for this purpose but I don't exactly know how to use it, like where to put the payment term key. Can any one expain with the help of a clear  example how to indicate the payment term there ?
    Below is a exerpt of the incoming idoc file I used for testing. In this test I put the paymentt term 0010 in but the information sent in idoc segment is just ignored.
    E1EDP01                     10         625.00
        E1EDP05                        ZD64
        E1EDP05                        ZD66
        E1EDP19                     00269020000
        E1EDP18                     0020010
    Many thanks

    Hi,
             SAP program IDOC_INPUT_ORDERS is not using the item level payment terms sent in IDOC segment P18 to fill the sales order so you need user exit to do this. The program is moving the item level information to an internal table xe1edp18 when the data is parsed from IDOC so you can use this to populate the screen information in the user exit 'CALL CUSTOMER-FUNCTION '002' (IDOC_INPUT_ORDERS).
    Let me explain the process from EDI to SAP.
    1) EDI 850 will have ITD segment at item level (Example ITD013  *2     *        *10 *        *30 *          *        *) you can ask your EDI team to map them to P18 segment as it has the number of days and also the percentage for cash discount. P18 has 3 qualifiers so you can map 3 different temrs (For example the above sample is 1 Term is 2% in 10 days and Term 2 is net 30 days)
    2) During IDOC parsing the program is already filling internal table xe1edp18.
    3) In the user exit CUSTOMER-FUNCTION '002' you need to search for the SAP payment terms with the number of days and percentage (This is available in the table T052). Once you find the SAP terms key, you need to populate it for each item. You need to do this after the program filled the item billing data.
    Dynpro item business data billin details -
        PERFORM VA01_DYNPRO_POSITION_PDE3 USING XVBAP-POSNR.
    *-Zusätzliche Daten für Dynpros vorsehen (Kundenerweiterungen)----
    *-additional data's for new dynpro fields (customer exit)----
        SY-SUBRC = 0.
        PERFORM CUSTOMER_FUNCTION_DYNPRO.  -- THis is the user exit call
    Hope this is useful.
    Ram

  • How will I block/restrict the user to change the payment term in FBL5N?

    Hi All,
    How will I block/restrict the user to change the payment term in FBL5N????
    I have tried on following objects:
    F_BKPF_BLA
    F_BKPF_BUK
    F_BKPF_GSB
    F_BKPF_KOA
    F_IT_ALV
    F_KNA1_BED
    F_KNA1_BUK
    F_LFA1_BUK
    S_ALV_LAYO
    But, not succeeded.
    =>Actually user runs FBL5N, double click on a record then click on Change icon.
    =>Change Payment Term.
    Please reply ASAP. Point will be awarded.
    With Best Regards
    Dharmendra

    Hi Dharmendra,
    Please set an authorization trace in ST01 and then ask the user to execute the transaction and the steps on the same application server as the o ne on which the trace has been set (valid in case we are talking about mutiple application servers for same <SID>). After this is done switch off the trace,list it and fill all the authorization objects. That might give you the perfect idea.
    Regards.
    Ruchit.

  • How to get vendor payment terms

    Hi all,
    I am creating a report. I need to get vendor payment terms. There are invoices without PO, how can I retrieve the payment terms for those cases.
    Thanks.

    Hi nene
               in case of invoice without PO, The payment term will be selected from the vendor master data (in View : payment terms transaction in XK03).
    Check payment term in  master data is exist or not.
    the data is in the table LFB1 : Field ZTERM
    Regards
    Wiboon

  • How to set-up Payment terms greater than 10 years

    We have payment terms that go beyond 10 years.  In the configuration of the payment terms, the "Additional months" field (V_T052-ZMONA) only contains 2 characters.  10 years * 12 months = 120 months which is already 3 characters long.
    Anybody know a way of how to set-up payment terms which is greater than 10 years?  Any user exits?
    Appreciate any help!
    DGE
    Edited by: DGE on Jan 3, 2008 5:43 AM

    Hi Amlan Sarkar,
    I went through IMG: Financial Accounting (New)> Accounts Receivable and Accounts Payable> Business Transactions> Outgoing Invoices/Credit Memos> Maintain Terms of Payment.
    Now for me to configure Payment terms up to year 2018 (for example); i need to enter in field "Additional months" value = 120.  120 is 10 years * 12 months, since receivables for the year 2018 is 120 months from the current date.
    How the "Additional months" field is only 2 characters long.  Therefore I am unable to enter the value 120 which is 3 characters long.
    Any ideas on how I can configure this?
    Thank you.

  • In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms

    In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms.
    How can i do this?

    Hi,
    You can select the Payment Term at PO Header Level.
    When you book an invoice, that Payment Term will automatically defaulted to Invoice.
    You can define Payment Term in AP.
    Payment terms have one or more payment terms lines, each of which creates one scheduled payment. Each payment terms line and each corresponding scheduled  payment has a due date or a discount date based on either a specific day of a month, such as the 15th of the month, or a number of days added to your terms date, such as 14 days after the terms date.
    Payment Terms (Oracle Payables Help)

  • Issuing a warning message while changing the payment terms in FB02

    Hi Gurus,
    The requirement is as follows:
    For a particular payment terms meant for customer only when we change the payment terms in FB02, the system should give an warning message.
    For example - A customer has the payment terms 0001in his master data and thus in the accoutning document as well after releasing billing to accounting. An user wants to change the payment terms to 0070 being in FB02. As and when he puts the payment terms 0070, the system should give an warning meesage saying 'bla bla bla ........' or the same message at the time of saving the document.
    How to make this possible. Please help.
    Rgds,
    BABA

    Mr. Tiwari,
    This is the standard feature of SAP!!!  You get below messages
    1)
    Net due date on 05.10.2007 is in the past
    Message no. F5149
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    2)
    Net due date on 05.10.2007 is in the past
    Message no. F5149
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    Terms of payment changed; Check
    Message no. F5231
    Effects on Customizing
    You can define when this system message is to be issued in accordance with your requirements.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical documentation.
    Regards
    Santosh Hegde

  • Getting the Payment Terms on XLR

    Hello All,
    I am creating a Billing Note document using XLR. Everything is fine, except for I am unable to get the payment terms (Name) on the report.
    I am trying to use the Payment Terms set in the BP Master data, but this is just the code. I need the description of this code sitting in the Payment Terms (OCTG) table.
    How can this be done in XLR ?
    Thank you
    Gautam

    You may need to use the "Get Other Data" function to do this.
    If you bring out the code in our definition, then, in a different area, bring out the names in the table, you can then insert a look up column to look up the code in the Get Other Data table and hide the code column.

  • How to make a payment term as Default in Credit note in certain Sales Orgs.

    Hello experts,
    Kindly provide your valuable inputs as How can i make the payment terms( say AU00 =Due Immediately) default for  a few sales organizations.
    As checked, Depending on the type of Credit notes( i.e. WITH OR WITHOUT reference to an invoice), payment terms are used in credit notes processing. Also putting V in invoice reference field will make the payment terms calculation as similar to invoice.
    But I need, that everytime a credit note( any type with /without Ref.) is raised in a given sales org., IT HAS TO BE DUE IMMEDIATELY i.e. payment terms must be AU00( Pay immediately).
    Kindly suggest accordingly.
    Many thanks in advance.

    Hi Ram,
    Thanks for the reply.
    I hope you have seen the scenario- My requirement is to MAKE THE PAYMENT TERM AU00( DUE IMMEDIATELY) SPECIFICALLY FOR CREDIT MEMOS WHICH ARE RAISED UNDER SPECIFIC SALES ORG.
    i.e. If Sales org X,raised a Credit memo( with or without reference to an invoice), THE CREDIT NOTE MUST BECOME DUE IMMEDIATELY.
    I would be greatful, if you can suugest the path/procedure to achieve that. I have received valable inputs about the variant but I am seeking some hint in a CUSTOM Z TABLE creation with any User exit,that can Default this payment terms to CREDIT NOTE.
    Many thanks in advance.

  • The payment terms are not getting reflected in PO

    Hi,
    We are in SRM5.0 Extended Classic scenario.
    We have created new payment term in ECC and transferred to SRM using BBP_UPLOAD_PAYMENT_TERMS and after tranferring it to SRM I am able to see the new payment term in table BBP_PAYTERM and BBP_PAYTERM_TEXT in  SRM system.
    But non of the payment terms are not reflecting into PO. We are not getting any errors while processing the PO.
    Could you please suggest what may be the issue here.
    Best Regards,
    Siddappa

    Hello Siddappa,
    I am a little confused here with the scenario.
    I understand that the payment terms are recenly created and replicated. So naturally they would have been updated in the relevant vendor master as well. Now has the vendor master been replicated to SRM from ECC once the payment terms were updated.
    So from what you have mentioned "When we check the BBP_PD, the payment term is reflecting for the POs created after shopping cart approval."
    So does this mean once the SC is approved then the PO is created and then the Terms of Payment are seen in the PO.
    However "If the PO created through describe requirement, the Vendor will not assigned the PO created will go to Held status and buyer will process the order."
    So does this mean since the Vendor is not mentioned the Terms of Payment is not being reflected and will happen only once the same is specified in the PO.
    I have a question on whether after replicating the Payment Terms, has it been seen in any of the PO's created so far or it is always blank.
    Regards
    Pramod

  • How to unblock the payment to the vendor , even though the lot will be get

    Hi,
    we receive the material from vendor . when store people unloaded, it was get broken.
    so quality will reject the lot for the reason. but if we reject vendor will not get the payment
    since this is not the vendor mistake. he expect for the payment.
    how to unblock the payment to the vendor , even though the lot will be get reject .

    Hi
    Can you not make UD code as Partially accepted.
    Put OK material in Unrestricted
    For NOT oK material put into block stock.
    From Block stock you can move to QRNT (Quarantine storage Location - 311 mvt type) or directly move to Unrestricted(mvt type 343)
    Form here you can move material to Scrap by 551
    This will give payment to vendor & Qty can be scrapped.

  • How to fetch the payment details in to report

    Hi,
    I have the MIRo number, How to find the payment document number and check number so and so.
    What are the transactions like: F053,FB03.
    Let me know the process of payment after MIRO.
    What are the documents we need to raise, how to find those documents, what is the link.
    How to find the accounting document for payment and check details (from which tables).
    What are the table names and field names. What we can get from PAYR table.
    I want to create a report for MIRO with payment details.
    How to fetch the business area field value in to report.
    What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
    With regards
    Lakki
    With regards
    Lakki

    Hi,
    For Creating MIRO Document,
    We have to create PO Me21n,
    then Do GR - MIGO using PO Reference,
    then we have to do MIRO Using then same PO. so the link is basically the PO. Then the Payment for the MIRO document is done in F-53/F-58 refering the MIRO  document. the check number will be generated once we do the Check  Print in
    FBZ5.
    You can  assign the check number to the F-53 document either in Assignment Field or the Reference field Using FCHU.
    Once you do this you can view all the Vendor Bill using Doc Type RE, KR & Vendor Payments Doc Type KZ.
    You can use the Std Report FBL1N / FK110N
    Hope its useful. Assign points if found use ful
    Regards,
    R.Ramakrishnaraj

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • How do you change Payment Terms on a PO in SRM Extended Classis 5.0

    Hello Everyone,
    I need to change the payment terms on a PO. I have made the change to the vendor on the ECC and SRM side and now I need to update the PO with the new payment terms.
    Once I do that then I need to retransfer the change to the backend.
    Thanks,
    Sam

    resolved issue myself

Maybe you are looking for

  • Sequence settings for PAL DVD output

    G'day, I'm cutting my sister's wedding video.  I have footage from 2 cameras - a Panasonic TM900 (1920x1080p50) and a Canon MVX430 (miniDV SD PAL "widescreen"). The intended media is DVD.  I am using Final Cut Pro, and DVD Studio Pro. I've read that

  • How to compile and execute a generated file

    Hi, Can somebody help me please? My program goes like this: I'm creating a program wherein there are two TextArea, left and right, and a button. The role of the left TextArea is where I will type a Java code (what i mean is a class). After typing, th

  • HT201493 I can't see my friend anymore on 'Find My Friends' app

    I can't see my friend on 'Find My Friends' app but he can see me... What's the problem?

  • Coming back to Java after 1.5 years

    Hi, I worked on Java earlier,1.5 years back.Its mostly on the core java.These 1.5 years i was working on various skillsets due to the projects.I am planning to switch back to Java.I am comfortable in the core java.I want to learn the J2EE technologie

  • Java Algorithm problems?

    Im writing a simple calculator program and somehow the algorithm gets stuck on my nerve as i've been around the problem for so long. The problem is that i dont know how to implement an algorithm for the dot(.) operator. How do i write it so that when