/1BEA/IPMI_BD_O_OFFS_REL_CHK - Check Whether a Clearing Item is to be Generated

General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Functionality

This function module checks whether clearing items should be generated under particular conditons. The check takes place in two steps, and a negative result in either step is returned as a specific exception:

  1. Should clearing items be generated for the current billing item IS_BDI_ORIG?
The system checks whether another clearing value already exists for this billing item. If not, the exception NO_OFFSETTING_FOR_BDI is triggered.
  1. Should clearing items be generated for transferred candidate IS_DLI_UPDGRP which was found in the update group by Customizing for IPM clearing control?
The system checks whether this candidate still has a positive residual value. If not, exception SKIP_THIS_DLI is triggered.

Example

Notes

This function module only gives a usable result if the standard Customizing for IPM is identical forbasic values, billing (particularly clearing control) and pricing. If this is not the case, you have to implement the generated BAdI method /1BEA/_BD~OFFS_REL_CHK with a corresponding logic( stands for the Billing Engine Application). You can use this function module as a pattern for your own implementation.

Further information


Parameters

IS_BDI_ORIG
IS_BTY_WRK
IS_CLRRULE
IS_DLI_UPDGRP
IS_ITC_WRK

Exceptions

NO_OFFSETTING_FOR_BDI
SKIP_THIS_DLI
STOP_PROCESSING_RULE

Function Group

A/SAPLIPMI_BD_O

Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 1583 Date: 20120524 Time: 032447     triton ( 84 ms )