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

Transferring data using interactive lists

Former Member
0 Likes
315

can anybody explain how to transfer data using interactive list with a good example. points would be rewarded.

regards,

sri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
298

Hi,

If you are using non-alv report..Then

Use HIDE..and then use SET PARAMETER..

Ex..



DATA: ITAB TYPE STANDARD TABLE OF MARA WITH HEADER LINE.

* Get the data.
SELECT * FROM MARA 
              UP TO 10 ROWS
              INTO TABLE ITAB. 

* Display
LOOP AT ITAB.
  WRITE: / ITAB-MATNR.
  HIDE ITAB-MATNR.
ENDLOOP.

AT LINE-SELECTION.

* Go to MM03 when double clicked on the line.
  IF SY-UCOMM = 'PICK'.

    SET PARAMETER 'MAT' FIELD ITAB-MATNR.
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

  ENDIF.

Thanks

Naren

1 REPLY 1
Read only

Former Member
0 Likes
299

Hi,

If you are using non-alv report..Then

Use HIDE..and then use SET PARAMETER..

Ex..



DATA: ITAB TYPE STANDARD TABLE OF MARA WITH HEADER LINE.

* Get the data.
SELECT * FROM MARA 
              UP TO 10 ROWS
              INTO TABLE ITAB. 

* Display
LOOP AT ITAB.
  WRITE: / ITAB-MATNR.
  HIDE ITAB-MATNR.
ENDLOOP.

AT LINE-SELECTION.

* Go to MM03 when double clicked on the line.
  IF SY-UCOMM = 'PICK'.

    SET PARAMETER 'MAT' FIELD ITAB-MATNR.
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

  ENDIF.

Thanks

Naren