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

Batch Input - Fill hidden fields

former_member301120
Active Participant
0 Likes
1,753

Hello to all,

I've got a selection screen with 2 fields like:


SELECT-OPTIONS s_docnum FOR edidc-docnum NO INTERVALS.
PARAMETERS p_wfst TYPE c NO-DISPLAY.

The parameter p_wfst isn't displayed on the selection screen.

Now I want to call this screen via


CALL TRANSACTION 'ZPROGRAM' USING lt_bdcdata .

but I get an error:


field P_WFST is not found on dynpro ZPROGRAM 0100

How can I fill this hidden field?

Regards Christian

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
973

Hello,

AFAIK you can't use hidden & non-editable fields:-)

BR,

Suhas

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
973

I think it s not possible to populate a hiden field using call transaction.

Read only

Former Member
0 Likes
973

Hello Christian,

I don;t have perfect answer for you but I have one suggession.. you declare the parameter as normal and update the filed properties in AT selection sceen output to make it invisible.

then you try with call transaction.

Regards

Naresh

Read only

RaymondGiuseppi
Active Contributor
0 Likes
973

You cannot pass a parameter that is not input-enabled by batch-input, you must look for an other soluition.

Some proposals :

- Use a SUBMIT of your Z-program (if there are only data for first screen in the Batch Input data)

- Change the called program to look for the hidden parameter in memory (Use a IMPORT from memory or a GET PARAMETER in the INITIALIZATION block, and an EXPORT or SET PARAMETER in the calling program.)

Regards,

Raymond