Column printing on the same line in reports
guys,
i have a report with lets say n no. of columns. Now i want to display column 1 and 2 on the same line, i.e without giving a line break (given the fact that my report is page wise and not tabular). Can i do that? If so, then how?
Any help will be highly appreciated. Kindly reply asap
Hi Mike,
Sorry, I should have realized you were using LabVIEW's HTML VIs - and it doesn't look like they provide for Table "Nesting" (at least through 7.1)!
Here's a couple of VIs that might help you out. Util.HTML.Table builds the HTML for a table. SideBySide.vi uses this Util to embed two tables into an HTML Report.
I whipped these up just for you - so they may need "polishing". Should you need to fine-tune the table-appearance, I'm afraid you're on your own, though there's lots of help on the web. Don't worry, HTML is pretty easy - and you'll find a nice HTML resource here.
Cheers!
Message Edited by tbd on 03-05-2007 12:47 AM
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Attachments:
Util.HTML.Table.vi 63 KB
SideBySide.vi 68 KB
Similar Messages
-
Is there a way to print over the same line of text?
Hey everyone, does anyone know if it's possible to write over the same line in a console window? I am formatting a diskette an currently it is going:
1 percent complete
2 percent complete
3 percent complete
4 percent complete
5 percent complete
I am currently doing:
System.out.println(bufferedReader.readLine());
to display this .. is there anyway to write over and over on the same line?
Thanks again.I just thought of something!!! Try this:
System.out.println("When the zeros have printed twenty times the disk has been formatted\n");
System.out.println("|-----------------------------------|"\n)
Then add the zeros to the line underneath it as it formats. This will give a progress bar effect. The zeros, when completely done, should fill up the whole |---| segment.
Hope this helps.
Virum -
SAPscript address name1 and name2 - print on the same line
I want to print name1 and name2 on the same line in an address on a check. Does anyone know how to do that ? I am usign the ADDRESS SAPscript command.
The ADDRESS command allows you to format according to different countries postal formats. If you want to put two lines in one, I don't think you can use the ADDRESS command, but will have to format it yourself.
Rob -
Printing on chars on the same line using system.out.println
i have the following string:
String msg = "This is a message brought to you by one and the only";
msg.toCharArray(); //converted to a char array.
i've written a loop which goes through each of the char elements
and puts it in it's own array:
int i = 0;
while (i < msg.length)
char[] test = {msg};
System.out.println(test);
the problem is system out println prints out each of the elements on seperate lines is
it possible to have them in one line to reform the original string?No exactly sure what you are trying to do. Does this
help?
String msg = "This is a message brought to you by one
and the only";
char[] test = msg.toCharArray();
System.out.println(test);
not really because i want to convert the string to a char array and then reform it in another char array and then i can choose which elements i want included and not to be so that it can be printed on the same line. I can do it the following way:
char[] test = {test[0], test[1]]};
but say i want all the letters containing the chracter T (and again i can use the above solution and select the elements from the string but i don't want to hardcode it, say the string changes etc) in the test array so then i thought of writing a loop:
while (test[i] == 'T')
char[] test2 = {test[i]};
System.out.println(test);
i++;
but it puts each T in a new line... -
BEX : report with real and budget on the same line
Hi everyone,
I need to create a Bex report showing on the same line :
- budget WBS element stored in a DSO (DataSource 0CO_OM_WBS_1)
- used amount stored in another DSO (DataSource 0FI_GL_4)
Data are stored in 2 different DSOs.
If a create a multiprovided with both DSOs I will get 2 lines in my report as axes are different,no ?
Thanks for any idea.
AussieHi,
You can make use of infoset.You can also do a lookup from one dso to another ant transport the values in one dso.So by doin this alll your values will be stored in one place and then you can show the values in one line in report.
Please also give me the idea of keyfields of both dso's.
You can also use constant selection in report if you are using multiprovider through this to some extenet you can solve the problem of values in coming in two lines.
Also check out the below PDF for Displaying Result Row in One Line While Reporting On Multiproviderer.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?quicklink=index&overridelayout=true
Hope it helps.
Regards,
AL
Edited by: AL1112 on Aug 3, 2011 11:55 AM -
Print different text elements on the same line
Hi all,
1.
Is it possible to print different text elements on the same line ? with multiple write_form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE1'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE2'
function = 'APPEND'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
How to print TITLE1 and TITLE2 on the same line ?
TITLE2 in bold.
2. How to print 2 text elements on the same line with include statement ?
/: include test1 ...
/: include test2
Thanks
Edited by: Moo Yac on Sep 22, 2008 8:23 AMTo be more specific :
I want to print the following
Text_symbol1:$Var1$ Text_symbol:$Var2$
on the same line.
where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.
Thanks. -
Report (summary) to print in the same order as the PAYCHECK run.
Hi,
I have a requirement where an incentive pay summary by salesperson, will need to print in the same order as the checks that print for those salespersons.
Is this possible and if so, what is required to accomplish the above requirement?
Thank You,
JohnYou can't change them once they are in the Photos app. On iOS 5 the photos will be sorted by the photo's 'date modified' field (from here) - so you will need to modify that field on your photos before syncing to get them into your required order. Or you could consider using a third-party photo management app instead of the Photos app e.g. Photo Manager Pro which allows you to re-order photos directly within the app.
-
How can I place multiple choice boxes on the same line instead of in a column?
I know it is possible to place multiple fields on the same line, using drag and drop.
But to save space, I would like to have 3 or 4 multiple choice boxes next to each other on one line.
Is this possible, and if so, how?
Thanks
PeterYou may click on the "+" button to the right of the first multiple choice box to add more in the same line. When you hover over the button, the tooltip says "insert item beside".
-
Summary field printing on the first line when it supposed to prin last page
i have created manual report. in the end of the report i have summay columns. wheni run in oracle reports it perfectly shows the grand totle. when i generate to file (PDF) thegrand total print on the first line. can some one tell me wht is it printig on the first line when it supposed to print on the last page. i tried print object on Last Page. it is still same.
You may have hit this side effect of page protect (all copied from the Help):
Description The Page Protect property indicates whether to try to keep the entire object and its contents on the same logical page. Setting Page Protect to Yes means that if the contents of the object cannot fit on the current logical page, the object and all of its contents will be moved to the next logical page.
Note: Using Page Protect may cause objects below the page protected object(s) to appear above the page protected object(s).
Solution:
If Page Protect causes an object to be moved to the next logical page when formatting, an object alongside the page protected object may or may not be moved as well. If the object alongside the page protected object is not anchored (implicitly or explicitly) to the page protected object, and that object can fit in the space where the page protected object could not fit, the object will print on that logical page. Otherwise, the object will be moved along with the page protected object to the next logical page.
(To say it simply: anchor the summary field explicitly). -
Checkbox and 2 Textbox in the same line
Hi,
I am having a problem trying to show one checkbox and two textboxes at the same line,
the problem is with the text (comment) I want to display for each item.
when I try to activate or run the report , I got this error message :
Error when generating the selection screen "1000"
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
parameters:
ck1 AS CHECKBOX ,
p_u like rlgrap-filename default 'C:\data\',
p_ux(9) default '500'.
"SELECTION-SCREEN COMMENT 4(10) text-c01 for FIELD ck1.
"SELECTION-SCREEN COMMENT 17(10) text-c02 for FIELD p_u.
"SELECTION-SCREEN COMMENT 30(10) text-c03 for FIELD p_ux.
SELECTION-SCREEN end OF LINE.
I think the problem is with the position of the comment ?
how to fix this?
Thanks
MisbahHi Misbah ,
i had faced a similar issue some months ago, following is the solution----->>>
SELECTION-SCREEN BEGIN OF BLOCK F WITH FRAME TITLE TEXT-014.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(18) text-015.
PARAMETERS : P_DNR(10) TYPE C.
SELECTION-SCREEN COMMENT 35(14) text-016.
PARAMETERS : P_ST AS CHECKBOX.
SELECTION-SCREEN COMMENT 56(8) text-017.
PARAMETERS : P_IC AS CHECKBOX.
SELECTION-SCREEN COMMENT 72(14) text-018.
PARAMETERS : P_CA AS CHECKBOX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK F.
OUTPUT LOOK AS BELOW------>>>>>
Debit Entry Number ___________ Stock Transfer [ ] IC Sales [ ] Credit Allowed [ ].
HERE, Debit Entry Number, Stock Transfer, IC Sales, Credit Allowed are the text sysmbols saved at 015, 016,017 and 018.
see the above code , the logic is the text stored in text 15 is of length 18.
after which i print a blank input field i.e the parameter p_dnr which is of length 10.
so now the next text or field has to be printed at 18 + 10 = 28.
so 28 or any number more than 28 should be the starting position of the next text or parameter or checkbox , etc.
similarly u have to calculate the start position and end position for all the selection screen variables ur printing in a line .
if the calculation goes wrong and variables in a line get overlapped on each other , then u get an error message as u r getting now.....something like selection screen error.
Regards,
Akash Rana -
SAPScript: How to combine two text in the same line?
Dear Gurus,
I have a case to combine hard code text and long text in the same line.
For example, i need to display following line:
'Project name:' <long_text>
How to do it in SAPScript?
Can we do it with following code?
/: 'Project name: ' INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
Thanks & Regards,
AriHi,
You can achieve that by this method,
Goto Tcode SO10
Give the Object Name 'Z_TEST' & Id
See the Paragraph format for the Text, you can do it from Menu
Format>Line . If it is /: change it to =. Save
Now in the SAPScript Text editor in which you want to print
P1 'Project Name :'
/: INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
the output will be
Project name : Abc xyz
Regards
Bala Krishna.
Edited by: Bala Krishna on Oct 17, 2008 7:11 PM -
How to get the Hardcoded text and the Standard text in the same line
Hi,
I have an SAP Layout. In that, it should show the Consignee name as below.
Consignee: SAP LABS
In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
AS Consignee:
/: INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
Please share your thoughts. Thanks in advance.
Thanks & Regards,
Paddu.Hi Paddu,
I have had a similar requirement. I did not use any FM or anything, simply did the following:
In SO10, for your standard text where u have used the text SAP LABS.
Instead of P1/ default para, change it to =. And then Save ur Standrd text.
Now in the SAPScript Text editor in which you want to print
P1 'Consignee :'
/: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
the output will be
Consignee : SAP LABS
I have tried and tested this method. It will surely work.
With regards,
Niharika. -
How can I write left and right in the same line of a richtextbox?
I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanksI want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanks
As
Viorel_ says "Perhaps there are other much easier solutions. For example, create two
RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
scrollbar. So RTB3's scrollbar is used to scroll both controls.
I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
would display but don't remember now. In fact I don't really remember how that part works. :)
Option Strict On
Public Class Form1
Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
Const WM_USER As Integer = &H400
Const EM_GETSCROLLPOS As Integer = WM_USER + 221
Const EM_SETSCROLLPOS As Integer = WM_USER + 222
Dim FixTheProblem As New List(Of String)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.CenterToScreen()
Panel1.BackColor = Color.White
Panel1.BorderStyle = BorderStyle.Fixed3D
RichTextBox2.BorderStyle = BorderStyle.None
RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.BorderStyle = BorderStyle.None
RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.Size = RichTextBox2.Size
RichTextBox3.Top = RichTextBox2.Top
RichTextBox3.Left = RichTextBox2.Right - 20
Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
Panel1.Left = RichTextBox2.Left - 2
Panel1.Top = RichTextBox2.Top - 2
RichTextBox2.BringToFront()
RichTextBox3.BringToFront()
FixTheProblem.Add("Curry: £6.50")
FixTheProblem.Add("Mineral Water: £4.50")
FixTheProblem.Add("Crisp Packet: £3.60")
FixTheProblem.Add("Sweat Tea: £2.23")
FixTheProblem.Add("Motor Oil: £12.50")
FixTheProblem.Add("Coca Cola: £.75")
FixTheProblem.Add("Petrol Liter: £3.75")
FixTheProblem.Add("Shaved Ice: £.50")
FixTheProblem.Add("Marlboro: £2.20")
FixTheProblem.Add("Newspaper: £.25")
FixTheProblem.Add("Spice Pack: £.75")
FixTheProblem.Add("Salt: £.50")
FixTheProblem.Add("Pepper: £.30")
For Each Item In FixTheProblem
RichTextBox1.AppendText(Item & vbCrLf)
Next
RichTextBox1.SelectionStart = 0
RichTextBox1.ScrollToCaret()
Dim Fix As String = ""
For Each Item In FixTheProblem
Fix += Item.Replace(":", "^:") & vbCrLf
Next
Fix = Fix.Replace(vbCrLf, "^>")
Dim FixSplit() As String = Fix.Split("^"c)
For i = 0 To FixSplit.Count - 1
If CBool(i Mod 2 = 0) = True Then
RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
ElseIf CBool(i Mod 2 = 0) = False Then
RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
End If
Next
End Sub
Dim RTB2ScrollPoint As Point
Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
Dim RTB2ScrollPoint As Point
SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
End Sub
Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
Dim RTB3ScrollPoint As Point
SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
End Sub
End Class
La vida loca -
Retrieve n and n-1 rows on the same line
In a database I am trying to get the latest employee information and the previous entry. The latest entry can be determined by the fact that DATEFIN is empty and the previous entry is returned by MAX(DATEFIN). All previous entries have a DATEFIN value
So I wrote a query which returned both the lines per employee. i.e. n and n-1
Actually what is needed is to compare certain fields of each line, so I need to show employee n and n-1 on the same line. This time I used LEAD so emp,date,field1,Lead(field1,1) etc etc.
As all the employee lines are returned, I used a minus function to remove all those where the DATEFIN IS NOT NULL, given that the LEAD line returned the information required BEFORE the minus removed it.
However, I am still getting n and n-1 rows, even though the minus part run by itself removes n-1,n-2... rows.
Question
How can I structure the minus or LEAD query just to get the n row and n-1 LEAD information
select trim(to_char(se.idexport,'0999'))
|| '|'
|| sa.referentiel_id
|| '|'
|| sa.idunique
|| '|'
|| sa.matricule
|| '|'
|| sr.niveau
|| '|'
|| LEAD(sr.niveau,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
|| '|'
|| sr.echelon
|| '|'
|| sr.coefficient
|| '|'
|| fo.code
|| '|'
|| sr.salairemensuel
|| '|'
|| sr.tauxhoraire
|| '|'
|| to_CHAR(ca.datevaleurrevisions,'DD/MM/YYYY')
|| '|'
|| em.code
|| '|'
|| fi.code
|| '|'
|| cc.code
|| '|'
|| sr.datedebut
|| '|'
|| LEAD(sr.datedebut,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
|| '|'
|| sr.datefin
|| '|'
|| LEAD(sr.datefin,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
AS Text
from salarie sa
inner join selection_export se on (se.IDUNIQUE = SA.IDUNIQUE AND se.idexport = 42 AND se.exporter = 1)
inner join salarierevision sr on (SR.SALARIE_ID = se.IDUNIQUE AND SR.ACCESRESTREINT = 0)
inner join campagne ca on CA.ISANNEEENCOURS = 1
inner join parambranche pb on (ca.organisationlds_id = pb.organisationlds_id)
inner join utilisateur u on (u.CODE = 'gagross' AND U.ORGANISATIONLDS_ID = CA.ORGANISATIONLDS_ID)
left outer join fonction fo on (fo.id = sr.fonction_id)
left outer join emploi em on (em.id = sr.emploi_id)
left outer join filiere fi on (fi.id = sr.filiere_id)
left outer join CONVENTIONCOLLECTIVE cc on (cc.id = sr.CONVENTIONCOLLECTIVE_ID)
minus
select trim(to_char(se.idexport,'0999'))
|| '|'
|| sa.referentiel_id
|| '|'
|| sa.idunique
|| '|'
|| sa.matricule
|| '|'
|| sr.niveau
|| '|'
|| LEAD(sr.niveau,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
|| '|'
|| sr.echelon
|| '|'
|| sr.coefficient
|| '|'
|| fo.code
|| '|'
|| sr.salairemensuel
|| '|'
|| sr.tauxhoraire
|| '|'
|| to_CHAR(ca.datevaleurrevisions,'DD/MM/YYYY')
|| '|'
|| em.code
|| '|'
|| fi.code
|| '|'
|| cc.code
|| '|'
|| sr.datedebut
|| '|'
|| LEAD(sr.datedebut,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
|| '|'
|| sr.datefin
|| '|'
|| LEAD(sr.datefin,1) OVER (ORDER BY sr.salarie_id,sr.datedebut desc )
AS Text
from salarie sa
inner join selection_export se on (se.IDUNIQUE = SA.IDUNIQUE AND se.idexport = 42 AND se.exporter = 1)
inner join salarierevision sr on (SR.SALARIE_ID = se.IDUNIQUE AND SR.ACCESRESTREINT = 0)
inner join campagne ca on CA.ISANNEEENCOURS = 1
inner join parambranche pb on (ca.organisationlds_id = pb.organisationlds_id)
inner join utilisateur u on (u.CODE = 'gagross' AND U.ORGANISATIONLDS_ID = CA.ORGANISATIONLDS_ID)
left outer join fonction fo on (fo.id = sr.fonction_id)
left outer join emploi em on (em.id = sr.emploi_id)
left outer join filiere fi on (fi.id = sr.filiere_id)
left outer join CONVENTIONCOLLECTIVE cc on (cc.id = sr.CONVENTIONCOLLECTIVE_ID)
where sr.datefin is not null
Thanks and I hope this is clear
ColinAssuming that the sr.salarie_id column identifies the employee I think you need to partition by it, not order by it in the analytic functio. If it does not identify the employee, then you need to partition by whatever uniquely identifies an employee. I would likely structure it something like this:
SQL> with t as (
2 SELECT 1 emp_id, TO_DATE('01-jul-2010', 'dd-mon-yyyy') dt, 'Jul' descr
3 from dual union all
4 SELECT 1, TO_DATE('01-aug-2010', 'dd-mon-yyyy'), 'Aug' from dual union all
5 SELECT 1, TO_DATE('01-sep-2010', 'dd-mon-yyyy'), 'Sep' from dual union all
6 SELECT 1, TO_DATE('01-oct-2010', 'dd-mon-yyyy'), 'Oct' from dual union all
7 SELECT 1, TO_DATE(NULL), 'Current' from dual union all
8 SELECT 2, TO_DATE('01-jan-2010', 'dd-mon-yyyy'), 'Jan' from dual union all
9 SELECT 2, TO_DATE('01-mar-2010', 'dd-mon-yyyy'), 'Mar' from dual union all
10 SELECT 2, TO_DATE('01-may-2010', 'dd-mon-yyyy'), 'May' from dual union all
11 SELECT 2, TO_DATE('01-jul-2010', 'dd-mon-yyyy'), 'Jul' from dual union all
12 SELECT 2, TO_DATE(NULL), 'Current' from dual)
13 SELECT emp_id, curr_dt, last_dt, curr_descr, last_descr
14 FROM (SELECT emp_id, dt curr_dt,
15 LEAD(dt) OVER(PARTITION BY emp_id
16 ORDER BY dt desc nulls first) last_dt,
17 descr curr_descr,
18 LEAD(descr) OVER(PARTITION BY emp_id
19 ORDER BY dt desc nulls first) last_descr
20 FROM t)
21 WHERE curr_dt IS NULL
EMP_ID CURR_DT LAST_DT CURR_DE LAST_DE
1 01-OCT-2010 Current Oct
2 01-JUL-2010 Current JulWhere my t is your set of joined tables without the where sr.datefin is not null predicate.
John -
Sapscript : Printing Text In same line
Hi Friends,
I have created 2 standard text.
I want to print the follwing in the same line -
First standard text + <A hard coded value> + Second standard text.
<b> I have coded like this -</b>
/: INCLUDE SLP OBJECT TEXT ID ST LANGUAGE ZH
= : 999
/: INCLUDE YEARS OBJECT TEXT ID ST LANGUAGE ZH
First two are coming in the same line but third one is coming in second line.
Please suggest.
Regards
KishorHii
'=:' works but try it by increasing your window size
otherwise use READ_TEXT fm
You pass it the Text Identification Details
and it will retrieve the texts into the internal table (IT_TEXTS).
Internal table to store standard texts
DATA: IT_TEXTS like T_LINE occurs o with header line.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = "Text ID
language = "Laguage
name = "Text name
object = "text object
ARCHIVE_HANDLE = 0
IMPORTING
HEADER =
tables
lines = IT_TEXTS "Internal table
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The main inputs for the FM are Text name, Language, Text ID and Text object and can be located using the following procedure.
<b>Step 1 Display the desired text with transaction (i.e. ME23)
Step 2 Show long text for a particular text (i.e. Deliver To)
Step 3 Select Header from the Goto menu (Goto->Header). The following screen should appear displaying info needed to retrieve text using the READ_TEXT function module (Text name, Language, Text ID, Text object)</b>
Regards
Naresh
Maybe you are looking for
-
Continued auto-installs after updating firmware
I've recently updated the firmware on my N80 to the new V4.0632 version (Internet Edition). Previously I had many apps installed to a memory card. Since doing this, every time I boot up the system automatically attempts to reinstall some applications
-
Front End Installation Server - Administrator rights on client PC's
We are using a third party repackaging tool to deploy sapgui to our workstations. This has proven to be problematic in the past and are now considering the SAP Front End Installation server approach. After reveiwing the installation guide we are won
-
Can I install Windows 7 without Boot Camp?
If I put in my Mac OS X restore disk and booted from that, then erased my hard drive and partitioned it so there were two partitions, could I install OS X on one partition then insert my Windows 7 disk and boot from that disk and install it on the ot
-
My itouch was recognized by the computer but dosen't sync with itunes. Is there any solution to fix it? Thanks
-
2007 outlook locks up or does not retrieve mail
Hi, I am not a computer person, so please bear with me. I have recently been experiencing problems with 2007 Outlook. It will just spin with the message "connecting to server". A full reboot is required to end this. It also doesn't always retrieve