Blank Space Field
Hey Folks,
In R17 you used to be able to create a blank WebLink field so that you can put an empty space in the page layout. You could hold ALT and type 255 to do so. I cannot get this to work on R18, has the work around been removed?
Thanks
Oli @ Innoveer
Hello,
I think So it was ALT+TAB+255. i tried it it was working fine for me in R18. Have A good Luck.
Cheers
Subbu
Similar Messages
-
Hi,
I have requirement , where I'm supposed to check for a Comma (,) in an address field and send tht (,) as blank space to the workarea.
Do we have any FM or any check method for this.
Plz tell me.
Rohini.Hi,
say address fields is "v_addr"
DATA : v_len TYPE I,
v_cnt1 TYPE i,
v_cnt2 TYPE I value 1.
v_addr = 'adresss,fiedls '.
v_len = strlen( v_addr ) .
DO v_len TIMES.
IF v_addr+v_cnt1(v_cnt2) EQ ',' .
v_addr+v_cnt1(v_cnt2) = ' '.
v_cnt1 = v_cnt1 + 1.
ENDIF.
ENDDO. -
All,
Am I just having a brain fart? I have a situation where I have a field that needs to return just one space, or a value that has a space before and after it.
Example:
In the text ==> I am<field>going to the office. <-- notice no space between am, <field> and going
I want it to say if FALSE, then "I am *not* going to the office."
If true, then "I am going to the office."
If true, I'm simply RETURN(""); <-- This returns a blank space
If FALSE, I have tried:
ret="not"
RETURN(" " & ret & " ");
This returns "I am notgoing to the office". <-- Notice no blank space after "not"?
I've tried
ret="not";
ret2=(" " & ret);
RETURN(Insert(ret2, 3, " "));
Still the same result. What's strange is, if I do a RETURN(Insert(ret2, *2*, " "));, then it returns "I am no tgoing to the office" <-- Notice the space between the "o" and the "t"?
Ideas?Trailing spaces are often removed from data. In your case, the easiest thing to do will be to use what is called the "hard space" character instead of a "real" space. This is key code ALT+0160. For all intent and purposes, it looks like a space and will print as a space, but since it is not technically the space (0032) character, it will not be trimmed from your projects. Just open the quotes, turn off the NUMLOCK and hold down the ALT key and type 0160 and then release the ALT key. This will add the hard space into your string. Then if you are like me, you will have to remember to turn the NUMLOCK back on.
" not "
I'm not sure how this will post into this message, but the example above is using hard space characters.
Edited by: user9976634 on Dec 5, 2012 12:52 PM -
Remove blank spaces in a text field?
How can I remove blank spaces in a text field? Some text fields have a lot of blank fields that need to be removed so that I can report only on the text.
CRXI
Edited by: Burton Roger on Feb 10, 2009 5:48 PMEx:
"Hi,
I have a need for monthly service desk reporting.
Please provide data on single sheet.
Thank you"
I would like to shrink it down to -
Hi, I have a need for monthly service desk reporting. Please provide data on single sheet. Thank you" -
How do you add additional fields in infotypes?i want to leave blank space
how do you add additional fields in infotypes?i want to leave blank space in front of the field?
Hi,
To add new fields go to PM01 and select Enhance Infotype option and then follow the steps in sequence.
I am not getting blank space in front of the field. please elaborate it.
Regards,
Raja.D -
Removing leading zeros and leading blank spaces from an input field
Hi All,
I have an input field which is alphanumeric and i need to remove the leading zeros and blank spaces in it , but intermediate spaces should be kept .
so i used the UDF
String output = input.replaceFirst("^0+","");
return output;
but this code does not remove the leading blank spaces . Can anybody help in modifying this code so that even the leading blank spaces along with leading zeros can be removed .
Regards ,
Loveena .lets say input is a
then
int len = a.length();
for(int i;i< length;i++)
if(a.substring(0,1).equals(" ") || a.substring(0,1).equals("0"))
a = a.substring(1,len);
return a;
hope you got the logic so that you can enhance it better -
How to use blank space replace NULL on discoverer viewer
Hi,
There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
why?
please help! thanks!
sammyHi Sammy,
Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
Hopefully this will help ;-)
Lance -
RTF Template Blank Spaces Issue
Hi,
I have one issue in the RTF File. I have developed templates for the dunning letter report.
If i have only one line in the main body table and below this table i have some contents information for the customer to print in the report. The issue is there is blank spaces between the table and the contents when i am printing one or two invoices in the report.
I want to remove this blank spaces and bring the contents information to print just below the table even it is sinle report or many records in the report.
please guide me if any one come accross with this issue.
with regards
RamHi,
Make sure there are no spaces before/after your form fields - put them on their own line with no spaces in between. On their own line they don't generate an extra line.
If you are still having problems email me the xml and rtf ggr888 [AT] gmail [D0T] com
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
How to delete blank space from value of Infoobject in the transfer rule
does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM '? After routine, the result should be 'ABM'.
Thanks for any input.Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value 'ABM ' is same as 'ABM'.
Ok, HTML is changing the display in the above, so let me restate it
For all usage, a char type field of length 8 having value 'ABM_____' is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
Edited by: Ajay Das on Jul 29, 2009 12:07 PM -
Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted
Hi Gurus,
I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
• Project submitted to the TRC
Result in PDF format:
• ProjectsubmittedtotheTRC
I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
Please help me as it is frustrating a lot
I would highly appreciate for your quick responseWas there ever a solution found for this as i have the same issue.
When bullet point is entered in a field all the spaces are removed when exported to PDF
i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
Thanks in advance,
Mark Brunton
brunzire -
How to Remove Blank spaces in the text elements for a smartform
Hi All,
Can any one please help me out to remove the blank spaces in the text elements.
We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
Currently out text and fields are printing like this
s h r i y a n
material number
1111 -001 -000
They should print like
shriyan
1111-001-000
According to the ZEBRA suggestions we are using the font helve.
Plase help us it is very urgent.
Reward point will be given.
ThanksHi,
Just use Condense g_name inside the program lines.
Just to see how it behaves put a hard breakpoint.
Break Username. and check the condense statement.
condense <your field> no-gaps.
Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
Use condense inside the program lines.
Thanks,
Vamshi. -
File Content Conversion Removes Leading Blank/Space
I'm having a problem where file content conversion is trimming leading blanks/space/whitespace from fields when reading in the inbound file. I've seen where people have posted that you need to use fieldContentFormatting to prevent content conversion from stripping the leading/trailing whitespace. I added that parameter to my list (see below example) but it still appears to be trimming the leading whitespace. Look forward to hearing your thoughts. Here are the details:
I'm using fixed length file content conversion for Sender File Adapter (SP15). I have the following parameters set:
Document Name = MaterialData
Recordset name = item
Recordset Structure = MaterialLine, 1
I have:
MaterialLine.fieldNames = matno_external, mat_description
MaterialLine.fieldFixedLengths = 40, 40
MaterialLine.fieldContentFormatting = nothing, nothing
The following is the input file (notice spaces prior to second occurrence of material numbers)
ZED00000001 AIMS LIGHT A
ZED00000001 AIMS LIGHT B
ZED00000002 AIMS SWITCH A
ZED00000002 AIMS SWITCH B
ZED00000003 AIMS SEMICONDUCTOR A
ZED00000003 AIMS SEMICONDUCTOR B
The following is the source XML after file content conversion from SXMB_MONI (note spaces no longer exist in matno_external tag).
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MaterialData xmlns:ns="http://xxxxxxx.com/yyy/test">
- <item>
- <MaterialLine>
<matno_external>ZED00000001</matno_external>
<mat_description>AIMS LIGHT A</mat_description>
</MaterialLine>
</item>
- <item>
- <MaterialLine>
<matno_external>ZED00000001</matno_external>
<create_date>10/09/06</create_date>
<mat_description>AIMS LIGHT B</mat_description>
</MaterialLine>
</item>
- <item>
- <MaterialLine>
<matno_external>ZED00000002</matno_external>
<mat_description>AIMS SWITCH A</mat_description>
</MaterialLine>
</item>
- <item>
- <MaterialLine>
<matno_external>ZED00000002</matno_external>
<mat_description>AIMS SWITCH B</mat_description>
</MaterialLine>
</item>
- <item>
- <MaterialLine>
<matno_external>ZED00000003</matno_external>
<mat_description>AIMS SEMICONDUCTOR A</mat_description>
</MaterialLine>
</item>
- <item>
- <MaterialLine>
<matno_external>ZED00000003</matno_external>
<mat_description>AIMS SEMICONDUCTOR B</mat_description>
</MaterialLine>
</item>
</ns:MaterialData>Thanks all for your attempts but I figured it out and wasn't this the biggest case of irony.
Here I was trying to prevent leading spaces from being trimmed in the loading of my file and my problem was that when I typed:
MaterialLine.fieldContentFormatting
I actually left a "blank" at the end of the "g" in Formatting. Apparently XI didn't like that and neither gave me a runtime or compile error. Anyway I found this and though I'd share in case anyone else encounters it. I removed the blank and all is working now. -
Blank space between Detail section and Page Footer - How to remove it ?
below is the problem.
We make report as followspage header Section details
Employee Information
Report Footer
Page Footer
Other Information
whenever we run this crystal report it leaves space in between after employee information (Detail Section) and before Page Footer.We don't know its a problem of footer or any other else.
When i preview and print out the reports
it showing Detail section 10 Rows (which satisfying condition) and then Blank space and then at the bottom of page shows Page Footer (which contain 2 subreports).
Let me know if you need aditional information on this.
pls provide suggestions.Try with this
1. Suppress any unused sections in both sureports and in the mainreport.
2. Check all the fields fits the sections. Select all the fields in the section and give align top and make all the fields of same height and make it fit to the section.
Hope this solves your problem. -
How to insert blank spaces at end of a record
Hi All,
i need to write 10 records each of 80 char size. of these 10 records, each record might have different data and the last field will be a filler field which only has space.
for example:
DATA : BEGIN OF gs_mrecord ,
id(1) VALUE'M' ,
accno(12) ,
refid(2) VALUE 'RR' ,
sec_cd(4) VALUE '2437' ,
sub_typ(1) VALUE '6' ,
sub_dt(5) ,
sub_seq_no(1) ,
sec_cd1(4) VALUE '2437' ,
sub_dt1(6) ,
record_no(6) TYPE n ,
ext_ind(1) ,
plat_id(1) ,
filler_1(1) ,
clear_code(3) ,
ex_merc_no(16) ,
filler_4(4) , fill blank spaces
mech_bin_no(6) ,
filler(6) , " fill blank spaces
END OF gs_mrecord .
like this there are 10 types with 80 char size, however the last field is a filler, in which we need to fill only blank spaces.
when i wrtie this data to the application server file i can't see the spaces and when download(to .TXT file) also i can't see the spaces.
is there anyway that i can keep the spaces at the end of the record.
Please note, in the middle of the record, we can keep the spaces as there is some data after that.
Any hint would be of great help.
Cheers,
SR.Hi Srinivas
Just a thought, try as below:
Declare a text variable of length 80 characters. Before transferring the record to Output file, move the work area to the text field and add a New Line character at 80th position. Now tranfer this text field to file with length specification.
Eg:
DATA: l_cr(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf,
l_text(80) TYPE c.
OPEN DATASET ....
IF sy-subrc EQ 0.
LOOP AT <itab> INTO <wa>.
MOVE <wa> TO l_text.
l_text+80 = l_cr.
TRANSFER l_text TO <dsn>.
ENDLOOP.
ENDIF.
Hope that helps, also check the codepage in which you download the file from Application server before Viewing. Maybe checking the file contents via AL11.
Hope it helps.
Regards
Eswar -
Blank Space problem in Adobe Form
Hello Gurus,
In my Adobe form, One field has to be displayed based on a condition. So, for that field, in Context tab, condition is specified and its working also i.e. It condition is true then data is not displayed in the layout but I find the blank space for it. I dont want that blank space to be displayed.
Example:
In layout, address is in format as shown below.
Name
Street
City
Region
Postal code
Country
Here, I have a condition that, Region field should not be displayed only for Material eq '123' i.e. same address has to be printed as shown below.
Name
Street
City
Postal code
Country
But, If I give condition then address is shown as below.
Name
Street
City
>Here, am getting empty space & I dont need this blank space to there in the layout.
Postal code
Country
So, Can anyone please help me for this.
Thanks in Advance.
Regards,
UshaHi Usha,
1. Remove the Condition from you Context tab.
2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
the adobe form.
3. Make the subform (under which the field is added in the hierarchy view) as flowed.
4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
for e.g
if (xfa.form.FORM.SUB_FORM.matnr == "123") {
xfa.form.FORM.SUB_FORM.Region = "hidden";
NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
Hope this proves to be useful.
Thanks,
Swar.
Maybe you are looking for
-
BI end routine at transformation to populate info object by vlookup attribu
Hi , I am APO consultant working in Bi routines and I have the follwoing situation and need some guidance in ABAP code (routine) . We sales info from markets as flat filea snd lod them into cubes. One of the filed is file is External sales Group: ZEX
-
Serial number assignment in sales order
Good afternoon, We have a requirement that we must assign a special number "mask" (<sequence number> - <sales doc item> - <sequence number per quantity>) in the moment of the raising of the sales order. I really dont know if in the standard we can do
-
I'm trying to join two tables which seems like it should be simple. However, I'm struggling to find the solution. I have a table in my order entry database with the following schema: OrderID, TaskID, HoursBilled I have another table in my time and at
-
Solution Manager Diagnostics install problem
I am trying to install SMD on a NW04 SP16 system (also running ABAP+java for XI). After deployment for the SP16 SMD version, when I log on to SMD admin screen, I cannot run the Upgrader - error indicates "cannot get the current version from Componen
-
When downloading new version of Firefox, I added recommended ad ons. Need to remove especially "no scripts"