‎2010 Nov 12 7:28 AM
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
‎2010 Nov 12 9:22 AM
Hello,
AFAIK you can't use hidden & non-editable fields:-)
BR,
Suhas
‎2010 Nov 12 9:28 AM
I think it s not possible to populate a hiden field using call transaction.
‎2010 Nov 12 9:33 AM
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
‎2010 Nov 12 10:55 AM
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