How to generate report in a predefined naming convention for output file
Hi Expert
I have devloped one report in which i am getting the output as my required way.
Now I need to name my report output in WCO.PM_sto.13-06-2011 format.
where WCO is constant for all report output
PM_sto is the parameter for which the report got generated
and next part is the date of generation of the report.
Each section is connected in a '.' in between them.
Kindly let me know how can i achieve this.
Regards
Srikant
If you are bursting the report,
then you have flex to change and do what you asked for, you got to do it in Bursting query.
Similar Messages
-
Whats most common naming convention for MP3s (what does iTunes store use?)
Trying to organise all my tags and music.
I am using iTunes and some other tag (tag%rename) WMP etc, as some seem to not show all the tgs of other programs)
However what is the generalised, most common naming convention for MP3 files?
ie. track no, Album, artist etc.
Also Ive never bought music from iTunes store yet, only got podcasts and stuff, but when you do , what is the filename convention they use please?
cheers
Mac OS X (10.5) iMac 20" 2Ghz (1st ever Mac Comp)iTunes has no automatic tag look up function for anything other than CDs (through GraceNote). I import a lot of mp3s (legally obtained) that need tweaking. Also, GraceNote doesn't provide lyrics. If I just need to edit a couple of tracks, the iTunes interface is fine. But for bulk adding of artwork or searching for release dates or lyrics, I use MpFreaker. I find it works best if you do small batches and keep an eye on what it comes up with. Sometimes, well, rarely, it's way off base.
There may be better utilities out there but MpFreaker was recommended to me by someone I trust who spends a lot of time reviewing such things and it works for me so I haven't looked for anything else. You might find more reviews of other software at www.ilounge.com
Best of luck. -
How to generate report with dynamic variable number of columns?
How to generate report with dynamic variable number of columns?
I need to generate a report with varying column names (state names) as follows:
SELECT AK, AL, AR,... FROM States ;
I get these column names from the result of another query.
In order to clarify my question, Please consider following table:
CREATE TABLE TIME_PERIODS (
PERIOD VARCHAR2 (50) PRIMARY KEY
CREATE TABLE STATE_INCOME (
NAME VARCHAR2 (2),
PERIOD VARCHAR2 (50) REFERENCES TIME_PERIODS (PERIOD) ,
INCOME NUMBER (12, 2)
I like to generate a report as follows:
AK CA DE FL ...
PERIOD1 1222.23 2423.20 232.33 345.21
PERIOD2
PERIOD3
Total 433242.23 56744.34 8872.21 2324.23 ...
The TIME_PERIODS.Period and State.Name could change dynamically.
So I can't specify the state name in Select query like
SELECT AK, AL, AR,... FROM
What is the best way to generate this report?SQL> -- test tables and test data:
SQL> CREATE TABLE states
2 (state VARCHAR2 (2))
3 /
Table created.
SQL> INSERT INTO states
2 VALUES ('AK')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('AL')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('AR')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('CA')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('DE')
3 /
1 row created.
SQL> INSERT INTO states
2 VALUES ('FL')
3 /
1 row created.
SQL> CREATE TABLE TIME_PERIODS
2 (PERIOD VARCHAR2 (50) PRIMARY KEY)
3 /
Table created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD1')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD2')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD3')
3 /
1 row created.
SQL> INSERT INTO time_periods
2 VALUES ('PERIOD4')
3 /
1 row created.
SQL> CREATE TABLE STATE_INCOME
2 (NAME VARCHAR2 (2),
3 PERIOD VARCHAR2 (50) REFERENCES TIME_PERIODS (PERIOD),
4 INCOME NUMBER (12, 2))
5 /
Table created.
SQL> INSERT INTO state_income
2 VALUES ('AK', 'PERIOD1', 1222.23)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('CA', 'PERIOD1', 2423.20)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('DE', 'PERIOD1', 232.33)
3 /
1 row created.
SQL> INSERT INTO state_income
2 VALUES ('FL', 'PERIOD1', 345.21)
3 /
1 row created.
SQL> -- the basic query:
SQL> SELECT SUBSTR (time_periods.period, 1, 10) period,
2 SUM (DECODE (name, 'AK', income)) "AK",
3 SUM (DECODE (name, 'CA', income)) "CA",
4 SUM (DECODE (name, 'DE', income)) "DE",
5 SUM (DECODE (name, 'FL', income)) "FL"
6 FROM state_income, time_periods
7 WHERE time_periods.period = state_income.period (+)
8 AND time_periods.period IN ('PERIOD1','PERIOD2','PERIOD3')
9 GROUP BY ROLLUP (time_periods.period)
10 /
PERIOD AK CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
1222.23 2423.2 232.33 345.21
SQL> -- package that dynamically executes the query
SQL> -- given variable numbers and values
SQL> -- of states and periods:
SQL> CREATE OR REPLACE PACKAGE package_name
2 AS
3 TYPE cursor_type IS REF CURSOR;
4 PROCEDURE procedure_name
5 (p_periods IN VARCHAR2,
6 p_states IN VARCHAR2,
7 cursor_name IN OUT cursor_type);
8 END package_name;
9 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY package_name
2 AS
3 PROCEDURE procedure_name
4 (p_periods IN VARCHAR2,
5 p_states IN VARCHAR2,
6 cursor_name IN OUT cursor_type)
7 IS
8 v_periods VARCHAR2 (1000);
9 v_sql VARCHAR2 (4000);
10 v_states VARCHAR2 (1000) := p_states;
11 BEGIN
12 v_periods := REPLACE (p_periods, ',', ''',''');
13 v_sql := 'SELECT SUBSTR(time_periods.period,1,10) period';
14 WHILE LENGTH (v_states) > 1
15 LOOP
16 v_sql := v_sql
17 || ',SUM(DECODE(name,'''
18 || SUBSTR (v_states,1,2) || ''',income)) "' || SUBSTR (v_states,1,2)
19 || '"';
20 v_states := LTRIM (SUBSTR (v_states, 3), ',');
21 END LOOP;
22 v_sql := v_sql
23 || 'FROM state_income, time_periods
24 WHERE time_periods.period = state_income.period (+)
25 AND time_periods.period IN (''' || v_periods || ''')
26 GROUP BY ROLLUP (time_periods.period)';
27 OPEN cursor_name FOR v_sql;
28 END procedure_name;
29 END package_name;
30 /
Package body created.
SQL> -- sample executions from SQL:
SQL> VARIABLE g_ref REFCURSOR
SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2,PERIOD3','AK,CA,DE,FL', :g_ref)
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
1222.23 2423.2 232.33 345.21
SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2','AK,AL,AR', :g_ref)
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK AL AR
PERIOD1 1222.23
PERIOD2
1222.23
SQL> -- sample execution from PL/SQL block
SQL> -- using parameters derived from processing
SQL> -- cursors containing results of other queries:
SQL> DECLARE
2 CURSOR c_period
3 IS
4 SELECT period
5 FROM time_periods;
6 v_periods VARCHAR2 (1000);
7 v_delimiter VARCHAR2 (1) := NULL;
8 CURSOR c_states
9 IS
10 SELECT state
11 FROM states;
12 v_states VARCHAR2 (1000);
13 BEGIN
14 FOR r_period IN c_period
15 LOOP
16 v_periods := v_periods || v_delimiter || r_period.period;
17 v_delimiter := ',';
18 END LOOP;
19 v_delimiter := NULL;
20 FOR r_states IN c_states
21 LOOP
22 v_states := v_states || v_delimiter || r_states.state;
23 v_delimiter := ',';
24 END LOOP;
25 package_name.procedure_name (v_periods, v_states, :g_ref);
26 END;
27 /
PL/SQL procedure successfully completed.
SQL> PRINT g_ref
PERIOD AK AL AR CA DE FL
PERIOD1 1222.23 2423.2 232.33 345.21
PERIOD2
PERIOD3
PERIOD4
1222.23 2423.2 232.33 345.21 -
How to generate report for Service sheet - ECC 6.0
Hi
Can anyone let me know regarding how to generate reports for service sheets entered
regards
SanjayHi,
Get Service Entry Sheet with following T.codes:
1.MSRV6
2.ML84
Regards,
Biju K -
Hi
how to generate reports of registered IP handsets and their corresponding extension on call manager 4.2.3
I checked the route plan report and the generate report function on the BAT.. however it doesnt has the feature to generate only the registered IP phone with its coresponding extension
Thanks
Kind regards
RachelCall manager provides the called party with the extension or directory number of the calling party on a display. You can use the Calling Line ID Presentation field in the Gateway Configuration window to control whether the CLID displays for all outgoing calls on the gateway.Refer URL
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a008070e48b.html#wp1051056 -
Naming conventions for Members
Hi,
Is there any naming convention for dimension members? To be more specific, can I create a member called 'Current' or would this affect the keyword current used for reporting and hence not allowed?
ShehzadHi,
I have an application in which there is a member called 'Current' in the Version dimension. Whenever I deploy the application this member is never created in the first iteration. If I redeploy the application and refresh the dimensions, this member is then created.
Now in a further enhancement of the application, there are some Account members that have a reference to this member in their Member Formula's. Since in the first iteration this member isn't created, the dependent members also fail with an error and the application doesn't deploy.
Is there a fix around for this?
Shehzad
Off the top of my head, I imagine that I can deploy the previous version. Redeploy it to make sure 'Current' is created. Update the dimension library with the enhanced version of the application and redeploy again. This seems like a really cumbersome process, so I would love to know how I can ensure that this member gets created in the first go! -
PO Naming Convention for specific company code
Hi experts!
Is there any way to know this PO naming convention is belongs to which company code?
For eg: PO naming convention starts with 600*******.
How will i know which company code is using the naming convention for their purchase order?
Please help.
Thanks.
CrystalHi Crystal,
Naming convention is based on document type not company code :
Refer the below customsing path:
SPROMaterials ManagementPurchasingPurchase Order--Define Document Types
SPROMaterials ManagementPurchasingPurchase Order--Define Number Ranges
Regards
Ramesh Ch -
Can anyone tell me the naming conventions for PSa tables
hi all,
After the data is loaded into the psa. how to look at the records that are there in psa. And can anyone tell me the naming conventions for psa tables.
like BIC/????
thanxs in advance
regds
hariHi Hari,
You want to know the naming convention of PSA table. For that there is a simple technique try this.
Go to - T code SE11
In the database table check box give /BI* and click search
next window in the Description Text box give the r data source name(master) like
YIO_ID_ATTR which is assigned to infosource. then click OK.
then you get the psa table structure.
You can take structure and check in the T code SE 11
Hope this is fine.
Regards
Sreekanth -
Oracle Recomanded Naming Conventions for SOA
Hi,
We are working on a 12i implementation project using SOA (BPEL) for interface development and Oracle Data Integrator for conversion. Could you please let us know about oracle recomanded naming conventions for
1. Adapter Service
2. Adapter Connection Factories
3. Routing Services
4. XSD Files
5. XSL Transformation Files
6. ...etc
Is there any oracle corporation provided naming conventions document on these? If so please let us know. Your quick help would be highly appreciated.
RegardsIf the names are meaningful (which will depend on what objects are in the different schemas) and the underlying architecture is reasonable, then the naming convention would be a good practice.
- How do the objects in the ABC schema relate to the objects in the ABC_ADMIN schema?
- What, exactly, does the _ADMIN suffix indicate?
My unfounded guess is that you have two related schemas because you're creating one schema that owns the objects and another schema that has restricted access to those objects (ideally just via procedures, functions, and views) for applications to use to log in. If that's the case, it's not obvious to me which of ABC and ABC_ADMIN would own the objects for the ABC application. But if you're actually separating the objects for other reasons, then _ADMIN may make perfect sense.
Justin -
Naming convention for Swing components?
What are the official naming conventions for Swing components such as JButton, JFileChooser and so on?
I know that "btn" is used for JButton variables. But where is a official list for all the prefixes?Well, if you unpack src.jar and consult the component classes you'll find how they set up their names.
You can also call setName yourself to set a different name.
- David -
How do you create a save as default folder for MP3 files used Captivate text to audio voices files?
Hi Ed
Thank you for contacting me, however I already know how to save text to
audio files via timeline using the Export feature.
So my question was not entirely clear and I apologize for that. To explain
further, whenever I save a text to audio file, captivate takes me to a
default save as folder where I then have browse back to my production
folder where I am keeping all my Txt to Aud files. This is very tedious
process when you have alot of files to save. So my question was is there a
way to configure captivate so I can make my production folder the default
file for whenever I save a Txt to Audio file through Export feature that
the system automatically takes me to that production folder, and I am
spared the long tedious process of saving the file manually to the
prodcution folder I want.
I have copy the pathway to the production folder in the URL filed in the
Save As dialoge box and that workaround as cut the work down but I still
have to paste that URL field to point the file to the right folder. So it
would be nice if I could do everything automatically. Microsoft makes this
capability in their MS Office applications, so I was thinking Adobe might
do the same thing. Your help with this would be appreicated,
Thanks
Merrill Roberts
Sr. Training Specialist
SunGard Availability Services
Direct 925-831-7730
Mobile:415-215-9280 -
Naming convention for packages and classes
Hi all,
Is there any naming conventions for packages and classes which uses a design pattern ?. If yes what are the conventions used for business delegate,session facade, service locator,DAO and any other patterns.
rgds
Anto PaulHi,
that is a good question and one we have considered also. We dont yet cover the naming conventions for classes based on patterns but maybe will in the future. Currently, in the blueprints apps we tend to do some things like naminga class
-AccountDAO etc for DAOs
-For servicelocator we have a class called ServiceLocator viewable at https://adventurebuilder.dev.java.net/source/browse/adventurebuilder/ws/components/servicelocator/src/java/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java?rev=1.4&content-type=text/vnd.viewcvs-markup
-for session facade, its a bit trickier since the name is so long and we cant add "SessionFacade" to the end of each facade class. I think in general we put "Facade" in the name, usually near the end
-For Business Delegat, again it seems too long to add to each class name. So in the past we have added
a "BD" to the names of the delegates. Some examples are at http://java.sun.com/blueprints/patterns/BusinessDelegate.html
-For transfer objects we usually add a TO to the end of the name. Some examples at http://java.sun.com/blueprints/patterns/TransferObject.html
Seems like something we could get a bit more consistent about.
hope that helps,
Sean -
Naming Convention for path in Application Server
Hello Guru's,
I asked my basis team to create flat file source system. he asked me " what path to follow, any sub directories"?.
they are asking me naming convention for a path in App server to create i think ? usually what will be the naming convention for path.
please help me
Thanks,
PrashanthHi,
Create flatfile source system is no need path and sub directory on app server. You can create yourself go TCODE RSA1>Source system>file-->create.
path and sub directory only need if you want to load data from flatfile which is stored in application server. This will be determined in extraction tab of your datasource and infopackage.
Hope this helps.
BR
TRUC -
Code Inspector - Naming conventions &mExtended Naming conventions for Progs
Hi experts,
I had a look into the naming conventions enforced by 'DEFAULT' variant of code inspector (SCI).
the relevant categories are: "Naming Conventions", and "Extended Naming conventions for Programs" under "Programing conventions".
in the "Extended Naming conventions for Programs" category, for functions, (applicable while calling the functions) it says,
importing parameter : I[:type:]_
exporting parameter : E[:type:]_
changing parameter : C[:type:]_
tables parameter : T[:type:]_
but in the "naming conventions" category, for functions (applicable while defining the functions), it says,
importing parameter : P_*
exporting parameter : P_*
changing parameter : P_*
tables parameter : P_*
I felt, while defining the function too, its better to have beginning with I_, E_, C_ or T_ instead of P_
is the 'DEFAULT' variant of code inspector is provided and recommended by SAP?
for easier maintenance and clearer understanding, which naming convention is more suitable, or is there any official guidelines released by SAP for ABAP developers.
appreciate the opinions from experienced abap developers.
thanks,
Madhu_1980Frank,
Thanks for your answer.
But what about Entity Objects, View Objects, View Links, and Application Modules.
I would like my developers to have an easy way to name them and also find them via intellisense.
So I was thinking in naming them the following way :
Entity Objects :
EO_Employee
EO_Department
View Objects :
VO_Employees
VO_Departments
View Links :
VL_EmployeesToDepartments
Application Module :
AM_HRService
However the use of "_" is not so "Java naming oriented".
So other alternatives would be:
1. take the "_" :
1.1 EOEmployee (I don't like the fact of having 3 capital letters together).
1.2 EoEmployee (I don't like the fact of having Entity Object with a lowercase "o").
2. Use the prefix at the end, but this way I loose the intellisense feature I want:
ex: EmployeeEO
Which naming approach are you using for big projects ?
Thanks,
Claudio. -
Naming conventions for CMS tracks
Hello all,
i want to setup CMS for XI transports and create some naming conventions for track id, track name and track description. I studied the howto guides, help.sap.com and searched the forum but i still have no satisfying answer for some questions.
Repository Transports
As i read on a blog it would be a good idea to create separate tracks for each SWCV. To think about an unique name for track id and track name it's worth knowing if one SWCV can be assigned to more than one track. If not the SWCV would be sufficient to identify the track. Otherwise i have to add some prefix/suffix to make the track unique.
Directory Transports
For Integration Directory track there is only one SWC on CMS available, SAP-INTDIR. Is it possible to create two tracks on one CMS with SAP-INTDIR for supplying two independent XI lines with directory content? For example one track for XD1 -> XQ1 -> XP1 and another for XD2 -> XQ2 -> XP2. If so the SWC alone is again not sufficient to identify the track.
If anybody has already thought about naming track id and track name i would be pleased to hear about your approach.
Kind regards,
Frank OpitzExperts from the JDI forum might help you on this.
SAP NetWeaver Development Infrastructure (NWDI)
Maybe you are looking for
-
Exchange/Outlook 2007 and Oracle Calendar Collaboration
Hi Guys! I have a situation here in my incoming migration project. Is it really possible that an Oracle Calendar and Exchange/Outlook 2007 Calendar will collaborate or synchronize with each other? I only know that theres an Oracle Connector for Outlo
-
Just trying to build DBD-Oracle
here is the setup Oracle 8i on NT and I want to connect to the DB from Linux using perl. I tried to build DBD-Oracle but this fails b/c I need to have the client portion of oracle installed to build this. So I started fooling around trying to install
-
How do I see the front and back arrows on the left hand side of my macbook pro?
How do I see the front and back arrows on the top left hand side of my macbook pro?
-
Help!!! Problems re-installing CS2
Yesterday I was unable to open my Photoshop program. To remedy the problem, I decided to reload the software. Unfortunately, the installation disks will not let me check the boxes to install the software. I cannot install any portion of the program b
-
About XI installation components
Hi all: I've got IDES 6.0 installed on my computer, would you please give me a list about what else I should download from maket place? Couldn't thank you more.