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

set parameter id

Former Member
0 Likes
974

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
932

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.

8 REPLIES 8
Read only

Former Member
0 Likes
932

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

Read only

Former Member
0 Likes
932

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

Read only

0 Likes
932

hi,

Can u explain clearly...........

Read only

Former Member
0 Likes
932

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

Read only

Former Member
0 Likes
933

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.

Read only

Former Member
0 Likes
932

In SE80 tcode go to the screen which contains the fields for which u want to set parameter id .

Read only

0 Likes
932

HI,

i cant getting it can clearly explain

thanks

Read only

0 Likes
932

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