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

at line-selection & at user-command event issue

Former Member
0 Likes
403

hi

i am working on a interactive report,with at line & at user command event,on list 3 i have used a pf status,to trigger the at user command event,till that i was working with at line selection,which are working fine,but on list 3,i am able to see my pf status,but at user command event is not working properly,its still working like at line selection event,if i clk on record,it take to for nxt action,which i want to do through the action button of pf status.

In debugging i checked that it coming to at user command,but the action in sy-user is 'PICK' & its doing the operation.

WHEN '3'.

IF itab4[] IS NOT INITIAL.

SET PF-STATUS 'Z203'.

LOOP AT itab4.

AT FIRST.

WRITE:/1 'Material' ,18 'Name'.

ENDAT.

WRITE:/1 itab4-matnr,8 itab4-maktx.

HIDE:itab4-matnr.

ENDLOOP.

ELSE.

WRITE:/ 'No Data Found'.

ENDIF.

ENDCASE.

BREAK-POINT.

AT USER-COMMAND.

CASE sy-ucomm.

WHEN 'CALL'.

PERFORM bdc_mm02.

ENDCASE.

pls tel me how to use at line selection & at user command in same report to make both events working efficiently.

regds

vipin

hi

i am working on a interactive report,with at line & at user command event,on list 3 i have used a pf status,to trigger the at user command event,till that i was working with at line selection,which are working fine,but on list 3,i am able to see my pf status,but at user command event is not working properly,its still working like at line selection event,if i clk on record,it take to for nxt action,which i want to do through the action button of pf status.

In debugging i checked that it coming to at user command,but the action in sy-user is 'PICK' & its doing the operation.

WHEN '3'.

IF itab4[] IS NOT INITIAL.

SET PF-STATUS 'Z203'.

LOOP AT itab4.

AT FIRST.

WRITE:/1 'Material' ,18 'Name'.

ENDAT.

WRITE:/1 itab4-matnr,8 itab4-maktx.

HIDE:itab4-matnr.

ENDLOOP.

ELSE.

WRITE:/ 'No Data Found'.

ENDIF.

ENDCASE.

BREAK-POINT.

AT USER-COMMAND.

CASE sy-ucomm.

WHEN 'CALL'.

PERFORM bdc_mm02.

ENDCASE.

pls tel me how to use at line selection & at user command in same report to make both events working efficiently.

regds

vipin

1 REPLY 1
Read only

Former Member
0 Likes
354

Check whether you have assigned Function Key F2 to your function code 'CALL'. If so change that function key. The function key F2 is always linked to function code 'PICK'.

Regards

Sathar