User Defined field and User defined values.
Curently testing this in the demo database before rolling it out to a customer.
I added a user defined field to my item master data base called Lengthcm of type Amount.
I have created a query:
SELECT u_lengthcm = CASE
WHEN $[oitm.blen1unit] = 5 THEN $[oitm.blength1] * 2.54
WHEN $[oitm.blen1unit] = 6 THEN $[oitm.blength1] * 2.54 * 12
ELSE 0 END
Length unit 5 is inches and length unit 6 is feet.
In Item Maintenance then I create a user defined value for the lengthcm field linked to the query and set to auto-update when the blength1 field changes.
This works perfectly for 1 inch through 9 inches (1" through 9") and fills in the centimeter value. When I put in a value in feet (1', 2'), it does nothing and if I put in any value of 10" or greater gives an error message:
[Microsoft][SQL Server Native Client 10.0][SQL Server] Arithmetic overflow error
converting nvarchar to data type numeric. 'Received Alerts' (OAIB).
Checking database structure back end, blen1unit is of type small int, blength1 is numeric of size 19, 6 and so is my lengthcm field.
Edited by: Danielle Ostach on Mar 18, 2011 8:18 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:19 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:20 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM
Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM
Hi Danielle ,
Try this...
SELECT u_lengthcm = CASE
WHEN $[oitm.blen1unit] = 5 THEN (cast(($[oitm.blen1unit]) as decimal(19,6))) * 2.54
WHEN $[oitm.blen1unit] = 6 THEN (cast(($[oitm.blen1unit]) as decimal(19,6))) * 2.54 * 12
ELSE 0 END
Regards,
Sachin
Similar Messages
-
User Defined Fields and Reference Fields on the B/S
Dear Experts,
On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ?
Kind RegardsHi Martin,
If you add any user defined fields (UDF) in Journal Entry (JE) screen, You can use the udf's in the
balance sheet report.
Regards
Neslin -
User Defined Fields and Tables
I am trying to create U defined fields and link it with a usr defined table. Whenevr i am trying to link its throwing error - Alphanumeric field size cannot be decreased.
Also can anyone tell me how to create data entry form through user defined objects. Can it be done without involving sdk/programmingFirst question, Your UDF length field is morethan 8, if you linking with UDT the length should be 8. if your UDF less then 8 e.g. 1-7. after you linking it the UDF length will be 8, it's because default length field in UDT ( Code(8), Name(30)).
Second, yes it can, but on for simple requeirement, if Your requirement is complex, You need SDK.
Step :
- create UDT
- Create UDF
- Register ( Tool >> User Defined Object >> Registration Wizard ) don't forget to tick Default Form.
fyi, there 2 kind of UDO : Document and Master Data, You should consider this.
Rgds, -
What is the Best Approach for System Defined Fields and Default values
Hi ,
Please let me know that what can be the best approach for providing a Default value for the System defined fields when creating a User and How can we hide the System defined fields at the time of User creationYou cannot provide default values for any attributes defined in the FormMetaData.xml file. You can only provide default values for fields defined in the User Defined Fields and supply a default value.
You can using entity adapters to populate some of the values, but you must supply an Organization because there is an entity adapter that you cannot modify that verifies the organization name.
-Kevin -
User-Defined Fields and Form Settings
I have a User-Defined Field in the table "OCLG" and I'd like to show it in the "Activities Overview for Business Partner - xxx" window.
Is possibile to do that by the "Form Settings" window? Here I don't find U-D Fields. Is there a way to show them?
Or is there an other solution?Hi,
This report is hardcoded. You need to create your own report for it. Better by Crystal Report.
Thanks,
Gordon -
SRM User defined fields -- can not input values
Hi,
We are using SRM 4.0. I have created a user defined field at the PO header according to note 672960. But I can not input anything to this field.
This is what I did:
1. in both structures INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_PO add the append structure with the new field ZZCONTRACT.
2. in BADI BBP_CUF_BADI_2 created an implementation Z_BBP_CUF_BADI_2. In method MODIFY_SCREEN set: xdisplay = 'X' and xinput = 'X' for this new field.
This new field showed up in SRM, but it is greyed out. I can not type in anything. Could anyone tell me what I did wrong or what I have missing? Thanks a lot!hi,
If you can see the custom fields,the problem is with the BADi implementation.You can write something like this in the method for the PO cust fields:
IF iv_doc_type = 'BUS2201'.
*Hide all customer fields
*Will change this coding if any other document type needs
*customer fields
LOOP AT et_fields INTO wa_et_fields.
wa_et_fields-xdisplay = 'X'.
MODIFY et_fields FROM wa_et_fields.
ENDLOOP.
ENDIF.
Save and activate the implementation.
HTH.
BR,
Disha.
Pls reward points for useful answers. -
User-defined tables, user-defined fields, and records limitation
Hi,
I would like to use UDT and UDF as my add on table. I doubt there is the limitation (performance issue) using these. Can someone tell me what is the max UDT, UDF, and records can application support?
rgds
ERICHi Eric,
There is no limitation on SBO as far as I know. There is a limitation on SQL though. The limitation (on SQL 2000 that is, not sure if it's the same on SQL 2005) you can only add fields in a table that adds up to 8060 characters. The amount of records in that table will depend on the amount of hard disk space you have available.
Hope it helps,
Adele -
I am currently using OIM 11.1.1.3.0
I have created several UDFs via the 'User Configuration' tool in the advanced console. I can see these UDFs whenever I create a user, but afterwards, when I select the user to edit their information with the Xelsysadm account, none of them are present (despite them being visible). These fields are important, as two of them are related to their date of birth, and the third is prepopulated from information located on the form. Am I going about creating these UDFs the wrong way? Why can't I see them after creating them?
Also, you cannot make a UDF required unless all users have information within that field? Is there a quicker way to load a default value, other than visiting them one at a time.
Edited by: 806409 on Jun 20, 2011 6:25 AMYou can use weblogicExportMetadata.sh located under <OIMHOME>/server/bin.
Before executing the command you need to set the values in weblogic.properties located in same path.
Follow these links for more details
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/utils.htm
http://icam.securegov.org/wiki/Wiki.jsp?page=Oim_authorization_notes -
Multiple values in a user record field and Address Book
Hi
I'm working out a method of importing multiple users into an LDAP directory on OS X 10.4.4, and I've hit an interesting snag.
When you export a user from Workgroup Manager, any fields in the user record that contain multiple values (multiple email addresses, work phone numbers, etc) contain their values separated by commas. For example:
username::::[email protected],[email protected]:::
However, when I view that LDAP entry in a networked Address Book, it only displays the first value, not the second or subsequent values. I've changed the Address Book template to specify multiple emails/phone numbers, but that doesn't do it.
If I create my own import file, and pull it into Workgroup Manager, they import correctly into the user record, so I don't think I'm doing anything wrong on the server side.
Does anyone know how to make Address Book display all the values?
Thanks
Mattif i'm not remembering read stuff wrong, these fileds have quite alot of limitations. and i think multiple values per field is such a limitation.
-
Lead Page Layout General Question - User Interface - Fields and Color
General question if possible to do this or not, can we make a field be in color similar to the red required fields?
Changing field or text colours is not support by OnDemand at this time
-
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) -
Hi,
I am trying to enable/disable a feature based on user.roles.
Added a constraint for that feature as below,
<adfmf:constraints>
<adfmf:constraint property="user.roles" operator="contains" value="manager" id="c1"/>
</adfmf:constraints>
In this case, Users have manager role should be able to access this feature.
My AccessControlService response is
{"userId" : "sales_mgr","roles" : [ "manager","MOO_OPPORTUNITY_SALES_MANAGER_DUTY","ZBS_ENT_SALES_MANAGER_DUTY"],"privileges" : [ "managerPriv","ZSF_DEFINE_SALES_FORECAST_PRIV","MOO_MANAGE_OPPORTUNITY_GROUP_SPACE_PRIV"]}
Repsonse has "manager" as one such role.
After adding constraint to the feature, am unable to access it.
I tried many possibilities like operator="contains" or "not" or "equal", but no use.
I don't know what is going wrong. Appreciate you help.
Thanks.If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
Thanks, Vijay -
In my experimental photo album page I originally defined the
styles in a
separate .CSS file. However this appeared to be incompatible
with the
requirement to have the session_start (); statement at the
start of the file, so
I then defined the styles locally. Now I have found that a
style which gives
padding to the right of an image no longer works in IE6,
although Dreamweaver
shows the expected result.
I have made two very simple test files to demonstrate this:
http://localhost/Corybas/Cydalba/Test/Test_page_8[1
http://localhost/Corybas/Cydalba/Test/Test_page_8[2
In Test_page_8[1].htm styles are defined by the include file
../Spl2.ccs, which
is included using the following statement in the head:
<link href="../Spl2.css" rel="stylesheet" type="text/css"
/>
The include file reads:
/* Test.css for Cydalba project */
.img_left { float:left; border:none; padding-left:0;
padding-bottom:0;
padding-top:0; padding-right:10px; }
p { font-family: "Times New Roman", Times, serif; color:
#f00000;
margin-bottom: 0.25em; margin-top: 0px; border: 0; }
In Test_page_8[2].htm styles are defined locally, using the
following lines at
the start of file:
<style type="text/css">
/* Test.css for Cydalba project */
.img_left { float:left; border:none; padding-left:0;
padding-bottom:0;
padding-top:0; padding-right:10px; }
p { font-family: "Times New Roman", Times, serif; color:
#f00000;
margin-bottom: 0.25em; margin-top: 0px; border: 0; }
</style>
With IE6 Test_page_8[1] gives the expected padding between
the images and the
adjacent text, but Test_page_8[2] does not. The para
definition appears to work
correctly in both cases.
Can anyone explain this?
ClancyHi Rob,
I am making a wild guess here...the reason could be that the internal tables or variables declared as part of Global data (if any) must be refreshed in your FM code.
Regards,
Sumant. -
User defined field in SD and its link to Value field in COPA (??)
Dear All,
We have created one "Z" field i.e. user defined field and its in VBRP Table. This is a quantity field. to update the values in this field we have used an exit in sales and distribution module. Now, by defining this exit values are correctly populated in VPRP table on line item basis.
Requirement here is we need to get this field in COPA, for same i have carried out the quantity field assignment to value field (KE4M).
Even after this configuration profitability segment is not updated.
Regards,
Sayujya
Edited by: sayu on Mar 15, 2010 10:13 AMIn the past I did something similar and had to use function module EXIT_SAPLKEAB_001 in enhancement COPA0002 to populate the field. To use this exit you'll first need to add a user exit id to your valuation strategy (transaction KE4U). The help on the function module is pretty good, but if you run into a problem let me know.
thanks, -
Multi Value User Defined field on OIM user form
Hi Everyone,
I have a requirement where i need to assign multiple resources to user as per access policy. These resources should be assign by virtue of some role (custom attribute as of now). The specific requirement is that one user may have multiple roles (and hence resources) and all these values should capture in any user defined field. As the requirement contains multiple Roles so we have to create multi-value user defined field for User form to capture all these role values under single attribute. Does OIM provides any such multi-value field OOTB (lookup, drop down--any customize way we can make them multivalue)?He's right. Multi Valued attributes on the User Profile are not available in OIM. If you want to do this, and you have a finite number of possible roles, you can create UDFs for each and map a checkbox or something to it if the user has that value. Then base your acccess policies off those.
-Kevin
Maybe you are looking for
-
My ipad was stolen this morning; can Verizon track the location of the device an assist the police department in recovering the device? I am filing a police report does Verizon have the serial number of the device for me to include in the police repo
-
Does SLS support load balancing services?
Does SLS allow for load balancing of services? Such as iChat, Address Book, Calendar, Mail, Web, etc? Right now I have four Mac Mini servers Mac Mini 1 - Primary DNS, Open Directory Primary Mac Mini 2 - Primary DNS, Open Directory Replicate Mac Mini
-
10g query running faster with RBO than CBO
I am running a query in Oracle 10g that is taking 1minute 15 seconds to run using the CBO. All the tables and indexes in the query are fully analyzed. However if i add a /*+ Rule */ hint to the query and force the optimizer to RBO it runs in 5 second
-
Servlet on Oracle Application Server 4.0.6/4.0.7
Dear All, I have an application built in applets, i wants to host them on OAS 4.0.7. How can i do it if possible? Do i reqire any third party tool for it ? Is OAS 4.0.8 supports servlets?
-
The username is already in use. enter a different username
I have done security wipe of my phone. before that i have done backup with link. i have two blackberry ID i.e. [email protected] and [email protected] i am not sure, at the time of wipe which onw was in my phone. I took a back up and done wipe. The