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: 

input field

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

**use key fields also for modify/update.

Ramesh

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi

good

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

thanks

mrytyun^