Ansicht
Dokumentation

SAMPLE_PROCESS_00001430 - Interface description

SAMPLE_PROCESS_00001430 - Interface description

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is an interface description only and does not contain any instructions. It is intended for developers of those additional components that provide their own function module at Event 00001430 (CHANGE DOCUMENT: Header/line field substitution).

Function module SAMPLE_PROCESS_00001430 must not be changed.

If you want to create your own function module that is to be accessed at the callup point mentioned above, proceed as follows:

  1. Copy the function module to your own name range.
  2. Do not change any transfer parameters !!
  3. Write your own coding in the copied function module.
  4. Save and activate your function module.
  5. Carry out the necessary settings in Customizing. Business Transaction Events

LOCATION

This process is always reached when all the final checks have been completed before a document is changed.

INTERFACE

The current document headers (there will be more than one for cross-company code transactions, for example) and corresponding line items are transferred to the additional component, for information purposes only. You must not edit this data. Instead, two additional tables (T_BKPFSUB and T_BSEGSUB) are also transferred. The contents of the fields that can be substituted are entered in these tables. Field TABIX contains a line number which shows from which line in T_BSEG or T_BKPF the field contents originate.

Example

In the second line of table T_BSEG, the field contents from SGTXT (item text) should be replaced by the entry 'TEST'. This basically requires a statement sequence in the form

READ TABLE T_BSEGSUB WITH KEY TABIX = 2.
T_BSEGSUB-SGTXT = 'TEST'.
MODIFY T_BSEGSUB INDEX SY-TABIX.





Parameters

I_BKDF
I_BKDFSUB
T_BKPF
T_BKPFSUB
T_BSEC
T_BSEG
T_BSEGSUB

Exceptions

Function Group

BFFMSMPL2

rdisp/max_wprun_time - Maximum work process run time   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2174 Date: 20240523 Time: 080609     sap01-206 ( 47 ms )