‎2008 Jun 23 10:24 AM
‎2008 Jun 23 10:27 AM
‎2008 Jun 23 10:34 AM
Hi Syed,
From trdir i doesnot show you the list of main programs when you give the include program name.
Please let me know as soon as possible.
regards,
aadi.
‎2008 Jun 23 10:36 AM
chk in table TADIR
Reward points if the ans is helpful...
Regards
Rudra
‎2008 Jun 23 10:35 AM
Use FM RS_GET_MAINPROGRAMS to get all main program name for a include.
perform search_mainprog using prog frameprogram.
----
FORM SEARCH_MAINPROG *
----
Liefert zu einem INCLUDE den Namen des Hauptprogramms *
----
-> PROGNAME *
<- MAINSOURCE *
----
form search_mainprog using progname mainprog.
data: begin of maintab occurs 5,
name(8),
end of maintab.
call function 'RS_GET_MAINPROGRAMS'
exporting
name = progname
tables
mainprograms = maintab
exceptions
cancelled = 01.
read table maintab index 1.
mainprog = maintab-name.
endform. "SEARCH_MAINPROG
‎2008 Jun 23 10:41 AM
I know that table, however:
"Total Questions: 25 (25 unresolved)"
‎2008 Jun 23 12:41 PM
Hi Thomas,
Can you please tell the name of the table from which we can get the list of main programs of an include program.
regards,
aadi.
‎2008 Jun 23 12:58 PM
hi,
D010INC - Where-Used Table for ABAP INCLUDEs.
reward points and close the thread.
Thomas didnt tell u the answer because in all ur previous threads u didnt assign points and didnt close any thread.
‎2008 Jun 27 8:15 AM
Hi Gautham,
The reason for not rewarding points is that i didnot get the answer from any one and once i get the answer then i will close. Now i got the answer from you so i rewarded the points and how can i close this untill i get the answer.
Please forgive me if i say any thing by mistake.
regards,
aadi.
‎2008 Jun 27 8:18 AM
hi,
i didnt find any of the reply messsages with points .
to whom did u reward ?
‎2008 Jun 23 10:57 AM
Hi,
To get main program name:
RS_GET_MAINPROGRAMS
call function 'RS_GET_MAINPROGRAMS'
EXPORTING
name = <include name>
TABLES
mainprograms = <table>
EXCEPTIONS
cancelled = 1
others = 2.
endselect.
to get include names:
RS_GET_ALL_INCLUDES
Regards
Adil
‎2008 Jun 23 12:58 PM
Hi aditya,
Check this table D010INC,
give your include name as input and see.
Regards
Adil
‎2008 Jun 23 1:03 PM
Hi,
Reports:
RSRSCAN1 - Search source code for a given string. Will also search includes. Also see RKCTSEAR and RPR_ABAP_SOURCE_SCAN.
Reward if useful.
Regards,
Raj.
‎2008 Jun 26 11:23 AM