ā2012 Oct 03 9:32 PM
Hi,
I'm implementing two BADi's.One badi is used to display an error message and another is used to get data which is to be shown in the error message.
I'm thinking to use EXPORT and IMPORT statements to get the date from one badi to another.Can anyone let me know if there is aome other better method to transfer data between two BADI's?
I'm new to ABAP.
ā2012 Oct 04 4:26 AM
Hi ,
Transferring data between badis?.Which badis you are using.What is the business requirement.
Regards,
Madhu.
ā2012 Oct 09 9:04 AM
Hi,
For which transaction you want to use the BADI's. You can achieve this functionality only using one BADI by using field symbols or by using FM 'DYNP_VALUES_READ' in the BADI where you are giving error message. Read on FM DYNP_VALUES_READ.
And for field symbol you can follow below steps.
field-symbols:<fs> type any,
assign ('(Main program name)variable whose data you want to access ) to <lfs>.
if <lfs> is assigned.
in <LFS> you will get the required data.
endif.
Thanks,
Pawan