Application Development 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: 

small requirement

Former Member
0 Kudos

Hi,

I want the output some like this.

When i execute the program i shud get out put '1'.

When i click the back button and again execute i shud get the output as '2'.

Again when i click back button and execute i shud get the output as '3'.

And so on...

How to do it?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

simply take one field and such that u take ztable and add that ztable field by once for every execution and ud date the field value with update statement.

do u required code please reply me.

3 REPLIES 3

Former Member
0 Kudos

Hi!

You have to store these values in an own customer Z-table.

Define your table in SE11 transaction.

You can't save these values into the memory, because they lost, when you go back.

Regards

Tamá

Former Member
0 Kudos

simply take one field and such that u take ztable and add that ztable field by once for every execution and ud date the field value with update statement.

do u required code please reply me.

former_member480923
Active Contributor
0 Kudos

Hi,

REPORT ztest_count .


PARAMETERS: p_i TYPE i DEFAULT '1'  NO-DISPLAY,
            p_x TYPE c.

AT SELECTION-SCREEN OUTPUT.

  p_i = p_i + 1.

START-OF-SELECTION.

  WRITE: p_i.

Thanks

Anirban M.