2007 Aug 10 7:24 AM
hi all,
I have one list box,in which iam having my all programme list.
my problem is that when i select any programme from list,it should be open into abap editor.
thank you.
hi all,
I have one list box,in which iam having my all programme list.
my problem is that when i select any programme from list,it should be open into abap editor.
thank you.
2007 Aug 10 7:28 AM
Hi!
Try these:
1. Fill your program name into parameter ID 'RID'.
zmyprogramname = 'ZMYPROGRAM'.
SET PARAMETER ID 'RID' FIELD zmyprogramname.
2. CALL TRANSACTION 'SE38' AND SKIP FIRST SCREEN.
It has to work.
Regards
Tamás
Message was edited by:
Tamás Nyisztor
2007 Aug 10 7:28 AM
u can do this by using following code
DATA: BDCDATA TYPE TABLE OF BDCDATA.
DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
DATA: PROGRAM LIKE SY-REPID,
WA_BDCDATA TYPE BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPMS38M'.
WA_BDCDATA-DYNPRO = '0100'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'RS38M-PROGRAMM'.
WA_BDCDATA-FVAL = PROGRAM.
APPEND WA_BDCDATA TO BDCDATA.
...
CALL TRANSACTION 'SE38' USING BDCDATA MODE 'N'
MESSAGES INTO ITAB.
u can change here mode as 'A'
don't forget to reward
Sameer
2007 Aug 10 7:28 AM
Have a look at how the DWDM transaction does this when you click on the Source Code button... it calls the RS_TOOL_ACCESS function module with
operation = 'SHOW'
object_name = node-text1 "program name
object_type = node-type "'PROG'
You can also use "EDIT" as an operation/
Hope this is what you wanted...?
2007 Aug 10 7:29 AM
2007 Aug 10 7:30 AM
also u can use FM "RS_TOOL_ACCESS"
on selecting a particular object from list call this FM.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |