Crystal 2008 How to Add a stylesheet to a report?
Crystal 2008 How to Add a stylesheet to a report?
I have no idea where to start:
- Dont know how to link css to report
- Dont know how to format different fields etc
Please help.
Hello,
Hit the F1 key in CR Designer and then search on StyleSheet and it will give you info on to.
Thank you
Don
Similar Messages
-
How to add two columns in OBIEE report?
Hi to All,
Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
Thanks in Advance,
ThenmozhiAssume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
Let me know if you are looking for something else.
Thanks -
How we add & grandtotal of sales order report in alv
hi guru how we add & grandtotal of sales order report in alv
regards
subhasishi subhasis,
since u want the grand total in ALV use the following code...
clear gs_fieldcat.
gs_fieldcat-fieldname = field.
gs_fieldcat-tabname = DB table
gs_fieldcat-seltext_m = text.
gs_fieldcat-do_sum = 'X'
gs_fieldcat-datatype = data type (Curr or Quant)
gs_fieldcat-ref_fieldname = reference field name
gs_fieldcat-ref_tabname = reference table name
append gs_fieldcat to gt_fieldcat.
hope this will work...
please reward points in case usefull
regards,
prashant -
Reg:HOw to add new charactersitics in standard report
hi all
HOw to add new charactersitics in standard report
regards
JK RaoYou need to copy the std report and make necessary changes in the copied report. SAP does not allow changes to std report. The technical details of the report can be seen by selecting from the menu Extras - technical information. Select the library and Report name. Copy the same using t code GRR1. Carry out necessary changes and SAVE. Before execution, you will have to specify the report group in which report needs to be attached. You can choose and existing group or specify a new one.
Regards
Rakesh Pawaskar -
How to add company logo in z report
Hi !
i want to know how to add company logo into custom report ...
generally we used below mentioned code for sap logo
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LIST[]
I_LOGO = 'ENJOYSAP_LOGO'.
ENDFORM. "top_of_page"
what changes we need to do to add company logo into custom report
Please guide
Regards
SheetalFirst upload ur required logo in SAp by t-code SE78.
Use teh above mentioned ALV code for the same.
Try to search on SDN for the u can find the full ALV code for the same.
..lakhan -
How to add search help to a report.
How to add search help to a report.
Hi
It can use the event AT SELECTION-SCREEN ON VALUE REQUEST:
PARAMETERS: P_FIELD LIKE ....
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FIELD.
* Here it needs to insert the abap code to call the search help,
* for example it can call fm F4IF_FIELD_VALUE_REQUEST
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = SPACE
SEARCHHELP = <SEARCH HELP>
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_FIELD'.
Max -
How to add different query results in Report designer
Hi,
I am creating a report based on 3 queries. At the end i need to show total of 3 query results.
How can i add results of queries in report designer??
thanks in advanceHi Siva,
As u said that u want to show the results of the queries through report designer but i think it is used for formatted reports .
If u want to see tha results of diffrent query then u can use workbook .
In workbook u can also analyse reports easily by applying slice and dice techniques .
from different queries result set will be displayed on workbook with formatting and good look and feel.
regards,
Supriya -
How to add HEX values in a Report.
I have a special requirement. I need to add hex values in a report. To be specific, the special HEX characters: 0D 0A 0C 0C, has to be added to TOP of PAGE event.
Drawing What I want will be something like that:
CR/LF FF/FFABCDEFHGIJKLMNOZVCXC
This is a Report that has to be send to the spool. Once in the spool will be converted to TXT file. I created a small code using print control function but still It is doesnt working.
I defined a print control ZPAGE as 0D 0A 0C 0C.
Any idea how to do this?.
** This report doesnt include the Top-of Page event.
** Example Report.
REPORT ZCAPRTHEX2 NO STANDARD PAGE HEADING.
Data: String1(120) type c value 'ABCDEFHGIJKLMNOZVCXC'.
WRITE : /.
PRINT-CONTROL FUNCTION 'ZPAGE'.
WRITE : string1.
This is what I see in SP01 as HEX View
ABCDEFHGIJKLMNO ZVCXC #ZPAGEIf you download spool to file like that, you are still getting the spool in SAP format, it's not going to have the hex chars. You need to print the file by clicking on printer button. SAP generates file in printer readable format and send it to printer. I'm refering to that file.
Ask your basis folks to write the spool output reqest file to a file instead of sending to the printer. Open that file in hex viewer.
Regards
Sridhar -
How to add SAP BI or BEx Reports on Reports Work center link in WEB UI
Hello All,
I have question, How to add SAP BI Reports on Reports Work center link in WEB UI? I found an article on SDN but could not understand. Please provide all steps in detail.
Thanks,
BMWHi BMW325ci (I hope you have the latest model )
Here are the steps:
1. have the BI team create a webversion of the report. (not required when calling a query directly
2. create in SPRO --> CRM --> UI Framework --> UI Framework Definition --> Display SAP NetWeaver BI Reports in CRM the reports you want to display
e.g. BI Report ID Z_DYBE_GROSS_SALES_CUST_MAT
Long description Revenue per customer/materialgroup
BI Object Type HT Template 3.x (depending on your BI version)
BI Object Key ZWCOPALM01_PPS_REVENUE_ARTG_V2
BI System (when using the webtemplate, nothing needs to be filled)
3. create in SPRO --> CRM --> UI Framework --> Technical Role Definition --> Define Navigation Bar Profile
a. A logical link for each BI report.
e.g. Logical Link ID ZDB-ACC-DE
Type D BI report
Target ID DISPLAY
Parameter Z_DYBE_GROSS_SALES_CUST_MAT
Parameter Class CL_CRM_GEN_UI_BI_UTIL
Icon Name GC_ICON_REPORTS
Title Revenue per customer/mater.
Description Revenue per customer/materialgroup
b. Include in the relevant Report Work Center Link the logical links you have created in step 3.a
e.g. Group ID SLS-ACC-RE
LogLinkID ZDB-ACC-DE position 80
c. Make sure that your work center link is assigned to the work center
e.g. Work Center ID SLS-REPORT
GroupID SLS-ACC-RE position 10
d. Make sure that your work center is assigned to your navigation bar profile
at this moment the report is linked to a standard workcenter, which can be shown on the webui.
4. In your business role, you need to of course make sure that the flags on the workcenter entries are set on show in menu and directly.
This should give you the complete picture.
KR,
Micha -
How to add custom feild in std report 2kee
Hi,
How we can add custom field in standard report 2kee.
I need one extra field to add in 2kee report for the same is there any customization req.
Regards
RaviIF you are in ECC 6.0, you can use enhancement option or if you are below the version, you would have to copy into Z program and then create Ztransaction for this. In Z program, you can add whatever you want.
-
How to add a button as a report column
Hi everyone,
I am trying to add a button in a report as a column, thus, as the button press, one of column at current row of the report will be filled. Does anyone know how to do it?
I knew I can do check box as a report column and create a button to process it But request hopes just one button for each row as result.
Thanks!
XWI am not sure what you are trying to do exactly. Adding a button is something you can do for sure in a report ( make the PK column a link and define the link image as a button ), but am not sur what you want the button to do, is it something like <edit> that when you click on it it takes you to another page (form) to edit that record info ? if yes then this is also doable for sure....let me know
Sam -
How to add the parameters onto the reports while calling from forms
Hi all,
I am using oracle forms 10g. I want to call a report from the form.
But i dont know how to add parameters to the url while using
web.show_document();
i have a sample code. But it does not add the forms values onto the url.
DECLARE
v_host varchar2(100);
v_port varchar2(10);
v_parameter_string varchar2(4000);
v_username varchar2(50);
v_password varchar2(50);
v_database varchar2(50);
BEGIN
-- Get the full domain name of the server from the formsweb.cfg
tool_env.getvar('SERVER_URL',v_host);
-- Get the username/password and database from the .env file
tool_env.getvar('APPLICATION_USERNAME',v_username);
tool_env.getvar('APPLICATION_PASSWORD',v_password);
tool_env.getvar('APPLICATION_DATABASE',v_database);
-- If it is localhost then we are running on windows and need to use the windows port, otherwise we
-- are on AIX and need to use the AIX port
IF v_host = 'localhost' THEN
v_port := '8889';
ELSE
v_port := '7778';
END IF;
-- Now build the parameter string for running the report
v_parameter_string := 'server=rep_fsprod';
v_parameter_string := v_parameter_string||'&report=AAP_TOTAL_CONTRACT_VALUE_RPT.rdf';
v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
v_parameter_string := v_parameter_string||'&execution_mode=batch';
v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
v_parameter_string := v_parameter_string||'&destype=cache';
v_parameter_string := v_parameter_string||'&desformat=pdf';
-- Now run the report
web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
END;
Are we able to add the text values in the form from to the URL.
Please let me know....
thanks in advance....
Naveenhello
read the following white paper http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
cheers
Q -
How to add Traffic Lights to a Report?
Hi,
How do U create a Traffic Light? and how to you change the Light? That's all I need.
Thanks,
Kishanhi dude,
This is the way u add lights to ur alv report.
I'm following this method and i'm getting lights. This will work for sure.
In data declaration along with your alv display structure as a field named lights(any name).
DATA : BEGIN OF wa_srr,
vbeln LIKE vbak-vbeln, "Sales Order number
posnr LIKE vbap-posnr, "Item nunmber
matnr LIKE makt-matnr, "Material number Desc
maktx LIKE makt-maktx, "Material Description
gbstk LIKE vbuk-gbstk, "Completion status
bukrs LIKE knb1-bukrs, "Company Code
butxt LIKE t001-butxt, "Company Code description
vkorg LIKE vbak-vkorg, "Sales organization
vtext LIKE tvkot-vtext, "Sales Org description
vtweg LIKE vbak-vtweg, "Distribution Channel
dtext LIKE tvtwt-vtext, "Dist Channel description
spart LIKE vbak-spart, "Division
dvtxt LIKE tspat-vtext, "Division Description
kunnr LIKE vbak-kunnr, "Customer Number
name1 LIKE kna1-name1, "Customer Name
land1 LIKE kna1-land1, "Country
regio LIKE kna1-regio, "State
ort01 LIKE kna1-ort01, "City
erdat LIKE vbak-erdat, "Creation Date
vdatu LIKE vbak-vdatu, "Due date
kwmeng LIKE vbap-kwmeng, "Material Quantity
netpr LIKE vbap-netpr, "unit net price
netwr LIKE vbap-netwr, "Price
wavwr LIKE vbap-wavwr, "Cost price
bzirk LIKE vbkd-bzirk, "Sales District
bztxt LIKE t171t-bztxt, "Sales District Discription
lights, "Diplaying Status
END OF wa_srr.
While you are building the field cat do as follows
FORM build_layout CHANGING l_wa_layout TYPE slis_layout_alv.
l_wa_layout-zebra = cb_zebr. "Set alterante colored line
l_wa_layout-colwidth_optimize = cb_colop. "Optimize column width
l_wa_layout-no_vline = cb_novli. "No vertical line
l_wa_layout-no_colhead = cb_nocol. "no column Header
l_wa_layout-lights_fieldname = 'LIGHTS'. "Set light field
(assigning the field u have added in ur structure here as light field in alv report)
ENDFORM. " BUILD_LAYOUT
Then as per the logic, u make green, yellow or red light
Example,
FORM build_light .
LOOP AT it_srr INTO wa_srr. "for all entries in the table
IF wa_srr-gbstk = 'C'. "If status is 'completed',
wa_srr-lights = '3'. "Show green signal light
ELSEIF wa_srr-gbstk = 'B'. "If status is 'Partial'
wa_srr-lights = '2'. "Show yellow signal light
ELSE. "If status is 'incomplete'
wa_srr-lights = '1'. "Show red signal light
ENDIF.
MODIFY it_srr FROM wa_srr. "Update to table
ENDLOOP.
ENDFORM. " build_light
after building ur layout, Pass it to ur alv function module like this.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page = 'TOP_OF_PAGE'
i_background_id = 'ALV_BACKGROUND'
i_grid_title = text-011
pass ur layout structure here********
is_layout = wa_layout
it_fieldcat = it_fcat
it_sort = it_sort
i_save = v_save
is_variant = wa_variant
is_print = wa_print
TABLES
t_outtab = it_srr
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE i001. "List cannot be displayed
ENDIF.
wat all i did to add light is,
1) adding an extra field in the main structure.
2)create internal table with this structure as data table for alv report
3) add 'field name' field in layout
4) I have passed values(3, 2, 1) for green, yellow and red light resp, to the field(LIGHTS) in the internal table that is passed to alv function module.(Based on some condition)
5) pass the layout structure layout to alv function module
Thats it. If u do all this teps, u r done with it.
Lemme know u solved it by giving points.
with regards,
praveen. -
HOW TO ADD DRILL DOWN IN A REPORT
hi
well i want to add drill down in my report....
im unable to find it ....
can you please help me to make a drill down in my report.
thnx and regards
UMAR NAYAB.hey thnx toronto..
im able to make drill in my report....
now my chart is not changing its data according to drill.....
like my bar chart should also change with the data drilled down....
please help regarding this....
regards. -
Crystal 2008 - How to use the total revenue in a formula
Hi, Experts,
With Crystal report 2008, I created Income Statement in the following steps:
1. select the Journal Entries within a date range
2. group accounts by their father accounts
3. summarize father accounts under Revenue and Expense ( then I got Total Revenue and Total expense in my groupfoot)
Now, I'd like to calculate the percentage of
(Revenue or Expense under each father account) / (total revenue)
When I directly set the formula as: Sum ({@MonthBalance}, {OACT.FatherNum})/Sum ({@MonthBalance}, {@Seg0FirstLetter})
It gives the percentage of (Revenue or Expense under each father account) over (the summary of their group - Revenue or Expense)
Please help how could I use only the total revenue amount in my formula?
Thanks!
Lorrie
Edited by: Lorrie Liu on Mar 27, 2009 4:59 PMCare to share? There might be someone one day who will bless your name.
Cheers
Adam
Maybe you are looking for
-
Why is my iphone sending messages from my email and not my number?
My phone will send messages from my email rather than my number. I have gone to the settings to switch it to send just from my number. When i do that, it does not send. What do i do to fix this problem!?
-
Why is the video quality so bad on the recent download helper upgrade
I use the download helper add on on a daily basis and the video quality up till yesterday was crystal clear. but then yesterday there was an automatic update to the latest version and since then the video quality is total crap. nothing but annoying p
-
Hello This is the question regarding Daily Time Bucket Profiles,Why we are Using the daily time bucket profiles..How to Create a daily time bucket profiles. Thanks Prasanna.c
-
Hey my iPod is not showing up on iTunes and my computer doesn't recognize it. It runs out of battery very fast and only shows the 'Connect to iTunes" screen. What do I do?
-
Deleting line/changing plan to individual
Help me! I made the big mistake of adding a boyfriend to my phone plan. Of course things did not work out! I need to deactivate his phone and change my plan from a family plan to an individual plan. What do I need to do to acheive this? Thanks!!!