Get the Baseline date Based on the New Payment Terms. *Calculate Due Date based on the Baseline Date. call function 'FI_CHANGE_PAYMENT_CONDITIONS' " #EC * exporting i_bldat = bldat i_budat = budat i_newzterm = newzterm i_newzfbdt = *rbkp_v-zfbdt-->base line date. i_newsklin = sklin i_oldzterm = oldzterm i_oldzfbdt = *rbkp_v-zfbdt i_oldsklin = sklin importing e_zfbdt = duedate e_sklin = sklin. * if sy-subrc eq 0. clear: faede. faede-shkzg = 'H'. faede-koart = 'K'. faede-zfbdt = *rbkp_v-zfbdt. faede-zbd1t = sklin-ztag1. faede-zbd2t = sklin-ztag2. faede-zbd3t = sklin-ztag3. faede-bldat = bldat. call function 'DETERMINE_DUE_DATE' " #EC * exporting i_faede = faede importing e_faede = faede. * if sy-subrc eq 0. duedate = faede-netdt.
标签:Baseline,rbkp,zfbdt,faede,获取,日期,bldat,FICO,sklin From: https://www.cnblogs.com/Anyohh233/p/17388791.html