Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in Set parameter ID

Dear Abapers,

I have developed an ALV report where when double click on a

Process Order number the report will call a standard TRANSACTION

COR3 using call transaction method. I have use the following

attached code to do the same. But the report always takes the

first selected Process Order value in the cor3 transaction.

Whenever i click on any other process Order number it always take

the first click value.

But i have checked that the parameter ID field is taking the

correct value.. But in the program it is not taking, it only

takes the first clicked value from the alv report.

FORM user_cor3 USING u_ucomm LIKE sy-ucomm

us_selfield TYPE slis_selfield.

IF us_selfield-fieldname = 'AUFNR'.

DATA: i_aufnr LIKE AFKO-aufnr.

READ TABLE i_final INDEX us_selfield-tabindex.

IF SY-SUBRC = 0.

i_aufnr = i_final-aufnr.

CASE u_ucomm.

WHEN '&IC1'.

SET PARAMETER ID 'ANR' FIELD i_aufnr .

CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN .

ENDCASE.

ENDIF.

ENDIF.

ENDFORM.

"USER_COR3

Former Member
Not what you were looking for? View more on this topic or Ask a question