CUP 5.3 SP8 - Custom Fields - Default Value?
Hello,
Can I set a Default Value for a Custom Field? For example, we have the Custom Field for requets called "Country." Can I default this so when a user logs in to create a request, it defaults to "North America." ?
I'm looking through the Config Guide and not seeing anything on this. Custom Fields don't show up in End User Personalization either...
Thanks!
Jes Behrens
Jes,
Harleen is correct. This is no available in AC (CUP) right now. Hopefully, SAP fixes this soon. Can you open a message with SAP and see if they are going to fix this or not?
Regards,
Alpesh
Similar Messages
-
Javascript to access a field default value?
Hi,
I'm working on a 'enter' event for text fields such that if the field contents are still on their default value, it will immediate (hence the enter) clear out, but if the contents have already been changed it will let the user simply edit their changes.
For example, I'm using the caption as the To: line on a form, then the default value of the text field says "type name here". I'd like to compare the field contents to the default upon 'enter' of the field.
Got this far:
if (this.rawValue == {default}) {
this.rawValue = "";}
and it aint working. the {default} is the only thing I can find in the scripting reference that comes close. Maybe there's a way with xfa.event.reenter??
thanks.Paul, maybe I'm misreading the docs on event.reenter, but it looked like it was a flag about whether or not the user had ever entered that field before. Which is exactly what I'm hoping to test.
I have about 100 of these fields, so am hoping to do a simple if test, with 'relative' statements. Testing against the known default value certainly would work, but I have to write the 100 custom tests, rather than copy/paste the same thing into each field...
Do you know a way to access the value stored in the Default field in the properties tab?
thanks,
-jamie -
ESS Leave Request - Customer fields default function not working
Hi,
a. SAP version being discussed
SAP ECC6.0
EP7.0
ESS/MSS
b. Here is the scenario
1. We are using ESS Leave Request application for employees to request leave. We are using the standard web dynpro java leave request application delivered by SAP.
2. Lately there has been a need to provide a customer field on the request form which will have a calculated value showing up when the employee opens the request
3.We used one customer field called customer01 as per configuration steps.
4. This field appears on the request form when it is opened.
5. Our need is to display a value in that field when the form is opened.
6. SAP/s documentation states that we can use BADI PT_ABS_ARQ to default a value to this field on the form. This value is calculated during runtime dynamically.
7. We have used the method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP for this purpose
8. After activating and coding this implementation, the system does not default anything on the request form when it is opened up.
9. Once the employee hits the review button, this field gets its defaulted value but this is not what we want. We want the system to display this when the form is OPENED, that means at the prepare stage. For this field to appear after hitting the review button is meaningless as the employee needs to make a decision based on the value in this field before hitting the review button.
It almost seems like this BADI is called when the review button is hit and not when the form is opened up. We may be wrong and missing something obvious which one of you can immediately point out, Hence this post.
10. I did go thru the forum at great length and seen that there has been discusion surrounding the need to populate R3 from a value entered into this field. My problem is different wherein, I wish to populate this upfront as display information when the form is opened and then send it back to R3, once the employee submits the request.
Would be grateful if anybody on this forum could point me in the right direction.
Thank you,
RajeshPlease, can I take this question a little further.
Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
Cheers -
Need help formatting text field default value
Hello,
I've received a customer request to put default text into the Value section of a text field. They're requesting that the default text include line breaks, bullets, etc. I added a Text Field object and added the default text to the Object tab > Value tab Default field but can't figure out how to add line breaks, etc.
Thanks in advance,
SaskiaHi,
this is possible but not doable with the UI of Designer.
The workaround is as follows:
1. Create a text, enter your default text with all the formattings you need (text color, bold text, line breaks etc.)
2. Create a text field and enter any word as default value. Let's say "Default".
3. Select the text and the switch to the XML Source view.
There you will find all the formatted text between the <value> tags such as:
<value>
<exData contentType="text/html">
<body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p style="letter-spacing:0in">This is<span style="xfa-spacerun:yes"> </span></p><p style="color:#ff0000;letter-spacing:0in">default Text</p><p style="letter-spacing:0in"><span style="xfa-spacerun:yes"> </span>• with<span style="xfa-spacerun:yes"> </span><span style="font-weight:bold">RichText</span> formatting.</p></body>
</exData>
</value>
4. Select the whole code between the <value> tags and copy it to the clipboard (ctrl + c).
5. Go to the Design View, select the text field, go back to the XML Source view.
6. There you'll also find the value <tags> and your default value you entered before.
<value>
<text>Default</text>
</value>
7. Select this code section and paste the value copied before to the clipboard by pressing ctrl + v.
8. That's it. When you now go back to the Design View your text field shows a formatted RichText as defaul text. -
dear all
i have custom metadata called original_creator
i need to ask you if there is any way to put the author value as a default value for this field when we checkin new content without using workflow
best regardsdear
i go to the configuration manager ==>Rules==>add .
and add new rule.
the i edit the rule
edit==>general==> then i check is global rule .
then i went to field
field==>add field==>choose the original author field
then
choose original_author==>edit==>use default value==>edit==>custom .
and add this code:<$dprDefaultValue=dDocAuthor$>
and tried to check in new content and it did not take the author as default value
whats wrong with what i did??
regards -
Hallo everybody!
at the moment I need to set a few default values into WebUI input fields. For example I want to determine the Account which is linked to a certain Person and fill the acount data into an input field when a new customer visit report is created. Whenever a new report is created, this account info input field shall be prefilled with the determined data.
My question now: how can I prefill input fields with default values in WebUI?
Thanks for your help and best regards!
MarkusThis has been discussed several times. take a look at the folowing links:
setting default value in WEB UI
or
BADI_CRM_BP_UIU_DEFAULTS with method GET_DEFAULT_VALUES
regards. -
Parameter field default values not being set in BO Infoview
For a report, I have three numeric input parameter fields with a default value of -1. When the report is processed in the Crystal Reports development environment, the parameter fields are all displayed with the default values.
When copied and then processed in BO Infoview, the three parameters come up with a value of "Empty". In order for the report to process correctly, these "Empty" fields need to be individually called, a numeric value entered and then the report "Scheduled". Does anyone know of any way to force or get Infoview to use the pre-defined default values of these fields when running with Infoview?
ThanksIn the CMC, you have to config the report object's parameter.
It's under the Process tab of Object.
Bryan Tsou@Taiwan -
Enterprise Project Fields Default values do not Register on PDP Pages for mandatory fields
Is it normal for "mandatory" eneterprise project field to come up as blank in a PDP page, when I have defined it to default value to a specific value in a list?
I've inserted such fields using the project field web part within the PWA Category. They display with the red astericks at the end of their name, but the field is blank. The default value does not appear in the field. However, if I select
the button next to their name and display the the list, the default value is shown in bold as if it is the one selected. I
I am not using any workflows in the EPT that is responsible for displaying such pages. Aslo, this is not a problem when the fields are not set to mandatory; they display the default value.
the problem with this is that you have to manually select the default (or some value form the list) in order to check in the project.
Would you agree that this is a bug in 2010?
/Spiro TheopoulosI tried anothe approach using javascript. I documented
here...
Juan Pablo.
surpoint.blogspot.com
jpussacq.me
@jpussacq -
Read custom field's values in GRAC_UIBB_ACCESS_REQUEST
Hi All,
We have added new fields in webdynpro component: GRAC_UIBB_ACCESS_REQUEST and displayed new fields in front end.
Enhanced above webdynpro component but not able to read those new field's values inside the enhancement, as the context doesn't has new fields.
Any help is really appreciatedHi Vinoth,
I've faced a similar problem but can able to resolved and points are as below.
1)We have created a custom WDP component(which is similar to standard GRC access request screen) which submits request to GRC .
2)For adding custom fields into standard access request screen, i have added custom fields to structure GRAC_S_API_REQ_DATA which has include CI_GRAC_REQ_ATTR(here we can add custom fields as per our requirement).
3)And i've used Function module : GRAC_IDM_USR_ACCS_REQ_SERVICES which has facility to pass our custom fields data to the standard request/approver screen.
Hope this might help you.
Thanks
KH -
Access migration - error handling field default value "=Now()"
Hi All,
I'm doing an Access - Oracle Migration.
I've exported the structure, captured the model and generated the SQL.
When I run the SQL I get:
SQL Error: ORA-00907: missing right parenthesis
00907. 00000 - "missing right parenthesis"
It looks like it's related to a default value in Access of =Now()
The access table has a field "Creation Date" type Date/Time and default Value =Now()
The generated SQL looks like this:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT 0w(),
Which causes the error message.
If I change this to:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT SYSDATE,
it succeeds.
I'm using SQL Developer 1.2.1.3213 with extension "Oracle Migration Workbench - MS Access" version 10.2.0.32.13
Thanks,
Greg HHi Greg,
Thanks for this feedback,
I will add this testcase to an existing bug related to this issue
6453282 : DEFAULT VALUE CONVERT INCORRECTLY
We hope to have this resolved in our next release.
Regards,
Dermot. -
Auto Populating Text Fields Default Values
I am using Acrobat X Pro. I have a multiple page form and would like the "Legal Address" field entry/value after typed to auto-populate, or be the default value, of my "Mailing Address" field further down the form. I can accomplish this if the fields are the same name, ***HOWEVER*** I just want it to pre-populate it and if the "Mailing Address" differs from "Legal Address" be able to type over that (Mailing Address) on the form entry without also changing the Legal Address. If the fields are named the same, both will always be the same / updated together.
Any help - or examples!Hi Michael,
Thanks that was helpful and worked although I now appear to have another problem.
When I enter data into current title (eg Manager, Finance) data in proposed title field (eg Manager Finance) is auto populated as expected - correct
When I change the data that was auto populated in the proposed title field (eg Manager, FInance) to the new title (eg Director, Finance) is keeps the new tltle - correct
When I select something from another field eg cost code, the data I manually keyed into the proposed title reverts back to what was entered into the current title (eg Manager FInance)
Is there a way of committing the data that is entered automatically or manually so it remains in the field?
Regards,
Michael -
SDK: adding new value in custom fields
Hello,
I wanted to add new value in custom field of the resource table... I used this code (taken from SDK example) :
//Create and fill request for CustomData Service
SaveCustomDataRequest request = new SaveCustomDataRequest();
List<CustomValue> customData = new ArrayList<CustomValue>();
CustomValue attribute = new CustomValue();
//Field name
attribute.setName("NOTIFICATION_NUMBER");
//value received from ERP
attribute.setValue(notification);
customData.add(attribute);
request.setCustomData(customData);
//table name
request.setObjectAlias("RESRCE");
request.setRef(handle);
customDataService.saveCustomData(request);
But get a validation error, complaining about no ModifiedDateTime providen... How can I initialize this date or avoid the validation ?
I also tried using the ResourceDOService, using the setCustomData method, but same error...
ThanksI'm using ME 5.2.2.2, sdk 5.0.1.8, for the moment locally on my laptop for development.
There is no stack trace, I can just see the error when debugging :
com.sap.me.frame.domain.RequiredValueValidationException: class com.sap.me.domain.model.CustomFieldDOmodifiedDateTime
The resource exist, I do a read request before to check if the custom field has value or not. Anyway, it's a collaboration plug-in, executed when we change the resource status, so I got the resource handle as input ;o)
I can confirm there are some resource with custom value in other fields with date = null. It occurs when I'm saving the data in the GUI (so entering data's manually in custom field, do a save => fields are not initialized)
Regards -
CUP 5.3 SP8 - Language Settings/Language on Requestor Screen
CUP Experts/Users,
We are on CUP 5.3 SP8. There are several issues related to language
settings within CUP. Our default language in Configuration->Miscellaneous is English.
- When a Requestor logs on to create in a language other than English,
most of the fields within CUP are translated to that language. However,
some values are not translated to that language. For example, we have
created 3 priority levels; High, Medium, and Low. When a Requestor logs
in in Spanish to create a request in Spanish, they are still
seeing "High, Medium, and Low." So obviously CUP is not translating
these values for us...But I am not seeing anywhere in configuration where I
can put the Spanish version of these values? Also, when I create a
custom field, this value too is not getting translated and I see no
where in configuration where I can do this? Any ideas?
- When a Requestor logs on to create in a language other than English,
the SAP menus still remain in our default langauge of English.
Shouldn't these be translated to the user's requested language? For
example, when a user creates a request and chooses the language of
Spanish and gets logged in, the values on the left-side control panel
still read:
Request Access
Request Status
Support
User Login
Shouldn't these be converted to Spanish? Is this a bug?
A greater understanding of CUP languages and language settings would
also be greatly appreciated.
Thanks!
Jes BehrensThat certainly makes sense. I didn't expect CUP would have a smart language translator
So the question is; how do I enter data/create configuration pieces in multiple languages?
For example, If I create a custom Request Type called "Change Production Security," I want to be able to enter this for multiple languages, i.e. when a someone logs in in Spanish it would show the Spanish version of that Request Type. Currently, I see no where to do this in configuration and this is a a pretty important step.
The static Request Types that come with CUP, such as "Change Account," comes in different languages. So somewhere in CUP table, there's an entry for "Change Account" in various languages. How do I access this table? Is there a tool I can use to even find this table? Is this even possible?
Thanks again!
Jes Behrens -
Report parameter default value do not default correctly
Hello Experts, I have a cascading parameters in my report.
The first parameter called "Project" will allow to select a single Project Name from the list and based on the Project Name, the second parameters which is a "Date" parameter will give out list Months and Year in the Format 'Nov-14'.
For this Second parameter I defaulted the parameter to show First Month in the retrieved list of Months. But the problem is it will display the default Date correctly only certain times (there is a refresh problem). If i select a different project and it
has a month that was retrieved in the first project it will still show the that Month but not the actual default month (Start Month) for that particular Project.
Example: If I select Brisk from Project parameter, It will give me 18 months of Dates in the Date parameter. In that 18 month range first month is Sep-13 it will default to Sep-13 correctly. Then if I select a different project like "Creek" (example)
as Project , the Date parameter retrieves some dates corresponding to Creek Project and in the retrieved months if Date parameter has Sep-13 it will still show Sep-13 even though the
Start Date for Creek project is Jun-12.
1. Project Brisk: Defaulted correctly to Sep-13
2. Creek Project : Should default to Jul-12 but still shows Sep-13
Just for default value I created a separate dataset and used it to populate the default value and the SQL I used just for default value is as below:
SELECT DISTINCT TRUNC(DATE_KY, 'MM') AS DEFUALT_DATE
FROM DATE_D D
WHERE (DATE_KY = ADD_MONTHS(:PROJECT_DT, - 6))
Date parameter datatype is Date/Time,
Available Values Tab: label field is a String but the Value field and the default field (Default Values tab) are Dates
Thanks in advanceThanks Vicky for reply.
Yes you are right but I did not use First function as the query above retrieves only one date.
I used your suggestion but it did not fix it.
In this report I have three parameters.
1. Project Code (Visible)
SELECT DISTINCT PROJECT_CODE
FROM DIM.PROJECT
ORDER BY PROJECT_CODE
2. Project Date (Invisible)
SELECT
MAX(CASENA.MILESTONE
WHEN'ABCD'THENTRUNC(PROJECT_DATE,'MM')ELSENULLEND)PROJECT_DATE
FROM
DIM.PROJECTNA
WHERE(NA.PROJECT_CODE
=:PROJECT_CODE
or'ALL'=:PROJECT_CODE)
3. Start Date (Visible):
Available Values Query:
SELECT DISTINCT
--DER_DATE is "Value Field"
TRUNC(D.DATE_KY, 'MM') DER_DATE
--Display_date is "Label Field"
, TO_CHAR(D.DATE_KY, 'Mon-YY') Display_Date
FROM DATE_D D
WHERE DATE_KY BETWEEN ADD_MONTHS(:PROJECT_DATE, -6) AND ADD_MONTHS(:PROJECT_DATE, 6)
ORDER BY 1
Default Values Query:
SELECT DISTINCT TRUNC(DATE_KY, 'MM') AS DEFUALT_DATE
FROM DATE_D D
WHERE (DATE_KY = ADD_MONTHS(:PROJECT_DATE, - 6))
When you select a Project from "Project Code", it will give a "Project Date" and based on the "Project Date" it will give a date range in "Start Date". That is why I am using "Project Date" parameter in my
query. I even tried using Project code as you suggested but I still got the same result.
Thanks a lot for your reply. -
Bidder Not able to filter Bid Invitations with custom fields
Dear Community,
Need some ABAP help.
Know many experts are in our community.
We have added 3 custom fields to the Bid Invitation and Bid header
Coded Badi BBP_CUF_BADI_2 for them to appear in the Search criteria for Find Bid Invitation for both the logins(purchaser and bidder).
The custom fields now appear in the Extended search for both.
These custom fields extract values from custom tables.
But we found that the search criteria seems to be filtering Bid Invitations only in the Process Bid Invitation screen(Find Bid Invitation) of the purchaser login.
Template: bbp_bid_inv/99/saplbbp_bid_inv_1010.html
And NOT filtering Bid Invitations in the Process Bid screen(Find Bid Invitations and Auctions) of the Bidder login.
bbp_quot/99/saplbbp_quot_ui_its_1010.html
The ABAPer has already incuded the custom fields in structures INCL_EEW_PD_HEADER_CSF_BID and INCL_EEW_PD_HEADER_CSF_QUOT,
What is required in addition so that the search criteria will work in the Bidder login as well??
Thanks in Advance,
Dinesh
(Will appreciate with points)Thanks, Disha.
We have alreday activated BBP_WF_LIST
and tried some code in method
BBP_WF_LIST_SOCO
but did not help us.
Can you suggest any specific code to try?
You are right for template modification for values of this custom fields.
If we do that Bidder CAN filter the BI correctly with these values of custom fields.
But customer does not want that way because in future the values would be changing.
and so it would be an additional task to correct templates.
Also they have to redo these changes with every upgrade.
So we are fetching the values from custom tables for these custom fields.
Would like to again draw the attention towards purchaser's search with these custom fields.
Why purchaser can search correctly with these custom fields fetching values from custom tables?
Can we debug or take any hint from there?
Any futher thoughts?
Landscape - SRM 5.0 SP11 CLASSIC
BR
Dinesh
Already raised an OSS for this issue.
Will keep updated about any responce.
Maybe you are looking for
-
Issues With PDF Template Mapping
Hi all, Oracle BI Publisher for Windows 10.1.3.2.1 Oracle Publisher Desktop 10.1.3.2.1 Adobe Acrobat 5.0.5 Broswer IE 6.0.29 I have created a report based on a single database table (DEMO.PRODUCTS) but am experiencing problems when I try and map the
-
ITunes Software Problems with Windows 7
Hallo Community, nach jahrelangem erfolgreichen synchronisieren meines Iphones mit ITunes auf Windows 7, geht plötzlich nichts mehr. Deinstallieren und installieren der ITunes Software hat nichts gebracht. Ein löschen der ITunes Software von der Fest
-
Row level Security for BI Author Role
Hi All, We are using OBIEE 11.1.1.5 in our project. We have a requirement where we need to configure row level security on certain column. We are currently using external table and session variable approach to configure this. This security works fine
-
To increase the amplitude of a spectrum
hello, I have a spectrum and I would like to increase the amplitudes of the fundamental frequency and harmoniques. Is it possible ??? Thank you ?
-
I need to know how to install poachit in firefox.
can't install it