Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LTBDFTOP - Error

Former Member
0 Likes
918

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
879

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.

7 REPLIES 7
Read only

Former Member
0 Likes
879

Hi,

You cannot declare G_MOD_LIMIT_FACT_WARN_TO_ERROR again, so why not pass the value in the implicit enhancement ?

Regards

Read only

0 Likes
879

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

Read only

Former Member
0 Likes
880

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.

Read only

0 Likes
879

Hi,

Yes i already tried with the logic mentioned by you but the statement is not accessible since it is the top include.

Thanks..

Read only

0 Likes
879

Hi Lakshmi,

Please let me know if any other Possibilities.

Thanks,

Narasimha

Read only

0 Likes
879

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.

Read only

0 Likes
879

HI Lakshmi,

Thanks.. My issue is solved.

Regards,

Narasimha