Custom report instead of standard standard report "EAMWRREP" from OAF
Hi All,
I have a requirement to fire a custom report instead of standard standard report "EAMWRREP" from OAF.
Screen -> EAM Self Service Maintenance -> Work Orders -> Search Work Orders -> Print Work Order
Standard page ->WorkOrderRepPG 120.2
Standard Controller -> WorkOrderRepCO
I have extended the standard controller to override the call
as shown below :
Standard WorkOrderRepCO :
oapagecontext.putParameter("p_DataSourceCode", "EAMWRREP");
oapagecontext.putParameter("p_DataSourceAppsShortName", "EAM");
Extended :WorkOrderTestCO
oapagecontext.putParameter("p_DataSourceCode", "USS_EAM_WO_OAF");
oapagecontext.putParameter("p_DataSourceAppsShortName", "XP2P");
The custom report gets fired with header and footer but with NO DATA.
The custom report is a simple RDF+XML report (RDF data model + XML template)
with just query SELECT wip_entity_name from wip_entities where wip_entity_id = : WipEntityId
Can some one please let me know how to pass parameters to a report likne mine??
Regards,
Ambika Ramachandran
Try the OA Framework Forum
Similar Messages
-
Custom report migrated from 11i r12 not working
Hi,
I've a custom report developed in reports 6i in 11i env.If you run this report in 11i it's displaying data no errors. It has been migrated to R12.I tried to test this report.It's not displaying any data or errors.Is there any environment or intialization setup I need to take care of before testing this?
Thanks,
Kiran.Please post the details of the application release, database version and OS.
What type of reports you have?
Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]
Where To Set The "Operating Unit Mode" When Defining A Concurrent Program [ID 847094.1]
Multi Org Access Control (MOAC) in Oracle Purchasing [ID 397362.1]
Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
Thanks,
Hussein -
Problem in XML Publisher Report submission from OAF Pages
Hi,
I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
So my doubt is
Does the Standard Concurrent program used in OAF supports the rtf reports.
Please suggest if any modifications to be done in the Concurrent program
KrishnaKrishna
Modified your code a little bit.Use this
public int submitCPRequest(String shipmentId) {
System.out.println("into submitCPRequest");
OAPageContext pageContext;
OAWebBean webBean;
try {
OAApplicationModule am =pageContext.getApplicationModule(webBean);
OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
String applnName = new String("XXAPL"); //Application that contains the concurrent program
System.out.println("ApplName"+ applnName);
String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
System.out.println("Concc Name"+ cpName);
String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the
//vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(shipmentId);
System.out.println("Args"+ cpArgs);
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
System.out.println("Req Id"+ requestId);
tx.commit();
return requestId;
catch (RequestSubmissionException e) {
System.out.println("Into Exception");
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
catch(Exception exception)
throw OAException.wrapperException(exception);
}Thanks
AJ -
Problem with RTF Report Generation From OAF Page
Hi,
I have a requirement where from OAF page, on a button click, a RTF report should be generated. Template has been already defined for the same. If I want to generate report in .xls or pdf, it is working fine but in case of RTF it is showing that "Word cannot start the converter mswrd632" and then onclick of ok, it is displaying some junk data in word doc.
Below is the code written in PFR-
else if((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
outputType = "application/vnd.msword";//"application/vnd.ms-word.document";//"application/vnd.ms-word";
ext = ".doc";
if ((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, TemplateHelper.OUTPUT_TYPE_RTF, null, pdfout);
else
TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, (byte)btype, null, pdfout);
Please help urgently by sharing your ideas about solving this problem.
Thanks,
Anniehi Annie,
Please check the links may be it will help you:
https://forums.oracle.com/thread/2185528
https://forums.oracle.com/thread/2545516
https://forums.oracle.com/thread/2543842
https://forums.oracle.com/thread/2342141
if you get the right solution please mention here, it will help others.
Regards
Mahesh -
How do I personalize a form to call a custom package instead of standard
We are finding that the vertex tax package is not correctly calculating the taxes for AR late changes. The late payment charge invoices are being created without an item and we know that if we had this in there the taxes would be calculated correctly. We have a solution designed by a senior architect and would like to pursue that approach unless it has been established it is impossible.
From the Batch maintenance form ARIINR.fmb there is a generate button. It calls some pl/sql and eventually the api to create the invoice. What we want to do here is from the when button pressed trigger call a custom package (with most of the same logic intact). The problem is is that we don't want to call both the custom and standard package, only the custom one.
My question is really is there any way to avoid calling the standard package by exiting out of the trigger after the custom package completed? I know I could easily change the standard form to accomplish this but we want to accomplish this in such a way to still maintain our support with Oracle on this form. So we are looking to do this via a personalization or custom.pll change.
Any help would be very much appreciated. Thanks for your time.To my knowledge, both CUSTOM.pll and Forms Personalization execute code in addition to standard code, not instead off.
-
CRM SSRS Custom Reports - moving from one org to another
Hi all,
I have a development and UAT organisation on-premise (but same CRM organisation copied across). I want to copy my report from my dev environment to UAT. I have tried to 'Download' the report from dev and import it into UAT but I get 'RsProcessingAborted' report
error when I try to run the report. It is working on the dev environment fine.
Do I need to manually change some of the connection strings in the exported report? See below for exported report contents (some of it)
<DataSources>
<DataSource Name="DataSource1">
<ConnectionProperties>
<DataProvider>MSCRMFETCH</DataProvider>
<ConnectString>https://server/organisation</ConnectString>
</ConnectionProperties>
<rd:SecurityType>DataBase</rd:SecurityType>
<rd:DataSourceID>5b12dbd8-0505-43ca-bb35-959b6b9584ef</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<QueryParameters>
... etc
Do I need to change this stuff manually and if so, what do I need to change? (or is there an easier way?). When I don't change anything, I get rsprocessingabored. I can run reports on the UAT when they are created in the UAT CRM organisation so i know the report
server is working ok on both environments.
Thanks,
CHi ColinMackers222,
According to your description, you migrate the report from develop environment to UAT environment. When you run the report, you come across 'RsProcessingAborted' error.
In your scenario, I suggest you migrate SSRS reports to another report server instead of copying the .rdl directly, you can use Reporting Services Migration Tool to achieve your goal. Or you can use rs.exe script to migrate the content to the new report
server. For more information, please refer to the articles below:
SQL Server Reporting Services: Migrating SSRS reports, data sources and subscriptions from one server
to another
Sample Reporting Services rs.exe Script to Migrate Content between Report Servers
Regarding the 'RsProcessingAborted' error, it could cause by the stored credential can’t access datasource. You should check if the connection string for the report is correct, and make sure the specified stored credential can access the datasoure from the
UAT environment. If issue persists, please provide detail error message for our analysis. For more information, please refer to this article:
MSCRM and the dreaded rsProcessingAborted error.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
XML Publisher Report Output from OAF Page
Hi,
I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
Please see the below code.
OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
System.out.println("s1 = " + s1);
String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
System.out.println("s2 = " + s2);
String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
System.out.println("s3 = " + s3);
if(requestId != 0)
try
Number number = new Number(requestId);
callablestatement.registerOutParameter(1, 12);
callablestatement.setInt(2, number.intValue());
callablestatement.setString(3, s2);
callablestatement.setString(4, s1);
callablestatement.execute();
String s4 = callablestatement.getString(1);
System.out.println("Before S4 if statement");
if(s4 == null || s4.equals(""))
// throw new RuntimeException();
System.out.println("URL is null");
System.out.println(" print ouput url - " + s4 );
// throw OAException.wrapperException(exception);
oadbtransactionimpl.putValue("OutputURL", s4);
System.out.println(" print ouput url - " + s4 );
}Look at the links AJ gave.
Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
All of these things are in the XML Publisher documentation and Javadocs. -
RESCIS - Unable to select custom report from Selection Screen
Hi all,
we have developed a custom report for transaction "RESCIS-Evaluation of service charge settlement" but we have found that althought the report appears in selection screen field called "REPORT" it throws message RESCIS003 but the report is not shown.
If we doesn't fulfill report field in selection screen, the program shows a second screen where a couple of ALVGrids are shown allowing the user to select the report that will be displayed. Here we are able to select our custom report and the data in it is displayed.
We have analyzed the standard program that is executed via transaction RESCIS and we've found that the selection screen executes standard function RESC_GUI_ANYREPORTS_APPL that doesn't executes reports dinamically but statically. That means that SAP doesn't allows to execute custom reports directly from selection screen.
I think this is a SAP error but afert opening an OSS message SAP sais that is not an error but a bad configuration or lack of knowledge for customizing it.
Has anyone developed a custom report for RESCIS transaction?Hm what exactly did you want to change? Normally it is in REFX cases you should not copy standard REPORTS. In your case with transaction RESCIS, I myself do not see any need to add any functionality in this report because it is only a sum of all lists from your service charge settlement. What else do you want to see there?
For displaying new fields in the separate lists maybe there is some BADI for it.
Regards
Michael -
How to migrate Custom Reports from 2010 to 2013
We are considering upgrading from Project 2010 to 2013 and one of our users noticed there are no Custom Reports or canned reports available.
On her computer with Project 2010, when she selects Reports-Custom Reports, there are numerous canned reports available.
On the test computer, with Project 2013, when she views Custom Reports, it is empty.
How do we get the Custom Reports moved from her computer with Project 2010 to the test computer with Project 2013?
thank you in advance for any assistance you can provide.
GeemailThus I guess you are using the new reports feature in MS Project Pro 2013 (as per my 2nd screenshot)?
I would say that this feature aims at giving reports summarizing projects information in a global way, based on criterion specified by the user (cost, time period, tasks, resources..).
I don't know how to bypass this limitation (which doesn't mean that it is not possible).
But I'd advice as it says in the report tip to filter in order to emphasize on what makes sense for the user (incomplete tasks, overdue tasks, overallocated resources...) in order to use it like a dashboard more than like a detailed report.
If your objective is to provide detail reports (and if you're using project server), I'd suggest to use more advanced BI features such as Excel Services or SSRS.
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
ECM Implementation: Custom Infotype instead of IT1005 Planned Compensation
Hello,
We are thinking about implementing SAP ECM (incl. MSS). I have seen that OM Infotype 1005 (Planned Compensation) is required to get salary ranges for example.
In our current OM solution we already have this information stored in a custom Infotype. Does anyone have experience using custom infotypes instead of standard ones in the ECM solution?
Many thanks
LucasHi Lucas,
Not sure how you are set-up if not using Pay Scale Grades and Levels. Do you use T710 or T510 at all? What values are in IT0008 for these fields?
In any other change in status other than Activation, the report only changes IT0759-Compensation Program. So Pay Scale Grade and Level should not be a factor. If activating the Compensation Program infotype (IT0759), the report is trying to create a new IT0008, so your settings for Features such as TARIF and LGMST and any custom BAdIs should be checked to make sure the IT0008 can be created as required by your customization. Even so, we use transaction PECM_CHANGE_STATUS (Report RHECM_CHANGE_PROC_STATUS) to activate bonus payments which are not linked to IT0008 but to IT0015 and so they are not tied to a Pay Scale Group or Level.
Thus, I would need more info to determine why you are experiencing the error message.
Paul -
Standard Form to Custom Report
Dear Members,
I am Using Oracle E-Business Suite R12 and Reports 10g to develop reports.
There is a standard form in oracle in one the responsibilities which has a button and once this button is pressed it kicks off a report.
This report is a standard oracle report, this report has to be modified and a custom report should be created.One this custom report is created; and when the button is pressed on the form it should kick off the custom report instead of the standard one.
We do not want to change the form as it is a standard form.
How can we achieve this, any ideas?
Thanks
SandeepBackup the standard report and give your custom report the same name?
For better answers, try the EBS forum. EBS is quite specific in how it handles customizations. -
Reading values from standard report in custom report dynamically
Hello Gurus,
I have a strange requirement, We have some standard reports which displays output in drop down blocked data. I want to create a custom report which will get that data in my internal tables.
Just to elaborate this requirement, I will give you a example:
I have a standard report which output as first line 'A' and second line as 'B'. Now when I press drop down in 'A', it displays line items say 1,2,3,4,5.... Similarly block 'B' once when pressed displays line items 6,7,8,9,10.
Here I want a custom report which directly read data from this standard report and gives us the values of line items 1,2,3,4,5 in one internal table and similarly items 6,7,8,9,10 in another internal table.
Hope the question clarifies the requirement now.
Request you to please provide the resolution.
Thanks,
HarjeetHi Harjeet,
Use sumit statement for standard program and export the list to memory. and then read list from memory and use in your custom program.
Use below code for reference.
DATA: t_list TYPE abaplist OCCURS 0.
SUBMIT rfdopr10
************** your options
AND RETURN
EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_list
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
BR,
Vijay -
Standard and customized reports
Experts,
I'm given a requirement to create some reports. Was hoping someone can help me with which are standard and customized reports from this list :
OPEN PURCHASE ORDER REPORT
OPEN REQUISITION REPORT
OPEN RFQ REPORT
PURCHASE ORDER CONFIRMATION REPORT
STOCK ITEMS RE-ORDER
STOCK ITEMS RESERVED
STOCK ITEMS ABOVE STOCK MAX
STOCK ITEMS BELOW STOCK MIN
STOCK ITEMS DETAILS
STOCK ITEMS INVENTORY CONTROL
STOCK ITEMS LIST BY NUMBER
STOCK ITEMS MOST USED
STOCK ITEMS NOT USED
STOCK ITEMS ORDER BY COST
STOCK ITEMS ORDER BY LOCATION
STOCK ITEMS ORDER BY VENDOR
STOCK ITEMS OVER RESERVED
STOCK ITEMS STATUS
STOCK ITEMS VALUE
VENDOR PERFORMANCE REPORT
Regards,Hi,
SAP Std. Reports Description Z-Dev
ME2N / ME2M / ME2L OPEN PURCHASE ORDER REPORT
ME5A OPEN REQUISITION REPORT
ME4N / ME4M / ME4L OPEN RFQ REPORT
ME2A / VL06I PURCHASE ORDER CONFIRMATION REPORT
MB53 STOCK ITEMS RE-ORDER ABAP Report
MB24 / MB25 STOCK ITEMS RESERVED
STOCK ITEMS ABOVE STOCK MAX ABAP Report
STOCK ITEMS BELOW STOCK MIN ABAP Report
MMBE / MB52 STOCK ITEMS DETAILS
MC.1 / MC.9 STOCK ITEMS INVENTORY CONTROL
MMBE / MB52 STOCK ITEMS LIST BY NUMBER
MC46 STOCK ITEMS MOST USED
MC50 STOCK ITEMS NOT USED
ME2N / ME2M / ME2L STOCK ITEMS ORDER BY COST
ME2N / ME2M / ME2L STOCK ITEMS ORDER BY LOCATION
ME2L STOCK ITEMS ORDER BY VENDOR
MB24/MB25 STOCK ITEMS OVER RESERVED ABAP Report
MMBE/MB53 STOCK ITEMS STATUS
MB52 STOCK ITEMS VALUE
ME6H VENDOR PERFORMANCE REPORT -
Need to find All Custom Reports which are based on SAP standard reports
Hi Specialists,
I would like to find out all the customized reports which are a copy of SAP standard reports in the client's system.
For Eg. RPCP11G0 is the SAP standard report which has been customized & it's code has been re-written into a Custom report i.e. ZGBPPYMP001_P11D.
I would like to know all such occurences in the system.
Steps already done:
1) Tried searching with RPR_ABAP_SOURCE_SCAN & RS_ABAP_SOURCE_SCAN.
Please suggest .
Thanks
Abhinav.it's only possible with an tool-program
when your developers have not change the line with the REPORT-command.
e.g.
standard-report is RAGITT01
copy is ZC_RAGITT01 or sth like this
but report line is unchanged in copy: "REPORT RAGITT01 MESSAGE-ID AB..."
solution:
select all reports from TRDIR/TADIR from your Z/Y-device classes
and analyse the reports with
read report ZC_RAGITT01 into wa.
and use find for searching 'report-command'.
and check whether the result of that finding is an standard abap
hope that helps
Andreas -
Calling standard report to my custom report
Hi ALL,
i need to call a standard report into my custom report
for example :
i am having a report with all PR related data
now i am having nearly 20000 purchase requisitons and there related data .
now i will get all the Source of supply for each PR
using bapi BAPI_SOURCEDETERMINE_GETSOS.
now i am having all the PR's and source of supply
then i need to assign source of supply .
using the standard report RM06BZ00.
then how to call this report and assign source of supply .
Will be there any performance considerations for calling this report in a loop (20000)
and how to catch the result
if source of supply was assigned ok
if not how.
Thanks in advance .
sivaHi Prabhu,
Use the Submit Statement for calling the standard report u can use the options available with the submit statement for passing any parameters ,
for reference u can refer following code....
MOVE: 'S_LIFNR' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-lifnr TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'S_DOCNO' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-docno TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'S_DOCTYP' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-doctyp TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'P_CT1' TO seltab_wa-selname,
'P' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
'X' TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
SUBMIT zexc_ct1_prg
via selection-screen
WITH SELECTION-TABLE seltab.
Maybe you are looking for
-
I cannot download music purchased from iTunes store to iPod
All of a sudden when I connect my 2G Nano I get an error message that says, "Some of the items in the iTunes library were not copied to the iPod "your name iPod" Because your iPod software is too old. Go to the Summary in iPod preferences and click U
-
How to work with url in receiver mail adapter
hi, iam trying to implement simple file to mail scenario. I've got stuck with mail adapter configuration.The transport protocol iam using on receiver end is the SMTP protocol. i have mentioned the url as smtp://abc.xyz.com:25.Then iam getting an erro
-
Run same run book again and again until no records in DB.
Hi, I have created a run book which will fetch records from SQL DB and add machine to SCCM collection. But this run book will work only for one record. If I have 5 records in DB, I need to select one at a time and add that machine to collection and p
-
Same EDIDS-STATUS for the one IDOC NUM
Hi Experts, I would like to ask if its possible that one IDOC no. could have make use of one IDOC Status no. and only the message will be changed. Let say: I have the following EDIDS structure: IDOC_NUM IDOC_STATUS IDOC_MESSAGES 000000238 50
-
FCX & Compressor 4 - output audio is hiss for older video/audio files
Hello - I'm using FCPX and Compressor 4. I'm compiling video files that go back to thirteen years old. FCX has been handling the files very well. They all look and sound as expected in the viewer and project playback. I've mixed the audio with an add