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

Dynamic action-- problem

anupam_srivastava2
Participant
0 Likes
394

Hi All

The subgroup field, IN SCREEN PA40, when I change it to G2 or G5 or G6 from G1. i can get the changed subgroup value, but is it possible to get the previous value. that is G1.

Bocz I want to put a condition if the subgroup is chaged form G1 to G2 then only the action shoud occur.

please guide if you have any idea

regards

AJ

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
339

I am not sure if you are trying to code this in an exit, but here is an idea - if you have the current value on the screen (G2), you can get the old value by selecting the DB for that key combination?

Hope this helps.

Sudha

2 REPLIES 2
Read only

Former Member
0 Likes
340

I am not sure if you are trying to code this in an exit, but here is an idea - if you have the current value on the screen (G2), you can get the old value by selecting the DB for that key combination?

Hope this helps.

Sudha

Read only

SumitKundu
Active Participant
0 Likes
339

See this example:

Infotype Field Ind. Variable function part

0007 STAT3 P P0007-STAT3='0'

0007 STAT3 P PSAVE-STAT3='1'

The step is taken if the value in the P0007-STAT3 field changes from 1 to 0. PSAVE-STAT3 contains the old value here.