Application Development 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: 

set parameter ME33L, ME33K

Former Member
0 Kudos

I would like to know the process to set parameter for t-code ME33L

Screen field is RM06E-EVRTN.

Data element EVRTN has Parameter ID = 'VRT'.

In table TPARA- a record exist with Parameter ID 'VRT' - Version (Unit Costing).

still the below call is failing.

set parameter id c_vrt field rs_selfield-value.

call transaction me33l and skip first screen.

Please let me know, the process to pass data to ME33L.

or is there any process to create custom parameter ID ?

10 REPLIES 10

Former Member
0 Kudos

Hi

Check the field rs_selfield-value for value, it may be blank

regards

Shiva

Former Member
0 Kudos

Hi,

set parameter id c_vrt field rs_selfield-value.

call transaction me33l and skip first screen

Try this ...

SET PARAMETER ID 'VRT' FIELD RS_SELFIELD-VALUE

call transaction me33l and skip first screen

Former Member
0 Kudos

Data element EVRTN has Parameter ID = 'VRT'.

set parameter id c_vrt field rs_selfield-value.-----pass parameter id as VRT not C_vrt

call transaction me33l and skip first screen.

0 Kudos

in my code

SET PARAMETER ID c_VRT FIELD rs_selfield-value.

c_VRT is a constant with value = 'VRT'...

rs_selfield-value is having a valid value. this is not a data problem.

even is not working...

any better answer?

0 Kudos

Wherever you are using SET PARAMETER make sure that field name is in quotes like this 'VRT'.

it will not accept this ... c_VRT is a constant with value = 'VRT'

SET PARAMETER FIELD 'VRT' FIELD rs_selfield-value

0 Kudos

I tried even this .SET PARAMETER FIELD 'VRT' FIELD rs_selfield-value

. it is not working.

moreover Mr Kesava Reddy...

SET PARAMETER ID c_bes FIELD rs_selfield-value.

CALL TRANSACTION c_me23n AND SKIP FIRST SCREEN. it is working.

can u please let me knwo the reasonto say that pass parameter ID as constant will not work.???...

0 Kudos

bstyp = 'L.'

SET PARAMETER ID 'SAG' FIELD rs_selfield-value.

CALL TRANSACTION 'ME33L' AND SKIP FIRST SCREEN.

bstyp = 'K'.

SET PARAMETER ID 'CTR' FIELD rs_selfield-value.

CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.

0 Kudos

thank you for this exsample! I had the same problem, parameter id VRT does not work in ME33L. It works fine with parameter id 'SAG' instead of 'VRT'

former_member288351
Participant
0 Kudos

Dear,

Please check below code its working here:

DATA: fld TYPE RM06E-EVRTN.
fld = '520000004'.
set parameter id 'VRT' field fld.
call transaction 'ME33L' and skip first screen.

with regards

vikas pandey


0 Kudos

there are three parameter id´s one could use: VRT, SAG and CTR depending on

t160-bstyp for ME33L. You can see it in program SAPMM06E module  D0205_GET_PARAMETER  OUTPUT. The F1-information for the field

rm06e-evrtn could be more explicit about this.