How to set/get the values thru Wedbynpro coding for User mapping fields
Hi All
In system object we have the user mapping fields like District,city,plant,Salesmanager.
now we want to set/get the values of these usermapping fields of system object thru webdynpro coding...
if anybody have sample codes of the same then it would be great help to me
Thanks in advance
Thanks
Trisha Rani
Hi Kavitha
Thanks for your reply
My requirement is exactly as follows.
1) i have created one portal system object in system administration and also i created usermapping fields in the system object from the usermanagement in system object.
i created the user mapping fields like Plant,SalesManager,District etc.
i also created the system alias name for the same system object
2) Now i came to persoanlize link and mapped the system object to the portal user.
while mapping to the system object we need to enter Mapping userId, Password , once we enter these values and we can also enter the values of usermapping fields which we defined while creating the system object ( for example District,Salesmanager,Plant etc)
once we enter all the values and click on save then these usermapping values to be mapped to the portal user.
3) Now my requirement is , i want to control the usermapping field values thru webdynpro coding for setting/getting the values.
I need sample code of the same.
Please let me know if u need more details on the same.
Thanks
Trisha Rani
Similar Messages
-
How can we get the value of the key field in a custom data model using governance API?
Dear Team,
How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
Any kind of help would be sincerely appreciated.
Thanks & Regards,
Tushar.Hi Michael,
Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
This is a workaround for now.
So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
Can we do that using governance API and its' methods?
In the Governance API doc you provided below has referring to below external model as part of gevernance API.
The active or inactive data (before or during the derivation or the check) can be read
with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
parameter should b
e set to ‘X’.
Thanks
Praveen -
Please, How do i get the values from a h:selectManyCheckbox ?
How do i get the values (selected or not) of a <h:selectManyCheckbox> tag and show them .For instance
i have the folowing options :
<h:selectManyCheckbox
id="cartas"
layout="pageDirection"
value="#{store.cartas}">
<f:selectItems
value="#{cartas}"/>
</h:selectManyCheckbox>
<h:message styleClass="validationMessage" for="newsletters"/>with my faces-config.xml:
<managed-bean>
<description></description>
<managed-bean-name>cartas</managed-bean-name>
<managed-bean-class>java.util.ArrayList</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
<list-entries>
<value-class>javax.faces.model.SelectItem</value-class>
<value>#{cartas0}</value>
<value>#{cartas1}</value>
<value>#{cartas2}</value>
<value>#{cartas3}</value>
</list-entries>
</managed-bean>
<managed-bean>
<managed-bean-name>cartas0</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>Semanal</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>200</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>cartas1</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>As bruxas</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>201</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>cartas2</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>Exercise</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>202</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>cartas3</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>Gusman Park</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>203</value>
</managed-property>
</managed-bean>Thanks for the atention!! All the best!!Hi,
In your backing bean you will need to add a new variable to bind your control to, I think this variable needs to be of teh "HtmlSelectManyCheckbox" type. The on your jsp page you can add binding="#{myBean.myVariable}".
When you want to get the values of the selectMany in your backing bean, you can call the getSelectedValues() function on your HtmlSelectManyCheckbox variable.
in backing bean:
private HtmlSelectManyCheckbox hsmc;
public HtmlSelectManyCheckbox getHsmc(){
return hsmc;
public void setHsmc(HtmlSelectManyCheckbox hsmc){
this.hsmc = hsmc;
public void someFunction(){
Object[] obs = hsmc.getSelectedValues();
}On jsp page:
<h:selectManyCheckbox
id="cartas"
layout="pageDirection"
value="#{store.cartas}"
binding="#(myBean.hsmc}">
<f:selectItems
value="#{cartas}"/>
</h:selectManyCheckbox> -
How we can get the values from one screen to another screen?
hi guru's.
how we can get the values from one screen to another screen?
we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
regards.
satheesh.Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).
-
How do I get the values from a form?
How do I get the values from a form?
You can try using request method..
request.getParameter("yourFormInputName");
Try this. -
How can I get the value of "Warehose" column in a form
How can I get the value of "Warehouse" column in the form below (I mean what table that contain this value):
Production Supervisor >> Batches >> (Button) Material Details >> (Button) Line Allocations
Well, for more clearly! My problem is I must have the Unit Cost of Items, so I've got it in the cm_cmpt_dtl (table), but if I want to, I must create a relation that require 2 filed, they're Item_ID and Whse_Code.
There's no problem with Item_ID, but Whse_Code seem to be the Mission Impossible (hix, I hate that film!!!!)
I wonder if It was right to post this topic here. But anyway I just post my question here, hope I could get some help.wow, many, many, many.... and many thanks!
Just add a tiny modify to check out the Batch_type
doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
Many thanks for your support!
P/S: Sorry for my terrible English :P -
How do you get the value of a selected list item?
I have a drop-down list that the user can choose from. How do I get the value of what they selected? I thought I could do this by using the NAME_IN function, but I'm getting FRM-40105 Unable to resolve reference to item X. I don't know what I'm doing wrong.
Thanks!Hi,
You can use an WHEN-LIST-CHANGED trigger, attached to the list-item itself. And, in this trigger, you can use the name of the item to refer its value.
For example:
:block_name.list_item_name
John -
How can i get the value stored in the session object using its sessionid
how can i get the value stored in the session object using its sessionid by running stand alone java application
myforum wrote:
how can i get the value stored in the session object using its sessionid by running stand alone java applicationThis does not seem to make sense! You need at least to give a lot more detail of what you are doing. -
How to set/get the archive file attribute?
I am programing a (freeware!) ftp client and need to know, how to set/get the archive attribute of a local file. I was searching through whole the i-net - nothing at all!
please help me!!Hi,
Since not all operating systems support the archive attribute, this ain't included in the JDK.
If you're using Microsoft Foundation Classes for Java, then you can use File.getAttributes(String path) and check whether the result equals FileAttribute.ARCHIVE.
For setting the attribute, you can use
File.setAttributes(String path, FileAttribute.ARCHIVE)
Of course this is all Microsoft-specific stuff.
Hope this helps,
Kurt. -
How do i get the value of that field
in JSP i have a field like below..
<input type="hidden" id="grpId<%=Index%>" value="<bean:write name='GrpList' property='groupId'/>"/>
In Action class , how do i get the value of that field (i.e id) ?
String value =reques.getparameter (//what ??);i dont want to change the jsp.
concern is , as the name of the id is dynamic .....so can i get the value in the Action class ?
is there any trick exists ?
I will try not to change any jsp code but will do changes in Action class
Message was edited by:
Unknown_Citizen -
Ok can anyone tell how I can get the apps that I paid for on iTunes and the app store using my I pad because I don't have a computer and when I try to redownload the apps it keeps asking me for my card number and when I give it my card info it says that it's an invalid number when I know that it's not
If you are getting an 'invalid security code' message then is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store -
My mac had to have a new hard drive in its first year. Now, when I try to get the key code for office it tells me its already been used. How do i get the office I've paid for but never used?
The product key is sent to you by email as part of the purchase confirmation.
If you have lost it, log into your Microsoft account. -
How can I get the man book pro 13 inch user's guide in spanish
How can I get the man book pro 13 inch user's guide in spanish
http://support.apple.com/manuals/#portablecomputers
Location the manual for your model and click the arrow next to "languages" to see the various options.
Regards. -
how do I get the serial number they ask for at the sign in part, I paid for the 19.99 and cannot access it , thank you
Start by using your web browser to go to creative.adobe.com. Log in there with your Adobe ID.
There is no serial number for subscriptions. You use your Adobe ID. Then there are options to download applications. -
How can I get the CODEC DVCPRO HD 100 for Premiere CS5?
how can I get the CODEC DVCPRO HD 100 for Premiere CS5?
I did...not good luck so far, any suggestions?
¡Mucha Luz!
Tao Mijares
CEO
Mucha Luz! Productions LLC
310 994 7154
Sent from my Samsung G5 4G LTE smartphone
Maybe you are looking for
-
As well as this I no longer seem to have a digitally signed driver. I have no idea if this is linked to the problem as well. Can anyone help? thanks
-
Deployment to an UEFI enabled system using a custom Format and Partition Disk Task does not work
Hello all, I know that MDT 2012 Update 1 has the necessary intelligence to create the GPT partition etc. when the Gather Process detects that the system is UEFI enabled. However i wanted to configure the Format and Parition task myself, so i copied t
-
Hi, In the mutiple HTML region, is it possible to have 4 regions defined, adn each of it has a query as a source of the html region. Please let me know.
-
Digital Photo Frame and Slideshows?
I was wondering if anyone knew of a digital photo frame that could play a slideshow created with iPhoto (or iDVD), including transitions, Ken Burns effects and music. Thanks! regina
-
User gets an Content Encoding Error message when trying to access workspace
Hi. I've created a workspace and added several users to it who can access it without any issues. However, one specific user (Leslie Elstad - https://beehiveonline.oracle.com/teamcollab/profiles/[email protected]) can't access her workspaces. She is u