Hi All,
I've a requirement to print out a form after FI document is parked (inserted already into BKPF, BSEG)
I tried using BTE with details as below :
- event = 2218
- function module = ZFI_INTERFACE_00002218 (copied from SAMPLE_INTERFACE_00002218)
In this function module, I wrote my code to submit an add-on program (to print out form) as below:
SUBMIT ZPGXXXX
WITH P_BUKRS = L_WA_FVBKPF-BUKRS
WITH SELECTION-TABLE L_IT_BELNR
WITH P_GJAHR = L_WA_FVBKPF-GJAHR
But at the real time, the data is not exactly inserted into database, so the add-on program cannot extract data and print out the form.
Please help to suggest another BTE events or enhancement
Regards,
Bang