After 10 lines in repetative area i want under line
plz tell me
Hi Uday
This will be tricky but I will give you enough to get started with and the rest you will have to do by yourself. Your scenario is that every 10th line must be underlined. To do this you will need 2 text fields with borders on Low set to 1. Next you will need a few formula fields to calculate off the row number. Then a formula using Substring2 to get the last digit (to the right) and check if it is a zero. I am assuming that there will be less than 1000 rows in the report.
Field_1 = LineNum() - will tell us the line count for each row.
Field_2 = ToString(Field_1) - this will convert the number to string.
Field_3 = Length(Field_2) - How many digits, will ignore 1 as it is less than 10.
Field_4 = Field_3 = 2 - Where there are 2 digits, ie less than 100.
Field_5 = Field_3 = 3 - Where there are 3 digits, ie between 100 an d 1000.
Field_6 = SubString(Field_2, 1) - Will return last digit of string. where number is 2 digits. Link this to Field_5 to calculate when the Line Number is 2 digits.
Field_7 = SubString(Field_2, 2) - Will return last digit of string where number is 3 digits. Link this to Field_6 to calculate when the Line Number is 3 digits.
Field_8 = Field_6==0 - Will return a 0 or 1 for True or False if the return is a zero.
Field_9 = Field_7==0 - Will return a 0 or 1 for True or False if the return is a zero.
Field_10 = Text Box with line at bottom - will be used for underline for 2 digits. Set a link to Field_8.
Field_11 = Text Box with line at bottom - will be used for underline for 3 digits. Set a link to Field_9.
The Field numbers above are just for illustrative purposes, but will change using the next available number on your layout file. I have only done partial testing on this, but in theory it should work. Let me know how it goes.
Kind regards
Peter Juby
Similar Messages
-
How to give a page break in alv grid display after 65 lines are displayed?
hi all,
I need to give a page break in alv grid display after 65 lines are displayed on each page...Please help me with this...hai
give this command beging of the report name... u have to diclar the beging of the report ......
<b>report</b> ( name of the report) <b>standard page heading line-size 200 line-count 65.</b>
ex1.:- report name is rtpm_trl_show_flows
report <b>rtpm_trl_show_flows </b> no standard page heading line-size 200
line-count 65.
ex:2
report <b>zlpur01</b> no standard page heading line-size 200
line-count 65.
type-pools: slis.
tables: bkpf.
selection-screen begin of block sel with frame title text-001.
select-options: s_comp for bkpf-bukrs, " Company
s_valut for bkpf-budat. " Invoice Date
S_MTART FOR MARA-MTART. " Material Type
selection-screen end of block sel.
parameters: p_vari like disvariant-variant. " ALV Variant
constants: formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
data: i_bseg type bseg occurs 0 with header line.
data: vatval type p decimals 2 value '0.15'.
data: xhkont type string value '154000'.
data COM type c.
data: begin of invt occurs 100,
budat like bkpf-budat, " Inv Dat
bukrs like bkpf-bukrs, " Material
STCEG like bsak-STCEG, "name of the companycode
belnr like bkpf-belnr,
xblnr like bkpf-xblnr, " Inv Reference
ebeln like rseg-ebeln, " PO number
lifnr like bseg-lifnr, " Vendor No
name1 like lfa1-name1, " Supplier Name
matnr like bseg-matnr,
maktx like makt-maktx,
stcd1 like lfa1-stcd1, " Supplier VAT REG NO
xamt like bseg-dmbtr, " TAX amt
yamt like bseg-wrbtr,
wrbtr like bseg-wrbtr, " Base amount
mwskz like bseg-mwskz,
dmbtr like bseg-dmbtr, " TAX amt
gjahr like bkpf-gjahr,
hkont like bseg-hkont,
zamt like bseg-dmbtr, " TAX amt
wamt like bseg-dmbtr,
shkzg like bseg-shkzg,
shkzg1 like bseg-shkzg,
end of invt.
regard
nawa -
When paste to vim xterm, blanks lines are added after each line
Need expert's help:
When I copy from windows Firefox to my vnc's vim xterm, somehow after each line, several blank lines are added after every single line/paragraph. This is really annoying!
I don't know how to solve it. I changed a my .vimrc to a very simple one, still not working.
thanks!
QianYou may have a fileformat problem. I'm pretty sure this will work but I only did one small test.
To display the current vim fileformat – this should return either 'dos' or 'unix'.
:set ff
Vim usually correctly sets the fileformat automatically upon opening a file but will default to using 'unix' if the format can't be determined. After pasting the text, try the command,
:update
'update' will save the file only if changes to the buffer have occurred. This command may change the fileformat and all the line endings are now CR-LFs (CR=carriage return; LF=line feed). Check the fileformat again with
:set ff
If ':update' didn't change the line endings, or the file is now a mix of CR-LFs and LF-only line endings, try this,
:e! ++ff=dos
This should force rereading the buffer as a dos (Windows) format and properly display the lines. All line endings should now be CR-LF. You can then manually set the fileformat to 'unix' with
:set ff=unix
and finally, save the file with
:w -
Truncate text after first line in TextFlow
I have a TextFlow object which is rendered in a Sprite with multiple lines.
For a compact display I now want to display only the first line, followed by 3 dots (...).
I didn't find a good approach so far.There is some support for truncation. It's limited to label use cases and requires using the TextLine factories. There is no support for editable text with truncation. Example below.
Hope that helps,
Richard
ADOBE SYSTEMS INCORPORATED
Copyright 2011 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file
in accordance with the terms of the Adobe license agreement
accompanying it. If you have received this file from a source
other than Adobe, then your use, modification, or distribution
of it requires the prior written permission of Adobe.
package
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.geom.Rectangle;
import flash.text.StyleSheet;
import flash.utils.ByteArray;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.factory.StringTextLineFactory;
import flashx.textLayout.factory.TextFlowTextLineFactory;
import flashx.textLayout.factory.TruncationOptions;
[SWF(width="500", height="500")]
public class Truncation extends Sprite
public function Truncation()
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
// sample of truncation with the StringFactory
var stringFactory:StringTextLineFactory = new StringTextLineFactory();
var stringSprite:Sprite = new Sprite();
stringSprite.x = 25; stringSprite.y = 25; addChild(stringSprite);
// this bounds has no maximum height
stringFactory.compositionBounds = new Rectangle(0,0,200,NaN);
stringFactory.text = "This is an extremely long and overly verbose string of text that I would like to see trunctated.";
// truncate after two lines
stringFactory.truncationOptions = new TruncationOptions(TruncationOptions.HORIZONTAL_ELLIPSIS,2);
stringFactory.createTextLines(function (obj:DisplayObject):void { stringSprite.addChild(obj); });
// sample of truncation with the TextFlowTextLineFactory
var flowFactory:TextFlowTextLineFactory = new TextFlowTextLineFactory();
var flowSprite:Sprite = new Sprite();
flowSprite.x = 25; flowSprite.y = 75; addChild(flowSprite);
// this bounds has no maximum height
flowFactory.compositionBounds = new Rectangle(0,0,200,NaN);
// truncate after three lines with a big red ellipsis
flowFactory.truncationOptions = new TruncationOptions(TruncationOptions.HORIZONTAL_ELLIPSIS,3,TextLayoutFormat.createTextLayoutFormat({ fontSize:24, lineHeight:0, color:0xff0000 }));
flowFactory.createTextLines(function (obj:DisplayObject):void { flowSprite.addChild(obj); },TextConverter.importToFlow(Data.markup, TextConverter.TEXT_LAYOUT_FORMAT));
class Data
public static const markup:String = "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008' fontSize='10' textIndent='15' paragraphSpaceAfter='15' paddingTop='4' paddingLeft='4'>" +
"<p>The following excerpt is from Ethan Brand by Nathaniel Hawthorne.</p>" +
"<p><span>There are many </span><span fontStyle='italic'>such</span><span> lime-kilns in that tract of country, for the purpose of burning the white marble which composes" +
" a large part of the substance of the hills. Some of them, built years ago, and long deserted, with weeds growing in the vacant round of the interior, which is open to the sky," +
" and grass and wild-flowers rooting themselves into the chinks of the stones, look already like relics of antiquity, and may yet be overspread with the lichens of centuries to come." +
" Others, where the lime-burner still feeds his daily and nightlong fire, afford points of interest to the wanderer among the hills, who seats himself on a log of wood or a fragment " +
"of marble, to hold a chat with the solitary man. It is a lonesome, and, when the character is inclined to thought, may be an intensely thoughtful occupation; as it proved in the case " +
"of Ethan Brand, who had mused to such strange purpose, in days gone by, while the fire in this very kiln was burning.</span></p><p><span>The man who now watched the fire was of a " +
"different order, and troubled himself with no thoughts save the very few that were requisite to his business. At frequent intervals, he flung back the clashing weight of the iron door, " +
"and, turning his face from the insufferable glare, thrust in huge logs of oak, or stirred the immense brands with a long pole. Within the furnace were seen the curling and riotous flames, " +
"and the burning marble, almost molten with the intensity of heat; while without, the reflection of the fire quivered on the dark intricacy of the surrounding forest, and showed in the " +
"foreground a bright and ruddy little picture of the hut, the spring beside its door, the athletic and coal-begrimed figure of the lime-burner, and the half-frightened child, shrinking " +
"into the protection of his father's shadow. And when again the iron door was closed, then reappeared the tender light of the half-full moon, which vainly strove to trace out the " +
"indistinct shapes of the neighboring mountains; and, in the upper sky, there was a flitting congregation of clouds, still faintly tinged with the rosy sunset, though thus far down " +
"into the valley the sunshine had vanished long and long ago.</span></p></TextFlow>"; -
I have a fairly simple, grouped report with a handful of fields in each Detail section, one of which is a note/text field. I put the text field on its own line and set Can Grow = true, max lines = 0 so that it will display what it needs to display.
This happens to be a crystalreports.com report using data coming from Salesforce, and I can see in the source report that I have about 7 lines of text for one of my groups, but crystal is truncating it after two lines, and in the middle of a word.
The word ('for') doesn't have any obvious special characters in it, so I'm guessing that there's some sort of character limit that I'm bumping up against.
I have another record that is returning more than two lines, though; are there particular characters that could cause this? I can scrub the data and/or put Salesforce Validation Rules in place to try and prevent them from getting in.
Any suggestions would be appreciated.
DuncanPlease re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
Not working imessage!! Credit card and I can not send imessage than after apple id. There are problems with Apple seeverele?? Thanks!
Before the service reset function. Wait 24 hours to activate imessage.go to the settings and turn off imessage
but that don't change the issue that you will never be able to facetime eachtoher
the appleID is really meant as the handle that identify you it was not meant to be shared
but can see that people may want to do not buy apps more then once -
How can I select the area I want linked, to other page?
Hi,
I have been creating multiple stand alone PDF files with links to various documents within a given PDF. Up until yesterday I would select the Link Button, move my curser to the top left corner of the area to be selected, press the button and drag a box over the area I want selected. It worked great. Then BOOM, all of a sudden when I do that now it will not let me select the area I want, it will show a fixed box that appears to be snapped to a formatting line above or below the area I want. Is there a setting somewhere that might have changed?
DaveyMake sure you do not have the Snap to Grid option selected.
In Acrobat 8, it is under the View menu. -
Since changing over to Mountain Lion I discover that I am no longer able to adjust spaces between lines. If I choose spacing of 1.3 after two lines single-spaced, the entire previous lines end up with 1.3 spacing. What am I missing?
Do those previous lines have a Return/Linefeed after them, or are they just wrapped to a new line?
What App is it you're using? -
Field Becomes grayed after some lines in ALV
Hi All,
My question is:
I have prepared a ALV output with some fields editable (means i have handle the style and layout at cell level)
ALV is in the docking container
ALV comes in the 50% of the screen area.
Now, I am trying to change the data by entering some values in the editable cells and then press enter
Good part is:
Upto some certain rows, i am able to change the data in the ALV and no unusual behavior found regarding style and layout
Bad is:
When i am trying to enter the data in editable cell (Say this is row 30) after some lines and press enter then correspoding row cell becomes grayed (Which generally should not be).
if i again repeat the same action for next line (Say this is row 31) then results becomes similar for line 31 as for line 30 but at the same time LINE 30 becomes fine.
Note: Technically, data change method is implemented correctly. No style has been changed during this action.
Thanks in advanceJust a guess..are you entering right type of data into the cell
Best Regards,
rama -
Printing In Main Window in Smartform After All Line Items
Hi All.
I have this requirement wherein I have to Print Export Charges in main window , below all the line items.
There is a loop on line item tables and I am printing all line items in the main window.
How to print this export charges after all the line items?
Points are assured !!!!Hi,
Create two row line in the main area of the table. First one for line items and the next for the export charges.
Hope this ll help u.
(Sorry, this ll print export charges after every line items, try to print the export charges in the footer of the table.)
Regards,
Prabhu
Edited by: Prabhuraj Krishnan on Apr 15, 2008 11:05 AM -
Welcome to After I IPHONE 4 black and I want to open internationally so when you want to update the lock and leave me a sign I just want to open an apple and I have developed from my Mac in Saudi Arabia& the
<Edited by Host>If you want to unlock an iPhone you must contact the carrier it is locked to.
You are not communicating with Apple in these forums; we are just other users. -
PLD Freight in Repetative Area
Hi Experts,
I have 20 items in A/R Invoice, and have 1 Freight amount say at 1500/-
I am trying to give detail in the A/R Invoice PLD, for this I added one more Repetative Area, but the Freigt details are appearing 21 times (as many times the number of items there are in the invoice).
How can I make the detail appear only once in the another repetative area.
Is there any way to group the freight field, and prevent it from appearing more than 1 number of times
Regards,
Murtaza R.E.Hi,
Could you please try out the following:
1. Create UDFs on Marketing Document header level - number of UDF
depending on the max number of Additional Expenses from the OEXD
2. Use query like below for UDF1:
SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
+ ' ' + STR(T1.LINEVAT)
FROM OINV T0
INNER JOIN INV3 T1
ON T0.DOCENTRY = T1.DOCENTRY
INNER JOIN OEXD T2
ON T1.EXPNSCODE = T2.EXPNSCODE
WHERE T0.DOCNUM = $[OINV.DocNum]
AND T1.LINENUM = 0
Use query like below for UDF2:
SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
+ ' ' + STR(T1.LINEVAT)
FROM OINV T0
INNER JOIN INV3 T1
ON T0.DOCENTRY = T1.DOCENTRY
INNER JOIN OEXD T2
ON T1.EXPNSCODE = T2.EXPNSCODE
WHERE T0.DOCNUM = $[OINV.DocNum]
AND T1.LINENUM = 1
and so on.
3. Add the UDF to the Layout.
NOTE: The line number is important as there can be more than
one additional expense for the same Document Number;
Note that the query draws the details of one single record per
from the Add Expenses Table. You can make the amendments in the
query as required by either removing or adding more fields;
like increase space between the fields etc
Hope this will help.
Regards,
Gagan Thareja
SAP Business One Forums Team -
How to insert horizontal line dynamically after every line item in sapscrip
Hi All,
I have to insert a horizontal line after every new item in sap script.
How to do this .
In some material there is2 line item or in other line item it ay be more .
How to insert horizontal line dynamically after every line item
Point will be rewarded
Regards
NirajHi Niraj,
You can get your work done by keeping the horizontal line (&ULINE&) after all the item level fields, in this case once each item line is written you will get a horizontal line.
In case you have different fields for the item lines which are optional (not printed every time) then you can have them in an IF....ENDIF condition and below the endif use a horizontal line.
Some thing like this:
/E ITEM_HEADER
IL <TI>Item,,Material,,Description</>
IP <TI>,,,,Quantity,,,,Price,,Price unit,,,,,,Value</>
/ &ULINE(71)&
Let me know if this helps, else please describe your problem with an example.
Luck. -
After doing some editing in Lightroom I want to continue the edit in CS 5 but Lightroom is not exporting the edited version, this has not happened before, what am I doing wrong please? anybody
You should be getting an error message that PS CS5 requires a higher version of ACR with two options "render using Lightroom" or "open anyway". You should choose the first option. If you are not seeing the error message then go to your Lightroom prefrences >General Tab> under Prompts> select "Reset all warning dialogs", then try the edit in function again.
-
I merge projects in aperture, it works fine until aperture restarts. After aperture restarts, the projects are no longer merged, and are back the way they were. Can anyone suugest how to make the merge permanent?
I tried the first aid tasks but the issue is still there. I have more info now though. It's not a problem with merging.
The problem is that new projects are being generated everytime aperture starts (with the same name, ie 01, 02.... and 01 (1), 02 (1) .....)
When aperture start, it shows "importing". When I click on importing, it goes into the activity box. In the activity box, has many lines as below. The added projcts are all empty. It's annoying because i have many useless projects being generated.
Maybe you are looking for
-
5800 XM WPA-PSK and network profiles problem
Hi, I've just purchased a 5800XM phone, with the idea of setting up my personal email account on the device, using my office's network access point. The access point / router is a Comtrend 5361. The SSID is set to hidden (no broadcast), and the secur
-
PDF popup, in FireFox, without being prompted
Hello, I am using Windows XP Pro, SP3, fully patched and updated. My Adobe Reader is version 9.5.0. I am currently using FireFox 3.6.25, but this problem has been affecting my computer for the last year and a half, and happens with newer versions of
-
User Profile Parameter ID KVS not work
Hi, I've got some troubles with parameter id KVS. I set it in my user profile, parameter = KVS value = B2 description = Version (CO) when I call report GPCQE53LSADXCC16KZ1R96N5156001, there are two fields with this parameter, and their value r
-
What is the best way to keep your files organised
I would like to know what is the best way to keep your file organise when I am Loading program's like numbers and pages from iPhone to MacBook i alway Get double of the same work sheet
-
I noticed in our OID environment, using the oidadmin tool I can see several users. But in our client DB, the lbacsys.lbac$user table does not have all these users. So, I tried using the olsoidsync tool but it failed with a java sqlexception error: or