How to copy the corresponding values other fields in Search help
Hi All,
My selection screen contains 5 fields. three are obligatory parameters, one date field and one select option.
All are from the same table . I had created search help for one field .
when I'll click the hit list of the search help I want the corresponding values to get copied to other fields in the selection screen, as my hit list contain values for all those fields.
How Can I copy those values.
Please help me on this.
Hi,
Please try this.
In the search help set the export parameter for the other fields also.
Thanks
Naren
Similar Messages
-
How to set the default values for fields
Hi all,
How to show the default values without changing the existing code in the CO for the seeded page.
I have requirement like one drown box in that three values are there. On page load the item is empty , but i have to show first value as default value. Is this possible through personalization..
Can any body have idea pls give some suggession.
Thanks
UmaConsidering you don't want to go for controller extension..
A way is to use java script in personalization.
Simply create a RawTextBean using personalization and add the java code to change the properties.
Java script plan:
Get the handle of the items to change (like here drop down)
selectTags=document.getElementsByTagName('select') --gives list of all the select tags in the page
get ID of the select tag whose value you want to change (loop throug selectTags array).
or get it directly by getElementsByName method or getElementsByID mETHOD.
Say its handle is changeItemID.
changeItemID.selectedIndex=2
Overview of script
<SCRIPT type="text/javascript">function _checkLoad(eventXX){
--yOUR CODE FOR GETTING handle Of the select item whose value is to be changed,goes here...
changeItemID.selectedIndex=2
}</SCRIPT> -
How to copy the text from textfield to jlist(please help me)..
hi to all,i am making chat application , in my program user enters ip in the text field to connect to other computer.whenever user wants to send the message ,he has to enter ip in the text field , all i want to do is to copy the ip from text field to jlist , so user does'nt enter same ip every time , he can just select from the jlist . please help me in this ,can u tell me code for that , i would be thankful to u
Thankyou
NareshYou've asked a lot of questions the last few days. I think its time you do some reading. The Swing tutorial titled "Creating a GUI Using JFC/Swing: has sections on every component and example code of how to use them. You can even download the entire tutorial and all the example from the following link:
http://java.sun.com/docs/books/tutorial/
Here's the link specific link to the section on "Using Lists"
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html -
How to copy the attribute values of one instance into another instance.
Say I have 3 instances and two attributes name ,id.
inst1 : id:1 ,name:abc
inst2: id:2 ,name:bcd
inst3: id:3 ,name:efg
now I want
inst: id:1 ,name:abc
bcd
efg
i.e is need to abort instance inst2 & inst3 before that copy the names bcd & efg to inst1.
Please let me know how to do this its very urgent.Hi,
The tricky part of this is to provide your third instance a way to find the other two instances. Finding instances in a process is a bit like finding rows in a database. When doing a SELECT statement in a database, you have a primary key that will guarantee you that you'll only retrieve one row. In Oracle BPM there are a couple ways to do this. One way is to use the instance's id (the predefined variable id.id) to search for the two instances. Another is to use a "correlation" to find the instances.
This example assumes you'd like to look at instances based on a search filter. This filter assumes that you have a customerId variable that both of the instances share. It only returns those instances currently inside the process (the SearchScope logic below being set to "StatusScope.ONLY_INPROCESS" in the logic below). The only incoming variable it needs is the "customerId" variable that has already been set to some value in the other instance. Note that this uses the Fuego.Papi.ClientBusinessProcess object. This logic creates a search filter and only returns instances that meet a certain criteria (the two instances in the process). Once you get the instance, the "getVar()" method retrieves the "name" instance variable. This assumes that you have an instance variable "customerNames" defined as a String array that you are using to store the names retrieved from the two instances. The "abort()" method aborts the two instances it finds in the search.
cbp as ClientBusinessProcess = ClientBusinessProcess()
connectTo(cbp, processId : "/NameOfYourProcessHere")
instF as InstanceFilter = InstanceFilter()
create(instF, processService : cbp.processService, viewId : "TypeSearch")
instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL,
statusScope : StatusScope.ONLY_INPROCESS)
logMessage "Customer Id is: " + customerId using severity = DEBUG
addAttributeTo(instF, variable : "customerId",
comparator : IS, value : customerId)
for each inst in getInstancesByFilter(cbp, filter : instF) do
// get the value of the order's amount for the instance
instanceVarValue as Object = getVar(inst, var : "name")
customerNames[] = String(instanceVarValue)
logMessage "Customer name is: " + String(instanceVarValue)
using severity = DEBUG
// aborts the instance in the process
inst.abort()
endHope this helps,
Dan -
How to Fetch the Row value in SBO Formatted search
Hi Experts,
I have created a Sales order, in which i have 4 UDF Fields(A,B,C,D) in the following:
Example values:
A B C D
2 2 4 4
3 2 6 10
C=A*B
D=1st value of D + 2nd col value of C
i have written query for C, but how to write the Formatted search Query for generation of D values. plz reply as soon as possible.Magesh,
I quite understand what you are trying to do. If you look at the example below I added a third row to show how you want the D to be a running total of column C. RIGHT !!
A B C D
2 2 4 4
3 2 6 10
<b>4 2 8 18</b>
Honestly, it is not going to be simple as you do not have a way in SBO to access a particular column from a row. When you say $[$38.U_C] it refers to the context row OR the row which has the highlight OR the row which has the curson on it.
It is not possible to say $[$38.U_C from row 2] JUST NOT POSSIBLE ...
You have to write a tricky code by using a temp table referencing the value of column C. Also you have to keep track if Rows gets deleted and a new row added.
I will test a sample code and will come back.
Suda -
How to copy the these values in an array
Hi friends
I am writing a code (a method). In this code i am calcluating values 0to 3000 and storing in a varieble R. I want to move these values from R to an array. How can i do it? I wrote a code. I works but it add location i guess not the values in array. Can anybody tell me how can i fix my code
here is my code
public double LCDy (){
for(int i=0; i<= 3000;i++){
x = (((a)*(XO1))+c)%m;
//System.out.println("My x:"+x);
R = x/m;
XO1 = (long)x;
v1.addElement(new Double(R));
//v.add(new Double(R));
bArray[i] = (long)R;
System.out.println(i+" Value: "+R);
System.out.println("Vector 2: "+v1);
System.out.println("Array 2: "+bArray);
return R;
}Thanks alot in advanceSo sorry i didnt mean to confuse you guys, The problem is i am not sure how to use ArrayList. I tried Vector too but both these make Objects, then how i can deal with object, I gues simple Array i eazy to use that why i used it Here is the clean peice of code,
Please let me know how to put R value in an array
public class Simple {
public double x = 0, R = 0;
public long aArray1[] = new long[ 3000];
public long c=0;
public long a = 16807;
public long m = 2147483647;
public long XO = 238640;
public long XO1 = 248921;
public Vector v = new Vector();
public double LCDx (){
for(int i=0; i<= 3000;i++){
x = (((a)*(XO))+c)%m;
R = x/m;
XO = (long)x;
// v.addElement(new Double(R));
aArray1=(long)R;
System.out.println(i+" Value: "+R);
//System.out.println(" Vector: "+v.add(new Double(R)));
System.out.println("Vector 1: "+v);
System.out.println("Array 1: "+aArray1);
return R;
Thanks alot in advance -
How to copy the structure of a Field Symbol?
Hi,
I have a requirement where in a dynamic Internal table is supposed to be created. I have created that dynamic table using the class method cl_alv_table_create=>create_dynamic_table. Here I have a structure in the field symbol. My requirement is how do I create a internal table with the structure that is there in the field symbol?...
and i'm unable to refer to the field that is dynamically created in the field symbol.
Like,
<gfs_tab>-pernr = itab-pernr.
in the above stmt the field pernr is created in the field symbol dynamically.
Thanks,
Deepak.Hi Matt,
my objective is to create an internal table with structure that i have obtained in <gfs_tab> .
other than the pernr, there are many fields dynamically generated.
say if I have generated the following structure in <gfs_tab> :
pernr ename1 day1 day2 day3
then I want to create an internal table with the above structure so that my internal table will have fields:
1) pernr
2) ename1
3) day1
4) day2
5) day3
for each execution of the report there will be different structure generated in <gfs_tab> depending upon the inputs that I give.
Thanks,
Deepak. -
How to copy the measured value of digitalcolormeter
(Farbmesser) to clipboard?
k.Lokanath Giri wrote:
For your validation check this link
http://www.techonthenet.com/ascii/chart.php
Please don't just refer people to other non-oracle websites when the answer is so simple to give here as others have already done. -
How to validated the number values in Controller
Hi
How to validate the number values in Controller.
Please help me.
Thanks
Rajavel RamalingamHi
Nagesh Manda,
MessageTextInput one filed already have varchar2 filed. I am going modified character to number(throw the controller). For the example that page submit button press that time validate the filed. Only enter number. don’t enter charter.
Thanks
Rajavel -
How to copy the function group
hi there,
i want to copy the function group 2012. plz let me know the possibility.use FM <b>RS_FUNCTION_POOL_COPY</b> to copy
Look at this thread
how to copy the function group -
What is the significance of data collection nad search help exit field ?
Dear Gurus
I know i am asking very basic quetion of abap but sdn is the only source to learn sap for me.I want to thanks you all for your kind support.
i read most of the post related to search help and trying to create one.
for elementary search help.
SE11 -> SEACH HELP -> ELEMENTARY SEARCH HELP
I have doubts regarding to fields "DATA COLLECTION" and "SEARCH HELP EXIT".
reference to a tutorial it is a maintenance view shall i have to reate a maintenace view first.
and other field is SEARCH HELP EXIT what is this.
please help me .
Thanks in advance.
Chitta Ranjan mahato.
Edited by: chitto123 on Oct 8, 2010 5:59 AMHowdy,
DATA COLLECTION - refers to a database table or view. This is the data that the search help will search through and display based on the parameters provided, so you can create your own view for the search help if you want the search to cover multiple tables.
SEARCH HELP EXIT - You can create a function module to be able to alter the Search Help's selection and results at various events throughout the search help. An example of this function module is provided with some documentation in function module F4IF_SHLP_EXIT_EXAMPLE.
Cheers
Alex -
How to retrieve the procedure value and pass the value to a form field
How to retrieve the procedure value and pass the value to a form field?
Set property for the field and the value is the actual procedure/function.
Cheers -
How to populate the calculated value into screen field.
I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
The Calling screen: SAPLIQS0
Screen Number: 7790
Screen Area :USER0001
Called Screen: SAPLXQQM
Screen Number: 0101
I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
How to populate the calculated values in Custom screen?
Where we wrote the code to populate the calculated values in custom screen?
You have any idea please guide me
Thanks & Regards,
SamantulaAs your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)
-
How to copy the positions and their relationships of one org.unit to other
f there about 20 organization units among which 6 org.units have same positions and same relationships ,i know that we can create one org.units and their relationships among 6 similar org.units and then copy the same position and relationships to other 5 org.units as well instead of individually creating positions and assigning relationships to them which results in wasting a quality time.but i dont know how to copy it? so please help me by informing me in details how to copy the positions n their relationships to other org units.
Hi.
This may sound like a bit of a pain in the *** but why not save the channel strip settings into your own folder then that way you can open them up in other songs and you have some channel strips to try out when you cant find anything else to fit. Plus its fun to open up lots of different audio onto the tracks and see what the effects sound like, Brian Eno style.....
Hope this helps -
How To Increase the Size of Memo Fields 4000 Char in WebCenter 11g?
How To Increase the Size of Memo Fields greater than 4000 Char in WebCenter Content (UCM) 11g?
I was able to increase the size of Memo field from 2000 Char to 4000 by setting parameter value MEMOFIELDSIZE=4000 . But the requirement is to increase the size more than 4000 around 7000 char but Database(Oracle 11G) is not supporting more than 4000 char.
Is there any other way to increase the size of Memo field?
Thanks in Advance!!
Regards
RamHello All,
Thanks for your responses.
Let me explain the scenario again in detail:
1. we have three meta-data fileds xProductCategory,xProductFamily and xProducts
2. These fields are related with DCL feature and corresponding values are being stored in corresponding custom Views
3. xProducFamily is dependent of xProductCategory and xProduct is dependent on xProductFamily
4. currently, there are around 250 Product values and average name of Product can be of 25 Char, so if we are selecting all product values for some Contents then Product Values are being stored in DocMeta table as comma separated values with one space, so total characters are being very high than 4K Char.
5. Currently view that is storing the Product values, stores "Name" column instead of ID(like 1,2,3....)
6. And our Content Server is integrated with Oracle WebSenter Portal, where logic has written to retrieve the contents based on "Product Name" instead of "Product ID" and already we are in UAT phase.Currently we are not in situation to revert the changes from Product Name to Product ID.
7. Also if we are storing the values on the basis of Product ID, then again the issue may arise in Future, if the number of Products increased.
Hoping the issue explanation is clear now and waiting for some possible solution for increasing the length of memo field.
Thanks in Advance !!
Regards
Ram
Maybe you are looking for
-
How to set an 'alert' or reminder message for end-user Acrobat X form.
Hi, I'm trying to see if I can add an alert or reminder message for the end user who will be filling in a form that I'm creating from Acrobat Pro X. Does it require a script if so, could anyone share one that is already exists? If it doesn't need a s
-
What is the best design to connect redundant Firewalls to redundant switches?
Hi All, I would like to know the best possible design to connect redundant Firewalls(Netscreen,FortiGate etc) to redundant switches.I have dealt with Cisco FWSM's in which both the Firewall and switch is in the same chassis. So for the Vlan's behind
-
Items not visible in Cached Exchange Mode Outlook 2013
Outlook 2013, exchange 2010 14.2.247.5. I know it's an older version and I'll update if I need to. So this is a tough one. I noticed one day while on a conference call that I was not receiving into my inbox an email that was just sent to me with a p
-
I bought a new iPod nano and cannot get the music synced
I just purchased a new Ipod nano and registered it and upgraded the software. I cannot get the music library to sync. My music is in the cloud. any advice on what I am missing?
-
Generated SQL statement contains unnecessary cast
I have a table containing a column of type decimal(10,0). Generated entity model maps this to a int32. When I perform a query on this field, for example test.Where(p => p.id = 10) the generated query contains the following where (Cast(id as number (1