Object class field mandatory
Hi,
I have some requirement where in the object class field should be made mandatory(not defaulted) for a particular project profile. Can this be achieved through standard configuration?
Regards,
Laxminarsimha
Hi,
Thanks for your quick response
I have done the following configurations
1) In OPSA, object calss field is kept blank
2) In OPUJ, the object class for the project definition is optional
3) In OPUA, the object class field is 'Reqd' for the network type
After creating WBS and network, object class is not selected. While saving the project, system prompts to select the object class for the WBS. When I selected object class the project gets saved.Once the project is opened again, the object class on the network is different than on the WBS(selected while saving the project first time).
Regards,
Laxminarsimha
Similar Messages
-
How to get the object class field value in CDHDR table for vendor
hi
how to get the object class field value in CDHDR table for vendorTry KRED/KRED_N as object class in CDHDR for Vendor.
-
Create Object Link Field Mandatory
Hi,
I want to create Object Links Field mandatory for some document type in CV01N. so user can not upload file without linking file to any Object Links (WBS / Network Activity).
If this possible kindly let me know the steps.
RegardsHi,
Maybe you could add some code in the BADI - DOCUMENT_OBJ. But if that doesn't work, you definately would be able to add code to the BADI DOCUMENT_MAIN01~BEFORE_SAVE. Check that there is a DRAD record (table that stores DIR object links) of object type LFA1. If the entry exists, allow the save to continue. If the entry doesn't exist, give error message for user to add vendor information.
Hope it helps!
Regards
Poongs -
LDAP object classes for user creation
Hello,
I use a remote LDAP for authentication, works fine. However, i want of copy some attributes from the remote LDAP into the dynamically created user profile. This works fine as long as the attributes are par5t of the standard object classes. The remote LDAP has an extra, site specific, object class for users. Since i want to use the same attribute names i added the schema extension (1 object class with a couple of attributes) to the AM LDAP. So far so good.
My question is: How do i specify the additional object class to be added to the user which is dynamicaly created?
Thanks in advance, RobertRobert,
To resolve this, I believe that you will need to add the new objectclass to the "LDAP User Object Classes" field on the LDAP Data Store. You will also need to add the attributes to "LDAP User Attributes" on the same tab.
Hope this helps. -
Hi,
How to make Object Class under Assignments tab in WBS detail screen in CJ20n as optional field?
Thanks!Hi,
Object class for WBS is a required mandatory field as per SAP standards.
Please refer Note. 389379
Regards,
Kabir -
Class field in equipment as mandatory
Hi Expert,
Is there any possibility to set class field in equipment master data as mandatory field?
I cannot found the setting, currently we are using ECC6
Pls help,Thanks
Rgds,Hi Leni,
Through configuration its not possible.
Check with your abap team for applying below mentioned user exit while create and change of equipment.
User Exit - IHCL0001 - Create equipment using material template: Classes/chars
or
User Exit - IEQM0003 - Additional checks before equipment update
This will meet your requirement. -
How to make standard class as mandatory in eupiment master[class overview]
Hi,
In equipment master if I want to make standard class as mandatory field [Check standard class].
If any any configuration is available please give me the path.
Else Any user exist is available please suggest me.
Reward points are available
Thanks in advance.
Hanamantahi,
Just follow the menu path given.
Cross-Application Components > Classification System >
Classes > Maintain Object Types and Class Types
Assign required class type to table EQUI and remove the class types which are not required.
This will definitely solve ur problem.
with regards, -
How to make extended field mandatory in Master Agreement
Hello All,
I am new to SAP CLM, and I have requirement where one extended field in master agreement needs to be made as mandatory field.
I tried in extension definition but check box to make it required is disabled and I am unable to find other way to do it.
Can some one help me and Please let me know how make extended fields mandatory in CLM.
Regards,
PrabhatHi
This could be achieved using Page Customization.Go to Setup-> User Interface-> Page Customization, open master agreement object (create new with UI ID:contracts.contract.ui.buyside.default if doesn't exist ) and add a new customization for extended field with Property set to Required.
Regards
Mudit Saini -
Getting an object's field name
In the snippet of code shown below, 'parent' represents a UI dialog, and 'child' represents one of the components of the dialog. What I would like to know is the field name of 'child'. The variable 'fieldName' would contain the name I am seeking, if I knew how to determine the value of 'ii' that corresponds to the object 'child'.
I hope you can help.
Thanks,
Miguel
String getFieldName(Object parent,Component child) {
Class cl = parent.getClass();
Field [] fields = cl.getDeclaredFields();
String fieldName = fields[ii].getName();
// problem: how to get 'ii' that corresponds to 'child'?
return fieldName;
}Is there a way to get the
corresponding array of component objects? It depends on the way the "parent" class is defined.
For example (a BAD example, but an example):
I could have the parent keep it's components in a HashMap, with a key of the component type and a value of an ArrayList that contains each component matching the component type.
This would be very annoying to deal with, and hard to find any given component (whether reflectively or with normal code).
If I can get
the value of a field (Object val =
field.get(parent);), there must be a way to get the
reference to the object that correspond to the pair
'field','parent'.
Thanks.Huh?
What do you think field[1].get(parent) returned?
It's the value that the field is referring to (e.g. the actual object refered to by the field).
I think dubwai's questions about "what are you trying to do" are very relevant. Using reflection like this usually means the design is lacking some important functionality -
Object class name does not exist in IDM
Hi Team
We are process of Integrating GRC 10.1 to Enterprise Portal.Followed accordingly as per the SAP Note No. 1977781.
While running the Schema Job, we get a message Schema Imported Suxcessfully. While running the Job : GRAC_REPOSITORY_SYNC_JOB, the job
shows successful, but a Warning Message : User Adaptor Empty in SLG1 T.code.
I have checked the Path suffix,connectors,data source and all are maintained but no sure about this warning message.
Secondly,I tried for test creation of user on Portal via GRC 10.1.I am getting below error
"Object class name does not exist in IDM" Please see log below
Request gets closed stating Auto Provisioning failed.Please advice if someone has faced same issue and the steps taken to rectify it.
Thanks
NiteshHi Nitesh,
We worked on this issue for quiet sometime with SAP to get this finally fixed You can check all below mentioned notes.
First Check:
Please check the Note: 1915763 - Error Provisioning from GRC 10 to SAP Portal while adding or removing a role in Change Account request type.
This Note says that if your LDAP set as data source is read-only in Portal, then you need to change it to Modifiable in order to allow create or change user belonging to LDAP.
We have set the UME correctly and no longer read-only. But our access requests still used to fail with the following messages.
"Object class name does not exist in IDM".
Second Check:
Kindly ensure the field mapping for portal is done in IMG settings properly.
If it is fine please check below note 2033714 - AC10.0: error in SGL1 "Object class name does not exist in IDM".
This note is only to check if you have made any mistake with your portal mapping and doesn't address the correct issue.
Third Check:
Finally after implementing SAP note 1941250 - UAM: Truncated parameters provisioned on changing users from Access Request
our issue got fixed.
Regards,
Madhu. -
How to create custom attributes & object classes through ldif files in OID
Hi,
I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
I tried creating an attribute through this command
ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
this ldif file contains inf. for creating a new attributes:
dn: cn=subschemasubentry
changetype: add
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
I am getting error: Object class violation
Failed to find add in mandatory or optional attribute list.
Please help to find where I am going wrong...
Thanks.Hi Ajay,
Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
# X below is the enterprise number assigned by IANA
1.3.6.1.4.1.X.1 - assign to SNMP objects
1.3.6.1.4.1.X.2 - assign to LDAP objects
1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
1.3.6.1.4.1.X.2.10 - assign to LDAP controls
1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
By using these conventions for attributes and object class, I did got any error and they were created in OID.
Thanks a zillion.
Kalpana. -
Hi!
I have deal with EJB 2.0 CMP bean.
I have a composite PK so use the java class to store it. And there is a corresponding field in the Entity Bean with its primary key class type.
The problem is: when deployment tool creates sql query for the findByPrimaryKey(PKClass ck)
where ck is an object with 3 fielde : a_id, b_id, c_id.
it says:
<sql>SELECT "ck" FROM "MyTable" WHERE "ck" = ? </sql>
And it means by the "ck" simple a column in DB but NOT the composite key which has to be splited into 3 different fields. So the container can't do the proper mapping.
Does anyone know solutions?I was wrong about primary key class fields, take a look at Ejb2.0 Specification (10.8.2):
The primary key class must be public, and must have a public constructor with no parameters.
All fields in the primary key class must be declared as public.
The names of the fields in the primary key class must be a subset of the names of the container-managed
fields. (This allows the container to extract the primary key fields from an instance�s container-managed
fields, and vice versa.)
Right now I'm using BMP and I don't have this problems. Primary keys, calculated fields and types not supported by the DB can be easily achieved. But I understand your interest on CMP, is clearly evolving! -
Making a field mandatory in purchase order wrt account assignment
Hi,
I want to make a field mandatory in purchase order wrt a patricular account assignment category.Can any one of u help me?Hi
Using a BAdi you can acheive this.
Create a New Field selction key with Order Acknowledgement as mandatory field
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivations
Change of data in standard fields
Change in field selection
Use one of the the methods
Field selection At item level method FIELDSELECTION_ITEM_REFKEYS
Special rules at item level method FIELDSELECTION_ITEM
This method enables you to change the display properties of fields at item level by supplementing or swapping the field selection reference key. You can thus restrict the processing options for certain groups of users, for example.
The following parameters are available:
IM_ITEM
This import parameter contains the item data of the outline agreement.
The interface reference is of the category IF_PURCHASE_OUT_ITEM.
CH_KEY0 to CH_KEY6
These change parameters contain the field selection reference keys.
Please go through the BAdi Document tation for more details
Please take hepl of ABAP er in implementing the BAdi
Thanks & Regards
Kishore -
How to create object class for a z table
Hi All,
I have a z table and I want to register the changes of fields should be logged to CDHDR and CDPOS table.
Is this possible?
If yes how can I creat an object class for a z table. I have already checked the change document option in z data element.
Please help.
Regards,
Jeetu
Moderator message: standard functionality, please search for available information/documentation before asking.
locked by: Thomas Zloch on Oct 6, 2010 6:16 PMTcode SCDO. You'll need to create a change document for you Z table and then use the FM created to record the changed data.
-
Object class deployment - Basic form question
OK, I subclass calendar object from Oracle provided standard
object class. What do I need to deploy to use this form now
apart from calendar.pll and my fmx. What about the object class
from which I sub-class. Do I need to compile and deploy that
also? How will form resolve this on run time the parent object
class as I really did not copy, just sub class and we do not
deploy original class? Basic form question. Thanks.You can set the "help" property on the field (which gives you the little "information" icon link beside the field).
You could also try adding another field of another class above or below:
<Display class='InlineAlert'/>
<Display class='ErrorMessage'/>
<Display class='HtmlPage'/>
..etc
-Rob
Maybe you are looking for
-
EXPERT NEEDED!! Songs that once played on iTunes & iPod no longer will.
I've got a 20 Gig iPod (clickwheel black and white). I have a mixture of ripped CD's, songs I've downloaded from iTunes, and songs that are on my iPod for an account my iTunes is an authorized user for. Songs that have played just fine for a long tim
-
How to send the email without using server side (Php, java)
How to send the (Run time image or file) Email & Attachment in Flex web application. without using php, java.
-
Can I alter my preferences in Safari 8 so that it doesn't delete all my data when history is deleted
I now have Safari 8.0.2 with Yosemite but have a problem when deleting history as it seems to delete everything, including saved passwords. Is there any way round this?
-
Driver for infrared control remote on windows 8
Hello, since I upgrade windows 7 to 8 version, my remote control doesn't work. Thanks your help.
-
Apreciating the Entity Object;
Hi to all; From Steve Muench, Apreciating the Entity Object; On the Publish panel, you define events that your entity object will use to notify others of changes in its state. how to work with them? we have some sample code ? Very thanks;