Ansicht
Dokumentation

EA610002 - IS-U: Correct due dates of a budget billing plan

EA610002 - IS-U: Correct due dates of a budget billing plan

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Documentation for function module: EXIT_SAPLEA61_002

Enhancement

At this point it is possible to change the determined due dates of a budget billing plan. The due dates, contract and budget billing plan data are available in the following tables and structures:

  • XT_EABPS: Determined due dates of a budget billing plan
  • X_EVER: Contract data
  • X_EABP: Budget billing plan data

Note

Enter your coding in the following include file:

Function module Include file
EXIT_SAPLEA61_002 ZXEA61U02

Example

A customer moves in on 11/24/1998. A budget billing plan is determined, and the first due date is on the 12/01/1998. However, you want the first due date to be at least one month after the move-in date.

The table with the determined due dates is as follows:

Due date Planned date
01 25.11.1998
02 25.12.1998
03 25.01.1999
04 25.02.1999
05 25.03.1999
06 25.04.1999
07 25.05.1999
08 25.06.1999
09 25.07.1999
10 25.08.1999
11 25.09.1999

Coding

* Data definition
constants: c_one_month type c value '1',
c_unit_month(3) type c value 'MON',
c_factory_cal(3) type c_value 'SAP'.
data: l_first_due_date like sy-datum.

* Determination of first due date based on move-in date
call function 'END_TIME_DETERMINE'
exporting
duration = c_one_month
unit = c_unit_month
factory_calendar = c_factory_cal
importing
end_date = l_first_due_date
changing
start_date = x_ever-einzdat
exceptions
others = 1.
if sy-subrc ne 0.
endif.
delete xt_eabps where solldat lt l_first_due_date.

The table containing the due dates is as follows:






Fill RESBD Structure from EBP Component Structure   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4171 Date: 20240426 Time: 130536     sap01-206 ( 27 ms )
Due date Planned date
01 25.12.1998
02 25.01.1999
03 25.02.1999
04 25.03.1999
05 25.04.1999
06 25.05.1999
07 25.06.1999
08 25.07.1999
09 25.08.1999
10 25.09.1999