2010 Mar 30 8:03 AM
Hi all,
I need to fill the mandatory fields for transaction code XD01 by using the parameter id.
I am new to this area can any one tell me the steps which i need to follow.
Regards
Jai
Edited by: Jayanth16 on Mar 30, 2010 9:09 AM
2010 Mar 30 8:15 AM
SET PARAMETER ID 'DCN' FIELD rs_selfield-value.
'DCN' : Parameter ID & rs_selfield-value : Value which you want to input.
U will get parameter id when u put cursor on that field and press F1 , in technical description u will find parameter id
or in data element in t-code 'SE11'.
CALL TRANSACTION 'XD01' AND SKIP FIRST SCREEN.
Thanks
Ankesh
Edited by: Ankesh Jindal on Mar 30, 2010 9:16 AM
2010 Mar 30 8:20 AM
Hi,
When i open XD01 mandatory fields are filled with default values.
For this whether i need to write a program or something else can do and achecive it.
Regards
Jai
2010 Mar 30 8:23 AM
hi,
you can write the BDC for the following and pass the value to mandatory fields.
and then use the call transaction statement.
2010 Mar 30 8:24 AM
Hi Jayanth,
See , when you want the value to be populated directly when you open the transaction individuallly you need to create transaction variant in SHD0
if you want to populate the values in XD01, when it is a called tcode from another ztcode or program then you need to follow the steps provided by one of the colleague in the same thread
cheers
S.Janagar
2010 Mar 30 8:24 AM
in that case use submit program like below :-
in the selection table enter that default select-option name and in their low and high enter space and append
those value in seltab and call that seltab in SUBMIT statement
DATA: seltab TYPE TABLE OF rsparams,
seltab_wa LIKE LINE OF seltab.
seltab_wa-selname = 'CREDAT'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
seltab_wa-low = space.
seltab_wa-high = space.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
seltab_wa-selname = 'DOCNUM'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
seltab_wa-low = rs_selfield-value.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
*
SUBMIT rseidoc2 WITH SELECTION-TABLE seltab.
via selection-screeN .
2010 Mar 30 8:28 AM
Hi,
I am not calling the transaction code from any Zprogram or any Ztcode.
When i open the Tcode it has to populate with default values in mandatory fields.
Is there any other way other than creating transaction variant ?
Regards
Jai