29 0 183KB
BAPI to use: BAPI_SALESORDER_CREATEFROMDAT2
BILLING_SCHEDULE_READ BILLING_SCHEDULE_GET_NUMBER BILLING_SCHEDULE_SAVE BILLING_SCHEDULE_GENERATE
1. BILLING_SCHEDULE_GENERATE o Fill field I_FPART, I_VEDA-VBELN, I_FKDAT, I_UPD_FPLA = 'X' and I_FPLA_ONLY = 'X' (for minimum input) o then copy tables FPLA_NEW dan GET E_FPLNR o Execute 2. BILLING_SCHEDULE_GET_NUMBER o Paste E_FPLNR to I_FPLNR o Fill I_VBELN o PASTE FPLA_NEW to FPLA_NEW o GET E_FPLNR and COPY RESULT FPLA_NEW o Execute 3. BILLING_SCHEDULE_SAVE o PASTE FPLA_NEW o Execute