Additional user mapping fields
Hi,
I am trying to add some additioanl fields of a system to user mapping screen.
so, i created a system based on com.sap.portal.howtos.webapp.par that i downloaded from SDN
2. added a property "department" to that par file and defined in usermapping fields tag of par file.
3. now i created an iview for system based on this par file and under "user management" cateogry, I selected "additional user mapping fields" and specified " {mech,chem,comp,elec}Department "
4. everything is fine and this dropdown box appears in user mapping iview
but my concern is that i want to send 0 for mech, 1 for chem, 2-comp etc... to an url iview. i just want to know.. how to store name-value pairs in that dropdown listbox of user mapping iview?
any clues?
thanks
Hi Daniel,
Thank you for your reply..it was helpful for me for other issues, but didnt help me for the question of this thread. may be i was not clear in explaining my question. In simple.
1. I create a system par file with one additional field dept.
2. i create an alias
3. now the user wants to do usermapping..so he goes to user administration --> user mapping and select a user
4. then he selects the alias of a sytem in the dropdown list box, so two fields appear, i.e. username and pwd, but i want an extra field named dept with a list box of values (computers, mechanical, electronics)
5. i was able to achieve this, by setting {computers,mechanical,electronics}dept" in the property, "Additional User Mapping Fields" of the System object created from the par.
6. now when the user selects that system alias in the user mapping screen.. he will be able to see three fields.. username, pwd and dept(with a listbox) and he can map the user to the respective department.
7. the listbox that is created has value and title the same like,<otpion value = "computers">computers</option> but i want it as <option value="1">computers</option>.
Could you please help me in achieving this. please let me know if you need any further information.
Thank you.
P.S: eventhough, i specify the field dept in portalapp.xml like you mentioned, it will appear as a list box in the system object created from the par, but in the user mapping screen it appears as a text box. so we must specify the "dept" in the property "Additional UserMapping fields" of the system object created from par.
Similar Messages
-
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 RaniHi 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 -
Table name in Oracle for the User Mapping field?
Does anyone know the table name for the user Mapping field in EP6.0?
ThanksHi Alan,
why do you want to access the DB directly?! You can access the information via the Java API, which is in general the most secure way for the DB scheme is always "subject to change without notice"...
Best regards
Detlev -
Bind Additional User Defined Fields at Fixed Assets
Hi, i already created additional user defined fields at fixed assets table, but i don't know how to bind the fields into edit text. i try to do like below :
otext.DataBind.SetBound(True, "@BA_OAMD", FieldName)
And also when i add a few new edittext at the fixed assets form, the screen will keep blinking during added that object, can i did something to freeze the form ? I already try to freeze the form but doesn't workHi Benny,
1. you have to catch the changing of record and then make refresh of your datasource.
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If pVal.MenuUID = "1288" Or pVal.MenuUID = "1289" Or pVal.MenuUID = "1290" Or pVal.MenuUID = "1291" Then
-- refresh of datasource
end if
2. if you need to dont see update after changing value, set to the textbox .AffectsFormMode = false
If helps you reward points.
Petr -
Additional User Defined field in Maintenance Task List
I wan to add an additional field user field in Maintenance Task List.
I know It is possible in User Fields.
But I an not able added user field to Operations that are already there in the maintenance plan.
The system is allowing me to Add field in New Operations that I am adding the the Task List.
Thanks
SabyasachiHi,
If I am correct, It is not possible to add user fileds to the operations in the maintenance plan which was copied from the tasklist which is there in the maintenance plan.
if you required these user fileds goto to change mode in maintenance plan and remove the task list in plan and do necessary changes in the task list and add to plan again. After that you can get userfileds in the opeations as u required with was generated now onwards. It is not possible for the past ones.
Regards
Srinivas -
Additional user search field in User form similar to "Manager" search field
Hi,
I need to add a field to the User form in a OIM 11g R2 system that is practically identical to the "Manager" field (it's just for adding a deputy of some kind).
I did not find a way to copy&paste the "Manager" field by e.g. exporting a sandbox, modifying it and importing it back into the system and have it work properly afterwards.
How can this be achieved? Is that documented anywhere?
Thank you,
MTo add new field like Manager on user form. you need to do following steps,
1. Create Custom Field (UDF) before publishing it take export of that. which will help you to import same sandbox in other environment.
2. In OIM 11g R2 there is link called as customization when you login into OIM console.
3. Create new sandbox
4. Open form you wanted to add created custom field.
4. Go to customization link and add new field on required location.
5. Save changes
6. Publish sandbox
That's All!!
Creating a Custom Attribute &#8211; OIM 11g
Customizing the Interface - 11g Release 2 (11.1.2) -
SSO and User Mapping at same time
Hi,
Can we use SSO and User mapping at same time between Portal and SAP Backend system?
For some of the users the user id is different in both end.
After implementing the SSO... Will it affect the existing user mapping? and the system alias created for that?
If not, Can we use both SSO and user Mapping same time?
Thanks,
VBHi VB,
In this case I suggest you create 2 systems one you might have created for users who are having common user ids in portal & at the backend system.
For the users whose ids are defeering you can create reference system and in user managemant property of that system
Authentication Ticket Type - Select -SAP Logon TicketSAP Assertion Ticket
Logon Method - UWPW
User Mapping Fields - {100,200,300}Client;Language
where 100,200,300 are the clients of the backend system.
Assign this system in the ivews.
Thanks,
Vishal -
Issue with user mapping and SAP reference system
Hello Gurus,
I have this strange system behaviour when preparing my system for single sign-on using user mapping.
Case 1.
In the user management property category, I have the following defined.
Authentication Ticket Type - SAP Logon Ticket
Logon Method - UIDPW
User Mapping Fields -
User Mapping Type - admin, user
In the alias editor, I defined the default alias as SAP_PRD
Result= when I go to identity management to assign the reference system (the default alias - SAP_PRD)...I do not see the system alias there.
Case 2:
In the user management property category, I have the following defined
Authentication Ticket Type - SAP Logon Ticket
Logon Method - SAPLOGONTICKET
User Mapping Fields -
User Mapping Type - admin, user
In the alias editor, I defined the default alias as SAP_DEV
Result, when I go to the identity management to assign the refernce system (the default alias - SAP_DEV), I see it there.
What might be my issue? Does it mean I can't assign SAP reference if I am using UIDPW as logon method?
Please help me.Hi Mahesh,
Thanks for the feedback. I am relatively new to EP...so please I won't mind if you can guide me on how to go about this.
This is what I did...
I chose System Administration > Permissions
In the PCD, I located my system with the alias, SAP_PRD
It opened up the permission assignment area.
Now I have these permissions set
Administrator - Full Control
Administrators - Full control
com.sap.caf.eu.gp.roles.superuser - Full control
Everyone (built in group) - Full control
Everyone (Everyone role)- Full control
super_admin_role - Owner
For all the above End User box is checked.
I can't find anyone end user group .
Once I pick UIDPW, the alias disapperars from the reference system list.
Please help. -
User Mapping to R/3 - admin.pwdprotection=false but still pwd field appears
<br />
Hello All,<br />
I am doing SSO using user mapping to R/3 system from Portal as the ids are different for Portal and R/3.<br />
I can access a transaction iview from R/3 successfully using user mapping(in SSO) but the problem is everytime a user changes his R/3 password, the mapped password is to be changed in Portal.Otherwise, unable to access transaction iview.<br />
1) I have changed the property ume.usermapping.admin.pwdprotection=false in configtool but still in User Admin > User mapping for system access , the password field is populated and while accessing the R/3, the password is being verified. I have seen in another system where the password field is not being asked after modifying the property to false, only id field is present. From the end user, under Personalize > User Profile > User Mapping for system, no systems are present as expected for mapping. Logon method in system is uidpw and mapping type is "Admin".<br />
Versions - Portal is NW7.0 SP18 and ECC is .0 EhP3.<br />
anybody faced the same problem? Is there a note to fix it?<br />
2)Also, in the User Admin > User mapping for system access , in the dropdown I can see the system aliases I have created in systems but not in System admin> sys config > Ume config > under User Mapping , I do not find any reference system. <br />
After first restart it was not there, after some time it has come, later it was coming as configured but invalid beside the system in braces in dropdown like abc(configured but invalid). Once I unselected, now it is no more available in dropdown.<br />
3) I have used diagtool to identify the problem. In the ticket, how do I see the mapped user?<br />
I am seeing only the following details.From the log - <br />
The created ticket is: <br />
[ [Ticket [initialized]<br />
Ticket Version = 0<br />
Ticket Codepage = (Encoding=1100)<br />
User = 121444<br />
Issuing System ID = EPD ( Portal name)<br />
Issuing System Client = 000<br />
Creation Time = 200905150649<br />
Valid Time = 8 h 0 min<br />
Signature (length=261 bytes)<br />
InfoUnit id=32, name=portal_user, content=portal:121444, length=16<br />
InfoUnit id=136, name=authscheme, content=basicauthentication, length=19<br />
InfoUnit id=1, length=9<br />
InfoUnit id=2, length=3<br />
InfoUnit id=3, length=3<br />
InfoUnit id=4, length=12<br />
InfoUnit id=5, length=4<br />
InfoUnit id=10, length=9<br />
]. <br />
Authentication stack: [ticket].<br />
<br />
Does this have an entry for mapped user of target R/3 system also?<br />
If I am not finding the userid/pwd in ticket, how is SSO working? based on user mapping only?<br />
Thanks,<br />
Isvarya<br />Thanks Anja for the quick response.
My primary objective is to use SSO with logon tickets to backend which is independent of user passwords.
regarding 1)
From the link -
http://help.sap.com/saphelp_nw70/helpdata/EN/f8/3b514ca29011d5bdeb006094191908/frameset.htm
Features
● Either users or administrators can perform user mapping.
¡ Users must always enter a password to validate their mapped user ID.
This password is not stored, but is used to confirm that the user is entering a user ID with which he or she has access to the ABAP-based system.
○ Administrators can enter a password to validate their entries.
The UME property ume.usermapping.admin.pwdprotection defines whether or not the administrator must enter a password. By default the administrator must enter one.
is also in the same lines.
But as per the SAP library link, I do not find a reference system because of problem 2 in the initial post.
Also, I have a screenshot of user admin where the password field itself is not present. If you can share your email id, I will send the scrnshot without pwd and mine with password.
2)I have seen this note. But, none of the 3 cases mentioned are applicable to me..user mapping is working just fine..Only reference system is not populated.
3) Becuase of 1, I was expecting to see mapped id alone or mapped id along with system name in logon tickets.
Thanks for the response. -
Hi All,
I am using ABAP+Java Stack. My data source is ABAP.
Now i am Planning to to user mapping for that i went to System Administration --> System Configuration --> UME Configuration --> User Mapping here it is not showing the fields. IT is displaying a line saying that. 'Strong user encryption' like that.
If i want to see the fields what i have to do.
Regards,
Phanikumar.Hi,
You can do the user mappings in some other ways also
1) click on personalized link then from detailed navigation select USER MAPPING.
2) your portal url http://hostname:port/irj/index there select user administration from there also you can do user mappings
other than this, as specified above, you need to have a system to select and to the mapping for particular system.
regards,
Pradeep -
How to map user-defined fields in XML communication on SRM site
Hi All!
We use the External sourcing scenario and we transfer requirements from ERP in SRM through XI (PurchaseRequestERPSourcingRequest_In)
We should transfer the user-defined fields, but we can not map it in SRM site.
We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
I see the XML message with ours z-fields in tr. SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
Someone can tell how to map user-defined field for SC?
Thanks in advance
Evgeny IlchenkoHello, Julia
We have found solution our problem
We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
But In our new interfaces were different XML namespaces
When we have correct an error we could use the next BADI
on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
on SRM site: /SAPSRM/BD_SOA_MAPPING
BR,
Evgeny -
Addition of user defined fields in Results Recording screen (QE01)
HI All,
We've a business requirement to add user defined fields in results recording screen (Character Overview screen - QE01), so that the user will enter data in user defined fields during results recording. and the data entered in user defined fields should be saved in data base table along with actual results given by the user in order to retrieve data for reporting purpose.
Please suggest valuable solutions to acheive the requirement.
Thanks & regards,
rajeshHi Sujit,
Thanks for your reply,
We've tried using the " QEEM0029 User-Exit for Characteristic Overview Subscreen , however with "QEEM0029" exit, we are only able to add fields to the characteristics overview screen and there is no provision in this exit to save the data entered in the user fields to a table (QALS,QAMR, QASE).
Please suggest!
Thanks & regards,
rajesh -
Hi All,
i am doing user mapping in personalization window,
if i am enter my user id and password after that if i am click on save button, the logon data is not saved, so pls solve my problem.
Regards,
Jagadish Babu Kanikanti.Hi ,
I am configuring a production Server with SP14.
When i am in user mapping section, i find the error msg as below:
<b>There is a configuration issue which leads to problems when accessing user mapping data for the selected backend system 'ESS'. Usually, the reason is user mapping being configured for strong encryption, but the necessary additional files being missing. Check the security log file for further information and hints on how to solve the problem.</b>
I am not able to enter any user id / pwd ; The fields are greyed out.
I did solve the same in the development server using :
<b>Goto System administration-system Configuration-UM Configuration-Direct Editing.
In that make the ume.usermapping.unsecure as TRUE.</b>
But on seeing your reply stating this is not suitable for Production server, i am bit confused.
Can you pls help with me an alternate solution..
Thanks in advance,
venkat. -
I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To",
etc. I used knockout.js to bind "Title","Description", and "Status" to my HTML controls. Here is some of the code:
var ViewModal = function(items, listname){
var self = this;
self.sortBy = ko.observableArray(sortBy);
self.tasks = ko.observableArray(items);
self.listname = ko.observable(listname);
self.auto = ko.observable(false);
self.getTasks = function() {
clearTimeout(self.getTasks);
// server relative url to REST service endpoint
var ajaxurl = _spPageContextInfo.webServerRelativeUrl + "/_vti_bin/listdata.svc/" + self.listname() + "?$orderby=PriorityValue";
$.ajax({
type: "GET",
url: ajaxurl,
contentType: "application/json; charset=utf-8",
dataType: "json",
cache: false,
processData: true,
success: function (data, status, xhr) {
if (status == "success" && data) {
ko.mapping.fromJS(data.d.results, mapping, self.tasks)
$(".task-item").draggable();
error: alert
if (self.auto()) {
setTimeout(self.getTasks, 10000);
<div class="tasks-column">
<div class="column-header">Not Started</div>
<!-- ko foreach: tasksNotStarted -->
<div class="task-item">
<div class="view" data-bind="visible: !IsEditing()">
<button class="edit" data-bind="click: $root.editTask">edit</button>
<h2><span data-bind="text: Title"></span></h2>
<div data-bind="html: Description"></div>
<span data-bind="text: PriorityValue"></span>
</div>
<div class="edit" data-bind="visible: IsEditing">
<button class="save" data-bind="click: $root.saveTask">save</button>
<input type="text" data-bind="value: Title"></input>
</div>
</div>
I'm having trouble displaying the data from the "Assigned To" user/group field. I tried:
<span data-bind="text: AssignedTo"></span>
But it displays the field as [object Object]
I tried using $select/$expand
?$select=Title,AssignedTo/Id,Assignedto/Title&$expand=AssignedTo/Id,AssignedTo/Title";
But it still returns the [object Object]Hi,
Please use the REST URI below:
/_api/lists/getbytitle('ListName')/items?$select=Title,AssignedTo/ID,AssignedTo/Title&$expand=AssignedTo/ID,AssignedTo/Title
More information for your reference:
How to get User Details and User Group Details in SharePoint 2013 REST API with Knockout for SharePoint Js (KoSpJs)
http://www.ashokraja.me/post/How-to-get-User-Details-and-User-Group-Details-in-SharePoint-2013-REST-API-with-Knockout-for-SharePoint-Js-(KoSpJs).aspx
How to Get Login Name and Display Name using SharePoint 2013 REST API
https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/how-to-get-login-name-and-display-name-using-sharepoint-2013-rest-api.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Hi All,
I have created a system from Application integrator PAR file and has added on extrafield to the system as I have three fields to be mapped with the target application.
On doing so when I try to preview the iView using this system for connecting the target application I am getting the following error.
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.tcs.192207.192207/com.tcs.192207.192207_Roles/com.tcs.192207.home/com.tcs.192207.documentum/com.tcs.192207.documentum_01
Component Name : com.sap.portal.appintegrator.sap.Generic
Exception in SAP Application Integrator occured: Unable to process template 'userName=<MappedUser>&password1=<MappedPassword>&repositoryName=<<b>Repository</b>>', because 'Repository' is an invalid terminal property of the Root context..
Exception id: 10:48_01/06/07_0027_203196350
See the details for the exception ID in the log file
I dont know what to write in place of the bold portion.
I have added the extra mapping field with the name Repository
I tried MappedRepository also that is also not working can sombody please help. I am getting null at the target application end for this extra field rest of the two I am able to recieve.
Regards
SidHi Sid,
your template does not work because Repository is no standard parameter. You have to use a custom provider for this parameter. Refer to chapter 6 (Making Parameter Dynamic) of document <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf8cc890-0201-0010-00b1-8d04e5f4378a">"How to Use the Application Integrator"</a>.
Basically, you have to write a portal service which provides the parameter at runtime. If I understood you right the parameter Repository has to be set by the user in the user mapping dialog. Thus you can access the value using the IUserMappingService See the SAP Library for an <a href="http://help.sap.com/saphelp_nw70/helpdata/en/69/3482ee0d70492fa63ffe519f5758f5/frameset.htm">Example</a>.
Best regards,
Martin
Maybe you are looking for
-
How do you get your music to come up on another computer
Ineedhelp
-
i am in an endless loop of importing from a memory card .....iphoto wont let me cancel the import and it has been ongoing for two days....how do i get out of this??
-
Differences between 10g and 11i
Hello Everyone, I am new to Oracle development. If I were learning Oracle 10g Standard Edition and got comfortable in it and had some exposure to it. How big of a jump would it be for me to pick up Oracle 11i? Thanks, Nick Ueda
-
Return Purchase Order against the original purchase order
Dear guru , I need to create a return purchase order. Can I create this po against the original purchase order ? Where I maintain this info in me21n ? Thanks in advance.
-
Hi, I have been searching for a script ,that fetch the logged in time of all the users in a particular computer for a month.I couldnt find anything. Thanks in advance for quick response. Thanks and regards.. Midhun P s