Ansicht
Dokumentation

ISU_SAMPLE_R250 - Distribution of Aggr. Payments: Add Payment Lot Header Data

ISU_SAMPLE_R250 - Distribution of Aggr. Payments: Add Payment Lot Header Data

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

Functionality

The function module for callup point R250 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 first bill item to be included in the payment lot is tranferred to input parameter I_THI. The header data of the payment lot is transferred to change parameter C_DFKKZK where it can be changed.

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 locks that you did not set yourself

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

  • At the end of the commit routine, all internal tables that were updated must be reinitialized so that 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 reinitialized 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 terminate the background processing. Therefore, avoid issuing warning messages if possible. However, always issue a warning if the value of SY-BATCH is zero.





Parameters

C_DFKKZK
I_THI

Exceptions

Function Group

EE_DEREG_PMT_PLOTA

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2057 Date: 20240605 Time: 201514     sap01-206 ( 36 ms )