‎2009 Jun 17 6:55 AM
Hi All,
Please let me know is there any Possibility to change the value of the variable G_MOD_LIMIT_FACT_WARN_TO_ERROR in the standard include program LTBDFTOP.
In standard functionality the value for this variable is 0. this particular value needs to be changed with out using the access key for standard include.
The value needs to be changed by using implicit enhancements only. i have tried with the Possibility of declaring this variable with the changed value by using implicit enhancements. but the enhancement is not activating since the variable has already been declared.
Regards,
Narasimha
‎2009 Jun 17 7:43 AM
Hi Narasimha,
In the implicit enhancement section you declare one local variable whose value is the new one. Then you will get the new value into that constant.
Pass that value to the already varaible G_MOD_LIMIT_FACT_WARN_TO_ERROR .
Enhancement-section.
Data: lv_newvalue type c value 'New value'.
G_MOD_LIMIT_FACT_WARN_TO_ERROR = lv_newvalue.
Endenhancement.
‎2009 Jun 17 6:58 AM
Hi,
You cannot declare G_MOD_LIMIT_FACT_WARN_TO_ERROR again, so why not pass the value in the implicit enhancement ?
Regards
‎2009 Jun 17 7:02 AM
Hi Ravi,
Thanks for the response..
Yes i tried to change the value of that variable using implicit enhancement but the statement is not getting accessible.
Regards,
Narasimha
‎2009 Jun 17 7:43 AM
Hi Narasimha,
In the implicit enhancement section you declare one local variable whose value is the new one. Then you will get the new value into that constant.
Pass that value to the already varaible G_MOD_LIMIT_FACT_WARN_TO_ERROR .
Enhancement-section.
Data: lv_newvalue type c value 'New value'.
G_MOD_LIMIT_FACT_WARN_TO_ERROR = lv_newvalue.
Endenhancement.
‎2009 Jun 17 7:54 AM
Hi,
Yes i already tried with the logic mentioned by you but the statement is not accessible since it is the top include.
Thanks..
‎2009 Jun 17 8:04 AM
Hi Lakshmi,
Please let me know if any other Possibilities.
Thanks,
Narasimha
‎2009 Jun 17 8:37 AM
Hi,
Write your code where you want to change the value i.e. before processing other logic with the help of new value (instead of writing code in the TOP include).
Regards,
Srilakshmi.
‎2009 Jun 24 5:36 AM