KE31 - Copying a report with newly defined form
Hi ,
While creating a new profitability report(Report A) by copying an existing report (Report B with Form B) with the newly defined FORM(Form A) , the system is creating the new report(Report A) with the form (Form B) from the copied report.
How to create the report by copying another report (to get Report A with Form A)?
Thanks,
Prabha
Hi ,
Thanks for your reply.
I created form A and used KE31 for creating report A by copying report B.
While doing so, the report A got the form B not the form A. Though I assigned the form A while creating the report A (with copying report B), the report A got Form B.
How to create the report A with form A by copying report B?
Thanks,
Prabha
Similar Messages
-
Building a JSP-based Web Report with a Parameter Form
Hi,
I tried in building a report as shown in the example in OTN under reports in the url
http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
Thank you in advance.hi,
we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
for a regular select list you would use the following (only pseudo-code)
<select ...>
<rw:foreach>
<option value="<rw:field .../>">
</rw:foreach>
</select>
to populate a select list.
regards,
philipp -
Include the COPY TO Option in User Define form
Hi Experts
How can we include the COPY TO Option in User Define form
Thanks In Advance
A S VAMSI KRISHNAHi,
In SAP B1 i think there is no default functionality for copy to in user defined form. As Parminder said you can use the control button combo and write your own method for populating data.
Regards
Arun -
Using Run_Report_Object() To Call Reports with a Parameter Form
Hi
I have successfully migrated a version 5 application to 10g but, I'm having a particular issue with reports run from a menu.
The report has 3 user parameters and they previously worked with a client server parameter form.
How do I pass the parameters from the report to the RUN_REPORT_OBJECT in the pl/sql editor in the menu ?
In my other reports I have used a :block.item bind variables but in this case there is no datablock involved.
Any help with the correct syntax will help.
Message was edited by:
4dyomi
Message was edited by:
4dyomiDear Friend,
You can use following code to run a report from "Forms10g" using RUN_REPORT_OBJECT. Directly copy below code to your forms10g and make appropriate changes. In the code, "Manish" is the name of report server running on your application server. To start report server u can run this command on command prompt on your application server.
rwserver server=<server_name>
This command will start report server. In below code i have a text box called "ADDRESS_CODE" which i am passing as a parameter to report which conatains a parameter called "SUBCODE". This is a tested code and works fine in Forms10g DS.
declare
cnt number(3);
report_id report_object;
REPORTSERVERJOB VARCHAR2(100);
VJOBID VARCHAR2(100);
REPORTSERVER VARCHAR2(50) := 'MANISH';
V_URL2 VARCHAR2(500);
V_URL VARCHAR2(100);
PARA PARAMLIST ;
begin
PARA := CREATE_PARAMETER_LIST('INPUT1');
--'ADDRESS_BOOK' IS A REPORT OBJECT DEFINED
REPORT_ID := FIND_REPORT_OBJECT('ADDRESS_BOOK');
--FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'HTMLCSS');
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, REPORTSERVER);
--TO SEND PARAMETERS TO REPORT ADD FOLLOWING CODE, (:ADDRESS_CODE IS A TEXT ITEM)
ADD_PARAMETER(PARA,'SUBCODE',TEXT_PARAMETER,:ADDRESS_CODE);
--RUN REPORT OBJECT TO FETCH JOBID
REPORTSERVERJOB := RUN_REPORT_OBJECT(REPORT_ID,PARA);
--VJOBID IS JOBID THAT IS SET AT RUNTIME BY REPORT SERVER
vjobID := substr(ReportServerJob,length(reportserver)+2,length(ReportServerJob));
v_url := '/reports/rwservlet/getjobid'||vjobID||'?server='||reportserver;
Web.Show_Document(v_url,'_blank');
DESTROY_PARAMETER_LIST(PARA);
end;
Regards,
Manish Trivedi
Software Developer
Ambuja Cement,
India. -
Add new report with a checkbox form
I’m trying to create a list with check boxes to add “contacts to a event”.
I have my table contacts and events, when I create a event I should invite my contacts. I want to create a list with all my contacts with a checkbox option and populate a new table with all the assistance.
I’m searching but I can’t find info.
I hope you have some time thank you
RodrigoYou can create a checkbox in your list with APEX_ITEM.CHECKBOX. There are quite a few examples to be found when you google, e.g.
http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html
One time I just created a default tabular form with DELETE functionality, so the checkboxes were already in place. I just created another process instead of the normal MRU process. Went pretty well actually. -
Copy/paste report with a macro.
Hi all,
I want to know if a macro VBA able to copy/paste a report (the equivalent of report action --> Copy report / Paste report) exists ?
Thank you in advance.Hi Fabrice,
with a button try
Sub Button1_Click()
Dim ws As Worksheet
Set ws = ThisWorkbook.Worksheets("Name of the Sheet You want to copy")
ws.Copy ThisWorkbook.Sheets(Sheets.Count)
End Sub
Regards
Roberto -
Label report with user defined input -
I am trying to make a report that will print out the data onto avery labels 5163(which is 2 across u2013 5down =total 10 labels per sheet) with my information. The program already sets your boundaries for the labels so thatu2019s not a issue.
My current select statement works somewhat : if I enter 1 inventory.itemnum and whatever qty I want it prints fine. However when I enter multiple inventory.itemnums it prints each one of those itemnums at whatever qty I enter in the second parameter. So say I enter 2 itemnums and enter qty 2 to print- I get 2 labels of each item num. Currently I this format I have the second parameter set to NOT allow multiple fields u2013 however when I change this to allow my report fails u2013 please see my info and layout stuff below
Here is what I have:
INVENTORY.ITEMNUM} = {?Control Id:} and
{Sheet1_.Column1} <= {?number of labels}
Inventory.itemnum u2013field from database
{?Control Id:}---parameter 1
{?number of labels}---parameter 2
{Sheet1_.Column1}----excel table brought in as secondary database to serve as count feature for report u2013 currently set at 20 but can change from 20 to 10 or higher- whatever qty I want. The most labels I will need for any 1 item is 24 u2013 but I can print 2 sheets of 10 then 1 of 4 if we reduce it to qty 10 in the table.
I have 2 parameters that prompt for data
Parameter 1: it prompts for .itemnum (I have this parameter set to allow multiple inputs of inventory.itemnum)
Parameter 2: it prompts for qty of labels needed. currently not set to allow multiple numbers as I get a failure when I change my parameter to this.
As my info above sits I can enter 1 random inventory.itemnum (parameter 1) and a qty (parameter 2)(1-20 u2013 which is set by a table I built in excel 1-20 u2013 above which is sheet1_.column1)
What I want to be able to do is
1. (Parameter 1 here)Enter inventory.itemnums from random qtyu2019s of 1-10 at any given input time from user prompt in parameter
2. (parameter 2 here)Print label of qtys ranging from 1 label per each item to as many as 10 labels per item
a. For example: I enter
b. Parameter 1:
c. Xitem1.itemnum
d. Xitem2.itemnum
e. Xitem3.itemnum
f. Parameter 2:
g. Qty 1- is the amount of labels needed for xitem1(from parameter 1)
h. Qty 3- is the amount of labels needed for xitem2(u201C u201D)
i. Qty 6- is the amount of labels needed for xitem3(u201C u201C)
3. I need the qtys in parameter 2(labels to print) to work with the inventory.itemnums as they are entered in parameter 1.
I have tried using arrays but they force me to use the same amount of data that I have clauses. Which does not work because I have varying amounts of labels needed at different time-If I have 2 labels and have more clauses than this the report fails. I will not always have 2 or 3 labels to make maybe more maybe less.
Here is a example of what I was trying with arrays:
{field.xitem}=(?item.num)[1] and
{?qty}[1]>={numbertable.number})or
{field.xitem}=(?item.num)[2] and
{?qty}[2]>={numbertable.number})or etc.,etcu2026u2026
This would force me to input as many item.itemnums and qty labels as there are arrays or the report would fail.
Edited by: max274 on Mar 30, 2009 3:11 PMmax40385
SELECT "INVENTORY"."ITEMNUM", "INVENTORY"."ORDERUNIT",
"INVENTORY"."BINNUM", "INVENTORY"."MODELNUM",
"ITEM"."DESCRIPTION", "POLINE"."ITEMNUM", "POLINE"."ENTERDATE",
"POLINE"."PONUM", "POLINE"."ORDERQTY"
FROM "MAXIMO"."INVENTORY" "INVENTORY",
"MAXIMO"."POLINE" "POLINE", "MAXIMO"."ITEM" "ITEM"
WHERE ("INVENTORY"."ITEMNUM"="POLINE"."ITEMNUM") AND ("POLINE"."ITEMNUM"="ITEM"."ITEMNUM") AND
"POLINE"."PONUM"='24142' AND "POLINE"."ITEMNUM"='1201020021N'
EXTERNAL JOIN POLINE.ORDERQTY>={?C:\Documents and Settings\kpowell\My Documents\test table.xls: Sheet1_.Column1}
*****************my counting table here********
C:\Documents and Settings\kpowell\My Documents\test table.xls
SELECT `Sheet1_`.`Column1`
FROM `Sheet1$` `Sheet1_`
WHERE `Sheet1_`.`Column1`<={?max40385: POLINE.ORDERQTY}
Here is my select statement
POLINE.PONUM} > "23000" and
{POLINE.PONUM}={?My Parameter} and
{POLINE.ITEMNUM}={?Control ID}AND IF
{POLINE.ITEMNUM} in ["1107011010N", "1201020021N"]THEN
{?Control ID}*({@qtY})
my label printing works except when I my inventory item conversion is like the exmaple below - this is trying to get my label program to work
but i want to add some execeptions to my statement currently the
link is as a leftouter join to my counting table which give me my qty of labels to print per user input {?control id} however - some of the items i order with different order units and conversion qtys for example
qty 2 - box-10 - going into inventory 20 - I need 20 labels printed vs just 2 - since the labels to print are directly tied to the requested order qty - i need to add the exceptions because some I order with conversions that I will not convert and I just want to add them list "one of" in the selection formula -
Working with user-defined forms in SBO
Hi, newby here.
What is the right way to work with userdefined-forms in SBO?
My add-on adds a button to a system-form (when it is loaded).
User presses the new button, and the following code is executed:
- LoadFromXML("MyForm.xml") ( like the sample code)
- oForm = SBO_Application.Forms.Item("SBOFormEditor_11")
- oForm.visible = true
The user-form is displayed
User presses the OK button on the new user-form, which triggers
- oForm.close()
This works. But a possible disadvantage may be that the form is loaded from XML, each time the user clicks the new button on the system-form.
I would prefer to load the form once, upon starting the add-on. And then display or hide it, by simply turning the oForm.visible-switch on and off. So, when user clicks the OK button: oForm.visible = false.
The problem here is that when the user clicks the close-form button (X), the new form seems to be gone/destroyed/removed.
So, when the user clicks the new button, I need to know how the user exited the new form previously:
If user clicked OK, then I can set the oForm.visible switch on,
but if the user had closed the form, I need to re-load it from XML.
In my experience, if a solution is not pretty, there is usually a better one. But then again...beauty is in the eye of the beholder.
Any comments, or better alternatives, would be appreciated.
Thanks
ErwinHi Erwin,
Welcome to the forum.
I don't think I've ever seen an addon which hides its forms until they are needed again but it's an interesting idea. Whereas I can see some advantages, I'd be inclined to always load the form from XML for a few reasons:
1) Most of the time I tend to be working with multiple instances of the same user form (ie the user can open my form multiple times like a lot of the system forms). Keeping track of how many instances of my form are open and whether they are hidden or not is more of a pain than just closing and opening the form.
2) Hidden forms still take up memory on the workstation, although that's probably a minor issue for one or two forms at a time.
3) Unless the form is quite complex (ie large number of controls or lots of comboboxes to populate) the load speed is acceptable.
If your form is quite complex and the user is likely to be opening and closing it regularly then I can see an advantage in hiding the form until it is needed again as this should speed up the response time.
There are ways to stop the user closing your form unless they use the Ok or Cancel buttons:
Re: Menu UID for Minimize/Maximize/Close buttons
Kind Regards,
Owen -
I am trying to run the report from menu with the following code
declare
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('test');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :global.user_dir||'test.REP');
if id_null(repid) then
pause;
message('repid is null');
else
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
end if;
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');
ELSE
message('Error when running report');
END IF;
END;
The report parameter form displays
and when i enter the values
gives me the error
REP-52007: Parameter form format error.
Copyright (c) 2002, 2005, Oracle. All rights reserved.
java.lang.IllegalStateException: Writer already retrieved at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:969) at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136) at oracle.reports.rwclient.RWWriter.getOutputStream(RWWriter.java:263) at oracle.reports.rwclient.RWReportRunner.sendFile(RWReportRunner.java:355) at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:161) at oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1343) at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:92) at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:295) at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958) at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442) at oracle.reports.rwclient.RWClient.doPost(RWClient.java:504) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
Thanks
ElsyGo to the following page and refer to the section titled: Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
http://www.oracle.com/technology/products/forms/techlisting10g.html -
Report error with the input form using the VC BI integration wizard
Hello All,
I've created a report using the BI integration wizard in visual composer. I've configured the query with the 'Free Form' query template also I've defined the filters there. This is working fine and giving me the report output. When I deploy this , I could see
a start point for the data service.
But instead of the start point with the default values for the filters , I want to have an input form for the users to enter the field values. I added the input form in place of start point. But it's not working even though it doesn't give any error while deploying this report. It gives the following error when I run this report.
" Data service error occurred,cannot execute OLAP queryCannot get data set: Cannot get data set".
Could anybody help on this.
Thanks
AlokHi Sandeep,
I'm already draging it from the query input port. Are you referring a different way? How I could have the input variables in the query which I'm creating using the BI integration wizard. To get this input variable I'm trying to add the input form.
Am I doing anything wrong here ?
Pls help.
Thanks
Alok -
How i connect my forms/report with 9i database/ how i configer my form and
hi master;
i have 6i forms and 9i oracle database both are right but how i accece the 9i in my form and report.
which file i copy and where i copy .
please send me file name or how i configer my form and report with 9i
thanking you
AamirDear Aamir,
Please copy TNSNAMES.ORA file from your Database Home/NETWORK/ADMIN directory and copy that in NETWORK/ADMIN directory where you installed Forms/Reports 6i. then you can connect to your server by using SID as host string like: system/manager@<SID example: ORCL>
Regards,
Reza -
Dear Friends
I just installed Developer suite 10g and Database 10g on my pc (10.1.2.0.2) when I run report in Report builder with paper parameter form (I selected only one system parameter : Destination type) I got the message
Reports Error Page
Fri Apr 07 09:06:01 GMT+07:00 2006
javax.servlet.jsp.JspException: REP-56092: No class defined for destination type Screen
How to solve it? Please give me the instruction or Oracle link that I can get the documents. If someone has the white paper .pdf please give me.
Hope with help
Thanks & Best regards,
Bansak K.
[email protected]Thanks for the tip.
Correct me if I am wrong but you have set up SLED SP1 connecting to an OS like (RHEL 4/OEL 4,SuSE 9) using VMWare Server. What OS is SLED?
I chose SUSE 10.3 as its free and I want to set up apps server for purely training purposes. Do you know of a free linux OS that is certified to run AS 10g 10.1.2.0.2?
Thanks
Jon -
Primary key when creating reports with forms
I'm new to APEX and I'm creating a report with forms using the wizard. I've checked the 'Include Analysis Pages' checkbox. When I select the 'add pages' button I get the following message:
Table has no primary keys defined. A primary key is required when creating reports with forms.
I know that the table does have a primary key because I defined it and also it is visible in the Sql workshop / Object browser and Toad.
Am I missing something or is this some sort of bug?
thanks
sbYou're missing something. This message means you've not told APEX what the primary key is. You shouldn't have been able to get passed the page in the wizard that asks for it though. Can't describe where it prompts for it from memory, but it shouldn't be hard to find.
HTH
Chris. -
Generate a new pdf report with itens on my pdf form
Hi! My name is Heitor.
I have Adobe Forms Central and Adobe Acrobat XI Pro installed on my machine.
I would like to know if its possible to make a pdf report.
Example: Clicking in a button "print" on my already open and filled pdf form, and gathering all my 30 itens (see that i am only showing 5 itens on my form. but on my form exists a "Add" button to add itens on variables) on a dropdown list and generating a new pdf report with all these itens listed.
Thanks!
Heitor Teixeira
www.heitorteixeira.comHi! My name is Heitor.
I have Adobe Forms Central and Adobe Acrobat XI Pro installed on my machine.
I would like to know if its possible to make a pdf report.
Example: Clicking in a button "print" on my already open and filled pdf form, and gathering all my 30 itens (see that i am only showing 5 itens on my form. but on my form exists a "Add" button to add itens on variables) on a dropdown list and generating a new pdf report with all these itens listed.
Thanks!
Heitor Teixeira
www.heitorteixeira.com -
Setting fields defined in SQL updateable report with a process
I have SQL statement defined in a SQL updateable report with hidden fields. I want to be able to update these hidden fields with values from other displayed fields on the page. How do I reference these hidden items - I have referencign them as :my_field but get and error telling me thats its underfined.
But, the reason I am doing this is because I want to format the page with 6 columns in one <TD> cell with some extra text and formatting etc - I don't want 1 column per <TD>. Thats why I am using the APEX_ITEM.TEXT so I can format the 1 <TD> the way I want it (with 6 columns it there).
In the short term can you tell me how to reference hidden fields please.
I will create the case in apex.oracle.com in the next few days to make it clearer.
P.S. see my previous post: SQL QUERY updateable report with APEX_ITEM fields to update hidden columns
Maybe you are looking for
-
Error while running SortMember utilitty in 11.1.2.1
I am looking to automate the process of sorting the members during the metadata build by running the SortMember utility. But I am getting a message when trying to execute the utility Message - RMI port should have a numeric value Syntax - SortMember.
-
somebody help me.. I have a problem in report where i have minimum_level and maximum_level fields. I want to create parameter called supress level. But supress level is not a part of table. If supress level='yes' i have to take out the maximum and mi
-
How can I delete texts from a conversation in iOS8 without deleting the entire conversation?
-
Error in uploading weblogic81 plz help me
Hi all I am trying to upload a small application in platform811_win32 but it is throwing error. Its just hello world application that's all. but the same application is working in my couligs system plz help in this ... I am trying this since 5 days n
-
Enabling GPU rendering in Premiere Pro CS3
Hi, I've just built a computer for dedicated video editing and I am having trouble setting it up with Premiere. It takes a prohibitively long time to render anything. It's running Windows 7 Home Premium and I've installed my copy of Adobe Premiere Pr