Report Format and read line
Dear all,
I have a report format :
Field 1 Field 2 Field 3
XXX XXXXX XXXX
XXX XXXXX XXXX
XXX XXXXX XXXX
I want to change this format to :
Field 1 Field 2 Field 3
XXX XXXXX XXXX
XXXXX XXXX
XXXXX XXXX
Field1 is be display one times and I want that I can read the field 1 value with READ LINE
I try to use HIDE: Field 1 in a loop ,but It can not hide the field 1 value.
why?
thanks you
John
Hi,
Use the statements READ LINE and READ CURRENT LINE to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.
All of the lists generated by a single program are stored internally in the system. You can therefore access any list in a program that was created for the same screen and that has not yet been deleted by returning to a lower list level. To read lines, use the statements READ LINE and READ CURRENT LINE.
To read a line from a list after an interactive list event, use the READ LINE statement:
READ LINE <lin> [INDEX <idx>]
[FIELD VALUE <f1> [INTO <g 1>] ... <f n> [INTO <g n>]]
[OF CURRENT PAGE|OF PAGE <p>].
The statement without any options stores the contents of line <lin> from the list on which the event was triggered (index SY-LILLI) in the SY-LISEL system field and fills all HIDE information stored for this line back into the corresponding fields. As far as SY-LISEL and the HIDE area are concerned, READ LINE has the same effect as an interactive line selection.
<b>Here is the Demo Program</b>
REPORT demo_list_read_line NO STANDARD PAGE HEADING.
TABLES: sflight.
DATA: box(1) TYPE c, lines TYPE i, free TYPE i.
START-OF-SELECTION.
SET PF-STATUS 'CHECK'.
GET sflight.
WRITE: box AS CHECKBOX, sflight-fldate.
HIDE: sflight-fldate, sflight-carrid, sflight-connid,
sflight-seatsmax, sflight-seatsocc.
END-OF-SELECTION.
lines = sy-linno - 1.
TOP-OF-PAGE.
WRITE: 'List of flight dates'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE: 'Date:', sflight-fldate.
ULINE.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'READ'.
box = space.
SET PF-STATUS 'CHECK' EXCLUDING 'READ'.
DO lines TIMES.
READ LINE sy-index FIELD VALUE box.
IF box = 'X'.
free = sflight-seatsmax - sflight-seatsocc.
IF free > 0.
NEW-PAGE.
WRITE: 'Company:', sflight-carrid,
'Connection: ',sflight-connid,
/ 'Number of free seats:', free.
ENDIF.
ENDIF.
ENDDO.
ENDCASE.
Regards
Sudheer
Similar Messages
-
About report groups and read programs for the object EC_PCA_SUM
Hi Friends,
Hope every one is doing well..!
I've an issue with the report groups and read programs for the object EC_PCA_SUM. As we know that the report groups and read programs available for this object in the application customizing are used to analys the archived data.
That is these programs comes into picture after the archiving operation.
For more information, you can visit the below web site:
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/e4/69f353b75a11d1b5850000e82debc6/frameset.htm]
Now, my question is how would I check the code for these analysing programs available for this object. I can't see this in SE38.
Thanks to reply for this..
Full marks will be awarded.
Regards,
ShamimHi Lakshman,
Thanks for the reply.
Hi Deiter,
You're right.
Your provided transaction "GR55" helped me to find out the program name for a particular group. However, these are just Write and Painter reports.
But can you please let me know the functionality of these report groups ?? what are these used for ???
Do we have these programs for other archiving objects like CO_ITEM,CO_ML_BEL,MM_MATBEL,CO_ORDER,
PP_PLAN,PP_BKFLUSH ??
More points will be awarded.
Thanks a lot.
Regards,
Shamim
Edited by: S H A M I M on Sep 19, 2008 3:19 PM -
Hi All,
I need burst the report based on the customer number for some customers and burst based on invoice number for some customers in the same bursting program. I have made the changes accordingly and sending email attachments as expected, but when the output sent for as an attachment for each invoice the report does not printing in full format, its completely ignore one child block. Not sure what was the issue. This is very very urgent please help me out.
Following is my bursting code:
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">
<xapi:delivery>
<xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
<xapi:message id="123" to="${EXCLUDED_BILL_TO_EMAIL}" attachment="true"
subject="Confirmation for your Invoice(s)">
Dear Customer,
Thank you for placing an order with XX cust.
Please review the attached invoice(s).
Regards,
Customer Service
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="XX_INVOICE_EMAIL_${CUST_NO}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_EMAIL!='N']"/>
</xapi:document>
</xapi:request>
<xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">
<xapi:delivery>
<xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
<xapi:message id="123" to="${EXCLUDED_BILL_TO_FAX}" attachment="true"
subject="Confirmation for your Invoice(s)">
Dear Customer,
Thank you for placing an order with XX cust.
Please review the invoice(s).
Regards,
Customer Service
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="XX_INVOICE_FAX_${CUST_NO}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_FAX!='N']"/>
</xapi:document>
</xapi:request>
<!-- START Sending email for each invoice in CR2197-->
<xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">
<xapi:delivery>
<xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
<xapi:message id="123" to="${BILL_TO_EMAIL}" attachment="true"
subject="Confirmation for your Invoice ${INVOICE_NO}">
Dear Customer,
Thank you for placing an order with XX cust.
Please review the attached invoice.
Regards,
Customer Service
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="XX_INVOICE_EMAIL_${INVOICE_NO}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_EMAIL!='N']"/>
</xapi:document>
</xapi:request>
<xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">
<xapi:delivery>
<xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
<xapi:message id="123" to="${BILL_TO_FAX}" attachment="true"
subject="Confirmation for your Invoice ${INVOICE_NO}">
Dear Customer,
Thank you for placing an order with XX cust.
Please review the invoice.
Regards,
Customer Service
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="XX_INVOICE_FAX_${INVOICE_NO}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_FAX!='N']"/>
</xapi:document>
</xapi:request>
<!-- END Sending email for each invoice in CR2197-->
<xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">
<xapi:delivery>
<xapi:filesystem output="${OUT_DIR}/INV_${SALES_ORDER}_${ORG_ID}_${INVOICE_NO}_${REQUEST_ID}_${INVOICE_DATE}.pdf">
</xapi:filesystem>
</xapi:delivery>
<xapi:document output-type="pdf">
<xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".////XXARINVOICE[P_ATTACH='Y']"/>
</xapi:document>
</xapi:request>
</xapi:requestset>
Thanks in Advance,
JagadishInitialize this:
String pet = "":>
error is H:\JAVA\PetAdvice.java:88: variable pet might not have been initialized
return pet;Geez, the error tells you the source file and the line # at which the problem occurred, in addition to a lucid description. Why couldn't you figure it out for yourself?
% -
Data formatting and reading a CSV file without using Sqlloader
I am reading a csv file to an Oracle table called sps_dataload. The table is structured based on the record type of the data at the beginning of
each record in the csv file. But the first two lines of the file are not going to be loaded to the table due to the format.
Question # 1:
How can I skip reading the first two lines from my csv file?
Question # 2:
There are more fields in the csv file than there are number of columns in my table. I know I can add filler as an option, but then there are
about 150 odd fields which are comma-separated in the file and my table has 8 columns to load from the file. So, do I really have to use filler
for 140 times in my script or, there is a better way to do this?
Question # 3:
This is more of an extension of my question above. The csv file has fields with block quotes - I know this could be achieved in sql loader when we mention Occassionally enclosed by '"'.
But can this be doable in the insert as created in the below code?
I am trying to find the "wrap code" button in my post, but do not see it.
Heres my file layout -
PROSPACE SCHEMATIC FILE
; Version 2007.7.1
Project,abc xyz Project,,1,,7,1.5,1.5,1,1,0,,0,1,0,0,0,0,3,1,1,0,1,0,0,0,0,2,3,1,0,1,0,0,0,0,3,3,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Subproject,25580-1005303.pst,,102,192,42,12632256,1,1,102,192,42,1,12632256,0,6,1,0,32896,1,0,0,0,0,,,-1,-1,-1,-1,0,0,0,-1,-1,-1,-1,-1,-1,0,0,0,-1,-1,-1,-1,-1,-1,0,0,0,-1,-1,0,1,1,,,,,,1
Segment, , , 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , , , , , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, , , 1
Product,00093097000459,26007,2X4 MF SF SD SOLR,,28.25,9.5,52.3, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.60,0,0,0,0,00,-1,0
Product,00093097000329,75556,"22""X22"" BZ CM DD 1548",,27,7,27, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,,345.32
Product,00093097000336,75557,"22""X46"" BZ CM XD 48133",,27,7.5,51, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,0
Product,00093097134833,75621,"22""X22"" BZ CM/YT DD 12828",,27,9,27, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,,1
This is my table structure -
desc sps_dataload;
File_Name Varchar2 (50) Not Null,
Record_Layer Varchar2 (20) Not Null,
Level_Id Varchar2 (20),
Desc1 Varchar2 (50),
Desc2 Varchar2 (50),
Desc3 Varchar2 (50),
Desc4 Varchar2 (50)
Heres my code to do this -
create or replace procedure insert_spsdataloader(p_filepath IN varchar2,
p_filename IN varchar2,
p_Totalinserted IN OUT number) as
v_filename varchar2(30) := p_filename;
v_filehandle UTL_FILE.FILE_TYPE;
v_startPos number; --starting position of a field
v_Pos number; --position of string
v_lenstring number; --length of string
v_record_layer varchar2(20);
v_level_id varchar2(20) := 0;
v_desc1 varchar2(50);
v_desc2 varchar2(50);
v_desc3 varchar2(50);
v_desc4 varchar2(50);
v_input_buffer varchar2(1200);
v_delChar varchar2(1) := ','
v_str varchar2(255);
BEGIN
v_Filehandle :=utl_file.fopen(p_filepath, p_filename, 'r');
p_Totalinserted := 0;
LOOP
BEGIN
UTL_FILE.GET_LINE(v_filehandle,v_input_buffer);
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXIT;
END;
-- this will read the 1st field from the file --
v_Pos := instr(v_input_buffer,v_delChar,1,1);
v_lenString := v_Pos - 1;
v_record_layer := substr(v_input_buffer,1,v_lenString);
v_startPos := v_Pos + 1;
-- this will read the 2nd field from the file --
v_Pos := instr(v_input_buffer,v_delChar,1,2);
v_lenString := v_Pos - v_startPos;
v_desc1 := substr(v_input_buffer,v_startPos,v_lenString);
v_startPos := v_Pos + 1;
-- this will read the 3rd field from the file --
v_Pos := instr(v_input_buffer,v_delChar,1,3);
v_lenString := v_Pos - v_startPos;
v_desc2 := substr(v_input_buffer,v_startPos,v_lenString);
v_startPos := v_Pos + 1;
-- this will read the 4th field from the file --
v_Pos := instr(v_input_buffer,v_delChar,1,4);
v_lenString := v_Pos - v_startPos;
v_desc3 := substr(v_input_buffer,v_startPos,v_lenString);
v_startPos := v_Pos + 1;
-- this will read the 5th field from the file --
v_Pos := instr(v_input_buffer,v_delChar,1,5);
v_lenString := v_Pos - v_startPos;
v_desc4 := substr(v_input_buffer,v_startPos,v_lenString);
v_startPos := v_Pos + 1;
v_str := 'insert into table sps_dataload values('||v_filename||','||v_record_layer||','||v_level_id||','||v_desc1||','||v_desc2||','||v_desc3||','||v_desc4||')';
Execute immediate v_str;
p_Totalinserted := p_Totalinserted + 1;
commit;
END LOOP;
UTL_FILE.FCLOSE(v_filehandle);
EXCEPTION
WHEN UTL_FILE.INVALID_OPERATION THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20051, 'sps_dataload: Invalid Operation');
WHEN UTL_FILE.INVALID_FILEHANDLE THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20052, 'sps_dataload: Invalid File Handle');
WHEN UTL_FILE.READ_ERROR THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20053, 'sps_dataload: Read Error');
WHEN UTL_FILE.INVALID_PATH THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20054, 'sps_dataload: Invalid Path');
WHEN UTL_FILE.INVALID_MODE THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20055, 'sps_dataload: Invalid Mode');
WHEN UTL_FILE.INTERNAL_ERROR THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20056, 'sps_dataload: Internal Error');
WHEN VALUE_ERROR THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE_APPLICATION_ERROR(-20057, 'sps_dataload: Value Error');
WHEN OTHERS THEN
UTL_FILE.FCLOSE(v_FileHandle);
RAISE;
END insert_spsdataloader;
/Justin, thanks. I did happen to change my pl sql procedure using utl_file.get_file and modifying the instr function based on position of ',' in the file, but my procedure is getting really big and too complex to debug. So I got motivated to use external tables or sql loader as plan b.
As I was reading more about creating an external table as an efficient way and thus believe I can perhaps build an extern table with my varying selection from the file. But I am still unclear if I can construct my external table by choosing different fields in a record based on a record identifier string value (which is the first field of any record). I guess I can, but I am looking for the construct as to how am I going to use the instr function for selecting the field from the file while creating the table.
PROSPACE SCHEMATIC FILE
; Version 2007.7.1
Project,abc xyz Project,,1,,7,1.5,1.5,1,1,0,,0,1,0,0,0,0,3,1,1,0,1,0,0,0,0,2,3,1,0,1,0,0,0,0,3,3,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Subproject,25580-1005303.pst,,102,192,42,12632256,1,1,102,192,42,1,12632256,0,6,1,0,32896,1,0,0,0,0,,,-1,-1,-1,-1,0,0,0,-1,-1,-1,-1,-1,-1,0,0,0,-1,-1,-1,-1,-1,-1,0,0,0,-1,-1,0,1,1,,,,,,1
Segment, , , 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , , , , , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, , , 1
Product,00093097000459,26007,2X4 MF SF SD SOLR,,28.25,9.5,52.3, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.60,0,0,0,0,00,-1,0
Product,00093097000329,75556,"22""X22"" BZ CM DD 1548",,27,7,27, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,,345.32
Product,00093097000336,75557,"22""X46"" BZ CM XD 48133",,27,7.5,51, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,0
Product,00093097134833,75621,"22""X22"" BZ CM/YT DD 12828",,27,9,27, 8421504,,0,,xyz INC.,SOLAR,,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,1,000000.20,0,0,0,0,0,0,0,,1For example, if I want to create an external table like this -
CREATE TABLE extern_sps_dataload
( record_layer VARCHAR2(20),
attr1 VARCHAR2(20),
attr2 VARCHAR2(20),
attr3 VARCHAR2(20),
attr4 VARCHAR2(20)
ORGANIZATION EXTERNAL
( TYPE ORACLE_LOADER
DEFAULT DIRECTORY dataload
ACCESS PARAMETERS
( RECORDS DELIMITED BY NEWLINE
BADFILE dataload:'sps_dataload.bad'
LOGFILE dataload:'sps_dataload.log'
DISCARDFILE dataload:'sps_dataload.dis'
SKIP 2
VARIABLE 2 FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"' LRTRIM
MISSING FIELD VALUES ARE NULL
+LOAD WHEN RECORD_LAYER = 'PROJECT' (FIELD2, FIELD3,FIELD7,FIELD9)+
+LOAD WHEN RECORD_LAYER= 'PRODUCT' (FIELD3,FIELD4,FIELD8,FIELD9)+
+LOAD WHEN RECORD_LAYER= 'SEGMENT' (FIELD1,FIELD2,FIELD4,FIELD5)+ LOCATION ('sps_dataload.csv')
REJECT LIMIT UNLIMITED;
{code}
While I was reading the external table documentation, I thought I could achieve similar things by using position_spec option, but I am not getting behind its parameters. I have highlighted italics in the code above(from LOAD WHEN....FIELDS....), the part I think I am going to use, but not sure of it's construct.
Thank you for your help!! Appreciate your thoughts on this..
Sanders. -
Advanced Report Formating and HTMLDB?
Hello,
I do have created a 'report' component type based on a SQL query with this output:
Alien|1979|Ridley Scott|Sci-Fi|DVD|http://www.imdb.com/title/tt
Alien|1979|Ridley Scott|Action|DVD|http://www.imdb.com/title/tt
My desired output is this:
Alien|1979|Ridley Scott|Sci-Fi|DVD|http://www.imdb.com/title/tt
____|____|__________|Action|____|____________________________
The "|" is a column border. Basically I do have 2 rows where all column values are duplicated except for genre (Action, Sci-Fi). I would like to have noly one row, and Action right below Sci-Fi. In SQL, I can use BREAK ON NODUPLICATES, but how to achieve this in HTMLDB?
In addition, I would like to have "http://www.imdb.com/title/tt" as an hyperlink (clickable).
Thank you for any advice.
DanielD.Please see my response to your break formatting question:
More than 3 breaks on report's columns? -
Payment Advice to Vendor Report Format
Dear Sap Guys,
This is the First time i am posting my queries i am currently in client place.
I would like to get report format for Payment Advice to Vendor Report Format
And
Asset Accounting Documents with Depreciation configurationDear Rupa,
Please send me a test mail: [email protected]
Will send the relevant asset accounting documents with Dep config.
Regards,
Sreeni.
+919986032960. -
Report Header and Column Header Removal
Hi,
we wanted remove report headers and Column header in each downloaded report. we are planning on using the Report header specifiers while reading each line, specifiers like "Report Name:","Report Time:","Time Zone:","Report
Filter:", etc.,
Here the question is are these values changes in a given version for each report? OR is it better to go by using line numbers i.e say first 8 lines always represents Report Headers and Next line is always blank and 10th line is always Column Header?
Report Name: Budget Summary
Report Time: 1/18/2015
Time Zone: Various
Last Completed Available Day: N/A
Last Completed Available Hour: N/A
Report Aggregation: Day
Report Filter:
Rows: 615
Date Account number
Account name Campaign name
Currency code
ThanksGood question. Yes the reports all generally follow the pattern you described. I have reached out to the feature team, and will follow up with the suggested best practice.
-
I want to make a report which will show my DB table data the way I want.Most report tools just fetch the data and format it in a typical row. But I want to display my row data in a way that I want.For example, I want to show each cell data of a row in a particular place in a report. like- id, top-left, name,top-right
and so on. I use Jasper report and QBEspress but can they format data this way.if so, can anybody give me a link for the tutorial.Hi Meenu
I'm using the EPM report formatting and excel.
I tried to make a macro run too.
But when updating loses the reference.
Following code:
Private Sub Worksheet_Change (ByVal Target As Range)
'Validates that was enacted i4 cell
If Target.Address = "$ I $ 4" Then
'Colours range from white
'Record a macro with its original formatting and replace this snippet
Range ("I11: T11"). Select
with Selection.Interior
. = Pattern xlSolid
. PatternColorIndex = xlAutomatic
. ThemeColor = xlThemeColorDark1
. TintAndShade = 0
. PatternTintAndShade = 0
end With
Range ("I12: T20"). Select
with Selection.Interior
. = Pattern xlSolid
. PatternColorIndex = xlAutomatic
. ThemeColor = xlThemeColorAccent2
. TintAndShade = 0.799981688894314
. PatternTintAndShade = 0
end With
'Sets the last column to be colored
Order = Replace (Format (Target, ">"), "V", "") + 8
'Tests whether the final column is greater than 8
End If> 8 Then
'Colours range.
'In this case the first line is 11 and the last line is the 20, but can be changed according to the need
For Each C In Range (Cells (11, 9), Cells (20, End))
C.Select
with Selection.Interior
. = Pattern xlSolid
. PatternColorIndex = xlAutomatic
. ThemeColor = xlThemeColorAccent1
. TintAndShade = 0.399975585192419
. PatternTintAndShade = 0
end With
Next
end If
end If
Range ("$ I $ 4"). Select
end Sub
Regards
Thaís -
How can I Read lines of data from a file starting at the end of the file??
Can anyone help me with how to read lines of data starting from the end of a file instead of the beginning?? I do not want to load the entire file into memory as the files are very rather large. Instead I want to start at the end of the file and read lines backward , until I find the particular data item i am searching for, then stop.
Can this be done in Java ? I know it can be done in Perl.
Thanks.Thanks for your suggestion about the RandomAccessFile, I did actually thought about that approach , but wasn't sure it would work.
I do not want to read the file in a sequential forward manner because the files contain large number of lines of data that have already been processed and therefore there is no need to reprocess these lines of data.
The Unprocessed lines are always at the the end of the file and these are the data lines I am interesting in getting at without having to read the entire file. Therefore, i figure that if I can read the data from the end of the file then this would be much more efficient. -
Tax Reporter (PU19):W-2 download format has additional lines and character
Hey experts,
when running tax reporter (PU19) and creating the magnetic file for our W2s, our file has additional lines and characters in the file when downloading it on our desktop.
The following occurs: At the top of the file:
01/20/2012 Dynamic List Display 1
|TEMSE OUTPUT |
Each line has an additional | at the beginning and end.
At the bottom we have an additional doted line:
How can we get rid of these lines and additional characters?
ThanksHi Arthi,
Thanks for the reply , for TAX form Group W2M1, W2M2, W2M3 , while configuring Evaluation of tax form
the following items required to select
Evaluation of tax forms (Employee info required)
Time ranges , in which data will be stored
Reporting of retro calculation
Please let me know how to configure these evaluation forms ?? and Does any wagetypes needed to be assigned to these tax form groups ??
Note:
The customers has to use manual entries options in PU19 and use the below TFG to populate the respective fields accordingly.
W2M1 MW508-Employer Total Tax Exempt Credits
W2M2 MW508-Overpayment to be credited
W2M3 MW508-Overpayment to be refunded -
CF Report Builder and Excel format
Hi Everyone,
I was trying to display a report in excel format in report builder. It shows the data, but I do not find the print button options, whereas I can see it with other formats. Is this the way it is, or do I need to format anything more within my report for showing up the print button option?This is only happening for excel format
ThanksHi Keiko,
Yes, CF Report builder is new and initially there was few
issues with this. But I guess now it's good after hotfixes.
Well, I am using CF Report Builder. It's good for me. You can
also design and develop complex reports, that depends upon the
query you are writing. You can also add subreports to your main
reports.
Mainly CF Report is platform independent and you can also
generate reports in PDF, EXCEL and FlashPaper.
Crystal Report is no doubt is very good, and it's there for
long years. I agree you can create complex reports with this, but
you also can do the same in CF also. You are using this for last 10
years, so I guess you should try something new and that is CF
Report Builder and you can judge then.
I am sure you will have fun with CF.
Thanks
Sankalan
(www.mindfiresolutions.com) -
Report Builder and the Delimited format.
Hi,
I am trying to build a very simple report with Report Builder.
Any kind of output format (HTML, PDF, etc) works fine EXCEPT the delimited one.
Each time i am trying to have this report in delimited format, i received an error message and these lines are added in the sqlnet.log:
Fatal NI connect error 12203, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80ORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\des_817\bin\RWBLD60.EXE)(HOST=NCA7219484F)(USER=helene.guerette))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.0.6.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.6.0.0 - Production
Time: 27-JUL-06 14:58:58
Tracing not turned on.
Tns error struct:
nr err code: 12203
TNS-12203: TNS:unable to connect to destination
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 0
nt OS err code: 0
The same report in another output format runs without problem.
Can somebody help please?
HeleneUse the parameter DELIMITER=',' .
I think it works
Ashok -
Crystal Report to PDF change fonts, cut text and change lines
Post Author: jzwanziger
CA Forum: Exporting
Hello all, I am using Crystal Reports v10 and I created my report. The report works fine and the export function works fine in some particular servers. We were developing under Windows Server 2003 Service Pack 2 using Visual Studio 2005 Service Pack 1. We created the deployment and in our testing servers works fine (Windows Server 2003 and Windows XP these machines doesn't have any development tool).
When we installed the same deployment (MSI) file in the customer Windows Server 2003, the exporting function to PDF or using it the Crystal Reports viewer doesn't work (Same worng thing that is displayed in the viewer is in the PDF). We had detected labels cut in the middle, some fields changed the font size or alignment and some lines move it up, down or growing. Obviously this looks like a environment problem, but we don't have any idea how to fix it, or what is missed.
We tried to install, Windows Service Pack 2, install Acrobat Reader v8, verified the dll's, try to install the "dbex10win_en.zip" hot fix (we were not able to install it, setup file fail due some registry inconsistencies), Validate that the fonts are the same, and nothing fix the problem.
Could somebody help us, we are a little desperate.
thanks in advace for any idea.See [this|https://forums.sdn.sap.com/click.jspa?searchID=29094456&messageID=7206473] forum thread for possible clues to a resolution. In a nut shell, as long as the Calibri font is up to date, the other two steps are;
1) Ensure you are using the latest Service Pack as suggested by Jonathan
2) See what USP10.dll is loading (use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility)
Also, if this is a win app, compile it to an exe and run the exe to see if the issue persists. (when running the app exe, the USP10 loaded should be from the CR bin directory. when running ion the .NET environment, the USP10 will load from win\system or other)
Ludek
Edited by: Ludek Uher on Jul 16, 2009 10:57 AM -
Post Author: usaitconsultant
CA Forum: JAVA
Would you know if there's a way to mimic Deski
document from BOXI server(CMS) to local machine, pass parameter, execute and
save in a mutiple report format then store in a local drive or network
drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only and not desktop intelligence. Please let me know your ideas. I would really appreciate your help. Thanks.Post Author: usaitconsultant
CA Forum: JAVA
Hi Ted,
Thanks for the reply.The file is not available in the server. Though, I checked CMS and I found an instance in history tab and the status is failed with error below.
Error Message:
A variable prevented the data provider Query 1 with BANRRD30 from being refreshed. (DMA0008).When I checked my codes, I found out that the object Im using is for web intelligence data provider. However, I cannot find any documentation and example for passing parameter values in desktop intelligence data provider. Any idea on this? You think this is not suported by Report Engine SDK?Thanks. -
I have an iPhone 5c I was messing with my calendar and pushed the little lines at the the top to create a list format. My events all disappeared and now I can not get anything back or add anything back. June reappeared and I can renter anything in July or August. I would like to undo this list format and return to my previous calendar view? Does anyone know what I am talking about?
tap again and choose the format month or let it be the day.
Maybe you are looking for
-
Blinking lights office jet pro 8600
HP has been very cooperative in clearing my problem. I am on my 3rd office jet pro 8600 plus, N911g. After a short period the blinking lights appear "turn printer off, then on" no other message. It's OK for a brief period and then the lights reapp
-
Empty File Handling in SAP XI------Urgent
Hi Frnds, 1) I have one doubt XI will support Empty file processing. Suppose in my scenario In sender side i am having Empty file i want to process this file , what are necessary steps i need to take. 2) In my scenario XI will support only 10mb f
-
Converted pdf to word doc with no issues but when i try to open word doc i get a messag saying "file you are downloading cannot be opened by the default program" I'm not very computer savvy, can someone help?
-
I had to remove itunes, but after removing my dvd drive and memory stick no longer worked. Re-installed itunes and no problem.......***
-
Challenging inDesign Crash Issue - attn Problem Solvers!
Hello... been struggling with this for weeks.... And before I begin, I know you should not open and work with InDesign files across a network... AND I have no solution to change our workflow, and the following set up has been working for months with