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

Submitting values to another selection screen

Former Member
0 Likes
403

hi

I am passing values from Z program to selection screen of standard program RHRHAZ00 ... I have coded for that like this

submit rhrhaz00 and return

with pchplvar = pchplvar

with pchotype = pchotype

with pchobjid in pchobjid

with pchsobid in pchsobid

with pchseark = pchseark

with pchostat = pchostat

with pchistat = pchistat

with pchobeg = pchobeg

with pchoend = pchoend

with pchtimed = pchtimed

with pchbegda = pchbegda

with pchendda = pchendda .

Now the problem is 'pchsobid' is a hidden field selection screen value in RHRHAZ00 which gets displayed only when USER is selected in pchotype.

But I want to pass on selection screen value to this too from Z Program.

In the debugging mode I have seen that this doesnt get populated by using the SUBMIT statement.

Can you guys help on this. This is standard program so I cannot modify the program nor use IMPORT & EXPORT statements

Points will be awarded for helpful answers

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
346

interesting scenario.. may be you can try saving a variant for RHRHAZ00 first & then use the SUBMIT rhrhaz00 using selection-set <variant> option. Just before the submit statement try if you can change the variant value by using any RS_VARIANT*** function calls..

~Suresh

Read only

rahulkavuri
Active Contributor
0 Likes
346

I havent appended the values to the select options, that was the problem otherwise the program submits the values to the other selection screen even though they are inactive