Convert a query form to Creation form.
We create a normal jspx form and drag and drop a view object normal mode.
When we open the form first record come
Then We need to change this form to a creation form with new empty record.
Form include many custom code.We can't recreate form.
How can we do it?
it means how Convert a query form to Creation form?
we are using jdev 10.1.3.2
Thanks
You have to add Create method in PageDef.xml and then add expression in RefreshCondition to invoke it (in executables). For more information see:
http://download-uk.oracle.com/docs/html/B25947_01/web_form006.htm#CACECCJA
Kuba
Similar Messages
-
How to convert oracle report in html form into excel form?
Hi friends !! I m trying to convert oracle 10g report into excel form.Its coming in excel form but not with all formats.How to solve the problem?
Hello,
Please give us more information what kind of report(s). Sample example etc.,
Sri -
I need help in converting a pdf to a fillable form in my adobe
I need help in converting a pdf to a fillable form in my adobe
"Adobe" is a company. If you mean "Adobe Reader" then you can't (at least not easily). You need Adobe Acrobat for that.
-
Query about Calling One Form from Another using Personalization
Hi All,
I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
How can I do it ?
Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
Please help !
Thanks
ShankarHi Shankar,
Please refer my article on metalink
Zoom to AR Transactions and AR Receipts Form from Collections Form using Forms Personalization - Doc ID: 430643.1
This article explains how to open the AR transactions form from another form. When it opens the form it automatically queries for the Invoice number of the calling form. You should be able to use this logic for your requirement.
Hope this helps.
Thanks,
Anil -
Hi All,
i have used CMS in SQL 2008 R2. i have added couple of servers in its group. i have executed a query & i need to send the query output in the form of email.
basically query is checking the rows count from couple of user tables in servers.
issue here is how to copy the data that is used by CMS? i need to work on automate the rows count in difft user table in db servers
could you please suggest how can i achieve this?Copy to what?
SELECT COUNT(*) FROM sys.objects
Running the above statement returns two columns (server name and count)
All the servers SS2005 and onwards , then use
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'name',
@recipients = '[email protected]',
@query = 'SELECT COUNT(*) FROM sys.objects',
@subject = 'Count rows'
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Depenedant SelectOneChoices are not working in creation form of ADF 11g
Hi,
I have created a ADF creation form using updatable VO.
I have three list boxes, theaterId, AreaId, SalesSegment. if i select theaterId list box it should refresh the list for areaId and salesSegment.
I have created list boxes in VO attribute level and defined the dependencies.
When i run the page dependant lists are not showing data.
If i create the ADF form with same VO, functionality is working fine but it is not working in the Creation form.
Pls help me to resolve this issue.
Thanks inadvance.
Regards,
Satya.Check this if its helpful: Re: Cascading LOV not refreshing correctly after removing row
-
Problems printing a converted PDF which was converted to Word after completing the form
Problems printing a converted PDF which was converted to Word after completing the form. I have spent the last 3 hours trying to figure out what I am doing incorrectly. I can't get it to print in either the PDF or Word file. Please help, I need to complete this form and sent it NJ Department of Motor Vehicles Commission.
Hi, make sure you are using the latest release of PDF program.
Please mark the post that solves your issue as "Accept as Solution".
If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
I am not a HP employee. -
Pass Parameter into ADF Creation Form
I have an ADF Read Only Form on page 1, and and ADF Creation Form on page 2. I want three specific fields from page one to be passed into the appropriate fields on page 2. How would I go about accomplishing this?
Thanks,
TimHey Shay,
I got one value to pass:
I put a setAction Listener on the command button. My From was #{backing_confirmTest.outputText2.value}. And my To was #{processScope.Test}.
When I tried to add another setAction listener to the same button it wouldn't let me. Can I not have another set of values like... #{backing_confirmTest.outputText3.value} and #{processScope.Test2}??
Thanks,
Tim -
Change in an LOV query of Sales Order Form not working
Hi,
I wish to change the the Order Type (in the Sales Header) displayed in the Sales Order Form when viewed from a particular Responsibility.(11i Instance)
To be specific only certain order types should be displayed in the LOV when the User tries to create Order from that Responsibility.
In that process I created an FP with Action --> Builtin -->Create Record Group From Query
Then in Property-->Object Type-->LOV and Target Object -->ORDER_TYPE Value-->Name of my Query Group
I downloaded the Sales Order Form and modified the Query of the Group keeping the columns selected and the view used same and added in the Group I created.
But it didn't work out.
I tried out by changing my Target Object to SRV_ORDER_TYPE and its corresponding query from the Oracle Form.
But still it didn't work.
Please tell me where I'm going wrong.
Am I not choosing the correct target record group LOV?Hi Robert,
I have successfully accessed a matrix using Visual Basic .Net. It has been quite a challenge while I was at it.
One important thing to understand is that (unless you access the datasource) in order to access a particular control in a matrix object, this control needs to be visible and enabled. It is like simulating a user accessing the matrix via GUI... if a control is not enabled, you cannot access it (as said via control). That might explain question 1.
Short sample on matrix handling is here:
http://www.itwiki.net/ow.asp?SboHowToReadFromAndWriteIntoMatrix
<b>Q2 - Cell count:</b>
I have personally never used the Cells count method. It should always return the number of rows. My only guess here is that you are using an old reference on the matrix object in which the rows are not there yet.
Dim oMatrix As SAPbouiCOM.Matrix
Dim oColumn As SAPbouiCOM.Column
Dim oEditText as SAPbouiCOM.EditText
oMatrix=YourSboForm.Items.Item(38).Specific
oColumn=oMatrix.columns.item(strColumnname).specific
oEditText=oColumn.items.Item(1).specific
Msgbox(oEditText.String)
The above code should get you the first cell of the first row of the given matrix.
HTH Lutz Morrien
P.S.: If you need any more sample code, check with the SAP matrix sample or send me a mail (adress see Http://www.itwiki.net) -
Executing a column which has a sql query in a tabular form
Hi,
I have a tabular form which contains a column named as SQL which has sql statements in it. Without going to the SQL workshop in Apex i want to execute that query in the tabular form itself. For that i've created a page item which fetches the particular rows sql query and created a button 'EXECUTE'. When i click the execute button it should run the query and should display whether the query is correct or not and should show the error message.
Can any one provide solution for this or whether there are any other ways to achive this scenario.
With Regards
Balaji.P.KBalaji P.K wrote:
Can any one provide solution for this or whether there are any other ways to achive this scenario.Difficult as we have no idea what this "scenario" actually is. Go back several steps and explain in detail the problem this is supposed to solve.
I have a tabular form which contains a column named as SQLBad idea. <tt>SQL</tt> is a PL/SQL reserved word. Using any token from Oracle namespaces as a database identifier is confusing/problematic.
which has sql statements in it.Why? Where does this SQL come from? What is the source of the tabular form?
Without going to the SQL workshop in Apex i want to execute that query in the tabular form itself.Explain the "execute that query in the tabular form itself" concept. Where do the results go? -
Can I use View Link in ADF Creation Forms Jdev 10.1.3
Hi...
I created a view link of two tables. Then I created a ADF form with Master Object to show some informations.. and I created a ADF Creation form with the detail Object
I'm trying to submit the informations added in the Detail forms.
but no records are created in Database..
Can I submit a creation form using detail object?
ThanksI figured out "partially" the problem, I tried to overrid the create method, and for any reason the commit operation wasn´t working.
I was trying to set a value for a proprety, but it did not work as a wish.
My intention was.... when an user execute the form. one specific field brings a value.. however I cannot set default value. cause it´ll change sometimes.
it´s something like this
protected void create(AttributeList attributeList) {
super.create(attributeList);
setMyProperty(new Number(0));
do you know how can I figure out this problem? -
This is the message when I click the logout button. It destroys the session though. It should redirect to login page after clicking logout button.
We are on Apex 4.1
Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /pls/apex/f HTTP-400 Missing '=' in query string or post form
Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server Server at xxxx.xxxxx.edu Port 443
Edited by: 965704 on Oct 30, 2012 11:42 AMIt has been fixed but the new problem is: After signout, if I move back to previous page and click some link using <- sign then I suppose to get the login page, but i am getting
ORA-44004: invalid qualified SQL name error message.
The source for my login page is
wwv_flow_custom_auth_std.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
); -
How to programmatically initialize field in ADF Creation Form
I'm using JDEV 10.1.3.2, ADF BC. The task sounds simple:
1. Create an ADF Creation Form by pulling in a VO (backed by EO) from Data Control.
2. Initialize one of the required fields in a backing bean from processScope.
3. User sets other fields via GUI.
4. Save the new record in the database (Commit).
The problem is how to do step 2? The processScope variable is being retrieved properly, but I have not been able to set the required field so that the user does not have to enter this field. I have an action on the Save button as follows:
public String commandButton_action() {
String psnetid = null;
BindingContainer bc = getBindings();
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
psnetid = afContext.getProcessScope().get("netid").toString();
//Need to set Netid field in VO to psnetid here
OperationBinding operationBinding =
bc.getOperationBinding("Commit");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
return null;
}Can anyone shed some light on this?
Thanks.This is outside of the backing bean, but you may try it:
modify the getter on the entity impl class (if you are using ADF BC) to set a default value
This example is to set a default status id on the field.
public class <EntityName>Impl extends EntityImpl {
public static final int STATUSINTLID = 1; //first column name on the entity
public Number getStatusIntlId() {
Object intlId = getAttributeInternal(STATUSINTLID);
if (intlId == null){
int intValue;
intValue = <get value from somewhere code>;
Number defaultValue = new Number(intValue);
if (defaultValue != null){
this.setStatusIntlId(defaultValue);
return (Number)getAttributeInternal(WATERDRAWSTATUSINTLID);
Cheers,
Jim -
How do you convert Smart Forms to Interactive forms
I believe it is possible to convert SAP Smart Forms to Interactive Forms.
Has anyone done this? If so could you tell me the steps?
Thanks
PatrickLet me add that the settings of the wizard that come up are the SAP-recommended ones. They refer to the parts of Smart Forms that migrate relatively easily.
SAP-internal experience over the last 3 years has shown that in most cases Smart Forms are very complex, and that it is therefore easier and less time-consuming to
1. analyze the Smart Form carefully
2. separate each business form into a separate form template
3. re-create the Smart Form in the Interactive Forms solution from scratch.
The hardest thing to overcome within SAP's development community (though very, very important!) was to discard the Smart-Forms- or SAPscript-minded approach to form design/development, and instead accept a new approach.
Best regards,
Markus Meisl
SAP NetWeaver Product Management -
Open form 140 from form 133 by a query in B1
Hi @all!
I have a problem. When a user has opened form 133 for input and selceted a businesspartner, a query is checking if a QryGroup1 is set. This works fine. When it is set, another query shout open the form 144 (and close form 133?). How can I realize it? I am using B1 2005.
Thanks a lot!
Greetings JuergenHi Jurgen,
Like Ad said - a query can't open or close forms. But the UI API can. Here is some code if you decide to fo that way:
The example is when form 140 open it should close and open 133 - you can change the logic to fit your needs.
Private Sub SBO_App_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_App.ItemEvent
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And _
pVal.FormTypeEx = 140 Then
Dim oForm As SAPbouiCOM.Form
'1. Cast the Form 140
oForm = SBO_App.Forms.Item(FormUID)
'Close the Form
oForm.Close
'2. Open the A/R Invoice Form (133)
oAppObj.SBO_App.ActivateMenuItem(2053)
End Sub
Maybe you are looking for
-
My 7th Generation iPod has suddenly stopped being recognised by my PC and laptop. I have updated all operating systems for Windows and iTunes, yet it still will not be found. I have had the Generation 7 since June 2013. I have plugged in both my 7t
-
Image in Page Header set to Underlay Following Section overwrite IBoxObect
Hi There Using Crystal Reports as shipped with VS2008. In the Report Header Section I have an image. I've checked the 'Underlay following Sections' so it appears as a watermark (Back ground) image. All is fine except that it overwrites my borders on
-
In Opera there is a 1px line above tabs which helps in organising windows. So I can move the cursor highest on the screen, click and move the window or if I want do change window to firefox from another window i can click highest on the screen fastes
-
Installing Catalyest on Windows 2008 server
i am really tierd of keep trying installing and cleaning my system from previous instalation of catalyest ... after i inter the serial number i got that error and instalation stops pleaaaaaaaaaz help and if there is any link that i can download the l
-
Loading another jsf page from current jsf page
Hello, I would like to add a button and then write logic to load another jsf page when the button is pressed Any sample code can be referenced? Thanks