Blank Column in Query
Hi There
Please advice me how to create a blank column in Query?
Thanks in advance..
Regards,
Chandu.
Hi
I don't have any IO's regarding that.I just need create a column with some description then user can fill with data.
How can i run that?
Thanks in advance.
Regards,
Chandu.
Similar Messages
-
How can i delete One Blank Column in my report
Hi guru's,
can any one tell me .........
i'm getting one Blank column in Query output.How can i delete that Blank Column ?
in the same way Row Also....
Thanking u advancely
ChandraHere is a site with some nice sample code on deleting rows / columns : [http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm|http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm]
As to where to put the code, edit your web template, then put the code in there. There are script web items that you can use, but be aware that editing javascript in the script item is not too pleasant. I have found the best approach is to rather create the javascript file on my machine, then upload it to the MIME repository, then reference that in the web template.
Here is how I have referenced the javascript file sitting in our MIME repository:
< script src="bwmimerep:///sap/bw/mime/Customer/javascript/CustomCalculations.js" />
I hope this helps you out.
Cheers,
Andrew
Edited by: Andrew Lewis on Jul 18, 2008 9:26 AM -
Layout in sql report gets disturbed in case of blank columns
Hi All,
I have an SQL report which runs from a concurrent program.
Problem is, if there are blank columns in the report then the data shifts to the left.
As shown in the below table, if column Attribute 4 is null then the data for Error column has shifted to the left. The words Incorrect Data should come under heading Error whereas it comes under Attribute4.
ASSET_NUMBER_REC ATTRIBUTE_CATEGORY_CODE ATTRIBUTE4 ERROR
316604 ABCD Incorrect Data
Can someone help me in correcting the report layout.
Regards,
ShrutiASSET_NUMBER_REC ATTRIBUTE_CATEGORY_CODE ATTRIBUTE4 ERROR
316604 ABCD Incorrect Data
Can someone help me in correcting the report layout.
Hi
SQL Report --- Do you mean SQL Query in such case,
Please use NVL function on all column, which will give you proper place result. -
How to replace # or Not assigned with blank in BEx Query Output.
Hi,
While running the query through BEx Query desginer or Anlayser, I am getting # or Not assigned where there are no values.
The requirement is to "Replace # or Not assigned with a blank" in the output.
I want to know, is there any setting in BEx query desginer where we can do this. How to do this.
Please share your inputs on this. Any inputs on this would be appreciated.
Thanks,
NaveenCheck out SDN-thread: "Re: Remove 'Not assigned'" for more details
Ideas from SDN research:
"a solution i have used is to put each RKF column in a CKF colum then in each CKF use RKF + 0, the outcome is that your # should now be 0s, in the query properties you can set the option to display 0s as blank."
"try to enter a text for the blank entry in the master data maintenance of the relevant objects and set the display option for the objects to 'text'."
Threads:
SDN: How to replace # or Not assigned with blank in BEx Query Output.
SDN: Re: Remove 'Not assigned
SDN: How to replace # or (Not assigned) with blank in BEx Query Output.
SDN: Bex Analyzer : Text element system's table ?
SDN: change message in web application designer ["nonavailable" -> 136 of SAPLRRSV]
SDN: Not Assigned ["Not Assigned -> 027 of SAPLRRSV]
SDN: replacing '#'-sign for 'not assigned' in queries
SDN: # in report when null in the cube
SDN: How to replace '#' with blank when there is no value for a date field
Edited by: Thomas Köpp on Sep 13, 2010 5:20 PM -
Display Blank Column in Bex Analyzer without Error
Hi Experts,
i have created a report with several columns.
To display the coorect descrition i use a new selecion and insert the required infoobject or Key Figure" it is ok.
Whe want to display two blank columns.
The problem i have is that there are some errors saying i should define thoses columns.
How to define a blank cloumn which is displaying the description but empty?
Thank you for your Input.
GiloInside the query designer there should be a "columns" section. Formulas can be configured either by:
- creating a structure (dragging a structure from the left or creating a new structure)...or....
- dragging a key figure from the left window pane over to the "columns" section.
- you could create a new calculated key figure or restricted key figure, but this is not necessary in our example.
Right click on the structure or Key Figures. There should be 2 options: New Selection or New Formula. We chose new formula, add appropriate text/heading/description and put a =0 in the formula box, prior to clicking OK. The wider the heading text, the wider the new blank column will look.
Then right click on the column you just created to change it's properties to = suppress result for both the "calculate result as" and the "calculate single values as".... -
Hi All,
How do I create a blank column with the column name in the report?
I tried with "structure-new selection" with the report name(Structure being Key Figures)- the system pops out an error message stating that it needs unique value for each cell.
Thanking in advance.Thanks Bhanu. It did work.
I did try query properties suppression zeroes for both rows and columns with Active =0 but it is not suppressing the zeroes.
Thanks again. -
Insert a Blank Column in the Results Area of a Workbook
Is it possible to insert a blank column in the results area of a WORKBOOK that does not get affected by free characteristic drill down or refreshing of the corresponding query? The current workbook looks like follows
Column A - Characteristic1
Column B - Characteristic2
Column C - KeyFigure1
Column D - KeyFigure2
Column E - KeyFigure3
Column F - KeyFigure4
The requirement is that the user wants to enter some estimates between Column B and Column C and Column D and Column E as follows
Column A - Characteristic1
Column B - Characteristic2
Column C - USER ENTRY
Column D - KeyFigure1
Column E - KeyFigure2
Column F - USER ENTRY
Column G - KeyFigure3
Column H - KeyFigure4
Column I - CALCULATIONS BASED ON USER ENTRY
First I tried to split the results area and save the workbook. But when the query is refreshed then the entire results area gets back in one piece. I succeeded partially by having a key figure with no possible output (i.e., restricting a non-existent value on a characteristic). Again in here, whatever user inputs will get wiped out with the drill down. Does any one have any pointers? Thanks.
ISHi IS,
As a nearly workaround I can suppose to do the following.
Create two identical requests.
In the first one hide the columns to the right from your intended new user column. In the second one - hide columns to left.
Knowing the columns number to be shown in each request you can place both request in the same row, but in different columns taking into account that between result areas should be one (or more) additional column.
Data entered by a user will not be wiped out during query refresh or drilldown. Of course, these user data will not conform drilldown operations. So, it is not 100% solution you want.
Another possibility, very hard to implement (if feasible at all), is to write VB code that will monitor user action and will keep data entered by a user somewhere in another sheet and restore them in proper cells after user action (drilldown). But I don't think such coding worth it.
Best regards,
Eugene -
Experts,
Can you please tell me how to remove blank columns in BW report.I tried to surpress in the properties of query ,but still displaying blank columns for periods.
Any suggestions greatly appreciated .
Regards
ManoBhanu,
My query got structure and periods.My query have completly empty columns AND some zero values and I tried to right click on Structure properties and check Zero surpress values ...
It is removing all blank columns as well as zero values .
I want to remove only blank columns.
Any suggestions ?
Thanks a lot
Regards
Mano -
Adding blank column in Oracel Answers OBIEE
Good morning.
I am attempting to add a 3 blank columns in OBIEE and then adding a formula to one of the blank columns to do a simple math calculation between 3 other columns. I used "CAST(Null as double)" in my column formula to make it a blank column and not pulll data from the field column that I added.
This is what I have so far:
Column1 formula = "Cast (Null as double)"
Column2 formula = "Cast (Null as double)"
Column3 formula = "Cast (Null as double)"
Column4 formula = data already included from the column that I added.
This is what i'm trying to do:
Column3 = (Column4 - Column1 + Column2) <----- In excel I would do something like "=D4-E4+F4" (example)
When I do my SUM function in OBIEE and try to add the columns, it pulls in "Cast(Null as double)" and not the actual column name that I custom edited.
Any help would be appreciate on how to add a blank column and add a simple calculation formula to calculate data from the blank columns once I export my report to excel.
Thank you,
Edited by: 970040 on Nov 7, 2012 8:24 AMThats correct. When I export the report I want to see blank values in the columns. so when I enter data into those blank fields on my excel spreadsheet, I want the totals column to calculate according to my formula specified. My issue is when I specify a null value in my columns in OBIEE, im unable to put a formula to calculate the values in my other columns.
This is what I have so far in OBIEE:
Column1 formula = "Cast (Null as double)"
Column2 formula = "Cast (Null as double)"
Column3 formula = "Cast (Null as double)"
Column4 formula = data already included from the column that I added with values.
This is what I’m trying to do:
Column3 = (Column4 - Column1 + Column2) <----- In excel I would do something like "=D4-E4+F4" (example)
How can I add a value to my column so that when I export it to excel, the column fields will have the formula already included such as "=D4-E4+F4" and also each row formula corresponding to the correct Row Number. -
I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedbackPDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
(see ISO 32000 for what PDF "is")
What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
Be well... -
How to avoid blank column display in output in ALV TREE
how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
Thanks for reply.
Edited by: morpeous on Jul 1, 2009 1:53 PMHi,
Check BCALV_TREE_02 on how to hide columns.
Thanks & Regards,
Anand Patil -
BIP report output in PDF and RTF generating some blank columns or � symbols
Hi Experts,
I am new to BIP. I have developed some BIP reports in 10.1.3.4.1 version which are working fine in Dev and UAT environment.
But it's generating some blank columns and some columns with proper data and some columns with"cellphone" kind of symbol in PDF and " �"
symbols in RTF in Prod environment.
In all the environments the version of BIP is same.
So any help in resolving this issue is appreciated.
Thanks in advance..
Regards,
Suresh.AAll of the complex report logic is handled in your Oracle Report (rdf) file.
If your Oracle report is working OK, then this report should be generating XML.
After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
For more information, see the following thread:
Enhancment to avoid 2 step check printing
HTH,
Mark K -
The issue with using the multiple columns sub-query in WHERE clause
Hi All,
my database version is 10.2.
the problem i am trying to deal with is that when I use multiple column sub-query in the WHERE clause of the SELECT statement, the actual row number returned from the sub-query is different from the whole statement.
And what I found is that, whenever there is NULL in any of those columns returned from the SUB-QUERY, the outer query will just return NULL for that whole row.
Here is an example:
select empno, ename, job, mgr, hiredate, sal, deptno from EMP
intersect
select empno, ename, job, mgr, hiredate, sal, deptno from t;
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT NULL 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
select * from EMP where (EMPNO, ENAME, job, MGR, HIREDATE, SAL, DEPTNO) in (
select empno, ename, job, mgr, hiredate, sal, deptno from EMP
intersect
select empno, ename, job, mgr, hiredate, sal, deptno from t);
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10 If I specifically deal with the NULL situations for the columns which might return NULL, I can get the result right.
select * from EMP where (EMPNO, ENAME, job, NVL(MGR,-1), HIREDATE, SAL, DEPTNO) in (
select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from EMP
intersect
select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from t);
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT null 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10 the problem is that, I feel this is a very lame way of handling it.
So, I wonder or am asking if there is any better or standard way to do it?
any help would be highly appreciated.
ThanksHi,
As you discovered, INTERSECT treats NULL as a value, but IN does not.
What you did with NVL is one way to handle the situation. If there was a chance that any of the columns could be NULL, then you might prefer something like this:
select *
from EMP
where ( EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
) in (
select EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
from emp
intersect
select EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
from t
);This assumes that you can identify some string (I used '~') that never occurs in the strings in these tables.
This is implicitly converting the NUMBERs. That's usually not a good thing to do. but explicitly converting them would make this even more tedious.
You should explicitly convert any DATEs to strings, however. Depending on your default format, and your data, you might get away with implicit conversions even for DATEs, but don't bet on it.
If you had to do this often, you might consider writing a user-defined function:
delimited_string (empno, ename, job, mgr, hiredate, sal, deptno) would return a string like
'7839~KING~PRESIDENT~~17-NOV-1981~5000~10'
This will make the coding easier, but beware: it will make the execution slower. -
Need to paint Excel,but have blank column.
After operated the excel, the excel file have many blank column.Now need to print the excel, but I don't want these blank column, any way to delete them or not show when print? Thank u .
>>Now need to print the excel, but I don't want these blank column, any way to delete them or not show when print
Hi
You can delete or hide the column before you print the worksheet using WorksheetFunction.CountA, CountA() method , counts the number of cells that are not empty and the values within the list of arguments. You may refer to this code:
Sub PrintSheet()
Dim col As Long, lastCol As Long, r As Range
lastCol = ActiveSheet.UsedRange.Columns(ActiveSheet.UsedRange.Columns.Count).Column
For c = lastCol To 1 Step -1
If WorksheetFunction.CountA(Columns(c)) = 0 Then
Columns(c).EntireColumn.Hidden = True 'Hide the Column'
' Columns(c).Delete ' Delete the column
End If
Next
Application.ScreenUpdating = True
ActiveSheet.PrintOut
End Sub
CountA method
https://msdn.microsoft.com/EN-US/library/office/ff838049.aspx?f=255&MSPPError=-2147217396
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Sorting blank column in jTable
Hi all,
I am having problem sorting blank columns.
I have already read thru [http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#sorting]
Using setAutoCreateRowSorter works except when sorting blank column as i want all blank column to be sorted to the bottom be it ascending or descending order.
I am using Comparator to do the sorting but how do I know when it is doing ascending or descending?
Edited by: zwseo on Jul 17, 2008 7:25 PMTableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(this.dataTable.getModel());
Comparator<String> comparator = new Comparator<String>() {
public int compare(String s1, String s2) {
if (s1.compareTo(s2) == 0) { // same string
return s1.compareTo(s2);
} else {
if (s1.trim().equals("") && !s2.trim().equals("")) //string 1 is null
//if ascending, return positve
return s1.compareTo(s2);
//if decending, return negative
//return s2.compareTo(s1);
else if (!s1.trim().equals("") && s2.trim().equals("")) //string 2 is null
//if ascending, return negative
return s2.compareTo(s1);
//if decending, return positive
//return s1.compareTo(s2);
else {
return s1.compareTo(s2);
this.dataTable.setRowSorter(sorter);I am not sure whether i am doing this right.... please help me on the comments part... i do not know how to write that if statement.
Maybe you are looking for
-
Saving multiple records at a time like the way it's done in picklist
I've to make a form using two T lists like the way it's done in picklist. The user can move elements either one by one or all at a time from one side to another and then save the record. I've made the basic thing using two t lists. But i'm unable to
-
Purchase Requisition created from Maintenance Order can not deleted
Hi Gurus, I've create a Maintenance Order for External Service (Control Key: PM02) and Purchase Requisition already created related to this Maintenance Order. But when I want to cancel/delete the Purchase Requisition, there is error message "This ite
-
Embedded fonts in SVG not working?
CS3, CS4 - is it just me, or is the SVG import really broken? even if I make a new file with Illustrator, save as SVG and choose to embed fonts, Illustrator still reports a missing font when I remove the font from the system and then try to open that
-
Pairing e71 with Bluetooth Headset
Just got an e71, but I can't pair it with my Sony Ericsson HBH-PV702 Bluetooth headset. I can pair with other mobiles, but it say that it can't find the device. Can anyone help me please.
-
When I download TV shows, I regularly get a message saying the Network Connection has Timed Out. Err: -3259. This will happen during a relatively quick download (with no interruption it takes about 25 mins), so I don't think it's the firewall. I keep