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

regd : calculator

Former Member
0 Likes
589

hi,

i have designed a calculator using modulepool program.when i press 1 it is displaying.when i am pressing for the secon time.it is not displaying 11.

can any body helpme out in this.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo

hi,

i have designed a calculator using modulepool program.when i press 1 it is displaying.when i am pressing for the secon time.it is not displaying 11.

can any body helpme out in this.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo

5 REPLIES 5
Read only

Former Member
0 Likes
573

Hi,

Check the Length Of the Para meter.

If The Parameter length is One means it will always displays the single value.

Thanks.

Read only

Former Member
0 Likes
573

suppose if u have set the parameter name as a.

and if the input is b.

then u have to contenate b to a.

otherwise it is not possible.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
573

hi,

U have to concatenate this values and then display it.

Read only

0 Likes
573

hi,

i have used like this...but it is not appending the value '1' for the second time.

ok_code = sy-ucomm.

save_ok = ok_code.

case save_ok.

when 'BUT1'.

append '1' to itab_result.

loop at itab_result.

write 😕 itab_result.

endloop.

Read only

0 Likes
573

i think use concatenate instead pf append.

IS itab_result is ur internal table?

TAke one field.

concatenate 1 itab_result into itab_result.

write 😕 itab_result.

This write statement will b display in other screen no?