Remove zeros in LOVs of BW Infoobjects on Webi report
Dear Experts,
My BW infoobjects(0GL_ACCOUNT) showing preceding zeros in the BI4.1 WEBI Prompts LOVs, so user don't want the zeros and they need only values and also they compare BEx analyzer with BO since BEx analyzer LOVs shows only values without zeros.
Is there any function or setting either in BO or BEx designer to remove zeros in the BW infoobjects? so that in BO LOVs display only values without zeros.
Currently values is 0000123456 in BO LOVs and user want only 123456 as per BEx analyzer.
BEx query as semantic Layer
Platform: BI4.1 SP01
BW: BI7.3 SP6
Please help
Thanks in advance.
Regards
Karuppiah N
Hi
Try to make use of custome display fomrat option in business layer.
Find the below link for custome date format...same process for Numeric objects also
BI4.1 Business Layer Enhancements - Create Display Format
Similar Messages
-
Zero Rows suppression is not working in Webi report.
Hello Gurus,
I have created a Web' report on top of BEx query. I am getting the report with Zero values. I want to suppress the rows with Zero values. When I ran the same query in BEx it is suppressing the zeros. (I have the property to suppress the Zero values int he query as active). Why Webi report is not recoginizing the property of the BEx query.
Please advise.
Thanks,
Aruna..Hello,
I am facing the similar problem...I want to suppress 0 values in my report. I am using RDBMS - BOXI 3.1 SP1 (Reporting through Webi)
I have tried the above mentioned filter at Webi Level, but no luck.
Description p1 p2 p3
Wages 0 0 0
Exp 100 25 50
My requirement is the row, with all the columns with 0 should be suppressed.
Appreciate your help.
Thanks,
Anushka
Edited by: Anushka Bidesi on Aug 11, 2010 11:38 AM -
Remove Zeroes in Sales Quotation PLD
Hi Members,
I have designed the sales quotation PLD in which i have configured for two decimal places.
If i use suppress zeroes option in PLD, The decimal places zeroes are also not getting displayed.
example if the amount is 256.00,if i use suppress zeroes option,its displaying only 256,which i don't need.
I need to display 256.00
Please kindly suggest an solution.
Regards,
Venkatesh.RHi
U can try with substring formula also.... Round(F_XXX,0)...
Check this link;
Re: Remove Zeros in PLD
Re: Purchase Order Number Zeros
Giri -
Removing zeros from data stream
Hi
I have incoming data (plz see attached diagram which shows the 2 states of the for loop '0' and default) which is a 1-D array of 64 bit real data .....it goes through the loop which removes zeros from the array.
As I have 3 elements in the 1-D array (call them x,y,z ), the loop works very well for all values of 'y' and 'z' .
However when x gets towards 1 and below say 10e-3 (it never is a negative number), the loop is rounding everything to 1 and then when the value gets between 1 and 0 (10e-3 for example) the loop leaves it out altogether and I just get y,z values saved.
Plz help me sort this out .
Cheers
Baz
Attachments:
zeros.PNG 25 KB
zeros.PNG 25 KBIf you want a tolerance comparison, try the attached VI. I rewrote it from one in vi.lib after an earlier post.
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
CheckForEquality(DBL).vi 23 KB -
Remove zero in conversion file
Hi experts
Can you help me with a way to remove zero in conversion file, let me explain, I want to load transactional data from BW but I have a charateristic with 10 character but in BPC side my dimension have 8 character, technicaly in BW the file is like this:
BW
0012345678
BPC
12345678
How can I remove left zeros for the characteristic?
any input will be apreciated.
regards
Lucio Martinez!!Hi Lucio,
I will present my scenario. I want to remove the leading Zeros from the Customer ID and while transferring the values in BPC, I want to prefix the value (after removing the zeros) with 'C_'. eg: 000012345 so I want to transfer that as 'C_12345'.
In transformation file, I had done the mapping as
ID=*str(C_)+ID
which works fine, if I dont have to remove the zeros. I added code in the Conversion file
EXTERNAL INTERNAL
js:PARSEINT(%external%)
But it is giving me an error message that validation has failed for transformation file and it is giving a message that:
Line 1 :Detected duplicate member ID 'NaN' .. Line 3560 :Detected duplicate member ID 'NaN'
Can you please help me out in this situation? Any suggestions how can I achieve this?
Your replies will be much appreciated.
Thanks,
Abhishek -
Command for remove zeros in sapscript
Hello:
I need to remove zeros of a variable in a sapscript,
TALGN = 0000427795776
and I need to remove the zeros so:
TALGN = 427795776
But sometimes will be 3, 4 or more zeros, is there a way to do it with a sapscript command? or this should be done in the program?
Best regards and thank you for your help.
MiriamHi Miriam,
In SAP Scripts , you have Layout Set Symbols which you can use for doing things like :-
Getting Offset - &SYMBOL+4&
Length - &SYMBOL(5)&
If symbol is initial ,output nothing - &SYMBOL(I)&
Suppress Leading zeroes - &SYMBOL(Z)&.
And many more such symbols.
Hence, you dunt need to write the code in your driving program and pass to the Script.
You can directly use these symbols in your script and get things done in simple manner.
Hope this helps...
Regards,
Samreen... -
Removing zeros on the excel download
I wanted to know how we can remove zeros from the kebtr at the excel download through ALV without converting it to a type c. for now I am converting it to type c and then validating it this way :
if tb_main-kebet = 0.
tb_main1-kebtr = space.
endif.
But because of this the formats are not ok and user insists that it should be a numberic field for him.
Thank you very much.Hello Kris,
I am able to see the data properly in XLS File.
Use fieldcatlog no_zero = 'X'.
Now run the transaction -> click on XL Icon ( if you do not get the data properly using navigation),now see the results here.
you can save same xls file into local machine too.
Thanks
Seshu -
Removing zeros at the begining
hi,
How to remove zeros at the begining of a variable value irrespective of the length of that number
for example,
data:var type int4.
var = '0000012434'.
var= '0003423365'
var= '0436509843'.
I want to remove all zeros at the beginning.
the purpose is I am passing this to a function module which can not allow intial zeros.
Please help me with codeHi,
CONVERSION_EXIT_ALPHA_OUTPUT
converts any number with zeroes right into a simple integer.
Ex:
'00001234'-->1234
CONVERSION_EXIT_ALPHA_INPUT
converts any number into a string fill with zeroes, with the number at the extreme right
ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
Example:
(Input field and output field are both eight characters in length)
'1234 ' --> '00001234'
Regards,
Omkaram. -
Is there any function module i can use to remove zeros in a dec field.
For example
I need to convert 12.300 to 12.3
Thanks.Hello,
[code]
DATA:
L_MENGE_P5(16) TYPE P DECIMALS 5,
L_MENGE_P3(16) TYPE P DECIMALS 2,
L_ANDEC like T006-ANDEC value 2.
L_MENGE_P5 = '56.42000'.
CALL FUNCTION 'ROUND'
EXPORTING
DECIMALS = L_ANDEC
input = L_MENGE_P5 "over here u need to pass other than char
SIGN = '+'
IMPORTING
OUTPUT = L_MENGE_P3
EXCEPTIONS
INPUT_INVALID = 1
OVERFLOW = 2
TYPE_INVALID = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE:/ L_MENGE_P3.
/code]
Regards,
Deepu.K -
How to eliminate or remove zeros from 1D array
How to eliminate or remove zeros from 1D array. Let say I have 1D array having foolowing elements
"0 0 0 0 0 4 0 0 9 0 0 1 4 0 0 0 0 0 0 0 0 10 9 0 0"
So after removing or eliminating zeros it will become as follow
"4 9 1 4 10 9"
So can any body guide me how can I do that? See attached Image for details.
Thanks
JKaltenbach a écrit :
hchiam wrote:
Here are 2 example .vi's I made based on altenbach's removeZeroes.png in this discussion thread:
It seems pretty pointless to post those because no new useful information is given.
Currently, only the input is defined in the connector pane, making them useless as subVIs.
unlike my example using integers, an "=0", like any "equal" comparison, is potentially dangerous with DBLs.
Reshaping a 2D array to 1D before removing zeroes is pretty pointless because a 2D output cannot be recovered. A more interesting scenario would be to remove some columns or rows (e.g. that are all zeroes) from a 2D array.
You should also clean up the front panel, e.g. properly zero the upper left corner, make the controls/indicators nicely labeled, sized and arranged, and maybe even add scrollbars to the arrays.
Thank you for those comments.
Now the input and output are defined (in the updated attachments) for use as example subVI's. I also cleaned up a few visual details, but I leave the rest for others to cater to their specific uses if they don't want to use this as a subVI (or at least as-is), such as changing the icons or changing to integers instead of doubles.
I'm not sure about what you mean exactly with "=0" being "potentially dangerous with DBLs". I'm guessing you had a certain case scenario in mind. Although the subVI's seem to work fine within my larger program and situation, my situation may not generalize with regards to this point.
I reshaped from 2D to 1D, with a 1D output, because it could be helpful for things like when later processing just needs a 1D array. For example, in my situation I had to remove a huge spike of unnecessary "0"'s from a previous subVI that were affecting the output display of a certain histogram. So it turned out a 1D array output was helpful, and you never know what problems come up, so I included the 2nd example.
Hopefully if someone is looking for this, they can just use or play with an example subVI (granted that they know how to plug things in for their context). I was hoping to post a subVI people could put to direct use. -
Hi,
I have an integer like "000123" i wanted to remove zeros and want to get just integer value.
Thanks in advance.
Regards
KhizerString.valueOf( Integer.parseInt( strInteger ) );This brings another advantage: you'll get a NumberFormatException, if your String includes not only unwished zeroes, but also letters ...
You robably haven't built this string yourself but get it from outside.
So you should also proof the correctness of its format. -
Hi all,
I want to remove zeros from right side.
like : if value is '0.055500000000E+04'.
then the output should be '0.0555'.
How can i get such output.
Plz help me....Hi,
the problem here is u are dealing with a datatype of format F (i.e floating point ) and the output u desire is in packed format .
You cannot delete the zeros of such data typesas type F instead u can move them to the packed datatype and get the result.
do one thing declare a variable of type p and move the value of type f which u have right now to the variable u have declared as type p.
data : v_val type p decimals 4.
v_val = " <------ assign the type f to type p over here .
hope this helps .
regards,
vijay. -
Prompt LOV takes forever to expand the Node on Webi report based on BW Universe
Hi,
We have a Webi report migrated from 3.1 to our 4.1 (BI 4.1 SP2 P2) test environment.
One of the prompt "Vendor" refreshes with LOV in a node structure however when I try to expand the node it takes forever and never opens.
This prompt is predefined at universe level.
Strangely on 3.1 I do not see node structure.
This is on 4.1
Has anyone come across such scenario.
Please suggest.
Regards,
Asifhi,
I am also facing same problem and nw m using Administrator(userName) then there is no need to be give other rights(administrator using FullControl) as u given
Applications->Web Intelligence->User security()->Assign security->Advanced rights->Add/remove rights->Application->Web Intelligence->Enable drill mode.
Plz let me any other solution.
Regards, -
How to remove blank pages from WebI Report in view page layout option
Hi,
I am working in Business Objects XIR2 environment. I have a WebI report with several sections. I need to show the report as a book with 69 sections (each section on new page). there are 69 sections on cost center and each cost center section has almost 10 sections embedded in it. When i see in regular view - I only see 69 pages but when I try to see in "View Page Lay out" option, there is one blank page added after each results page.
Please let me know how to remove this blank page. I need to give users the option to download the book as PDF on to their machine. Now, when I download to my machine, I see one blank page after each results page.
Thanks in advance.Jus convert your report in Page Layout mode and see if your first pafe is getting expand in the second page.
Now check if there are any cell going into second page.
- if there are any blank cell which is there after table.
you have to check formating very carefull. -
LOV of column names with a report's custom column headings?
I have a list ov values definition that looks like this:
select column_name d, column_name r from all_tab_columns where table_name = 'DATABASE_LIST'
I'd like to list the custom column headings from a report as d, rather than repeating the column_name. How can I do this?As Anton said, the best thing is to store your custom headings in a table so that you can use the table for your LOV as well as for your report headings.
To use dynamic report headings, you can use the 'PL/SQL function body returning colon-delimited headings' feature on the Report Attributes page.
So, if your report headings are stored in table t that function body can be
declare
l_headings varchar2(4000)
begin
for rec in (select heading from t) loop
l_headings := l_headings||':'||rec.heading;
end loop;
return ltrim(l_heading,':');
end;Hope this helps.
Maybe you are looking for
-
PR creation ERROR: SAPSQL_ARRAY_INSERT_DUPREC via PS
When I create a Purchase Requisition via project systems, I get this error ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC. I configured a new PR document type and assigned a number range to it, I transported it o QAS and then PRD, I di
-
I really need some boot camp help...
-
Bad information from call centre.
Phoned to get BT mobile as the signal at home is bad I asked if I used BT Smart-talk would the calls come from my mobile minutes allowance and was told they did. So I requested the £12 package with 500 minutes and stopped the Anytime calls on my land
-
[b[u] i am working on Redahat Linux 7.3 with perl 5.6.0 when ever run the perl script to connect oracle i get following message " can't locate object method "USE" via package "strict" i installed the oracle for perl can anyone help to get rid of the
-
Mac computer hangs for minute or two when opening new tab and when opeing printer version
MacBookPro Intel Core I7 using OS X10.7.2; Firefox V9.0.1; anti-virus ESET cybersecurity;