How to change defauled field value in Appraisal OSA
Hi,
We hav implemented OSA Appraisal Model and it's working fine both in R/3 and from EP.In form template We hav set the column 'Value Input' to Required Entry.
In the HAP Document the field values of that column are never null coz the field value is defaulted to the first entry '1'. How to change the defaulted value in the drop dwn boxes.
Any help will be much appreciated .
Rgds,
Jothi.
Message was edited by: Jothivenkatachalam.P
Hello Jothi,
Defaulting can be achieved with a value determination, BAdI definition HRHAP00_VAL_DET.
Regards and Groetjes,
Maurice
Similar Messages
-
How to change screen field value.
Hi Experts,
I like to change the screen field MSAUS(check box) of program SAPLIQS0 in one of the exit.But if I use
(SAPLIQS0)VIQMEL-MSAUS = 'X'. its showing compile error.Please tell me how can i change this field in this exit.
Regards,
Ajish.try something like this:
create field symbol
FIELD-SYMBOLS: <fs>.
Assign value of variable from calling prog to field symbol
ASSIGN ('(SAPLIQS0)VIQMEL-MSAUS' ) TO <fs>.
<fs> = 'X'.
Regards,
ravi -
How to Change a Default Value from Drop Down Box displayed in Web Dynpro?
Hi,
How to Change a Default Value from 'High' to 'Low' in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component. I saw a Default Value set for a RANGE field in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
I appreciate your help!
Thanks,
Monicahi,
use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
// u can use the code wizard( control +f7) this code will be auto generated when u select the
//radio button to read the context node
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node.
* navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
name = `ATTribute name.`
value = 'LOW' ).
it will solve ur query ..
also refer to this component
wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
regards,
amit -
How to Change the Fields from Input mode to display mode
Hi experts,
Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
Now, can anybody tell me how to change the field type from input mode to change mode?Hi Karan,
In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
Field Can Be Changed
A Field Cannot Be Changed
Assing this values to your fields according with your requirements.
Regards.
Manuel -
Processing on change of field values in internal table
I have a internal table eg
id type keyword
1 1 report
1 1 program
n02 4 event
n02 5 loop
n03 6 call
n03 6 do
No when even id changes from 1 to n02...i want to write " id id 1' similarily wenever id changes from n02 to n03 then id is " id is n02" and so on
How can do some sequential processing on change of field values in internal tablehi,
This code will resolve your purpose.
DATA:
BEGIN OF t_tab OCCURS 0,
int TYPE c,
str TYPE char10,
var TYPE char3,
END OF t_tab.
t_tab-var = '1'.
t_tab-int = 1.
t_tab-str = 'report'.
APPEND t_tab.
t_tab-var = '1'.
t_tab-int = 1.
t_tab-str = 'program'.
APPEND t_tab.
t_tab-var = 'n02'.
t_tab-int = 4.
t_tab-str = 'event'.
APPEND t_tab.
t_tab-var = 'n02'.
t_tab-int = 5.
t_tab-str = 'loop'.
APPEND t_tab.
t_tab-var = 'n03'.
t_tab-int = 6.
t_tab-str = 'call'.
APPEND t_tab.
t_tab-var = 'n03'.
t_tab-int = 6.
t_tab-str = 'do'.
APPEND t_tab.
LOOP AT t_tab.
ON CHANGE OF t_tab-var.
WRITE:
/ 'id' ,t_tab-var, t_tab-int.
ENDON.
ENDLOOP.
Thanks and regards
Sharath -
How to get item field values for old versions?
I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
created.
It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
Anyone tried doing anything similar here?
Thanks
Dylantry these links:
https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
How can I pass field value betwen view in ICWC?
Hi experts,
I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
Hope can get some advices and helps here.
I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view to the BupaCreate view when I click on the 'create' button.
I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
Really appreciate for any help.
Edited by: mervyn tay on Apr 7, 2009 11:42 AMsolved by myself...
code in the CREATE_ACCOUNT method.
ev_entity->set_property( iv_attr_name = 'ZZICNO'
iv_value = lv_icnum1 ). -
How to change the profile value in the pl/sql code without making change in the database
How to change the profile value in the pl/sql code without making change in the database.
I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
if these Profiles are set for the user running this program automatic printing should not be done. -
How to take a field value in an array?
how to take a field value in an array? its urgent........
yaa... i know, but actually we need to multiply that number with some digit.
take it this is way, if i push it into another array, we have an array of digits but what i need is a all digit to be together to be multiplied to a number
for example -
if i push the numbers into new array say arr[];
so i will have something like this. arr[1,2,3,4,5,6.......]
but i need the new varaible should have value as 12345........ all concatenated.
if i perform operation on array each digit will be multiplied individually.
hope u got what m trying to sayy....
Thanks for the prompt response.......... -
How to Assign a Field value to a Variable??
Dear All,
Kindly let me know, if <b>"HOW TO ASSIGN A FIELD VALUE TO A VARIABLE????"</b>
Situation is, we have a Field (OBJK-TASER) in which 2 tables (SER01 & SER03) are stored. And we want to access names of the Tables which are there in the field(TASER) in (OBJK) table to a variable and then passing that variable to the sql query as a table name to get data accessed dynamicaly.try this
select TASER from OBJK into table it_table.
loop at it_table.
select field1 field2 from (it_table-table) into table it_fields.
endloop -
How to change the Field Symbol, so Adobe Forms takes it as a Table?
Hi guys,
I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
I looked at Adobe Form, and found this:
The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
Does someone have any idea?Hello Taly,
To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
You have done it correct partially. I have replicated your scenario and steps are below -
1) Create a Z structure
2) Create Z Table Type
3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
4) Design Form as -
5) Code driver as -
*& Report ZR_AF_FS_1
REPORT zr_af_fs_1.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams,
it_kna1 TYPE ztt_fs_1.
* Sets the output parameters and opens the spool job
CALL FUNCTION 'FP_JOB_OPEN' "& Form Processing: Call Form
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' "& Form Processing Generation
EXPORTING
i_name = 'ZAF_FS_1'
IMPORTING
e_funcname = fm_name.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*-- Fetch the Data and store it in the Internal Table
SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
* Language and country setting (here US as an example)
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
*&--- Call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
it_data = it_kna1
* IMPORTING
* /1BCDWB/FORMOUTPUT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Close the spool job
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
6) Output -
BR. -
Hi all,
How to change a date value from "java.util.Date" to "java.sql.Date"?
I m still confusing what's the difference between them.....
thanks
Regards,
KinThanks
but my sql statement can only accept the format (yyyy-MM-dd)
such as "select * from xx where somedate = '2004-12-31'
but when i show it to screen, i want to show it as dd-MM-yyyy
I m using the following to change the jave.util.Date to str and vice versa. But it cannot shows the dd-MM-yyyy. I tried to change the format from yyyy-MM-dd to dd-MM-yyyy, it shows the wrong date in my application.
public String date2str(java.util.Date thisdate) {
if (thisdate != null) {
java.sql.Date thissDate = new java.sql.Date(thisdate.getTime());
return date2str(thissDate);
} else {
return "";
public String date2str(java.sql.Date thisdate) {
if (thisdate != null) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
return sdf.format(thisdate);
} else {
return "";
public java.util.Date str2date(String thisdate) {
String dateFormat = "yyyy-MM-dd"; // = 1998-12-31
java.util.Date returndate = null;
if (thisdate != null) {
SimpleDateFormat dateFormatter = new SimpleDateFormat(dateFormat);
try {
returndate = dateFormatter.parse(thisdate);
} catch (ParseException pe) {
System.out.println (pe.getMessage());
return returndate;
} -
How to change the Unitprice value from 2 decimals to 3 decimals in script
Hi Gurus,
how to change the Unitprice value from two decimals to three decimals for each item level for PO in script.
Please provide some possible solutions.
Thanks,
V.V.Hi,
Check the options available like
&VAR(.2)& this will print 2 decimals
&VAR(.3)& this will print 3 decimals
need to change the value for how many decimals you need
Thanks & Regards
Sarves Sombhatla -
How to change the field length in standard sap program.
Hi All,
How to change the field length in standard sap program.
Urgent
Example:
Text1 type c length 75,
To change :
Text1 type c length 150,
Point will be rewarded..
Thank you,
Vikram.CIf the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
regards, Rob -
How to change timeout parameter value in Oracle 10g R2
Anyone knows how to change timeout parameter value in Oracle 10g Database R2?
Waheed Azhar wrote:
actually i am getting ORA-01013 exception which directly relates to the timeout value but i think it's hidden parameter...What makes you think it's a hidden parameter?
A search of MetaLink for that error turns up a number of hits, most of which a very situational specific. Exactly what are you doing when you get this error? Are you connecting over an ODBC connection? Are you getting it on a connection request? At db shutdown? During a long-running query?
Maybe you are looking for
-
I have the BEFW11S4 router, the problem I am having is that I can not use the my lap top if I have my anti virus along with the fire wall on line at the same time. How do I get them to work together. Thanks in advance for any help you can give me. fc
-
Getting invalid password error while logging onto application from frontend
Hi Guys I am trying to login to one of our clones and i am getting invalid password error. I ran fndcpass and change my username's password which got changed successfully But still when i login to application using my username i am getting invalid pa
-
Does anybody knows how to include the file name into an XML field. My scenario is XML file to JDBC. I have to pass the filename as one of the table field.
-
Ipod icon doesnt show up in 'my computer'
this is my second post today well, i plugged in my ipod i opened my computer to check something and something seemed bare so i tried to find it my friend pointed it out that the ipod icon was gone does anyone know why this happens?? is there a way to
-
After upgrade, iTunes complaints with "original file could not be found"
After upgrading to 8.2.0.23, a large number of songs now have a ! in them and if I try to play them, iTunes will say with "The song xxx could not be used because the original file could not be found." This has happened to me before but never to this