2006 Dec 05 6:36 AM
could plz give me detailed description regarding AT LINE-SELECTION,
MY QUESTION IS : CAN WE CALL ANY TRANSACTION BY USING : AT LINE-SELECION
COULD U EXPLINE IT
2006 Dec 05 6:38 AM
hai
at line-selection is the list event.
if u want to navigate from basic list(i.e initial list 1) to secondary list(20).
u will be using this.
2006 Dec 05 6:40 AM
This event is processed whenever the user chooses a valid line in the list (i.e. a line generated by statements such as WRITE,ULINE, or SKIP) with the cursor and presses the function key which has the function PICK in the interface definition. This should normally be the function key F2, because it has the same effect as double-clicking the mouse, or clicking once in the case of a hotspot.
The processing for the event AT LINE-SELECTION usually generates further list output (the details list) which completely covers the current list display. If you want the current list display to remain visible (to aid user orientation), you can do this with the key word WINDOW.
2006 Dec 05 6:41 AM
Yes u can cal a transaction at line selection event.
run this code and see for more information.
START-OF-SELECTION.
WRITE 'Basic List'.
AT LINE-SELECTION.
WRITE 'Secondary List'.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-lsind.
WHEN 1.
call transaction 'SE16'.
WHEN 2.
call transaction 'SE11'.
WHEN OTHERS.
WRITE: 'Secondary List, Level:', sy-lsind.
ENDCASE.
ULINE.
2007 Jan 02 10:21 AM
2006 Dec 05 6:47 AM
Hi,
You acn use ant number of transactions or call any number of screens,
U see the following example:
IF FIELDNAME = 'MAT_MRP-PAST3'.
CALL SCREEN 1001 STARTING AT 6 15
ENDING AT 60 24.
***********Open Tran. MD04(Mat. Requirements)******
ELSEIF FIELDNAME = 'MAT_MRP-OMENG'.
PERFORM OPEN_MD04 USING MAT_MRP-MATNR.
ELSEIF FIELDNAME = 'MAT_MRP-OMENG1'.
PERFORM OPEN1_MD04 USING MAT_MRP-MATNR.
***********Open Tran. MMBE(Mat. Stock)*************
ELSEIF FIELDNAME = 'MAT_MRP-CLABS'.
PERFORM OPEN_MMBE USING MAT_MRP-CLABS.
***********Open Tran. MM03(Mat. Master)************
ELSEIF FIELDNAME = 'MAT_MRP-MAKTX'.
PERFORM OPEN_MM03 USING MAT_MRP-MATNR.
ELSEIF FIELDNAME = 'MAT_MRP-CUSNO3'.
CALL SCREEN 1003 STARTING AT 6 15
ENDING AT 63 28.
ELSEIF FIELDNAME = 'MAT_MRP-CUSNO6'.
CALL SCREEN 1003 STARTING AT 6 15
ENDING AT 63 28.
ELSEIF FIELDNAME = 'MAT_MRP-CUSNO12'.
CALL SCREEN 1003 STARTING AT 6 15
ENDING AT 63 28.
******Open latest purchase order********************************
ELSEIF FIELDNAME = 'MAT_MRP-EINDT' OR FIELDNAME = 'MAT_MRP-MENGE1' OR
FIELDNAME = 'MAT_MRP-NETWR'.
PERFORM OPEN_ME23N USING MAT_MRP-EBELN1.
ELSEIF FIELDNAME = 'MAT_MRP-INCOM'.
PERFORM OPEN2_MD04 USING MAT_MRP-MATNR.
ENDIF.
Rgds,
Rajesh.
2006 Dec 05 6:47 AM
Hi Rajesh,
use this logic,
AT LINE-SELECTION.
GET cursor position.....
set parameter id <SO or PO> to PID.
CALL Tranasction <Tname> and skip first screen.
Hope thsi works out.
Thanks,
Prashanth
2006 Dec 05 8:26 AM
Hi rajeshreddy,
1. The program will display
SE11
SE38
SE37
2. DOUBLE-CLICK on any of the above line.
3. It will OPEN UP THE TRANSACTION.
4. Just copy paste.
5.
report abc.
DATA : TCD(35) TYPE C.
*----
Main List
WRITE 😕 'SE11'.
WRITE 😕 'SE38'.
WRITE 😕 'SE37'.
*----
AT LINE-SELECTION.
TCD = SY-LISEL.
CALL TRANSACTION TCD.
regards,
amit m.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |