How to create Pro grammatically Search Form ?
Version 11.1.1.3.0
HI i have a requirement where i cant use the search panel/Af:guery panel or View criteria to create the Search form,
I want simple search on 3 fields and result shld dispaly in table.
How can i do that??
Thanks for help
Two things:
1. I don't know why you need to have the bean populate the list box -- is it based on other values in the form, requiring a runtime filter? "data" belongs in databases.
If so, I would recommend looking up Cascading List boxes (Shay has a youtube channel with that) and I have a video on that, too.
Secondly, you can have list box on the form that will show the "readable" value to the user that they can select. I have a video on that -- possibly the first video I mentioned, but this one may help too.
http://www.youtube.com/watch?v=ytpLTC5HdvA&feature=plcp
2. To create a view criteria programatically:
In the application module, go to the java tab and create an appmoduleimple class. Create a method that manipulates the view criteria and executes the view object. Then expose that on the application module. On the data control, drag and drop the method onto your form. Choose parameter form.
A form should be created that has the input and button.
3. On the data control, click on the method and under it, select parameter. drag that onto the form. Select listbox when it asks what kind of control you want to create. Then it will display the listbox gui to connect the database table. This will create a listbox on the form that users can then select. You can manipulate the view object (also using view critieria) behind the listbox to filter data based on some value on the form.
I am writing from memory here, so I might have skipped a step.
This may help also: Re: How to filter the list of data
Edited by: Stuart Fleming on Sep 17, 2012 12:04 PM
Similar Messages
-
HOW TO CREATE A KEYWORD SEARCH FORM
Hi, I'm creating a image gallery and I'm about 90% complete. One of my final objectives is to create a keyword search for my image gallery. I have 4 fields in my DB, (id,image,description,keywords) I want to be able to enter keywords into the text field and the images with there descriptions show up. I already have the keywords in my mysql, I already know how to use mysql, I just need to learn how to add a search form that pulls keywords from my mysql. THIS DOES NOT REQUIRE ANY CODE so please do not respond with code. I just need a step by step on what type of form to insert, (dynamic text field or text field) what paramaters to pass etc. NO CODE, this whole thing can be done in design veiw.
For this project I'm using Dreamweaver Cs5, I'm not really an experienced coder I rely heavily on dreamweaver for my code, I just make minor tweaks. So if anyone has an answer to my problem please break down and simplify your answer I'm still a beginner. Thanks in advance.
ps
If anyone knows of any other video tutorials of this process please inform me, it would be greatly appreciated, thank you.(not php acedemies)This is helpfull but I'm still running in to some problems. I believe everything on my search page is correct, I think it's my results page thats giving me issues. When I view my search page in firefox and type in a keyword in the text field, when the results page loads all I get is the field names of DB table (id,layouts,desription,key_words) instead of the actual data...??
On my search page in the action box I have my results page "search_results.php". In the method box I have "GET". On my "search_ruselts.php" page I created a recordset, selected all columns, and filtered "key_words". (im not sure if I filtered correctly) I placed this in a dynamic table. Where did I go wrong?
this is my code if it helps any
search page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="get" action="search_results.php">
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
<input type="submit" name="button" id="button" value="Submit" />
</form>
</body>
</html>
results page:
<?php require_once('Connections/test_db.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$maxRows_Recordset1 = 10;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
$colname_Recordset1 = "-1";
if (isset($_GET['key_words'])) {
$colname_Recordset1 = $_GET['key_words'];
mysql_select_db($database_test_db, $test_db);
$query_Recordset1 = sprintf("SELECT * FROM images2 WHERE key_words = %s ORDER BY id DESC", GetSQLValueString($colname_Recordset1, "text"));
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $test_db) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
$all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
$colname_Recordset2 = "-1";
if (isset($_GET['id'])) {
$colname_Recordset2 = $_GET['id'];
mysql_select_db($database_test_db, $test_db);
$query_Recordset2 = sprintf("SELECT * FROM images2 WHERE id = %s ORDER BY id DESC", GetSQLValueString($colname_Recordset2, "int"));
$Recordset2 = mysql_query($query_Recordset2, $test_db) or die(mysql_error());
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table cellpadding="4" cellspacing="4">
<tr>
<td>id</td>
<td>Layouts</td>
<td>Descriptions</td>
<td>key_words</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_Recordset1['id']; ?></td>
<td><?php echo $row_Recordset1['Layouts']; ?></td>
<td><?php echo $row_Recordset1['Descriptions']; ?></td>
<td><?php echo $row_Recordset1['key_words']; ?></td>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</table>
</body>
</html>
<?php
mysql_free_result($Recordset1);
mysql_free_result($Recordset2);
?> -
Hi,
I'm trying to figure out how to create a dynamic search form
using Coldfusion 8.
Right now if I enter multiple words in my search field the
results omit certain records. For example, if I put "toy blue" in
the search field it will return results that only have "TOY BLUE"
together and omits any records that only have "TOY" or only have
"Blue" in the column being searched.
Is there a way to add the following abilities to my basic
search code located at the bottom of my post:
- Search multiple words that are entered in the criteria
input field.
- The words can be separated by commas, spaces, or the word
"and".
- Have it so you can search multiple word phrases by using
quotes.
<!--- Search Form--->
<form name="myForm" method="post"
action="results.cfm">
<p>
<input name="criteria" type="text" id="criteria">
<input type="submit" name="Submit" value="Submit">
</p>
</form>
<!--- Results Page --->
<cfquery name="qSearch" datasource="myDatabase"
dbtype="ODBC">
SELECT itemID, itemName
FROM myTable
WHERE 1 = 1
<cfif IsDefined("form.criteria") AND
Len(Trim(form.criteria))>
and (itemName LIKE '%#form.criteria#%' or itemDescription
LIKE '%#form.criteria#%')
</cfif>
</cfquery>
<p><b>Results:</b></p>
<cfoutput query="qSearch">
<p>#itemid# - #itemName#</p>
</cfoutput>
<!--------->
Any help would be greatly appreciated.
Thanks
-CThis is the relevent sql
and (itemName LIKE '%#form.criteria#%' or itemDescription
LIKE '%#form.criteria#%')
substituting the variable, it looks like this
and (itemName LIKE '%TOY BLUE%' or itemDescription LIKE '%TOY
BLUE%')
You have to treat form.criteria as a list, and loop through
it. -
How to create a report in Form line Style and can display Image field?
Hi,
In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
But in Paper Layout, my report can not display Image field.
I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
How to create a report in Form line Style and can display Image field?
I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
Thanks & regards,
BACH
Message was edited by:
bachnpHere you go..Just follow these steps blindly and you are done.
1) Create a year prompt with presentation variable as pv_year
2) Create a report say Mid report with year column selected 3 times
- Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
- Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
- Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
3) Create your main report with criteria as Year and Measure col
- Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
- Now put a filter on year column with Filter based on results of another request and select these:
Relationship = greater than or equal to any
Saved Request = Browse Mid Report
Use values in Column = YEAR-1
- Again,put a filter on year column with Filter based on results of another request and select these:
Relationship = less than or equal to any
Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
Use values in Column = YEAR+1
This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
This will 100% work...
http://i56.tinypic.com/wqosgw.jpg
Cheers -
Web dynpro for abap how to create a customize search help in alv column
hi:
Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
Are there specific examples ?
thanks!!HI:
I want to created a freely programed help which include date&time,and put help value to alv column.
I have created a freely programed help in web dynpro for abpa application,I refer:
**************** - WebDynpro for ABAP
but have a problem!
If you focus on the the input field in the first row, you get the value help
However if I go to the second row and focus on the same input field in this column, I don't get the value help:
What is a good way to solve similar problems?
thanks -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
How to create table in interactive form via Java Web Dynpro
Hi,
How to create table in interactive form via Java Web Dynpro ?
Any online tutorial / example ?
Thank you.
Regards,
EricHi Eric,
Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
Hope it will solve your query.
Regards,
Vaibhav Tiwari. -
How to create a master detail form using single table
Hi,
how to create a master detail form using single table.
Regards,
M. SatishHi
how to create a master detail form using single table.Make the Master ur pks the details the rest of ur data base field in the detail it's a mater of organizing fields on a form M-Detail...
Now What ?
Regards,
Amatu Allah -
Hi,
how to know pro-grammatically variable type(string ,numeric ....) of TestStand variable using Labwindows CVI.
Thanks
Mukesh KumarMukesh,
You could use the TS_PropertyGetType() function in CVI to do this. Here is a reference page for the GetType function--you can see that it returns a PropertyValueType which will indicate which type the PropertyObject (variable) is. In CVI, you'll find this function in the NI TestStand API 2013 instrument methods, under PropertyObject > Static Properties.
Hope it helps, and let us know if you have any more questions about it!
Daniel E.
TestStand Product Support Engineer
National Instruments -
How to build an adf search form
How to build an adf search form without using the view criteria out of box search functionality provided by adf
my query is this .. but still i face the same problem... missing in or out parameter at index ::1
select ms.state_name,
sum(decode(mp.status,'12',1,0)) cnt_active,
sum(decode( mp.status,'12',mh.chargesheet_name,0)) sum_active,
sum(decode(mp.status,'18',1,0)) cnt_inactive,
sum(decode( mp.status,'18',mh.chargesheet_name,0)) sum_inactive,
sum(decode(mp.status,'',1,'5',1,'16',1,'17',1,0)) cnt_expired,
sum(decode( mp.status,'',mh.chargesheet_name,'5',mh.chargesheet_name,'16',mh.chargesheet_name,'17',mh.chargesheet_name,0)) sum_expired
from mst_pindetails mp,
mst_batchno mb,
mst_chargesheet_hdr mh,
mst_state ms
where mp.swhbatchcode=mb.swhbatchcode
and mb.chargesheetno = mh.chargesheet_code
and trim(ms.state_id) = mb.statecode and mp.status=nvl(:pstatus, mp.status) and ms.state_name=nvl(:pstatename,ms.state_name) and mp.attribute_date1 >= nvl(:pfromdate,mp.attribute_date1) and mp.attribute_date1 <= nvl(:ptodate,mp.attribute_date1)
group by state_name -
How can i create my own search form/A user defined search form
Hello All,
I have a simple table name employee with two fields, they are Emp_id and Name having 10 recrods.
I have a form with a text box and a button labled Search.
I want to search the employee in my employee table. I write the Emp_id in the text box field if the entry (Emp_id) does not exist in the employee table having 10 records then i want a message appear "There is no such employee Code "0001" try again.
On the other hand if i found some employee in my employee table then it will open the employee form and go to the specified record and show me that record.
How can i accomplish this task in Oracle Form 6i?
If anybody help me in this regard i am thankfull to you..
Please write all necessary code as well.
Thanks in advance.try this one here is :vemp is textitem ,i hope you know how to create button and buttonn's trigger to embed this code
DECLARE
cnt NUMBER := 0;
RECORD_NUMBER NUMBER;
VCNT VARCHAR2(20);
BEGIN
GO_ITEM('EMP.empno');
FIRST_RECORD;
BEGIN
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
LOOP
IF :EMP.empno = :vemp THEN
cnt := cnt + 1;
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
END IF;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR cnt > 0;
NEXT_RECORD;
END LOOP INNER;
IF cnt=0 THEN
message('No record found..');
END IF;
GO_RECORD(RECORD_NUMBER);
END;
NEXT_ITEM;
END;Khurram -
How to create pro forma invoice (F8) in this way
hi all,
we would like to create pro forma invoice with reference to DO(PGI done). At the same time update
LC#Number under the header text and update Box No. under the item text.
we're looking for one step solution(either BDC,bapi...etc) because there will be printing come out once the invoice is saved. we don't wish to come back to update the header text and item text again to print second time.
thanks.Hi
In VOV7 the billing relevance for item category NLN should be maintained as A (delivery related billing)
Then you need to maintain copy controls in VTFL between NL to F8
In copy controls at header level copying requirements should be 009
At item level for item category NLN copying requirements should be 010
Pricing is picked from the OVKK settings that is for your sales area, CPP as the receiving plant is the customer, and DPP from the billing type of F8 For this combination you need to maintain Pricing Procedure
In VTFL At item level for item category NLN the pricing type should be B
If you need to maintain this settings you can create F8 proforrma invoice in intra comapny STO
Regards
Raja -
How to create a custom search page
Hi,
i would like to create a custom search page. I need to have a textbox for the text where i would like to search and a set of refiners, but in form of DropDown Lists. Under these elements i would like to have the search results.
Is this possible?
Where can i begin and for what do i have to look for?
Best Regards
Bog
Developers Field Notes | www.bog1.deHi,
start with those articles
http://msdn.microsoft.com/en-us/library/office/ms551453(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/office/hh144966(v=office.14).aspx
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/03/09/how-to-build-a-custom-advanced-search-control-for-enterprise-search.aspx
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation -
How to activate several Formatted Search Forms !!
Hi Guys,
I have a problem concerning the manipulation of formated Search Forms. Actually when using the ActivatMenuItem() method, one needs a UID of the items to be activated. And I would like to use this method to activate several formated Search Forms but I don't know how to get the UID of those formatted Search Forms.
While searching on the Forum, I have seen that some developers used following command SBO_Application.ActivateMenuItem("7425");
I tried that and it works, but it only activates the first formatted Search Form saved in the CSHS table. My problem is how to activate the other formatted Search Forms and how to access their UID.
Thanks in advance for Responding
BopFormatted searches are tied to an individual field on the screen.
They are not launched by individual UID's, there is only one formatted search menu UID - 7425.
The actual screen that is called is based on which field the focus is currently in. If you are in form UID "1", field UID "1" it will call the formatted search (defined in CSHS) for Form 1 / Item 1. If the focus is currently in field UID "2", it will call a different search. If there is no formatted search defined on CSHS for the current field, then it will display a dialog asking if you want to create one.
If you want to open other formatted searches for different fields in your form, simply place the focus on them before calling ActivateMenuItem("7425"). You can do this using the Click method.
John. -
How to create an online fillable form for mobile devices, tablets and smartphones.
How can I create "online fillable forms" for Mobile devices, tablets and smarphones?
I already created an "online fillable form" with Adobe Acrobat XI Pro for PCs and MACs but this form can not be filled using mobile devices, it can only be downloaded.
Thanks.Hi George,
I gather from your reply that I won't be able to create "online fillable forms" for Mobile devices with Adobe Acrobat XI Pro. Correct?
If Adobe does not have another software similar to Adobe Acrobat XI Pro, would you please suggest me any other means of creating "online fillable forms" for Mobile devices?
Would you think that an HTML developed form would be a fair substitute for the PDF fillable forms that I use for PCs and MACs?
Thanks,
Alvaro
Maybe you are looking for
-
Meaning of defining multiple logical components in mainenance project?
Dear friends of SolMan, I have a question regarding a possible functionality of ChaRM . In the maintenance project, defined in SOLAR_PROJECT_ADMIN, there is on the tab "system landscape" another tab "systems" where you define the logical component fo
-
Will the Apple Thunderbolt to FireWire Adaptor allow me to connect to my ProFire 610?
Was using this for recording live instruments & vocals on a G5, but there's no Firewire port on the current iMacs.
-
Help needed with printf function!!!!
public class Try {public static void main (String[] args) {int a; String b; a = 000002; b = "JSmith"; System.out.printf(b + "%d", a); }}I need a help with the printf function. The result of this small excercise that I just made is: Jsmith2 How do I m
-
Tried to start my MBP after 4hours of travelling and it didn t start properly. It is the full aluminium body one from 2008, so it is 4 and half years old, and very well taken care of. What happens when I press the Power Button ? I see the little powe
-
Hi, How transaction line items be maintained under sub asset. We want to maintain a hierarchy in assets as follows: Account determination-Asset Class-Group asset-Main asset-Sub asset-Transaction line item. It will help us in reporting. Please suggest