New line at end of CL_SALV_HIERSEQ_TABLE?
Hi all,
I would like to create a own line at the end of alv CL_SALV_HIERSEQ_TABLE. Instead of totals i would like show the difference of a value in the header line and a sum in position line. Is there any possiblity to solve this?
Regards,
Jana
I guess there's only the option of using the footer area (method SET_END_OF_LIST) for displaying additional information at the end. However, this won't look like a line within in the table...
Regards,
Ulrich
Similar Messages
-
Content conversion receiver channel new line at end of file
hi,
when i create a file using content conversion i get new line at the end of the file.
can someone tell me please how to avoid this?
( i don't use any end separators. i only use addheaderline = 0 and fieldfixedlength).
Thanks
TomerHi Tomer,
I guess wrong thread.
Edited by: sudhir tiwari on Sep 11, 2008 2:43 PM -
Tab going to a new line when end of line is reached
In most text editors, when you hold the tab key down, the cursor goes from tab stop to tab stop across the line. When end of the line is reached, the cursor goes to the next line, again goes from tab stop to tab stop on the new line, and so on. You end up with multiple lines.
In TLF, with tabStops set, holding the tab key down, the cursor goes from tab stop to tab stop across the line. But when the cursor reaches the end of the line, it doesn't go to the next line. The cursor stays at the end of the line while more tab characters are inserted into the text flow. There is always only one line.
Is there a way for TLF to have the tab key go to the next line when the cursor reaches the end of the line?
Thanks for the info.
WillThank you very much for the update.
We also discovered that, any line which has the previous line ending in a tab, any leading tabs will not show. For example (all in the same <p>):
Line one ...<tab/>
<tab/>Line two
The leading tab on line two will not display. If the previous line does not end with <tab/>, then the leading tab on the following line shows. Is this related?
Also, will the fix come in a 2.x update? Any time frame?
Thanks again for the info.
Will -
How to insert new line in textarea
I try programatiaclly to add for example three strings in <textarea>
the final result should be something like this:
--TEXTAREA TAG BEGIN
line1
line2
line3
--TEXTAREA TAG END
I tried the hack described here;
http://www.mail-archive.com/[email protected]/msg08294.html
<c:set var="temp" value="one
two"/>
<c:set var="newline" value="${fn:substring(temp,4,5)}"/>after that I used it like this:
<textarea>
// forEach begin (write some output)
<c:out value="${newline}"></c:out> //try to add new line
// forEach end
</textarea>Sorry about the wrong comment style, I'm just pointing out whta I expect as a result.
I was surprised when I found out that "newline" value is "t" instead of special character "\n" or "\r". Anyway, I didn't receive the desired result.
I use XML JSP files and UTF-8.
Can anyone help me?I think I remember using a pre tag in between.
<pre>
// ur text area tags here.
</pre> -
How to identify a blank new line in an open txt file
hi all
i'm reading a file, and i have to identify all the blank new lines.
does anybody can help me?
thanks to all !!
follows a sample of the code i'm writing:
fHandler := UTL_FILE.FOPEN(FileAttuale.Oracle_Input,FileAttuale.Nome_File, 'r');
-- Lettura file
BEGIN
WHILE 1 < 2 LOOP
Line_Number := Line_Number + 1;
-- Leggo riga per riga finche non viene lanciata la eccezione NO_DATA_FOUND
UTL_FILE.GET_LINE(fHandler, buf);
if (buf is a blank new line) then
end if;
END LOOP;
END;
documentation says:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm
Because the line terminator character is not read into the buffer, reading blank lines returns empty strings.
but if i try
IF (BUF ='') THEN
do something
END IF;
IF (BUF is null) THEN
do something
END IF;
don't do nothing!!
thanks all
Edited by: Massimo T. on 4-mag-2011 12.0513 is ^K also known as Vertical Tab No Massimo, it's ^M, that is Carriage Return : you have to consider Dec column, since ASCII function returns the decimal representation in the database character set of the first character of char.
-
New Line in EBCDIC file created by receiver file adapter
Hi mates,
I've configured the receiver file adapter to create a file in EBCDIC format by specifyin the File encoding 'Cp037'. When the file is viewed on the AS400 system using the command DSPPFM, it appears as a continuous text instead of line-by-line. I've tried specifying 0x0D(CR), 0x0A(LF), 'nl' as the endSeparator for the record type in content conversion, but no luck. Still the file looks like a continuous text.
I learnt from the following links that the New Line character (NL or NEL) in AS400 is Unicode '0x85'.
<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4867251">OutputStreamWriter/InputSreamReader convert NEL to linefeed with Cp037 encoding</a>
<a href="http://search.cpan.org/~guido/libintl-perl-1.16/lib/Locale/RecodeData/IBM037.pm#CHARACTER_TABLE">CHARACTER TABLE</a>
But when I specify this '0x85' as the endSeparator, I get the error below as 0x85 (decimal equivalent 133) is not part of the standard ascii code i.e. basic 127 codes
<i>Conversion initialization failed: java.lang.Exception: java.lang.NumberFormatException: Value out of range. Value:"85" Radix:16</i>
Is there any way I can produce the EBCDIC file with new line as end separator for records?
I appreciate your inputs.
thx in adv
praveenInstead of using binary mode for FTP and specifying encoding, endSeparator, I used the text mode and left the translation to the FTP server on AS400 system.
Desirably, it generated the file with right encoding and new line characters.
praveen -
How to add a new line at the end of eTEXT file
Hi,
I have modified the RTF template for the R12.1.3 Positive Pay File report (IBYPOS_PAY_en.rtf). Everything is good, except that the bank requires a "T" (Capital T) character in a new line at the end of the text file. Has any of you came across this before? How do I modify the template to achieve this?
Thank you,
Sinan TopuzI believe this is related to BI Publisher. Any comments would be greatly appreciated.
Thanks,
Sinan -
File Adapter Write Operation inserts a new line at the end
Hi,
I am using the write operation in the File Adapter from BPEL Process. The data is written successfully to the file and file is also created in the location specified in the adapter wsdl. But in the file created, it creates a new line at the end of the file. This new line has to be avoided when writing data to a file.
Has anyone faced this and solved this ?
I am SOA 10.1.3.4.
Cheers,
- ARIt is a bug in 10g and will be resolved in one of the versions of 11g.
Cheers,
-AR -
Broken 5s glass, sell for parts, end contract, pay ETF, add new line?
Broken screen on 5s. Touch works, but glass is shattered. Contract with ATT (6 weeks into it).
Is it an option to sell the phone as is, end my contract with ATT, pay the ETF, and then add a new line?
Assuming I can do this, it will be cheaper than doing an Apple OOW repair, which is $270 at the moment. New 5s at Best Buy currently $150. Even with the new activation fee, I should be ahead.You're assuming, though that they're going to let you sign a new 2 year contract after terminating yours after less than 2 months. They may not do that without a security deposit. You may want to make sure first. Otherwise, you might be finding yourself paying full retail for a new phone.
This is one situation where I might actually encourage you to look into buying salvaged parts on line and trying to repair it yourself or finding a 3rd party repair shop and seeing if they can fix it for you. I don't normally do that, but compared to trying to sell it for parts... -
General Ledger Accounting (New): Line Items 0FIGL_O14 Performace issue
Dear Forum,
We are facing a performance issue while loading the data to 0FIGL_O14 General Ledger Accounting (New): Line Items from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO.
Please see my requirement below for updating the data to 0FIGL_O14 DSO.
This report is generated to display Dry Dock and Running Repair expenses for the particular Purchase orders with respective G/L's.
1) The G/L DSO will provide us the 0DEBIT_LC and 0DEB_CRE_DC Foreign currency amount with signs (+/-) amounts and.
2) ZMMPRC01 Cube will provide us the 0ORDER_VALUE (Purchse order value)and 0INVCD_AMNT Invoice amount.
While we are loading the data from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO ,we have created nearly 19 InfoObject level routine to derive the below mentioned fields data for MM Purchase Order related records.
0CHRT_ACCTS Chart of accounts
0ITEM_NUM Number of line item within accounting documen
0AC_DOC_NO Accounting document number
0GL_ACCOUNT G/L Account
0COMP_CODE Company code
0COSTCENTER Cost Center
0CO_AREA Controlling area
0COSTELMNT Cost Element
0SEGMENT Segment for Segmental Reporting
0BUS_AREA Business area
0FUNC_AREA Functional area
0AC_DOC_NR Document Number (General Ledger View)
0AC_DOC_TYP Document type
0POST_KEY Posting key
0PSTNG_DATE Posting date in the document
0DOC_CURRCY Document currency
0LOC_CURTP2 Currency Type of Second Local Currency
0CALQUART1 Quarter
0CALYEAR Calendar year
For reference Please see the below logic to derive the data for PO related record.
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
... "insert your code here
types : begin of ty_FIGL,
CHRT_ACCTS type /BI0/OICHRT_ACCTS,
ITEM_NUM type /BI0/OIITEM_NUM,
AC_DOC_NO type /BI0/OIAC_DOC_NO,
GL_ACCOUNT type /BI0/OIGL_ACCOUNT,
end of ty_FIGL.
data :it_figl type STANDARD TABLE OF ty_figl,
wa_figl type ty_figl.
SELECT single CHRT_ACCTS
ITEM_NUM
AC_DOC_NO
GL_ACCOUNT from /BI0/AFIGL_O1400
into wa_figl
where DOC_NUM = SOURCE_FIELDS-DOC_NUM and
DOC_ITEM = SOURCE_FIELDS-DOC_ITEM and
/BIC/Z_PCODE = SOURCE_FIELDS-/BIC/Z_PCODE
and
/BIC/Z_VOY_NO = SOURCE_FIELDS-/BIC/Z_VOY_NO
and
FISCYEAR = SOURCE_FIELDS-FISCYEAR.
if sy-subrc = 0.
RESULT = wa_figl-AC_DOC_NO.
ENDIF.
clear wa_figl.
Please note the same kind of logic is applied for all the above mentioned fields.
Here is my concerns and issue.
For the all above all routines i am referring BI0/AFIGL_O1400
DSO and finally loading to the Same DSO(BI0/AFIGL_O1400
The worried part is my DSO 0FIGL_O1400 is currecnly having nearly 60 Lacks records and MM cube is having nearly 55 requests which are required to update to the Above DSO for PO related PO value and Invoice amount.
The big issue here is while uploading data from MM cube to DSO say for example if the request is having 25,000 records from this nearly 500-600 records will be updated to DSO.
But here it is taking huge time ( nearly 3 days for request ) for updating these records , like this i have to pull 50 more requests from Cube to DSO as per the requirement.
Please note as of now i haven't created any indexes on DSO to improve this loads.
Please note am facing this issue in Production environment and need your help ASAP.
Thanks & Regards,
Srinivas PadugulaHi,
If selecting data from 0FIGL_O14 is taking long time then you can create secondary indexes on DSO.
0FIGL_O14 would be huge as data volume directly corresponds to data volume in BSEG.
But for you requirement, I think what you can do is,
1. create multiprovider on top of DSO and Cube and create Bex report to give you the fields requried from both the infoproviders, you can then use open hub or APD approach to keep the data in the staging table or direct update DSO and then load the data to the DSO
2. Create secondary indexes on DSO so that fetching would be faster.
3. Do the enhancment at R/3 level to fetch fields from MM during load of G/L
Regards,
Pravin Karkhanis. -
Want to know how to check for new line character in text file
Hi All,
I`m trying to read data from text file. However I`m not sure whether the data is in 1st line or nth line. Now I`m trying to read the text from the readline. But if text is "" and not NULL then my code fails. So I want to know how to check for new line character and go to next line to find the data. Please help.
Thanks
static int readandwriteFile(Logger logger,String filepath){
BufferedWriter out = null;
BufferedReader in = null;
File fr = null;
int get_count = 0;
try {
if(new File(filepath).exists())
fr= new File(filepath);
System.out.println("FileName: "+fr);
if(fr != null){
in = new BufferedReader(new FileReader(fr));
String text = in.readLine();
if(text != null){
get_count = Integer.parseInt(text);
in.close();
else{
get_count = 0;
else{
out = new BufferedWriter(new FileWriter(filepath));
out.write("0");
out.close();
} //Reading of the row count file ended.
catch(Exception e) {
e.printStackTrace();
finally {
try{ if (in != null) {
in.close();
if (out != null) {
out.close();
catch(Exception e) {
e.printStackTrace();
return get_count;
}You are calling the readline() only once which means you are reading only the first line from the file...
Use a loop (Do-While preferably)
do{
//your code
}while(text == "") -
Appending to new line in text file
I am trying to append text to a new line to a file. I set the append parameter to true and I try to output the new line character after I write the string to the file. However it is still appending the next string to the end of the first rather than in the line below. My code is below. Can someone please help me?
Thanks
public static boolean WriteToFile(String nameOfFile,
String contents)
FileWriter myFileWriter = null;
try
System.out.println("Attempting to write text to = " + nameOfFile);
myFileWriter = new FileWriter(nameOfFile,true);
myFileWriter.write(contents);
myFileWriter.write('\n');
myFileWriter.close();
return true;
catch (Exception e)
System.out.println("EXCEPTION thrown ");
return false;
}I am trying to append text to a new line to a file.
I set the append parameter to true and I try to
o output the new line character after I write the
string to the file. However it is still appending the
next string to the end of the first rather than in
the line below. My code is below. Can someone please
help me?
Thanks
public static boolean WriteToFile(String nameOfFile,
String
String
String contents)
FileWriter myFileWriter = null;
try
System.out.println("Attempting to write
ting to write text to = " + nameOfFile);
myFileWriter = new
eWriter = new FileWriter(nameOfFile,true);
myFileWriter.write('\n');
myFileWriter.write(contents); myFileWriter.close();
return true;
catch (Exception e)
System.out.println("EXCEPTION thrown ");
return false;
try the change what i have made in bold -
How to print new line using DBMS_OUTPUT package
Hi,
I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line.
set serveroutput on size 200000
set feedback on
BEGIN
DBMS_OUTPUT.PUT_LINE('First Line');
DBMS_OUTPUT.PUT_LINE('');
DBMS_OUTPUT.PUT_LINE('Second Line');
END;
I expect following output ...
First Line
Second Line
but i got following output....
First Line
Second Line
why DBMS_OUTPUT.PUT_LINE( '); is not printing a new line ?You can try the following:
SQL> ED
Wrote file afiedt.buf
1 BEGIN
2 DBMS_OUTPUT.PUT('ONE LINE...');
3 DBMS_OUTPUT.PUT('SECOND LINE...');
4 DBMS_OUTPUT.NEW_LINE;
5 DBMS_OUTPUT.PUT_LINE('THIRD LINE WITH NEW LINE...');
6 DBMS_OUTPUT.PUT('TEST');
7 DBMS_OUTPUT.NEW_LINE;
8 DBMS_OUTPUT.PUT_LINE('FOURTH LINE'||CHR(10)||'EXAMPLE');
9 DBMS_OUTPUT.PUT_LINE(CHR(10));
10 DBMS_OUTPUT.PUT_LINE('FIFTH LINE');
11* END;
SQL> /
ONE LINE...SECOND LINE...
THIRD LINE WITH NEW LINE...
TEST
FOURTH LINE
EXAMPLE
FIFTH LINE
PL/SQL procedure successfully completed.Documentation:
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_output.htm#i1000062 -
How to Print new line in Acrobat SDK?
I was use "\n" in end of string in PDETextAdd, but its doesn't go for new line.Any one help me pls...
You have to place very single line separately, there is no newline function
in PDETextAdd.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
[email protected]
http://www.khkonsulting.com -
How to add a new line in SMS(Line Break).
Hi All,
I need to send SMS from PL\SQL Procedure
The problem i have been facing is that the string being passed in as sms content is not parsing a newline character.
It shows all content in one line.
I need to break them in several lines.
Give me a direction how to add a new line in SMS.
Regards,
Raj.Hi,
Sure, Here it is
CREATE OR REPLACE PROCEDURE APPS.AUTO_SMS_RTV_REPORT
IS
sender VARCHAR2(1000);
recipient VARCHAR2(1000);
message VARCHAR2(4000);
sub VARCHAR2(1000) := 'HELLO';
dt1 varchar2(1000) := to_char(sysdate,'DD-MON-YY');
mailhost VARCHAR2(30) := '10.7.7.xxx';
mail_conn UTL_SMTP.CONNECTION;
v_crlf VARCHAR2(2) := CHR(13)||CHR(10);
CURSOR cur_Rejection_Records IS
SELECT DISTINCT
rt.VENDOR_SITE_ID ,
pvs.email_address VENDOR_MAIL_ID ,
pvs.PHONE vendor_contact_no ,
hre.EMAIL_ADDRESS Employee_mail_id ,
hre.FULL_NAME
FROM apps.rcv_transactions rt,
apps.po_vendors pv,
apps.po_vendor_sites_all pvs,
apps.mtl_transaction_reasons mtr,
apps.fnd_user fu,
apps.hr_employees hre
WHERE transaction_type = 'RETURN TO VENDOR'
--AND TRUNC(rt.transaction_date) = TRUNC(SYSDATE)
AND rt.vendor_id = pv.vendor_id
AND rt.vendor_site_id = pvs.vendor_site_id
AND rt.REASON_ID = mtr.REASON_ID(+)
AND fu.user_id = rt.last_updated_by
AND hre.EMPLOYEE_ID = fu.EMPLOYEE_ID
AND TRANSACTION_ID IN (
11902189,
11902253,
11902148)
BEGIN
FOR rec_Rejection_Records IN cur_Rejection_Records
LOOP
Begin
sender := '<[email protected]>';
recipient := rec_Rejection_Records.vendor_contact_no || '@aaaa.com';
mail_conn := utl_smtp.open_connection(mailhost, 8025);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
utl_smtp.DATA( mail_conn,
'Date: ' || TO_CHAR(SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss') || utl_tcp.crlf ||
'From: ' || sender || utl_tcp.crlf ||
'Subject: '|| sub || utl_tcp.crlf ||
'To: ' || recipient || utl_tcp.crlf ||
utl_tcp.crlf ||
'Dear Supplier,'||CHR(10)|| utl_tcp.crlf ||'\\\0x0A'|| -- HERE I NEED LINE BREAK
'Please.'|| utl_tcp.crlf
DBMS_OUTPUT.PUT_LINE('Yep !!! SMS Sent Sucessfully :) ');
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN UTL_SMTP.PERMANENT_ERROR THEN
dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
WHEN OTHERS THEN
dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
END;
END LOOP;
END AUTO_SMS_RTV_REPORT;
/
Maybe you are looking for
-
For the "new pages" how can I password protet a document without the inspector?
My new "upgrade" for pages doesn't have the old inspector? How do I create a password protection for my documents? Why has this been made so difficult?
-
I have this class to browse the contents of my default folder. However it displays the full path plus the folder & file. How would remove the path and retain the folder and file only ? import java.awt.*; import java.io.*; import javax.swing.*; import
-
New photos/videos gone when restored from backup. Why?
Just got the iPhone 5 over the weekend, which was a huge upgrade from my 2009 3G! I didn't get around to plugging the phone into my MacBook Pro until today. When I synced my new iPhone, I clicked "restore from previous backup", which then it put all
-
Dear SAP gurus, In our vendor we input several witholding tax code as the vendor can supply various material and service to our company. During MRKO for consignment settlement for this vendor, the settlement document take all the code and during paym
-
cuando hice la actualización Mavericks, Reason 5 dejo de trabajar, sale un error que dice que debo reinstalar porque hay un problema, cuando lo hago vuelve a salir el mensaje, mi copia es legal....pueden ayudarme, trabajo con este programa a diario?