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

input field

Former Member
0 Likes
550

hi to all

help me in this issue

in the selection screen two input parameters currency and text are there when the user enters these fields these should be update in ztable.

thanks in advance

kiran kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

hi Kiran,

If i have understood your question correctly ..

do this way ..


if not ( p_curr is initial ) or 
       ( p_text is initial ).
 ztable-field = value. 
 modify ztable.
endif.

REgards,

Santosh

5 REPLIES 5
Read only

Former Member
0 Likes
522

move these parameters into corresponding fields of ZTABLE and use MODIFY ZTABLE .

Read only

Former Member
0 Likes
523

hi Kiran,

If i have understood your question correctly ..

do this way ..


if not ( p_curr is initial ) or 
       ( p_text is initial ).
 ztable-field = value. 
 modify ztable.
endif.

REgards,

Santosh

Read only

Former Member
0 Likes
522

move these parameters into corresponding fields of ZTABLE work area and use MODIFY ZTABLE .

**use key fields also for modify/update.

Ramesh

Read only

Former Member
0 Likes
522

Execute below code. It will help you.

start-of-selection.

read table ztable into wa_ztable with key <key1> = <value1>.

if sy-subrc = 0.

if p_curr is not initial and p_text is not initial.

wa_ztable-curr = p_curr.

wa_ztable-text = p_text.

modify ztable from wa_ztable.

endif.

endif.

Make sure currency and text fields have proper formats.

Let me know if you have any further queries.

Don't forget to mark helpful answers!

Gaurav Parmar.

Read only

Former Member
0 Likes
522

hi

good

its simple ya select those two field value using the selet statement and update the data base table accordingly.

thanks

mrytyun^