CL_DEF_IM_ISU_CHANGEDOC - Class for BAdI: ISU_CHANGEDOC

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Functionality

This fallback implementation of BAdI ISU_CHANGEDOC provides the following methods:

GET_LPASSGNPROFROLEDetermination of profile role for change notifications for profile allocation
GET_CONSUMPTIONPERIODDetermination of consumption periods for change notifications for profile allocation
GET_SETTLMENTVIEW_OUTDetermination of settlement view for outgoing change notifications for profile allocation
Method GET_LPASSGNPROFROLE

Method GET_LPASSGNPROFROLE first reads maintained profile allocation roles.

If no roles are found, the exception ERROR_OCCURRED is triggered with the error message "Cannot allocate profile role allocation automatically".

If only one role is found, this role is used for the allocation.

If multiple roles are found, the role with the switch "Only Synthetic Profiles Can Be Allocated" androle category "Role for Settlement" is used during export. The role with the switch "No Automatic Updateof Forecasted Consumption" and role category "Role for Settlement" is used during import. If no correspondingroles are found, the exception ERROR_OCCURRED is triggered with the error message "Cannot allocate profile role allocation automatically".

Method GET_CONSUMPTIONPERIOD

Method GET_CONSUMPTIONPERIOD sets the export parameter exp_datefrom to the key date imp_basic_data-keydate set in the import parameter. The export parameter exp_dateto is 365 days after exp_datefrom.

Method SETTLMENTVIEW_OUT

If the service type of the message sender cannot be found, the method first checks whether the distributor or supplier view is set as standard in the import parameter IMPT_SETTLVIEW. If it is, the system uses this view.

If the service type can be determined, the method looks for the corresponding view in the import parameter IMPT_SETTLVIEW.

Relationships

Example

Notes

Further information



Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 2345 Date: 20120526 Time: 134839     triton ( 109 ms )