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: 

Issue Regarding ALV User Command option

Former Member
0 Kudos

HI All,

We are facing a problem in ALV User command usage is as follows.

we are calling 'S_BCE_68001394' t-code which is sub t-code of SUIM(roles).but when we exceute following code it will go the first screen but it is not moving to secound screen.and i check for the value of the BNAME in form that is also passing fine . what could be wrong with this. Actually my requriement is when we execute the program it will display list of users.now ; when user clicks on any user it should display all the roles of the user. please help us.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

i_callback_user_command = 'USER_COMMAND'

it_fieldcat = it_fieldcat

TABLES

t_outtab = it_rule.

-


FORM user_command USING ucomm TYPE sy-ucomm

selfield TYPE slis_selfield.

CASE ucomm.

WHEN '&IC1'.

IF selfield-fieldname = 'BNAME'.

SET PARAMETER ID 'XUS' FIELD selfield-value.

CALL TRANSACTION 'S_BCE_68001394' AND SKIP FIRST SCREEN.

ENDIF.

ENDCASE.

ENDFORM.

-


Thanks

-


Channappa Sajjanar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try using BDC, it works

4 REPLIES 4

Former Member
0 Kudos

Try using BDC, it works

0 Kudos

Hi,

Thanks for ur reply but we are going to modidy the existing report so we canot use ALV.

Regards

-


Channappa Sajjanar

Former Member
0 Kudos

Hi,

Try removing SKIP FIRST SCREEN because many times it creates a problem because it may be ur first screen.

Thanks & Regards,

Ruchi Tiwari

0 Kudos

Hi Ruchi,

thanks a lot for ur replay and sugestion . i cheked it but it is not working .

Regards

-


Channappa Sajjanar