Polpulate one field on the base of second
hello,
I need help in htmldb application as i have a htmldb page with fields P80_ItemCode,P80_Descriiption and in the database table i have item_code and Description. i want that after page load when user put some item_code in the P80_ItemCode field and press enter the description for this item_code should be fetched from table and paste into the P80_Description field.
Is this where the battery is? If so, check the battery for any deformity by taking it out and if it is the battery, get it replaced asap (if you're under the first year warranty and under 300 charge cycles, you should get a free replacement).If it is somewhere else, I'd take to an Apple store or service provider asap.
Message was edited by: Barbara Daniels1
Similar Messages
-
How can i add one field in the container for the standard task-90310004?
Hi,
Please let me know thw steps to add one field in the container for the standard task-90310004.
Usefull suggestions will be rewarded.
Regards,
Neslin.<b>Hi,
Containers are used for holding Application data for Workflow purposes.
Event container
Task container
Workflow container
Role container
Binding is the linking of data from one container to the other for making data available all across the workflow.
But you can get values from one container to another container like this
Container(Con)
1. WF Con to Role, Wf con to task con, Wf con to event
and
2. Event con to wf con, task con to wof con
and
3. Method con to task con
and
4. Task con to method con
So, we don't have direct possible binding from task con to task con.
Thanks and Regards,
Prabhakar Dharmala</b>
Message was edited by:
Prabhakar Dharmala
But you can do pass values from first task con to wf con and again from wf con to another task con -
Add one field on the screen.
hi ,everybody.
i want to add one field on the progam SAPMV10A,it is VD05,The screen number is 300.the field name is TVLV-ABRVW.How can i do,thank you.Check here:
SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payab;e --> Customer Accounts -> Master data --> Preparations for creating customer master data --> Adoption of Customer's own master data fields --> Businees Add-in:.... -
In BDCs, after adding one field to the screen, which one is the better proc
Hi,
My client requirement In BDCs, after recording the legacy data by using MM01, After some time adding one field to the screen, How can we record the for the new field.
If any one knows pls help me total process.
Warm regards,
Venkat.Identify the screen in which this new field is added and simply add one more line to add the bdc record for this field in that screen.
If the screen is also entirely new, then you have to identify the previous screen, the okcode to go to this new screen and finally the next screen and the okcode to go to the next screen along with the field BDC record.
I don't think it is necessary to redo all the recording as long as you can follow the existing code. -
Adding one more field to the Base line price screen (MEk3)?
Hi,
Now we are entering the base line price for each material.
My requirement is
1) Ability to enter in baseline prices by part by supplier.
If no supplier is entered then the baseline value applies to all suppliers. If a price needs to be recorded specific to a supplier, then the supplier code must be entered. Thus, a part may have two entries (one for all suppliers, and one or more for each unique supplier that needs to be recorded).
How to proceed for this requirement..how to start ...please help me..is this config change or code change..or it is related to custom or standrard change?
please help..Hello,
You can define access sequence (SPRO->Materials Management->Purchasing->Conditions->Define Price Determination Process) for the condition type to look at Vendor/Material level and Material level in the sequence. Please make the access Exclusive so that no further search is carried out once a condition record for Vendor/Material level is found.
Thanks,
Venu -
How to skip one field from the file by using sqlldr
Hi ,
i'm using DB 10g R2 on Redhat ,
my control file hereunder ,
LOAD DATA
INTO TABLE reber.AAA_BILL
APPEND
REENABLE DISABLED_CONSTRAINTS
EXCEPTIONS reber.AAA_BILL
FIELDS TERMINATED BY '|'
(Streamnumber ,
MDN ,
USERNAME ,
DOMAIN ,
USERIP ,
CORRELATION_ID ,
ACCOUNTREASON ,
STARTTIME ,
PRIORTIME ,
CURTIME ,
SESSIONTIME ,
SESSIONVOLUME ,
RATEPOLICYIDX ,
FEE ,
GROUPID ,
SERVICEID)and this is one records of the file ,
222|1|0664363446|12D0DC90||10.15.6.45|007b8aa5|3|20111029204824|20111029204824|20111029211504|1600|0|147|0|4000|10154|really i want to skip the first field in the file which is (222|) and starting from the second field ,
any help pleaseThank you for you reply ,
really i know the Filler to skip colomn from the table , is the Filler working also to skip field from the File . i'll read the link to check this -
Dynamic search help for one field of the SM30 generated maintenance view
Hi experts,
I have one Z* table with three fields. For that table I have generated maintenance dialog in SE55 so I can now run the maintenance in SM30. My requirement is: as soon as a user enters a value for the first field, the search help for the second field should be depended on the value in the first field. Let's say when user entered value 01 into the first field then the search help for the second field should be S_HLP01. For other values entered into the first screen the search help for the second field should be S_HLP02. Both search helps are standard (the names differ).
Is there any change how to achieve this without making completely new dynpro transaction?Hi ,
You can try it this way.
pass your match-code( search help to function ) HELP_VALUES_GET_WITH_MATCHCODE and get the value and update it in your screen field.
But you have to modify the flow logic in POV event. it would be better if you create your own transaction because once the maintenance is regenerated your modified flow logic will vanish -
Pull more than one field into the same field in a report.
I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be
a count, within that same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
That is why I was trying to be generic.
Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them
to certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part.
It is just getting them to then display as in my example that I am not sure how to do.
The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
Table Name: Certified
Table's purpose: This table would list all people who had completed the course.
Fields:
CourseName
CourseCode
AudienceName
AudienceCode
CompletionResult
EmpCode
DepartmentCode
Table Name: Available
Table's purpose: This table would list all people who are assigned to the audience.
Fields:
AudienceName
AudienceCode
EmpCode
DepartmentCode
The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple
as possible so you could just use it as a generic example. -
How to do this? More words in one field - split the words
Hello Hello,
I have a simple question about a simple database arrangement.
But the family name and first name are in the same field(column).
I would like to have a database with the first name - family name(s) in different fields.
So when for example the database has Willem De Wortel in one field
I would like to get a database with 3 more fields First name - Family 1 - Family 2
So the first word is the first name : Willem
and the second field is second name : De and the third field is third name : Wortel. For Willem Van De Wortel : I get 4 columns
So the script should see at 1 column in the database.
And make more columns for every word in that column.
So I think most of times I get a database with 4 extra columns
First name - Second name - third name - fourth name
I prefer to make extra columns starting next to the selected column
so I get a new database tab delimited mac os roman with (most of the times) 4 extra columns where the name is separated in more columns. And the new columns are next to the original column.
I hope some one understand me.Hello Colin,
Here it goes. Try this one.
May this work well.
Hiroto
P.S. Sorry I misspelled your name in previous posts...
--SCRIPT 2
E.g.
infile.txt (; denotes tab)
name;field2;field3;field4
d11;d12;d13;d14
d21;d22;d23;d24
d31;d32;d33;d34
d41;d42;d43;d44
* Here, the 1st field is for name
outfile.txt (; denotes tab)
name;name 1;name 2;...;name 9;name 10;field2;field3;field4
d11;d11[1];d11[2];...;d11[9];d11[10];d12;d13;d14
d21;d21[1];d21[2];...;d21[9];d21[10];d22;d23;d24
d31;d31[1];d31[2];...;d31[9];d31[10];d32;d33;d34
d41;d41[1];d41[2];...;d41[9];d41[10];d42;d43;d44
* X denotes X's i'th substring delimited by space
(If X is in double quotes, each X is also enclosed in double quotes)
e.g.,
Given X = "Willem Van De Wortel",
X[1] = "Wililem"
X[2] = "Van"
X[3] = "De"
X[4] = "Wortel"
X[5]..X[10] = (empty)
on run
open (choose file with prompt "Choose input file") as list
--open (choose file with prompt "Choose input file(s)" with multiple selections allowed) as list -- AS1.9.2 or later
end run
on open aa
repeat with a in aa
set infile to a as string
set {p, m, x} to {|parent|, |name stem|, |name extension|} of getPathComponents(infile)
set outfile to p & m & "-converted" & x
main(infile, outfile)
end repeat
end open
on main(infile, outfile)
string infile : HFS path of input file
string outfile : HFS path of output file
script o
property targetfield : 1 -- # target field index
property subfields : {¬
"name 1", "name 2", "name 3", "name 4", "name 5", ¬
"name 6", "name 7", "name 8", "name 9", "name 10"} -- # additional sub field's names
property sublen : count subfields
property text_class : string -- # input & output text class [1]
--property text_class : «class utf8» -- UTF-8
[1] Input and output text class (: text encoding)
string : System's primary encoding; e.g. Mac-Roman
«class utf8» : UTF-8
Unicode text : UTF-16BE
property ORS : return -- # output record separator
--property ORS : linefeed
property pp : {}
property qq : {}
property rr : {}
property mm : {}
-- (0) read input file
set t to read file infile as text_class
set pp to t's paragraphs
-- (1) build new header row
set h1 to my pp's item 1 -- original header row (from line 1 of infile)
set hh1 to text2list(h1, tab)
set hh1's item targetfield to {hh1's item targetfield} & subfields -- add new sub fields
set h to list2text(hh1, tab) -- new header row
set qq to {h}
-- (2) process each data row (line 2 .. line -1)
repeat with i from 2 to count my pp --pp's item i is data row (i - 1)
set p to my pp's item i
if p = "" then -- skip any empty row
set end of qq to p
else
-- get row data, name and name components
set rr to text2list(p, tab) -- current row data
set n to my rr's item targetfield -- full name
set mm to text2list(n, space) -- name components delimited by space
-- special treatment in case name is enclosed in double quotes
if n starts with """ then -- original name is in double quotes
set mm to text2list(list2text(my mm, """ & tab & """), tab) -- quote every component
end if
-- adjust name components' length to match the given field length
set delta to sublen - (count my mm)
repeat delta times
set end of my mm to "" -- pad "" to end
end repeat
if delta < 0 then set mm to my mm's items 1 thru sublen -- truncate any extra, just in case
-- build new row data
set my rr's item targetfield to {n} & my mm
set end of my qq to list2text(my rr, tab)
end if
end repeat
-- (3) build output text and write it to output file
set t1 to list2text(qq, ORS)
writeData(t1, outfile, {_append:false, class:textclass})
return t1
end script
tell o to run
end main
on list2text(aa, delim)
list aa : source list
text delim : text item delimiter in list-text coercion
local t, astid, astid0
set astid to a reference to AppleScript's text item delimiters
try
set astid0 to astid's contents
set astid's contents to {delim}
set t to "" & aa
set astid's contents to astid0
on error errs number errn
set astid's contents to astid0
error "list2text(): " & errs number errn
end try
return t
end list2text
on text2list(t, delim)
text t : source text
text delim : text item delimiter in text-list conversion
local tt, astid, astid0
set astid to a reference to AppleScript's text item delimiters
try
set astid0 to astid's contents
set astid's contents to {delim}
set tt to t's text items
set astid's contents to astid0
on error errs number errn
set astid's contents to astid0
error "text2list(): " & errs number errn
end try
return tt
end text2list
on writeData(x, fp, {append:append, class:class})
data x: anything to be written to output file
string fp: output file path
boolean _append: true to append data, false to replace data
type class _class: type class as which the data is written
local fref
try
set fref to open for access (file fp) with write permission
if not _append then set eof fref to 0
write x as _class to fref starting at eof
close access fref
on error errs number errn
try
close access file fp
on error --
end try
error "writeData(): " & errs number errn
end try
end writeData
on getPathComponents(a)
alias or HFS path string : a
return record : {|parent|:p, |name|:n, |name stem|:m, |name extension|:x}, where -
p = parent path (trailing colon inclusive)
n = node name (trailing colon not inclusive)
m = node name without name extension (trailing period not inclusive)
x = name extension (leading period inclusive; i.e. n = m & x)
local astid, astid0, fp, p, n, m, x
set astid to a reference to AppleScript's text item delimiters
set astid0 to astid's contents
try
-- (0) preparation (strip trailing ":")
set fp to a as Unicode text
if fp ends with ":" and fp is not ":" then set fp to fp's text 1 thru -2
-- (1) get node's parent path and node name
set astid's contents to {":"}
tell fp's text items
if (count) ≤ 1 then
set {p, n} to {"", fp}
else
set {p, n} to {(items 1 thru -2 as Unicode text) & ":", item -1}
end if
end tell
-- (2) get node name stem and extension
set astid's contents to {"."}
tell n's text items
if (count) ≤ 1 then
set {m, x} to {n, ""}
else
set {m, x} to {items 1 thru -2 as Unicode text, "." & item -1 as Unicode text}
end if
end tell
set astid's contents to astid0
on error errs number errn
set astid's contents to astid0
error "getPathComponents(): " & errs number errn
end try
return {|parent|:p, |name|:n, |name stem|:m, |name extension|:x}
end getPathComponents
--END OF SCRIPT 2
Message was edited by: Hiroto (fixed the code a bit) -
Pulling more than one field into the same field within a report.
I posted this in the T-SQL forum, but it was suggested it may be better to post it here. This is somewhat complicated, so I hope I am explaining this well. I will post here what I posted there. I will also include two replies I gave in offering further information
in case that may help to further clarify my question. See below:
I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be a count, within that
same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
That is why I was trying to be generic.
Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them to
certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part. It is
just getting them to then display as in my example that I am not sure how to do.
The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
Table Name: Certified
Table's purpose: This table would list all people who had completed the course.
Fields:
CourseName
CourseCode
AudienceName
AudienceCode
CompletionResult
EmpCode
DepartmentCode
Table Name: Available
Table's purpose: This table would list all people who are assigned to the audience.
Fields:
AudienceName
AudienceCode
EmpCode
DepartmentCode
The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple as possible
so you could just use it as a generic example. -
Question: map the whole source message into one field in the target.
Hi Friends,
Is there a way to populate the whole source message into one of the fields in the target message?
I am trying to do this in message mapping. Guide if this could be done in any other way or is there a way to do it in message mapping.
Waiting for your valuable guidance,
Regards,
LakshmiHi Friends,
I tried to convert the source message into a string using XSLT mapping. It was successful, however i need to have the source message in XML format and not in any other format. This is because, I am mapping the source XML into a field in a WSDL. The webservice requires the entire source message be inside a field called "Request" in the WSDL (it is like XML inside another XML).
Is there any way to do this? Please suggest.. (Im not good at java programming... may be i dont know) -
Search Help on Table Control - Fill more than one field in the table?
Hey everyone,
I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table... The internal table has the line type of a structure I've defined in the data dictionary. Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)... I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table. Is this a limitation of using search helps within table controls?
I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help. Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
Thanks,
DallasHi Dallas,
(1)
What i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
(2)
usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
(3)
as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
Regards
Byju -
Hello All
I have transfer supported measuring points. Whenever I create a measurement document for a measuring point, the measurement values are transferred to all its subsequest measuring points havin transfer supported check. The target measurement points gets readings from source measuing point and source document and creats a new document for this measuring point, . The measurement reading is calculated by adding the difference (as per the difference in the source document) to the last counter reading and creates the new Total reading. Can some one xplain why the system adds the difference value and calculate a total reading.
This approach leads to discrepancy between Source and Target measurment document reading as the reading of both the source and target can be different on same time stamp and also I observed that the Target reading can be greater than the Source reading which can never be true or logically exceptable.
How can we solve this? Is this right and standard approach.Please provide your views and solutions.
Regards
Murad.Hi Murad Ahmed,
Examine these 2 cases.
Case1
A Measuring point (Counter) created for recording Distance Traveled by a Car.
Case2
A measuring point (again a Counter), used to record the Fuel consumption in the Car.
In Case1, you have a meter fitted in the Car itself, which gives the Total Distance traveled. This reading you record in the Counter Reading in IK12. The Difference field is automatically updated.
In Case2, you read the amount of Fuel filled in the Car, from the Meter at the Gas Station, This reading you should record in the Difference Reading in IK12. Then the Counter Reading is automatically updated.
I hope you understand, in Case1, you can not know the Difference and in Case2 You can not have the Total readings.
About other doubts regarding Transfer of Measuring points, hope all the Measuring point invovled in the process have the same characteristics used.
The following document might be able to help you further.
Measurement Reading Transfer – A useful functionality
Jogeswara Rao K -
Having one field display the text of a different field in a statis form
Hi All--
My goal is to pull back a single value and display it in two fields, using a static form and formhandler. When a co-worker had both fields with the binding used to retrieve the value, he found that the population for the field was getting garbled, and not displaying what we needed or had pointed at. My proposed solution is to retrieve the data once using a binding, then have the 2nd field populate basedon what content is in the first... but I don't know how to do this. Any assistance would, as always, be appreciated. Thanks!Certainly binding two fields to a single value in the data is acceptable. I have done that many times without issue. Can you try it and verify that you are having an issue? If it is still happening can you provide the template and a sample data file?
Paul -
Filtering one dropdown on the basis of value from another dropdown in WAD
Hi All,
i have a bw dropdown called 'Corporate' and another called 'Facility'. there can be several facilties under a Corporate.
what i need to do is filter the facility dropdown on the basis of the value selected in the corporate dropdown.
thanks in advance
GodhuliHi Godhuli,
You can achieve this by the following procedure.
For your Corporate dropdown you need to specify a DataProvider.
For Your Facility dropdown you need to specify a Dataprovider.
For the Corporate dropdown there is a property "Affected DataProvider".
In that property select the DataProvider of your Facility dropdown.
So now when you select Corporate your Facility will get filtered by the values for that selected Corporate dropdown value.
Hope it helps.
Regards,
Parth.
Maybe you are looking for
-
Hi, maybe I'm missing something but why doesn't iCal have a web based version that syncs with the home version in the same way that MAIL does. I know that you can PUBLISH to the web, but wouldn't the obvious solution be to also have a web based versi
-
hello everyone,,, is there any option to send multiple data files / music files using bluetooth / whatsapp / emails... as option to select multiple files using "SELECT in menu option / left aA"+ scroll tracepad" is availble with pictures only. and wh
-
-
how do I place an image over two pages in newsletter style document in pages I am using Pages 5.2 in Mavericks on an imac Thanks
-
ML wiki - increase upload file size
Hi I would like to increase the max file size I can attach to a wiki. Apparently you used to be able to use Admin server. Is it possible to change in Mountain Lion? thanks