<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invoice Payment Term in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420245#M201798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report am working with PO Tables : RBKP, RSEG, EKKO, MKPF, MSEG.&lt;/P&gt;&lt;P&gt;What is the relationships(foreign key relationship) between those table and BSAD? &lt;/P&gt;&lt;P&gt;Can you tell me please how do i join between BSAD&lt;/P&gt;&lt;P&gt;and those tables ?&lt;/P&gt;&lt;P&gt;( I tried BSAD-belnr to mseg-belnr&lt;/P&gt;&lt;P&gt;         or to rbkp-belnr  however it isn't &lt;/P&gt;&lt;P&gt;OK relationships ).&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Jul 2006 14:47:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-09T14:47:47Z</dc:date>
    <item>
      <title>Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420237#M201790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is in abap a function that calculate Payment date &lt;/P&gt;&lt;P&gt;given the invoice date and the payment term code ( LFM1-ZTERM )? .&lt;/P&gt;&lt;P&gt;please give the name of that function and other detail &lt;/P&gt;&lt;P&gt;about the function. how to use it ? restriction etc ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 09:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420237#M201790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420238#M201791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check  fm...&lt;/P&gt;&lt;P&gt;J_1A_SD_CI_DUEDATE_GET&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 09:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420238#M201791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420239#M201792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check the function module 'WLF_INVOICE_DETERMINE_DUEDATE', this might help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 09:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420239#M201792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T09:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420240#M201793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the funtion mod 'DETERMINE_DUE_DATE'.&lt;/P&gt;&lt;P&gt;u also need to pass the Account type ( KOART ) along with the invoice date n payment term..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 09:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420240#M201793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T09:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420241#M201794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thanks for your answer. &lt;/P&gt;&lt;P&gt;I need a function that determine the invoice due-date of &lt;/P&gt;&lt;P&gt;MM - purchse order not of sales and distribution.&lt;/P&gt;&lt;P&gt;The field ZTERM contain the code payment term to which field of the function parmetr, do i have to set the ZTERM field ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 11:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420241#M201794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T11:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420242#M201795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solman,&lt;/P&gt;&lt;P&gt;i think its irrelevant for the function module as to whether its for PO or sales, becasue, wen u mention the Account type, it talks about Vendor or customer...so in case of Purchase Order, it ll be a Vendor that u need to pass,ie, 'K'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 12:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420242#M201795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420243#M201796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bikash!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i find the proper zbldt from the payment term.&lt;/P&gt;&lt;P&gt;I want to use function 'DETERMINE_DUE_DATE' and i don't&lt;/P&gt;&lt;P&gt;know how suply the proper ZBD1T. I have the value of &lt;/P&gt;&lt;P&gt;the payment term (ZTERM), but i don't know how to get appropiate ZBD1T! is there a function the get ZTERM&lt;/P&gt;&lt;P&gt;and return the appropiate ZBD1T ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2006 12:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420243#M201796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-09T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420244#M201797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moshe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can code something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: faede type faede.
 
Select single * from BSAD
                into wa_bsad
                where belnr = wa_intit-belnr.
 
move-corresponding wa_bsad to faede.
faede-koart = C_D.
 
CALL FUNCTION 'DETERMINE_DUE_DATE'
  EXPORTING
    I_FAEDE                          = faede
 IMPORTING
   E_FAEDE                          =  faede
 EXCEPTIONS
   ACCOUNT_TYPE_NOT_SUPPORTED       = 1
   OTHERS                           = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
 
move faede-netdt to gv_netdt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;due_date = bseg-zfbdt + t052-ztag1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ztag1 is obtained from table t052 using bseg-zterm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2006 12:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420244#M201797</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-07-09T12:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420245#M201798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report am working with PO Tables : RBKP, RSEG, EKKO, MKPF, MSEG.&lt;/P&gt;&lt;P&gt;What is the relationships(foreign key relationship) between those table and BSAD? &lt;/P&gt;&lt;P&gt;Can you tell me please how do i join between BSAD&lt;/P&gt;&lt;P&gt;and those tables ?&lt;/P&gt;&lt;P&gt;( I tried BSAD-belnr to mseg-belnr&lt;/P&gt;&lt;P&gt;         or to rbkp-belnr  however it isn't &lt;/P&gt;&lt;P&gt;OK relationships ).&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2006 14:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420245#M201798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-09T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420246#M201799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check whether this releation exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSID-XBLNR = MKPF-BELNR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2006 15:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420246#M201799</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-07-09T15:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420247#M201800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relation you suggested doesn't exist.  table MKPF doesn't have field named BELNR but MBLNR or XBLNR, and &lt;/P&gt;&lt;P&gt;this fields are not foreign key fields for  Bsid-XBLNR.&lt;/P&gt;&lt;P&gt;Is in SAP other relationships keys between the tables ? &lt;/P&gt;&lt;P&gt;or is there other function that calculate due date of &lt;/P&gt;&lt;P&gt;MM-PUR invoice given payment terms ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 08:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420247#M201800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420248#M201801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm...now you check this relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MKPF-MBLNR = BSID-AUGBL&lt;/P&gt;&lt;P&gt;MKPF-MJAHR = BSID-GJAHR&lt;/P&gt;&lt;P&gt;MKPF-BLDAT = BSID-AUGDT&lt;/P&gt;&lt;P&gt;MKPF-XABLN = BSID-BELNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 09:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420248#M201801</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-07-10T09:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420249#M201802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you, I would like to get the payment date using the doc date and the payment term.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you found the module function and do you know how to use it properly ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Francis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 07:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420249#M201802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T07:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420250#M201803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry Lianto !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I recognazie that in SAP there are two type of payment term.&lt;/P&gt;&lt;P&gt;One type use t052-ztag1 field, and the secound type use&lt;/P&gt;&lt;P&gt;the fields t052-ZFAEL(days) t052-ZMONA(month) for calculating the due date. &lt;/P&gt;&lt;P&gt;Do you know a function to calculate due date that use the &lt;/P&gt;&lt;P&gt;secound type of payment term ( given  t052-ZFAEL(days) t052-ZMONA(month)) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;moshe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 08:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420250#M201803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T08:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Payment Term</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420251#M201804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the Invoice due date with payment terms use the below function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J_1A_SD_CI_DUEDATE_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : g_dzfbdt TYPE dzfbdt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'J_1A_SD_CI_DUEDATE_GET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    iv_vbeln                                           = '0911000030'  " Pass the invoice #&lt;/P&gt;&lt;P&gt;    iv_zterm                                          = 'Z180'             " Invoice payment terms&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_RATNR                                      = 1&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    ev_netdate                                     = g_dzfbdt      " Due date&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FI_DOCUMENT_NOT_FOUND          = 1&lt;/P&gt;&lt;P&gt;   PAYMENT_TERMS_INCOMPLETE   = 2&lt;/P&gt;&lt;P&gt;   INVOICE_NOT_FOUND                   = 3&lt;/P&gt;&lt;P&gt;   OTHERS                                          = 4.&lt;/P&gt;&lt;P&gt;IF sy-subrc eq 0.&lt;/P&gt;&lt;P&gt; write : g_dzfbdt .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Iyankannu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 05:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-payment-term/m-p/1420251#M201804</guid>
      <dc:creator>iyankannu_iyankannu</dc:creator>
      <dc:date>2010-07-14T05:50:27Z</dc:date>
    </item>
  </channel>
</rss>

