Ansicht
Dokumentation

ISU_SAMPLE_R251 - Distribution of Aggr. Payments: Add Distribution Lot Item Data

ISU_SAMPLE_R251 - Distribution of Aggr. Payments: Add Distribution Lot Item Data

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module for callup point R251 is called via a run for the distribution of aggregated payments from bill creation and is used to complete application-specific or customer-specific payment lot header data.

The item data of the bill items to be included in the payment lot item is transferred to table T_THI_POS. The data of the payment lot item is transferred to tables T_DFKKZP and T_DFKKZS.

Programming Restrictions

In order to ensure consistency within the system, the following language elements cannot be used in callup points:

  • COMMIT WORK

  • ROLLBACK WORK

  • CALL FUNCTION 'DEQUEUE ALL'

  • Deletion of lock that you did not set yourself

If you update additional data for a callup point and in the process use construct PERFORM commit routine ON COMMIT, remember that:

  • At the end of the commit routine, all internal tables that were updated must be reinitialized so that they are not updated again when the commit routine is next called

  • A PERFORM rollback routine ON ROLLBACK also has to be called. The same data that is initialized at the end of the commit routine has to be initialized in the rollback routine

If you perform checks for this callup point, remember when issuing messages that warnings result in termination of background processing. Therefore, avoid issuing warning messages if possible. You should however always issue a warning if the value of SY-BATCH is zero.





Parameters

T_DFKKZP
T_DFKKZS
T_THI_POS

Exceptions

Function Group

EE_DEREG_PMT_PLOTA

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2067 Date: 20240523 Time: 132431     sap01-206 ( 36 ms )