Problems by holding the typed Values in Fields by using "LEAVE TO SCREEN"
Hello Experts,
I have created a Dynpro with many field.
Some Fields are Fields without searchhelps and a part of this Fields have searchhelps.
One of this Field has a special function.
It is a Field where you can choose a key value ( an ID number) about the searchhelp.
After choosing I get the other values for this ID-Number in the returnparameter of the Searchhelp function
( values like name, surname ....)
I set this return values to the Fieldvariables in the PBO.
For jumping to PBO I use "Leave to Screen" to the same screen.
But the Problem is I can not hold the values wich I have typed before in the Dynpro Fields (Field without serachhelps).
After using the Field with the Searchhelp (for ID) the Fields with typed Value go away.
Please Hel me . Thanx in Advance
Cetin
Hi,
In SE80 double click on your Screen Number and go to the Attributes Tab and Select Hold Data Check box,
The Help Obtained from F1 Help is as follows, Kindly note this is Copied from F1 Help provided by Standard SAP,
You too can Check it out
"SAP Says --->
If you activate this option, the following functions are supported for
the screen at runtime:
System -> User profile -> Hold data
-> Set data
-> Delete data
The Hold data function allows you to hold onto any entries you have made
on the screen. When the screen is next processed (even in a different
mode), the system then automatically redisplays the data in the input
fields.
If the option is not activated, these functions are ineffective at
screen runtime.
The "Hold Data" option is not supported for include screens
(subscreens). The automatic insertion of held data is exclusively
controlled by the main screen.
Cheerz
Ram
Similar Messages
-
Open Directory Attribute that hold the dn value
Hi,
Does anyone know what's the attribute name that hold the dn value?
e.g. in Active Directory is "distinguishedName; in open LDAP is
"entryDN"
What is it called in open directory?
Thanks
CloudLong123
CloudLong123's Profile: http://forums.novell.com/member.php?userid=73615
View this thread: http://forums.novell.com/showthread.php?t=395843CloudLong123;1904846 Wrote:
> Hi,
>
> Does anyone know what's the attribute name that hold the dn value?
>
> e.g. in Active Directory is "distinguishedName; in open LDAP is
> "entryDN"
>
> What is it called in open[sic] directory?
>
entryDN is an operational attribute available in eDir 8.8 ... not sure
how far back it was introduced. You can see this with
Code:
ldapsearch -x -b cn=bob,o=bobnest entryDN
-->
dn: cn=bob,o=bobnest
entryDN: cn=bob,o=bobnest
Don't have 8.7.3 around to test... will look AM tomorrow.
-- Bob
Bob Mahar -- Novell Knowledge Partner
Do you do what you do at a .EDU? http://novell.com/ttp
"Programming is like teaching a jellyfish to build a house."
http://twitter.com/BobMahar http://vimeo.com/boborama
Bob-O-Rama's Profile: http://forums.novell.com/member.php?userid=5269
View this thread: http://forums.novell.com/showthread.php?t=395843 -
Extended Edit box loses the typed value when form is resized
Extended Edit box loses the typed value when form is resized:
Hi,
I have added an extended edit box in a system form (SO form). When form is resized, I'm programmatically repositioning the edit box for proper alignment. When I do that, whatever has been typed in the edit box is lost (which is not yet saved).
If I don't do repositioning of the edit box, then it is working fine - whatever the user typed remains there.
Why is this happening, and how can I work-around this?
Thanks for your help.
Regards,
Geetha
Edited by: Rui Pereira on Dec 23, 2008 4:24 PMHi Geeta,
Try to disable the scroll of Extended Edit text.
its in the property list of the Extended Edit Textbox's object.
Actually its also with SBO's own extendedBoxes but whenever we mouse over on the box. it again appears but ita after saving the data. -
To measure and hold the peak value of voltage while measuriong using an accelerometer
i would like to measure and hold the peak value of voltage while measuring using an accelerometer,when the voltage goes above certain range . also save highest 5 values.
You could have a shift register on your acquisition loop that is initialized to hold an array of 5 values. Start with all 5 element holding something less than the expected normal input value.
Now each time through the loop, test the new reading to see if it's greater than the minimum value in the 5-element array. If not just go on and repeat the loop.
If the new reading is greater than the minimum value in the 5-element array, append the new reading to the array, sort it in decending order and drop the last element (the old minimum value).
The array will hold the 5 greatest values and the max of the array will be the peak value.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Hai to all,
how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
Thank you for helping.
Attachments:
block diagram.jpg 48 KBhafizzuddin wrote:
thank you for the opinions, for now i am not using any express Vi..
In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far) -
My iPhone 4 will not power on. When connected to iTunes via my computer, it is recognized and shows fully charged battery. Pressing and holding the sleep/wake button does nothing; just a black screen. Any suggestions?
Only way is to bring it to the Apple Store and use the warranty if it hasn't expired
-
When trying to burn a playlist to a blank CD, iTunes 10.3.1 won't recognize the blank CD I've inserted (Verbatim CD-R). I've burned using these CDs before, this is a recent problem. Not the burner, as I can burn using Toast. iMac with Snow Leopard 10.6.8
What kind of CD are you burning (Audio or MP3)?
If you're burning an MP3 CD, the songs must already
be in mp3 format.
If not, iTunes will tell you that you have no songs
in the playlist.
M
I was making an audio cd. But I have since found out what the problem was. The files in my PLAYLIST I converted to aiff, since they were SDll files (I thought they were similar to AIFF, and they PLAY on Itunes...just won't burn.) When I selected the songs in the playlist and converted them...I thought all those files were converted, They were not. The converted files went into my LIBRARY, even tho I selected the ones in the playlist...and once I exchanged the SDll versions of the songs in my playlist. THEN they burned fine...but still...it's confusing..you say convert..it says it's been converted..and what they don't say is it's not been converted inside the playlist...where I had selected the songs...It just ADDED aiff versions..but only in the library...Anyway, that's what happened. But it's strange that it PLAYS SDll but won't burn them....and you'd think, logically..the ones you selected would change...but they don't. Playlists are mainly pointers to the actual files I guess...a sort of Alias..
At least it works now. But it's sad that the latest itunes does more, but also does LESS...as I used to be able to burn SDll files. Now I'll have to convert all my files to AIFF, and mp3's as I assume my ipod video won't play anything but mp3's? -
Problem with Refreshing the data bound text fields
Folks,
First of all, this a GREAT product and I am moving my apps from Eclipse to Studio Creator. I am very impessed with it so far.
I am gone through most tutorials, but can't help resolve the problem that I am having. I have a page, that lists all the users in a table. When you click on any user, it opens up another page that lists the detail of the specific user you have clicked on. This a typical use in most web applications, right?
In the user detail page, I open it in "Read" only mode, by setting the "setReadOnly" to true for all text field components. Then users can edit it by clicking "Edit" button. Edit button just changes the "setReadOnly" to false, to allow editing. After editing, they can hit the "Save" button to save the changes. In the save button, I call this code:
public void prerender() {
try {
userID=getSessionBean1().getUserID();
getSessionBean1().getWeb_userRowSetUserDetail().setObject(1,userID);
getWeb_userDataProviderUserDetail().refresh();
info("prerender: Refresh called");
} catch (Exception ex) {
error("Error in userForm.prerender():"+ex.getMessage()+ex.getStackTrace());
log("Error in userForm.prerender():", ex);
setReadWrite();
public String btnSave_action() {
try {
getWeb_userDataProviderUserDetail().commitChanges();
getWeb_userDataProviderUserDetail().refresh();
info("Data Provider Refreshed in SAVE");
_readOnly=true;
form1.discardSubmittedValues("saveVForm");
info("User Updated New:"+userID);
} catch (Exception ex) {
log("Error Description", ex);
return null;
public String btnEdit_action() {
try {
_readOnly=false;
//info("User ID Edt="+getSessionBean1().getUserID());
} catch (Exception ex) {
error("Error in userForm.btnEdit_action:"+ex.getMessage()+ex.getStackTrace());
log("Error in userForm.btnEdit_action():", ex);
return null;
private void setReadWrite(){
// Set read-only to true or false for all text fiels
this.btnEdit.setVisible(_readOnly);
this.btnSave.setVisible(!_readOnly);
this.user_id.setReadOnly(_readOnly);
this.user_email_client.setReadOnly(_readOnly);
this.user_email_office.setReadOnly(_readOnly);
this.user_fname.setReadOnly(_readOnly);
this.user_lname.setReadOnly(_readOnly);
this.user_id.setReadOnly(_readOnly);
this.user_password.setReadOnly(_readOnly);
this.user_password_conf.setReadOnly(_readOnly);
this.user_phone_cell.setReadOnly(_readOnly);
this.user_phone_cell_aac.setReadOnly(_readOnly);
this.user_phone_client.setReadOnly(_readOnly);
this.user_phone_home.setReadOnly(_readOnly);
this.user_phone_office.setReadOnly(_readOnly);
}When the save button is clicked, the database is updated (as I can verify by looking directly into the database), but the data-bound text fields do not display the new value. YES, I am calling refresh() on data provider? I tried to call refresh in both "preRender()" and "Save" button action event, but that did not help either.
Please note that the save button also changes the "setReadOnly" back to TRUE for all text fields. That means, users view the page in Read-Only mode after saving. (They have to click on "Edit" button again to edit it). I discovered that if I do not set the text field components in "ReadOnly" mode, then they display the updated value of the fields. But if I change setReadOnly to TRUE, then they display the old values (before the save).
Any idea what I am doing wrong here?
ThanksHere is my experience with it. I have three text
boxes to be filled out. They are part of a virtual
form with an add button as the submit. You can fill
out the 3 and add them and a node is added to a tree
component. When you click on a node in the tree
component (the submit to another virtual form that
the 3 buttons participate in) the text fields should
be loaded with the values that they where added with.Hard to tell from this explanation, but if the text fields do not participate in a virtual form, then they are not going to get updated when an action in the virtual form happens. Not sure this is your problem. Like I say, hard to tell from this explanation.
They will not display the values though...having
nothing to do with read only. If I disable them
before hand...they display the updated values. If I
set their value at the top or bottom of prerender,
they display the change...if I set the value in an if
conditional that is hit (I have checked many times)
in prerender, they will not display the values. If I
set them in the tree handler anywhere, they will not
display the values. This is very frustrating and is
wasting tons of my time...I simply want to load the
text fields based on the tree node that was
clicked...I have messed with this for hours and it
certainly does not work.Well, setting them in the tree handler won't work because the tree handler gets called in the page instance that handles the submit and not the page instance that renders the response.
Posting your prerender code might help. Also, your action handler.
>
>
- Mark -
ALV List Display - Is it possible to sum up the subtotal values of field
Hi Experts,
We hav a requirement to do subtotals of the price field for each unique PO Line item, and also to sum up the subtotal values ie. only the subtotal values needs to be added irrespective of the repetation of the po line items in the report.
PO Number PO Item Price
XXXXXXXX 10 20
XXXXXXXX 10 20
Subtotalled 20
YYYYYYY 10 10
YYYYYYY 10 10
Subtotal showing 10
We want the total of price to be 30 ie (Subtotal value of XXXX, 10 = 20 and YYYYY,10 = 10 ) but currently do_sum is been used in the fieldcat of the report which displays all the occurances of the record... = 60(202010+10)
Kindly help asap.
Thanks,
RosyHi rosy,
the question pops up to why you have duplicates in the display table. If you
DELETE ADJACENT DUPLICATES FROM
the output table, everything should be fine.
Regards,
Clemens -
Problem while updating the forecast value in m.master by direct input menth
Hi All
Good Day
I am updating the forecast value in material master by direct input method.
my program is working fine when I am running it online.
but when i am runnig in back ground I am getting one error which is mentioned below
Job ZM_OPTIMIZA_UPLOAD: Data does not match the job definition; job terminated BD 078 E
Please anyone can help ne in above case.
Thanks in advance.
Cheers
VallabhaneniHi Hakim
How are you
Thanks for your valuable suggestion.
I am executing my program in background with bmv0 transaction with variant, in development I can run this job in background with out any logical errors but in QA I am getting errors.
Can you please help me in the above case.
In Bmv0 transaction first I defined the job and in program rmdatind (execute) screen first I mentioned the Max. no of logical errors as 500 and Transactions per commit unit as 500 and I run the program in background in bmv0 transaction and I am getting the message background job terminated immediately
Because of this again I changed the Max. no of logical errors 500 to 99999 and transaction per commit unit 500 to 999999 and then i scheduled my program in background.
Alomost it ran for 27 hours and then it has given the message background job terminated.
Job log entries are as follows.
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040840; material number SUJ82J8400; error gravity E
22.12.2008 11:19:46 Transaction 0000040840: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040841; material number SUJ84G3001; error gravity E
22.12.2008 11:19:46 Transaction 0000040841: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040842; material number SUJ84G3002; error gravity E
22.12.2008 11:19:46 Transaction 0000040842: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040843; material number SUJ86G0100; error gravity E
22.12.2008 11:19:46 Transaction 0000040843: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040844; material number SUJ86G0300; error gravity E
22.12.2008 11:19:46 Transaction 0000040844: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040845; material number SUJ86G0900; error gravity E
22.12.2008 11:19:46 Transaction 0000040845: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040846; material number SUJ86G9600; error gravity E
22.12.2008 11:19:46 Transaction 0000040846: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040847; material number SUJ86G9601; error gravity E
22.12.2008 11:19:46 Transaction 0000040847: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:19:46 Transaction 0000040848; material number SUJ86J0000; error gravity E
22.12.2008 11:19:46 Transaction 0000040848: Taxes for sales org. cannot be transferred
22.12.2008 11:19:46 A system error has occurred while locking
22.12.2008 11:20:54 Transaction 0000040848 completed Mat. no. No. of log. errors 0000040848
22.12.2008 11:21:30 ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED
22.12.2008 11:21:30 Job cancelled
I know it has taken long time to process the job because of I changed the transactions per commit unit (500 to 999999) it kills the system
But I am supposed to provide some number < 999999 in transactions per commit unit
actually I haven't tried like I said above < 999999 because i don't have any hopes.
Please look at this problem and help me in this case.
Thanks in advance.
Vallabhaneni -
ALV grid can we remove the repetation values in field & display as one .
Dear Freinds,
i have developed a custom development relating to a salarly report based on the orgunit, the output is coming however i have one doubt in alv output.
right now my internal table data having data as follows : (iam giving only some fields)
orgunit orgdesc Empno Empname
70000905 Human Resources 7056 Richard
70000905 Human Resources 7057 Reymond Jain
70000905 Human Resources 7058 Maria Gulz
70000905 Human Resources 7061 Jacob
now in my output i dont want to have the orgunit value 70000905 and orgdesc (human resources) shouldnt not be repeated . is there any option in ALV where we I can use in
the field cat ( any parameter) where i can set that we can make the orgid as one and remove the repeation.(iam using alv grid function module).
Please help me in this regard
Regards
SyamlaHi,
Before displaying sort ur internal table.
refer this code.
*& Form sub_display_data
text
FORM sub_display_data .
*--To sort the output through material number
DATA : lwa_sort TYPE slis_sortinfo_alv.
DATA : lit_sort TYPE slis_t_sortinfo_alv.
*--Pass the values to the table
lwa_sort-fieldname = 'PERNR'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '1'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = 'X'. "Subtotal
APPEND lwa_sort TO lit_sort.
*--Pass the values to the table
lwa_sort-fieldname = 'WORKDATE'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '2'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = ' '. "Subtotal
APPEND lwa_sort TO lit_sort.
*--Pass the values to the table
lwa_sort-fieldname = 'WEKLY'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '3'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = ' '. "Subtotal
APPEND lwa_sort TO lit_sort.
wa_layout-colwidth_optimize = 'X'.
IF NOT it_final2[] IS INITIAL.
*--Call the function module to display the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = wa_layout
i_callback_program = v_repid
it_fieldcat = it_fieldcat1[]
i_default = c_chk
i_save = c_save
it_sort = lit_sort
TABLES
t_outtab = it_final2
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
*--Message No data found
MESSAGE i888 WITH text-017.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " sub_display_data
Regards,
Prashant -
Problem in printing the JTable values
Dear Friends,
I have to print the JTable values (on paper using print dialogue box).
I'm using jtableObj.print to print the table values. But jtableObj.print takes more time to print the table values because it prints the values as a image(approximately 5 mins to print 10 pages).
My code is ,
boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
null);Could anyone please tell me how to reduce the time?
Thanks in advanceHi again,
1. what problem are u facing ?
(there is no sapscript symbol / system symbol
for finding out the length )
(In abap u can use strlen)
2. data and gets trimmed
what is the meaning of it ?
3. do u mean to say that !
ABCDEF 123 45
GEF 123 45
is getting pritned like
ABCDEF 123 45 ?
GEF 123 45
4. If so , then use TABS
5. This happens because SPACE
is different in different varlues of
ABCDEF and GEF !
regards,
amit m.
Message was edited by: Amit Mittal -
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 -
Problem while inserting the same value on a primary key column
hi all ,
in my application there is a block with a pat_id column "primary key" ,
if the user inserts the same value in this column , a message appears asking me if i want to save the changes or not ,
i do not know what changes is the message asking about , and sure i do not want this message to appear to the user
when he insert the same values by mistake ?
thanksas a primary key field dont fill this with manually try use db seq.
Use pre-insert trigger . -
Problem in getting the current value of the drop down while calling value change listener
I have 2 drop down list. I am trying to get the value of first drop down from other drop downs value change listener. Initially one drop down contains a default value. First time I got the value while calling the value change listener. But if I change the default value to other in the first drop down and call the value change listener of the second drop down then I got the old value in the bean. Can anyone suggest a process
If I use the following code it gives me the current index.
valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
System.out.println(valueChangeEvent.getNewValue());
This is also giving me current index.
BindingContainer container = BindingContext.getCurrent().getCurrentBindingsEntry();
AttributeBinding attrIdBinding = (AttributeBinding)container.getControlBinding("PersonTypeId1");
if(attrIdBinding.getInputValue()!=null)
System.out.println(attrIdBinding.getInputValue().toString());
But at last I got some help from Shay Shmeltzer's Weblog.
BindingContainer bindings =
BindingContext.getCurrent().getCurrentBindingsEntry();
// Get the sepecific list binding
JUCtrlListBinding listBinding =
(JUCtrlListBinding)bindings.get("PersonTypeId1");
// Get the value which is currently selected
Object selectedValue = listBinding.getSelectedValue();
long value =0L;
if(selectedValue!=null){
System.out.println("Sudip.. Person Type using bindings"+selectedValue.toString());
But this returns "ViewRow [oracle.jbo.Key[300000860721156 ]]"
300000860721156 is the original value.. Would you please help me to figure it.
Maybe you are looking for
-
If condition in standard text in so10
Hi, Im using a standard text where ive written an IF condition but its not working.Im calling that text in my program using READ_TEXT, TEXT_CONTROL_REPLACE and TEXT_SYMBOL_REPLACE function modules.Im not using sapscript or smartform.All my dynamic va
-
How to customize the logout page in release 2?
In release 1 I customized the login page and the change password page using the example provided by John Riggs. Now in release 2 there is a logout page that we also need to customize. LOGIN_URL in the table WWSSO_LS_CONFIGURATION_INFO$ is 'UNUSED UNU
-
DS-BW:Data load called from BW failed after Source System program_id change
Hi, In my BW 7.0 instance I have Data Services 3.2 as source system. Some time ago I have changed instance of Data Services I am connecting to - I just changed PROGRAM_ID in RFC connection parameters for that source system. Since that time when I am
-
I am trying to upload a txt file into Hyperion workspace. Followed below steps : 1.Created a control file batch_driver.cf with below content data name=sqr^path=/BatchDriver^file=D:\UnxUtils\sqr\sqr.txt^desc=Text file uploaded with BatchDriver^browse=
-
Iphoto & Preview will not open after software update
I did a software update on my macbook pro yesterday, and cannot open iPhoto or review. I am running on OSX 10.7.2 and the iPhoto is '11 9.2.1 Preview is 5.5.1 When i open either app nothing comes up, only the bar at the top of the screen changes to w