Report custom function and repository custom function
Hi Guru:
We have some repository functions.
When using them in the report, in design time, we will choose Add to report for the functions and then we could use it.
Then the repository functions are updated, and I found the report function, which comes from the repository function, is not updated, I need to add the repository function to the report again to update it.
As we will have more and more reports using the repository function, in the long run, is there a way to automatically update the report function from the repository for all the reports?
Thanks.
Eric
From Crystal's online help:
Repository objects that are used in a report and are connected to that report's repository can be updated automatically when opening the report in Crystal Reports. This behavior is controlled by an Options setting and is global for all reports.
Note: Objects that are used in a report but are disconnected from the repository are not automatically updated when the report is opened.
To set the update option
On the File menu, click Options.
The Options dialog box appears.
Click the Reporting tab.
Select the Update Connected Repository Objects on Open check box.
Click OK.
If you don't want to use this global option, you can also update a report's repository objects by selecting the Update Repository Objects option on the Open dialog box for an individual report.
Note: When you open a report that contains a command that is stored in the repository, and you have specified that you want to Update Connected Repository Objects on Open, only the definition of the command is automatically refreshed; the data that the command returns is not updated until you click the Refresh button in the report.
HTH,
Carl
Similar Messages
-
Access Report Custom Functions from code
Post Author: leedo
CA Forum: .NET
Hello,
I am using VS2005 (VB) and was able to change formula text from within code using the "FormulaFieldDefinitions" object. However, I am having problems finding out how I can do the same to Report Custom Functions. The reason I am doing all this is that I noticed during my Windows app is running the source of my .rpt file is thrown in the user "Local Settings\Temp" folder and all code is revealed by simply opening that file. Please help. ThanksLeedoPost Author: MJ@BOBJ
CA Forum: .NET
It looks like it is not possible to access the custom functions within a report using the CR .NET SDK. However, to address the potential security issue that you may be concerned about, is this a Windows or ASP.NET application? If this is an ASP.NET application, then you shouldn't have to worry about the security as the end-user (client) will not be able to access that folder since the rest of the web server is typically unaccessible by the client.
Another way to secure your reports is to use what we call "managed reporting" solutions such as Crystal Report Server or Business Objects Enterprise, which manages reports securely and your users are only allowed to access/see what you allow them to. These solutions also provide public SDKs so you could incorporate the system into your own applications. For more information, go to www.businessobjects.com/products. -
Custom Report for slow and fast moving items
Dear Xperts,
My client wants to develop a new report for slow and fast moving items, I checked the std report MC46 however as per std SAP design this report does not consider the special stock like project stock (Q)...could you please help me to know how can develop this new report with following input and output fields?
Input fields:
Plant
Material
Material Group
MRP Area
Special Stock Indicator
Special Stock (Type)
Output Fields:
Material
Material type
Material group
MRP Controller
MRP Area
ABC indicator
Material price
Category field – Slow, Fast, Non-moving
Current Stock
Last Issue Date
Thanks in Advance
Regards
RahulDear Rahul,
If you required project stock and consignment stock with valuated stock report in same place you need to generate new info structure as given below link. Or you can go with customized report with abaper.
Info structure validation
Regards
Sanjeet Kumar -
Help on Business Function "Reporting Financials 2" and its impact
Hi All,
I am looking at 'SAP Help' for Reporting Financials 2 (EhP4).
http://help.sap.com/erp2005_ehp_04/helpdata/EN/6a/cd7dbd74694af3ac13b3c24a10def4/frameset.htm
basically I want to use the standard extractor 0FI_AA_20 FI-AA: Transactions and Depreciation . when i try to run the extractor i get an error saying: Business Function "Reporting Financials 2" is not switched on
In order to use the new data sources the pre requisites are:
1. SAP Enhancement Package 4 for SAP ERP 6.0
2. Activated the Reporting Financials 2 business function.
The EnP4 is already implemented what i have do next is to activate the business function.
Can any one help me with more details on what all gets activated with this business function 'Reporting Financials 2' and its impact.
With Best Regards
Shilpa.Hi,
in SFW5 you can get an overview over the business functions. There you could activate the appropriate Business Function.
But I would recommend you strongly before to read some information and documentation about business functions and the enhancement package concept.
Regards,
Markus -
Custom report on payroll and time evaluation results
Hello Experts,
My client would like to have a custom report on payroll and time evaluation results , can you please provide me with 2 options of achieving them.
Thanks,
RegiHi,
The time clusters are found using reports RPCLST*(B2, B1, PC etc) via SE38. You can find the time clusters under the time menu in the menu tree.
PCL1 - Database for HR work area
PCL2 - Accounting Results (time, travel expense and payroll);
The database table PCL2 contains the following data areas:
B2 time accounting results
CD cluster directory of the CD manager
PS generated schemas
PT texts for generated schemas
RX payroll accounting results/international
Rn payroll accounting results/country-specific ( n = HR country indicator )
ZL personal work schedule
Tto retrieve payroll results accesse SAP transaction PC_PAYRESULT for all countries.
Finally u can get the results for time PT_CLSTB2 , for Payroll PC_PAYRESULT. With this t.codes u can get the require results for ur custom report.
Regards,
Devi. -
Can I run a Unique Clients and Users Summary report customized by both floor area and SSID?
In Cisco Prime, can I run a Unique Clients and Users Summary report customized by both floor area and SSID?
Allright guys. I appreciate the quick responses. I've worked a lot in CR however i am not understanding the solution so I'd appreciate if you can dumb it down for me. If i understand it correctly you guys are suggesting to make a formula, that either return my group by string (which is a formula in my report) or the Quantity. I tried writing a formula like this
if ({@param} = 1 then
GroupName ({@GroupBy})
else
{NetPNL.GrossAfterAdj}
but it seems like CR does not allow you to return 2 different data types. Even if it had worked i would not know what to do from there. Can anyone please dumb it down for me. To make my situation more clear below is an example of how my data is..
MN 100
MN 200
MN 50
CA 300
CA 500
when the data shows in the report, its grouped by state, so it comes out like
MN 350
CA 800
I want the users to decide whether they want it sorted by state (ascending)
CA 800
MN 350
or Total quantity (asc)
MN 350
CA 800 -
How to auto create Report Search functions and Breadcrumb Menu on new pages
Hi
First off I want to say I have just started using Html DB, and think its a great product! I have been using it for a few months now to create an application, and find it flexible, powerful, but still fairly simple to use.
When I create a new Application using "Based on Existing Tables", the pages that get created have some very nice Report Search functions and Breadcrumb Menu features generated automatically.
I want to do the same when I add pages to an existing application. That is, I want new pages to automatically include those Report Search functions and Breadcrumb Menu features.
I have tried various combinations of the existing wizards, but I have not been able to find any that generate all those features automatically. I know I can create pages using the page wizard, and then manually add the Report Search and Breadcrumb Menu. But that is very tedious. Nor can I find a better answer in the forum
Any suggestions or ideas?
Thanks
RichardCan you show the scripts and reports screenshort, so we can have a clerarl idea.
madni -
Enhancing Customer Reports with Commands and Parameters
Hi All,
I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
Regards
Poonam<i>True, the application property service is apparently not to be used for a real-life scenario</i>
You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
<i>in our case it forced the server down with deadlocks. </i>
This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
<i>
Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
</i>
The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
<i>Could you provide me with a link to the documentation for the logging framework?</i>
<a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0. -
Need to Build the report on Campagins and custom object 01
Hi All,
I am building the report on campaigns and customobject 01 ,But wen i build the report i was not able to get all the project ID that are associated to the campaigns.
The issue is when i pull the campaign id it wont fetches all the ID for customobject01 (becoz the relation is M:M)
Can u please guide how to build the report.
Regards
AnuHi,
you can try to add the metric fields to your report for all involved objects, like # of Campaigns, # of Projects and # of Custom Object 1. Afterwards you can hide these fields from layout. For me this has always helped.
Regards -
To build some Custom reports for Sales and Distribution
I want to build some Custom reports for Sales and Distribution.
I do not know how to do that.
I reviewed lots of threads earlier, but couldnt understand how to do that.
If any one can send me suitable step by step guide, I will really appreciate it.
Or send me some link or some documents with couple of nice exampples of how to do that.
Which setting to make in B ex and everything.
I am new to BI.
Please advise.
Points will be awardedHi,
Could you be more specific about your requirement. I could understand that you wanted to know what all are the Customer sales reports could be provided in SD.
Generally irrespective of projects few reports are considered as baseline reports for any SAP implementations.
For example: 1. Order intakes daily
2. Order intakes monthly
3. Order magin (daily,monthly)
4. Order analysis.
Best regards. -
Calling a report from function module
Hi Friends,
I have requirement for Function Module i.e. we will add the button to the standard T-code and ( Function added in config ) then
Function to be called from Customizing
Program A called from customizing function
CalculationPDFFunction is called from program A.
So can any one help me the logic for "calling a report from function module ".
Thanks in Advance.
Regards,
OSReddy.
Edited by: OSReddy on Sep 23, 2011 7:31 AMHi Jaya,
Yes. It is possible to call ur custom program using SUBMIT statement.
1. If u have data to pass then build table type RSPARAMS and use below statement.
data:
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
SUBMIT report1 WITH SELECTION-TABLE rspar_tab
AND RETURN.
1. If u want to create variant to the program and use that. use the below statement .
SUBMIT report1 USING SELECTION-SET 'VAR1' "variant
AND RETURN.
Regards,
Venkat.O -
Does R3 have a report or function module to process payments requests?
HI All,
I want R3 report or function module which will receive payment requests from vendor or customer and then procees it depending on the data.
Does R3 have such a report or function module to process payments requests?
Please help me.
Thanks.yes SAP as got a function for this
you can you use trannsaction code /nF111
for these purposes -
Accounts Receivable Report: Customer Wise Ageing Analysis report -FI module
Hi Gurus,
Can anyone help me in providing standard report(source code) or already done sample report(source code) for Accounts Receivable Report: Customer Wise Ageing AnalysisThis is in FI Module. Though it is FI Module we need to fetch details related to Sales Module, and the days should be <0 30 60 90 120 180 365 >365
It is urgent I need to deliver this report by this week end.
Please help me . Waiting for your reply.
Points Rewarded for help rendered and I would personally send a good gift if you can help me
Yours Truly,
Rajiv Christopher.
Edited by: Rajiv Christopher on Apr 2, 2008 11:33 AMHi,
i am attaching aging report.
see if this is useful to you.
REPORT ZFUS0102 MESSAGE-ID OA
LINE-SIZE 270.
Title: GR/IR AGING REPORT
Date: January 2001
TABLES: DISVARIANT, EKPO.
TYPE-POOLS: SLIS.
Tables
TABLES:
BSIS,
EKKO.
working table
DATA: BEGIN OF RTAB OCCURS 0,
HKONT LIKE BSIS-HKONT,
ZUONR LIKE BSIS-ZUONR,
BUDAT LIKE BSIS-BUDAT,
SHKZG LIKE BSIS-SHKZG,
DMBTR LIKE BSIS-DMBTR,
PRCTR LIKE BSIS-PRCTR,
END OF RTAB.
DATA: BEGIN OF WTAB OCCURS 0,
ZUONR(2) TYPE N,
PRCTR LIKE BSIS-PRCTR,
DAYS(4) TYPE P,
DMBTR LIKE BSIS-DMBTR,
END OF WTAB.
DATA: BEGIN OF PTAB OCCURS 0,
ZUONR(2),
PRCTR LIKE BSIS-PRCTR,
AMT30 LIKE BSIS-WRBTR,
AMT60 LIKE BSIS-WRBTR,
AMTPL LIKE BSIS-WRBTR,
TOTAL LIKE BSIS-WRBTR,
END OF PTAB.
PARAMETERS: COMPANY LIKE BSIS-BUKRS OBLIGATORY,
ACCT LIKE BSIS-HKONT OBLIGATORY,
DATE LIKE SY-DATUM OBLIGATORY.
SELECT-OPTIONS: S_EKORG FOR EKKO-EKORG.
PARAMETERS: P_VARI LIKE DISVARIANT-REPORT.
DATA: WS-AMT30 LIKE BSIS-WRBTR.
DATA: WS-AMT60 LIKE BSIS-WRBTR.
DATA: WS-AMTPL LIKE BSIS-WRBTR.
DATA: TITLE(21) VALUE 'GR/IR Aging Report'.
DATA: LIN TYPE I.
DATA: GX_VARIANT LIKE DISVARIANT,
G_VARIANT LIKE DISVARIANT.
DATA: LAYOUT TYPE SLIS_LAYOUT_ALV,
L_F TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
GROUP TYPE SLIS_T_SP_GROUP_ALV WITH HEADER LINE,
COLOR TYPE SLIS_T_SPECIALCOL_ALV WITH HEADER LINE.
DATA: LT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
LS_LINE TYPE SLIS_LISTHEADER,
T_EVENTS TYPE SLIS_T_EVENT.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
INITIALIZATION.
PERFORM EVENTTAB_AUFBAUEN USING T_EVENTS[].
PERFORM VARIANT_INIT.
Get default variant
GX_VARIANT = G_VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
I_SAVE = 'A'
CHANGING
CS_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 0.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM VARIANT_INPUTHELP_F14.
START-OF-SELECTION.
LS_LINE-TYP = 'S'.
WRITE SY-DATUM TO LS_LINE-INFO DD/MM/YY.
WRITE SY-UZEIT TO LS_LINE-INFO+10.
WRITE SY-UNAME TO LS_LINE-INFO+20.
WRITE TITLE TO LS_LINE-INFO+30.
APPEND LS_LINE TO LT_TOP_OF_PAGE.
PERFORM FIELDS.
IF NOT P_VARI IS INITIAL.
PERFORM PAI_OF_SELECTION_SCREEN.
ELSE.
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
I_DIALOG = ' '
I_USER_SPECIFIC = 'A'
I_DEFAULT = ' '
I_TABNAME_HEADER =
I_TABNAME_ITEM =
IT_DEFAULT_FIELDCAT = L_F[]
I_LAYOUT = LAYOUT
IMPORTING
E_EXIT =
ET_FIELDCAT = L_F[]
ET_SORT =
ET_FILTER =
CHANGING
CS_VARIANT = DISVARIANT
EXCEPTIONS
WRONG_INPUT = 1
FC_NOT_COMPLETE = 2
NOT_FOUND = 3
PROGRAM_ERROR = 4
OTHERS = 5.
ENDIF.
Decide which tables to access.
PERFORM MAIN_SELECT.
MOVE TITLE TO LAYOUT-WINDOW_TITLEBAR.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'ZFUS0102'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = LAYOUT
IT_FIELDCAT = L_F[]
IT_SPECIAL_GROUPS = GROUP[]
I_SAVE = 'A'
IS_VARIANT = G_VARIANT
IT_EVENTS = T_EVENTS
TABLES
T_OUTTAB = PTAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
FORM FIELDS *
FORM FIELDS.
L_F-FIELDNAME = 'ZUONR'.
L_F-OUTPUTLEN = 6.
L_F-SELTEXT_L = 'SERIES'.
L_F-REPTEXT_DDIC = 'SERIES'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
APPEND L_F. CLEAR L_F.
L_F-FIELDNAME = 'PRCTR'.
L_F-OUTPUTLEN = 10.
L_F-SELTEXT_L = 'PROFIT CTR.'.
L_F-REPTEXT_DDIC = 'PROFIT CTR.'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
APPEND L_F. CLEAR L_F.
L_F-FIELDNAME = 'AMT30'.
L_F-SELTEXT_L = '30 DAYS'.
L_F-REPTEXT_DDIC = '30 DAYS'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
L_F-REF_TABNAME = 'BSIS'.
L_F-REF_FIELDNAME = 'WRBTR'.
L_F-DO_SUM = 'X'.
APPEND L_F. CLEAR L_F.
L_F-FIELDNAME = 'AMT60'.
L_F-SELTEXT_L = '60 DAYS'.
L_F-REPTEXT_DDIC = '60 DAYS'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
L_F-REF_TABNAME = 'BSIS'.
L_F-REF_FIELDNAME = 'WRBTR'.
L_F-DO_SUM = 'X'.
APPEND L_F. CLEAR L_F.
L_F-FIELDNAME = 'AMTPL'.
L_F-SELTEXT_L = '60+ DAYS'.
L_F-REPTEXT_DDIC = '60+ DAYS'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
L_F-REF_TABNAME = 'BSIS'.
L_F-REF_FIELDNAME = 'WRBTR'.
L_F-DO_SUM = 'X'.
APPEND L_F. CLEAR L_F.
L_F-FIELDNAME = 'TOTAL'.
L_F-SELTEXT_L = 'TOTAL'.
L_F-REPTEXT_DDIC = 'TOTAL'.
L_F-REF_TABNAME = 'PTAB'.
L_F-SP_GROUP = 'A'.
L_F-REF_TABNAME = 'BSIS'.
L_F-REF_FIELDNAME = 'WRBTR'.
L_F-DO_SUM = 'X'.
APPEND L_F. CLEAR L_F.
ENDFORM.
FORM MAIN_SELECT *
FORM MAIN_SELECT.
SELECT HKONT ZUONR BUDAT SHKZG DMBTR PRCTR
INTO TABLE RTAB
FROM BSIS
WHERE BUKRS = COMPANY
AND HKONT = ACCT.
IF SY-SUBRC = 0.
SORT RTAB.
PERFORM PROCESS_RTAB.
PERFORM PROCESS_WTAB.
ENDIF.
ENDFORM. " MAIN SELECT
FORM VARIANT_INPUTHELP_F14 *
FORM VARIANT_INPUTHELP_F14.
DATA: G_EXIT(1) TYPE C.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = G_VARIANT
I_SAVE = 'A' " g_save
it_default_fieldcat =
IMPORTING
E_EXIT = G_EXIT
ES_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 2.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF G_EXIT = SPACE.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDIF.
ENDFORM.
FORM USER_COMMAND *
--> UCOMM *
--> SELFIELD *
FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE
SLIS_SELFIELD.
IF UCOMM EQ '&IC1'.
IF SELFIELD-TABINDEX <= 0.
MESSAGE S108.
EXIT.
ENDIF.
IF SELFIELD-SEL_TAB_FIELD CS 'LIFNR'.
SET PARAMETER ID 'LIF' FIELD SELFIELD-VALUE.
CALL TRANSACTION 'XK02'.
ELSE.
IF SELFIELD-SEL_TAB_FIELD CS 'VEND'.
SET PARAMETER ID 'LIF' FIELD SELFIELD-VALUE.
CALL TRANSACTION 'FBL1'.
ENDIF.
ENDIF.
CLEAR SY-UCOMM. CLEAR UCOMM.
ENDIF.
ENDFORM.
FORM TOP_OF_PAGE *
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = LT_TOP_OF_PAGE.
ENDFORM.
FORM EVENTTAB_AUFBAUEN *
--> P_T_EVENTS *
FORM EVENTTAB_AUFBAUEN USING P_T_EVENTS TYPE SLIS_T_EVENT.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_T_EVENTS.
READ TABLE P_T_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_T_EVENTS.
ENDIF.
ENDFORM. " EVENTTAB_AUFBAUEN
FORM PAI_OF_SELECTION_SCREEN *
FORM PAI_OF_SELECTION_SCREEN.
IF NOT P_VARI IS INITIAL.
MOVE G_VARIANT TO GX_VARIANT.
MOVE P_VARI TO GX_VARIANT-VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = 'A' " g_save
CHANGING
CS_VARIANT = GX_VARIANT.
G_VARIANT = GX_VARIANT.
ELSE.
PERFORM VARIANT_INIT.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREEN
FORM VARIANT_INIT *
FORM VARIANT_INIT.
CLEAR G_VARIANT.
G_VARIANT-REPORT = 'ZFUS0102'.
ENDFORM. " VARIANT_INIT
*& Form PROCESS_RTAB
text
--> p1 text
<-- p2 text
FORM PROCESS_RTAB.
DATA TLNS TYPE I.
DESCRIBE TABLE S_EKORG LINES TLNS.
LOOP AT RTAB.
IF TLNS GT 0.
SELECT SINGLE EKORG FROM EKKO INTO EKKO-EKORG
WHERE EBELN = RTAB-ZUONR(10).
CHECK EKKO-EKORG IN S_EKORG.
ENDIF.
IF NOT RTAB-BUDAT > DATE.
MOVE RTAB-ZUONR(2) TO WTAB-ZUONR.
COMPUTE WTAB-DAYS = DATE - RTAB-BUDAT.
IF RTAB-SHKZG = 'H'.
WTAB-DMBTR = RTAB-DMBTR * -1.
ELSE.
WTAB-DMBTR = RTAB-DMBTR * 1.
ENDIF.
MOVE RTAB-PRCTR TO WTAB-PRCTR.
APPEND WTAB.
ENDIF.
ENDLOOP.
FREE RTAB.
ENDFORM. " PROCESS_RTAB
*& Form PROCESS_WTAB
text
--> p1 text
<-- p2 text
FORM PROCESS_WTAB.
SORT WTAB BY ZUONR PRCTR DAYS.
LOOP AT WTAB.
PTAB-ZUONR = WTAB-ZUONR.
PTAB-PRCTR = WTAB-PRCTR.
AT END OF DAYS.
SUM.
IF WTAB-DAYS > 60.
WS-AMTPL = WS-AMTPL + WTAB-DMBTR.
ELSE.
IF WTAB-DAYS > 30.
WS-AMT60 = WS-AMT60 + WTAB-DMBTR.
ELSE.
WS-AMT30 = WS-AMT30 + WTAB-DMBTR.
ENDIF.
ENDIF.
ENDAT.
AT END OF PRCTR.
PTAB-AMTPL = WS-AMTPL.
PTAB-AMT30 = WS-AMT30.
PTAB-AMT60 = WS-AMT60.
COMPUTE PTAB-TOTAL = PTAB-AMTPL + PTAB-AMT30 + PTAB-AMT60.
APPEND PTAB.
WS-AMTPL = 0.
WS-AMT30 = 0.
WS-AMT60 = 0.
ENDAT.
ENDLOOP.
SORT PTAB BY ZUONR PRCTR.
ENDFORM. " PROCESS_WTAB
regards,
Sindhu -
SSRS reports : custom shapes
Hello,
I have to generate DOCX, XLSX and PDF format with custom shapes. Attached is a sample of the report expected. The shapes contain data from DB. The color of the shapes will vary depending on the data from DB. e.g. the shape can be gray in one report and can
be green in another, depending on user selection.
How can I create such a report using SSRS? Should the shapes be generated at runtime or I should add the shapes to the template?
If I add the shapes as image to the template, then how can I superimpose the text from the DB? also how Can I control thecolor?
if SSRS is not the best way to do this please suggest.Hi RachanaD,
Reporting Services provides a rich set of tools for building and publishing enterprise reports, managing security and subscriptions, and extending the reporting functionality through a comprehensive API. So if we want to extend existing functionality with
alternative versions of controls that are already included with Reporting Services, we can custom some report items run-time component and design-time component that can be used in Report Builder.
To custom a report item like polygons in Reporting Services 2008 R2, we should be familiar with Visual Studio and Microsoft Visual C#, and our system must meet the following requirements to use the PolygonsCRI sample:
Microsoft SQL Server 2008 R2 with Reporting Services.
Microsoft SQL Server Business Intelligence Development Studio.
Microsoft Visual Studio 2008 or later.
Microsoft .NET Framework 2.0.
Reporting Services samples.
A report server that you have permission to access on your network.
Then we can refer to the following document to use the custom item in report:
http://msftrsprodsamples.codeplex.com/wikipage?title=SS2008R2%21Custom%20Report%20Item%20Sample&referringTitle=Home
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Printed Purchase Order Report Custom version FAX enabling
Hi All,
We customized Printed Purchase Order Report(Landscape) 'POXPRPOL' and is runnig fine. Our client want FAX enabled to the output of custom report.
Is there any option like print option for this. Or do we need to write and code for this.
Please help.
ThanksHi;
Please see below which could be helpful for your issue:
http://blogs.oracle.com/xmlpublisher/entry/faxing_from_ebs
http://www.strsoftware.com/blog/oracle-ebs-r12-1-3-submit-request-delivery-options-button-fax-4-of-6/
Also see <a href=https://forums.oracle.com/forums/search.jspa?threadID=&q=fax&objID=c3&dateRange=all&userID=&numResults=15
this search</a>Regard
Helios -
Report Custom Vertical Table Question
Hello Guys,
I am trying to display some data in a custom vertical table (for a report). The data that I have looks like this :
Customer number Name Product Age
123 John Customer Checking 50
456 Jane Customer Savings 40
When I display it using a vertical table (or attribute value pairs) the data looks like:
Customer number: 123
Name : John Customer
Product: Bank Account
Age: 50
Customer number: 456
Name : Jane Customer
Product: Bank Account
Acct No: 40
But I want to display the data like this:
Customer number: 123 456
Name : John Customer Jane Customer
Product: Bank Account Bank Account
Age: 50 50
The option here is to change the data to dynamic columns rather than dynamic rows. I tried manipulating the templates but it would not do it. Any other suggestions?
Thanks!Hi Badri,
OK - this is what I did (there's no documentation as such, so I'll just give you the step-by-step guide here!):
1 - In your application, go to Shared Components then Templates
2 - Click the Create button
3 - Click the "Report" option
4 - Select "From Scratch" and click Next
5 - Enter a name for the new template (for example, "Vertical Report"), leave the Theme as your current theme, set Template Class to "Custom 1", tick the "Named Column (row template)" option and click Create
This creates a new blank report template - scroll down the list of templates to this new one and click on the name to edit it.
In there, you need to enter the following:
Row Template 1 setting:
<td>
<table cellpadding="0" border="0" cellspacing="0" summary="" class="t18Standard" style="border-collapse:collapse">
<tr><td class="t18Data">#1#</td></tr>
<tr><td class="t18Data">#2#</td></tr>
<tr><td class="t18Data">#3#</td></tr>
<tr><td class="t18Data">#4#</td></tr>
</table>
</td>NOTE: In my example report, I show four columns (EMPNO, ENAME, SAL, COMM) - these are refered to as #1#, #2#, #3# and #4# above (#1# means column number 1, #2# is column 2 and so on - but use the column numbers not the names in your template). If you have a different number of columns add in or remove lines of: <tr><td class="t18Data">#nn#</td></tr> (replacing nn with the column number)
Leave all other settings in the Row Templates section blank
Before Rows setting:
<table cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;">
<tr>
<td>
<table class="t18Standard" cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;">
<tr><th class="t18ReportHeader">EMPNO</th></tr>
<tr><th class="t18ReportHeader">ENAME</th></tr>
<tr><th class="t18ReportHeader">SAL</th></tr>
<tr><th class="t18ReportHeader">COMM</th></tr>
</table>
</td>NOTE: You will need one TR tag for each of the column headings - I have four here (EMPNO, ENAME, SAL and COMM) - add or remove lines of <tr><th class="t18ReportHeader">COLUMNNAME</th></tr>
After Rows setting:
</tr>
</table>
<table>
<tr>
<td>
#PAGINATION#
</td>
</tr>
</table>Leave all settings in the Pagination section blank
NOTE: Any "class" name used above assumes that you are using Theme 18 (t18Standard is the standard report style class, for example) - you will have to update these to match your own theme
Click Apply Changes to save this
Now go back to your page and click on the "Report" link for your report region - this takes you to Report Attributes. Scroll down to the "Report Template" setting and change this to your new template. Click Apply Changes to save that.
When the page is rendered, a new table will be created for the report, the headings will be created within another table in the first TD on that table. All data lines are created as separate tables within new TD tags - this makes the output go across the page instead of down.
Andy
Maybe you are looking for
-
HT201299 use cellular data for is empty
my wifi works well my 3g connection is active but all my apps are not connecting to internet when im only using 3g n if i go to cellular: USE DATA PLAN FOR: it shows only PASSBOOK n no other application like google viber or whatsapp not even the defa
-
I have a table TAB that has two colums. COL1 and COL2. Both are composite Primary key. The data is as COL1 COL2 1 C 2 C 3 C 4 G 5 G 1 G 3 G 6 G 7 G I need to find out those COL1 values whose COL2 values are C and G. Ex COL1 COL2 1 C 3 C 1 G 3 G So i
-
"Missing port information" when calling web service
I have implemented a web service that works fine as long as I use primitive types as arguments and return types, but when I add a method that takes a user-defined class as an argument, I receive the following error when calling any of the methods in
-
Using Overwrite, snapped PC files from Vegas are 1 frame off in timeline!
Perhaps someone here can offer some help... I was given a 30 minute piece of video that someone else created and started in Sony Vegas on PC. I have to finish the project in FCP. I personally did the final Audio soundtrack myself in Pro Tools. I am s
-
Hi All, Sometimes the flexfield from the task tab in the service request doesn't open, as if it is inactivated. This is a random stuff and we couldn't find the reason. Did one of you had the same problem? Thanks, Dora