‎2008 Nov 06 2:46 PM
hi all,
can we set parameter id for the transcation haveing create options , r any another method to do it.
example : j1is tcode they are 4 fields are mandatory . only 2 fields are having parameter id.plz guide me properly .
thanks
‎2008 Nov 07 7:14 AM
Hello,
If you dont have parameter id use in this way to call the Tcode
Try this way it will work
DATA class_name(30) TYPE c VALUE 'CL_SPFLI_PERSISTENT'.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLSEOD'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'.
bdcdata_wa-fval = class_name.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=CIDI'.
APPEND bdcdata_wa TO bdcdata_tab.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM opt.
‎2008 Nov 06 3:08 PM
If parameter id is not available i think you can call the underlying program using SUBMIT which has some options to pass field values.
Regards
Karthik D
‎2008 Nov 06 3:10 PM
yes you can but that means to implement a modification on the screen elements.
you can create the parameters with SE80 and then add them to the appropiate elements .
kind regards
arthur de smidt
‎2008 Nov 07 7:04 AM
‎2008 Nov 07 7:11 AM
Hi
It happens many time when u r calling a standard transaction fields without parameter ID. There u can use BDC call transaction and skip first screen.
Regards,
Kaushik
‎2008 Nov 07 7:14 AM
Hello,
If you dont have parameter id use in this way to call the Tcode
Try this way it will work
DATA class_name(30) TYPE c VALUE 'CL_SPFLI_PERSISTENT'.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLSEOD'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'.
bdcdata_wa-fval = class_name.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=CIDI'.
APPEND bdcdata_wa TO bdcdata_tab.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM opt.
‎2008 Nov 07 7:19 AM
In SE80 tcode go to the screen which contains the fields for which u want to set parameter id .
‎2008 Nov 07 7:31 AM
‎2008 Nov 07 10:01 AM
perhaps if you put you're question more clearly and not with hypothetical tcodes then you can perhaps get a more clear answer to youre problem.
kind regards
arthur