Skip to Content
0
Former Member
Aug 25, 2008 at 09:38 AM

problem with set parameter id

122 Views

hi all,

i am using the below code to set the parameter id to project , subproject and object for the t-code in lsmw. but when it goes to lsmw

it does not take these values in lsmw . can anyone please check where i am going wrong? thanks in advance.

*******************************************

at selection-screen.

data: project type /SAPDMC/LSSCREEN-PROJECT,

subproj type /SAPDMC/LSSCREEN-SUBPROJ,

object type /SAPDMC/LSSCREEN-OBJECT.

if sscrfields-ucomm eq 'CLI1'.

  • if p_up = 'X'.

data: project type c length 20 value 'SIVA',

subproj type c length 20 value 'PRICING',

object type c length 20 value 'SD'.

  • proj = 'SIVA'.

  • subproj = 'PRICING'.

  • obj = 'SD'.

SET PARAMETER ID: PROJECT FIELD PROJECT,

SUBPROJ FIELD SUBPROJ,

OBJECT FIELD OBJECT.

call transaction 'LSMW' and skip first screen.

endif.

*******************************************

saurabh.