‎2010 Aug 02 9:58 AM
hi all,
before i think of posing a question i have searched SDN for 2days but dint get the desired results.
so i am posting a question.
in my prog am calling a TCODE and in that TCODE i have a mandatory field so when i say skip first screen it does not skip as their is a mandatory field.
so i used my code like this and checked twice and i found i have value in L_PERNO and id is: EHS00PERSONID.
i have a value in L_PERNO.
parameter id of the tcode field is : EHS00PERSONID
set parameter id 'EHS00PERSONID' field L_PERNO.
CALL TRANSACTION 'ZEDIT' AND SKIP FIRST SCREEN .
but it does not set the value... what am i missing still to get it done can i have some input pls.
thanks a lot in advance,
pasala.
‎2010 Aug 02 10:13 AM
You can in your program
EXPORT L_PERNO TO MEMORY ID 'L_PERNO'.
CALL TRANSACTION 'ZEDIT' AND SKIP FIRST SCREEN .
and in the other program:
IMPORT L_PERNO FROM MEMORY ID 'L_PERNO'.
‎2010 Aug 02 10:08 AM
If you are facing problems do it via bdc.
record the first screen of transaction and call it like
call transaction 'ZEDIT' with i_bdcdata.
‎2010 Aug 02 10:13 AM
You can in your program
EXPORT L_PERNO TO MEMORY ID 'L_PERNO'.
CALL TRANSACTION 'ZEDIT' AND SKIP FIRST SCREEN .
and in the other program:
IMPORT L_PERNO FROM MEMORY ID 'L_PERNO'.
‎2010 Aug 02 10:21 AM
Hi,
Try to call the tcode passing the options ..
DATA : opt TYPE ctu_params.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'ZEDIT' USING bdcdata_tab OPTIONS FROM opt.
Regards,
Srini.
‎2010 Aug 02 10:36 AM
‎2010 Aug 02 10:52 AM
‎2010 Aug 02 11:22 AM
‎2010 Aug 02 12:52 PM
Hi Pasala,
You have done everything right and your program will work with simple addition.
Just add the statement below in your transaction 'ZEDIT' in PBO of screen on which mandatory field exist.
get parameter id 'EHS00PERSONID' field 'XXX.'
where XXX is the name of mandatory field on the screen.
Amit Singla
‎2010 Aug 10 11:05 AM
thank you all and its been sorted using one of your threads i,e using BDC.