You are on page 1of 3

Steps to Create Implementation of the BAdI FIGLMX_EXIT.

Execute T-code SE18


Enter the name: FIGLMX_EXIT

Select the BAdI and right click and select Create BAdI Implementation.

Enter the Implementation name with the Z suffix.

Also enter some short text and click enter


Save the object in your own package.

The below popup appears

Specify a Z BAdI Implementation name and Z Implementing Class and also some Description.
Save the object in your own package.

You need to have your own implementation in the Method GET_UUID_DETAILS of the ABAP Class
created above.
Parameters of the method GET_UUID_DETAILS are shown below.

Template code/steps:
1. Input parameter IV_DOC will have the relevant document number, company code, fiscal year,
posting date, document date, period, reference number and reference transaction.
2. Input parameter IT_INV will have the relevant invoice document number, if any.

With this input information, query the table where UUID for MIRO documents are stored in your
system.
3. Changing parameter CT_UUID you have to pass the required UUID details in this changing
parameter.
FIGLMX_SIGN Populate UUID
FIGLMX_TAXID Populate VAT or TAX ID
FIGLMX_AMOUNT Populate Amount in Document currency
FIGLMX_CURRENCY Populate Currency Key; only if currency is not MXN
FIGLMX_ERATE Populate Exchange rate; only of currency is not MXN
Note changing parameter CT_UUID is an internal table, if for a document there are more than
one UUID information, append all the UUIDs in changing parameter CT_UUID
This BAdI is called once for each document.

NOTE***: Please note that this is just a template and customers should write the actual ABAP code to
fetch UUID details in case of MIRO documents according to their requirement.

You might also like