Bapi/Fm to get all report program names
Hi All,
I need a BAPI or FM to get a list of all Z report program names in the repository.
I can do it through a select query , but it takes a lot of time and is effecting performance.
Thanks
Prafull
hI ,
you can use table
DATA: t_trdir TYPE STANDARD TABLE OF trdir,
t_tstc TYPE STANDARD TABLE OF tstc,
s_trdir TYPE trdir.
SELECT * FROM trdir
INTO TABLE t_trdir
WHERE ( name LIKE 'Z%' OR name LIKE 'Y%' )
AND subc = '1'.
regards
Deepak.
Similar Messages
-
How to find Transaction code from Report/program name ?
Dear all,
How to find Transaction code if i know Report/program name ?Hi,
In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
if any transaction is created for the program u can find it under the transaction folder.
revert back for further queries.
Regards,
Sravanthi -
Where can i get the report server name in Reports 10g
Where can i get my report server name in 10G ?
Thanks ..
When i opened the bat file :
i did not find any report server name ...
This is my file :-
@echo off
REM $Header: rwdiag.bat 13-may-2005.03:21:21 sunaraya Exp $
REM
REM rwdiag.bat
REM
REM Copyright (c) 2005, Oracle. All rights reserved.
REM
REM NAME
REM rwdiag.bat - rw diagnostic tool
REM
REM DESCRIPTION
REM Script to run the diagnostic tool used to locate servers / monitor packets on the network
REM
REM NOTES
REM Usage: rwdiag.bat -find <server name> | -findAll [-conf <config file>] [-timeout <timeout in sec>]
REM
REM Usage: rwdiag.bat -monitor [-log <logfile>] [-conf <config file>]
REM
REM MODIFIED (MM/DD/YY)
REM sunaraya 05/13/05 - Added rwrun.jar to the classpath for bug 4361664
REM sunaraya 04/22/05 - Provided execute permission to the script for bug 4323789
REM sunaraya 04/14/05 - sunaraya_bug-4221172
REM sunaraya 04/14/05 - Creation
REM
set ORA_HOME=C:\ORANT
if "%ORA_HOME%"=="" goto ERROR
set CLASSPATH=%ORAHOME%\jlib\zrclient.jar;%ORA_HOME%\reports\jlib\rwrun.jar
%ORA_HOME%\jdk\bin\java -DORACLE_HOME=%ORA_HOME% -classpath %_CLASSPATH% oracle.reports.utility.DiagServerLocator %*
goto END
:ERROR
echo "ORACLE_HOME is not set"
echo.
:END -
Fetch Report Program names for a given Package
Hi,
I need to fetch all the report program names for a given pakage. I tired TADIR table but couldnt fetch report details alone..
thanks,
sri
Moderator message: very basic, please do more own research before asking, e.g. look at a few TADIR entries of different object types, also discover the repository information system.
Edited by: Thomas Zloch on Feb 23, 2011 2:56 PMDan is right to be cautious, i've seen this cause problems.
It's not very difficult to make the chnages in BCS, and if you have a lot of them/frequent changes, you can always use create an upload method
and then make all future changes by .txt file -
Any standard BAPI available to get the project manager name or id
Hi all,
Any standard BAPI available to get the project manager name or id for the particular employee working on that project.
Regards,
SurjithI dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
HRCM_GET_ORGUNITS_FOR_MANAGER
Regards,
Amit
Reward all helpful replies. -
Function to get all the months name of a year from dual
HI GURUS
Is there any function to get all the months name of a year from dual
thanks in advanceWhat about this --
satyaki>
satyaki>select months_name
2 from (
3 select to_char(add_months(trunc(sysdate,'YEAR'),rownum-1),'MONTH') months_name
4 from dual
5 connect by rownum<=12
6 );
MONTHS_NAME
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
MONTHS_NAME
DECEMBER
12 rows selected.
satyaki>Regards.
Satyaki De. -
Hi Experts,
I have a very common requirement in SAP HCM ABAP development.
For an Org Unit, how do we get all Reporting Org units(Also employees reporting to the sub org unit) & Employees ?
I have tried using RH_STRUC_GET_MULTIPLE_ROOTS and RHPH_STRUCTURE_READ, but the evaluation path is insufficient to get all objects under it. I tried with both O-S-P and O-O-S-P evaluation paths and as per some constraints, I can’t create a customized evaluation path for a reason.
I am using PNPCE database for user selection screen and user would be advising the Org unit. I even referred the standard transaction ‘S_AHR_61016495’ which is using PCH logical database.
I would really appreciate if anyone could provide a solution for this. (Rewards guranteed )
Kindly help.
Thank you.
Regards,
Mahesh KonadeHi Alexandre,
Although I could not respond in time, thank you so much for your prompt reply.
I had used the same RHPH_STRUCTURE_READ and passed the appropriate values to it, but it did not populate the required results. I cross checked the results manually, may be some relations issue. But later I tried using RH_STRUC_GET_MULTIPLE_ROOTS and it worked fine.
Meanwhile I had done a workaround with PCH and RH_STRUC_GET and it served the purpose of getting all the Org units, it’s reporting sub-org-units, positions and persons (The deepest structure from the root org unit advised on selection screen).
The solution I used is, I captured the org-units advised on selection screen by user using PCH logical database and then by looping on sub-org units reporting to the main org-unit I populated related positions and persons holding them and assigned it to the PNPCE logical database.
Thank you so much for the help.
Regards,
Mahesh Konade -
How to get the report server name in Forms 10g.
How to get the report server name in Forms 10g.
I'm using the Application Server 10g 10.1.2.Hello,
I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
Francois -
I want to get all the user name form LOGIN table ... how help me ?
hi all
I have table in MS Access databse called Login with two coulmn (User, Password),
I want to get all the User Name in a string[] called USER,
(LIKE USER = {"AA","BB","CC",........"zz"};)
can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
so plz someone send me a code.
Thanx
Regards
SatinderI made something like this as He pasted the the code above and u know this works for me atleast thanx
kind regards
satinderjit
String User[] = new String[1000];
try
//Load Driver
Class.forName(driver);
// Make Connection
connection=DriverManager.getConnection(url,user,password);
// Create Statement
statement = connection.createStatement();
sql = "SELECT User FROM Login" ;
// Create Resultset
rs = statement.executeQuery(sql);
int j=0;
while(rs.next())
User[j]= rs.getString("User");
j=j+1;
for(int i=0 ;i<J;i++)
Form.C_Manager.addItem(User);
statement.close();
//rs.close();
connection.close();
catch(ClassNotFoundException cnfex) {
//show message
JOptionPane.showMessageDialog((Component) null,
"Failed to load driver..."+
"\n"+cnfex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(SQLException sqlex){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to connect to Database..."+
"\n"+sqlex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(ArrayIndexOutOfBoundsException e){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to Load User Name..."+
"\n"+e.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE); -
hi all
I have table in MS Access databse called Login with two coulmn (User, Password),
I want to get all the User Name in a string[] called USER,
(LIKE USER = {"AA","BB","CC",........"zz"};)
can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
so plz someone send me a code.
Thanx
Regards
SatinderWell, the biggest problem is that you don't know (probably) a head of time how many names are in the table.
So i'd first stuff them into a managed array such as ArrayList
So you'd
(1) Iterate over the resultset
(1.1) for each row call getString() on the user field
(1.1) call add on the ArrayList to add the string
(2) Call toArray on the ArrayList to convert it to a plain array
(NOTE: you will have to pass a String[] {""} arg as a parm to
toArray() to get the right type of array.) -
Script to get all the Server Names on Central Site in the SCCM 2007 Hierarchy
I want a script which will run on Central Site, and give all the SCCM server names in the hierarchy.
Thanks and Regards, Mohd Zaid www.techforcast.comDuplicated post of
http://social.technet.microsoft.com/Forums/systemcenter/en-US/97910cd5-8f8b-46a7-86fa-c00932571d0d/script-to-get-all-the-server-names-on-central-site-in-the-sccm-2007-heirarchy?forum=configmgrgeneral
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Getting all contact person names through XL Reporter
Hi All,
I am trying to get a list of all contact persons associated with a business partner.
I am having difficulty to pull all contact persons associated with a business partner. I am trying to get this information through the Report composer of XL Reporter.
When I drop the Business Partner and Contact Person dimensions from Business Partner tab into Report Composer and run the report, I only get Business Partner and just one contact person(the first contact person created for that BP).
I am trying to get all contact persons associated with that business partner. Is there something I am missing or is this the issue with XL Reporter.
Please let me know. Than you for your input.
Regards,
PayalHi Gordon,
Thank you very much. Yes, I know a query will work.
But, the customer is more inclined to get this information via XL Reporter. I just wanted to check if it is possible to achieve via XL Reporter and that I am missing anything.
Thank you,
Payal -
How can i get all java class names from a package using reflection?
hi,
can i get all classes name from a package using reflection or any other way?
If possible plz give the code with example.You can't, because the package doesn't have to be on the local machine. It could be ANYWHERE.
For example, via a URLClassLoader (ie from the internet) I could load a class called:
com.paperstack.NobodyExpectsTheSpanishInquisitionI haven't written it yet. But I might tomorrow. How are you going to determine if that class is in the package?
This subject comes up a lot. If you want to do something a bit like what you're asking for (but not quite) there are plenty of threads on the subject. Use google and/or the forum search facility to find them.
But the answer to your question, as you asked it, is "you can't do that". -
SQL Report Program Name Status
I have this report that I need to modify. The problem here is that some of our deployments uses the same program/package but different advertisement. For example, I have package "ABC version 1" with program name "Install ABC version 1".
For this particular package I have two advertisement namely "Deployment A - ABC" and "Deployment B - ABC". Now when I run the report below I am encountering the error:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression
I am encountering this error since I have two advertisement for a particular package/program. Is there a way I can use array on this report and how do I achieve this?
declare @Total int
declare @Accepted int
declare @AdvertID char(20)
--declare @OUname char(150)
set @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
select @Total=count(*), @Accepted=sum(case LastState when 0 then 0 else 1 end)
from v_ClientAdvertisementStatus
join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
select LastAcceptanceStateName as C013, count(*) as C015,
ROUND(100.0*count(*)/@Total,1) as C016, AdvertisementID, @OUname as AD_OU
from v_ClientAdvertisementStatus
join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
group by LastAcceptanceStateName, AdvertisementID
select LastStateName as C017, count(*) as C015,
ROUND(100.0*count(*)/@Accepted,1) as C016, AdvertisementID, @OUname as AD_OU
from v_ClientAdvertisementStatus
join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
where AdvertisementID=@AdvertID and LastState!=0 and ou.System_OU_Name0 = @OUname
group by LastStateName, AdvertisementIDset @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
Haven't tried running the query, but it seems as if this line might return more than one row which then will cause "where
AdvertisementID=@AdvertID" to fail. You could use the "having" clause instead:
http://technet.microsoft.com/de-de/library/ms180199.aspx or "where AdvertisementID in (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)".
Torsten Meringer | http://www.mssccmfaq.de -
STAD + Getting Web Dynpro program names with FM SAPWL_READ_STATISTIC_FILES
Hi, does anyone knows why I can't seem to get the report-names of a web dynrpo app with this FM?
Is there maybe an other FM with which I can get the results of transaction STAD?Hi,
they use different fields for web dynpro applications. Check note 1261535.
Cheers
Maybe you are looking for
-
"Media Services Are Not Available"
I'm new...trying to get my photos off of my Blackberry Curve 8520 , and put some music on my Blackberry. I just installed the Blackberry Desktop Software. On my Blackberry, under Options -> Memory I have Mass Storage Mode Support set to On, and Auto
-
How do I map to predefined fields? I am trying to convert our data to Business Contact Manager for Outlook 2010. I am working with Business Contacts. I have Account Number and Prefix that I want to map to Account Number and Prefix. I click on Account
-
Bluetooth disappears after mountain lion install
After install of Mountain Lion, Bluetooth disappears from system preferences. Worked fined before install. System now indicates bluetooth hardward not available.
-
How to install 8i on Windows ME?
I have Oracle8i Personal Edition CD, but I cannot install it on Windows ME.(setup starts, but won't go through) Can anyone help me? Thanks a lot.
-
Need to take cost center assessment cost to product
Dear All, We have product costing activated in our system. We are taking Raw material , packing material cost from Material master. where as activity cost based on different activity type defined on relevant work center / resource based on certain fo