Skip to Content
0
Former Member
Dec 07, 2009 at 05:55 AM

at line-selection event triggering issue?

28 Views

hi,

I am working on a interactive report using at line-selection event, in that i have 3 list & now on 4 list i have to perform a BDC operation,for that I have used the PF-STATUS syntax, & at user command code.

but for this particular list my at user command is not working properly. if 1 clk on a record its move to nxt action,but it shd happen when i clk on a record & than press the icon for action set by PF STATUS.

Code is below:

WHEN '3'.

SET PF-STATUS 'Z203'.

LOOP AT itab4.

AT FIRST.

WRITE:/1 'Material' ,8 'Descp'.

ENDAT.

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

ENDLOOP.

ELSE.

WRITE:/ 'No Data Found'.

ENDIF.

ENDCASE.

AT USER-COMMAND.

CASE sy-ucomm.

WHEN 'CALL'.

PERFORM bdc_mm02.

pls tell how to use it.

reds

Vipin