Condition on BADI's parameters
I was having a requirement of checking some conditions on the parameters, that were not in Import Export Changing/Tables of a BADI in which i had a method for my additional code.
How to place a condition in such scenarios if the required parameters doesn't exist.
Thanks in advance.
I guess you are trying to access variables inside BADI which are not available as Import/Export parameter of BADI. IF these variables are global
variables of the program then you can read this varaibles inside BADI by use of field symbols.
Field-symbol <fs> type any,
Assign ( ' (Program name)variable' ) to <fs>. --- program name is main program of your transaction & variable is the data you want to access.
In <FS> you will get the variable data.