Descriptive FlexField default value options

Does anyone know how to default a value in the next DFF, with the value entered in the current DFF?
Example:
DFF Item Low: Enter value here and TAB
DFF Item High: Value here should be defaulted from DFF Item Low.
Please help..!!

Hi Nel,
use a Pair type value set to achieve this. This value set should be attached to both the DFF Item Low and DFF Item High DFF attributes.
You can refer to seeded value set CST_SRS_ITEM_PAIR.
For this Pair value set the functions are define dlike this:
Event: Edit
Function
FND POPIDR CODE="MSTK" APPL_SHORT_NAME="INV"
VALIDATE="NONE" SEG=:!VALUE NAVIGATE="!DIR" REQUIRED="N"
ALLOWNULLS="Y"
Event: Validate
Function
FND VALIDR CODE="MSTK" APPL_SHORT_NAME="INV"
VALIDATE="NONE" SEG=:!VALUE REQUIRED="N" ALLOWNULLS="Y"
Hope this helps!
-Supro

Similar Messages

  • Setting up Descriptive Flexfield default value

    Hi,
    I have set up 3 DFFs in a form
    1.one
    2.two
    3.three
    I want to have the DFF segment 'three' to be automatically populated with the default value as ('one' + 'two')
    Example:
    I enter 4 in 'one' & 5 in 'two' -> this action should automatically populate 9 in the DFF segment 'three'
    Is this possible?
    -Nagadeep

    Yes.
    you can use default type of Segment3 as Sql statement. and
    default value of Segment3 as
    SELECT :$FLEX$.SEGMENT1 + :$FLEX$.SEGMENT2 from dual
    Thanks.

  • Default Values option for entire page

    Is there a way to set the entire page to use the default values for the entire page. I know you can set it per variable, and I have quite a rythyme so I can do it fairly quickly but with multiple pages with 100 or so values it gets tiring. I have tried setting it under the Page Settings Manager by setting "usedefaultValueParameters" to True for the page. It seems to ignore this though, it is still sending the parameters.
    I couldn't find any other option, and I do need to still send them on some of the pages within the script, I just don't want to overwrite the same page when I pull it up in future pages after filling it with a databank file.
    Just wondering if there is a better solution or if I need to get back to my F4-Tab-Tab-Tab-Space-Enter-Down-Repeat.

    Thanks for the reply, the only navigation I have done on those pages was clicking cancel on the bottom to go back to the search screen, but it is not working. I guess it is back to setting each field up to use defaults. Unfortunate.
    Does it have to be recorded with that setting?
    Message was edited by: jmelling

  • Reg: Default value option - is it for value mapping????

    Hi,
    Recently i had seen an option of mapping a default value or error out the message when value mapping (???) doesnt fetch the conversion.  I'm confused if i'm referring to value mapping or any such functionalitywhich comes as a standard pack....certainly not the options u have in recv determination. Can anyone pls enlighten on what it is exactly. I'm left clueless as i barely remember where i got to see tht option from.
    Note: def not the default node in mapping too
    thanks
    P.S

    Recently i had seen an option of mapping a default value or error out the message when value mapping (???) doesnt fetch
    the conversion
    Where can he find the option Map with Default value OR error-out the message ..... is it in Value Mapping or in some other functionality
    Regards,
    Abhishek.

  • Crystal Reports Date Parameter Default Value OPtion Empty

    Is there a way to set a default date value for a Date Parameter? It is shown empty, it only allows to set a fixed date, i.e. 10/10/2013. But it doesn´t allow me to use a formula (which has a CurrentDate inside), so I can set, for example, today's date as default.
    How can I achieve this? I´m not using Crystal for Enterprise. I'm using Crystal Reports, the normal version.

    Hi Erika,
    The feature is only available in CR for Enterprise at the moment.
    If you're OK with selecting the currentdate from the dropdown, here's a workaround:
    1) Go to the Database Expert > Click the Connection Name > Select 'Add Command' > Type in a simple sql query that returns today's date. Example for oracle would be:
    Select SYSDATE from DUAL
    2) Don't link this Command Object with other tables on the report
    3) Create a new Parameter > Select 'Dynamic' under 'List of Values' > Under the 'Value' column choose 'SYSDATE' from the command object > Click create parameter > OK
    -Abhilash

  • Select MULTIPLE default values for a multiple selection list box based on another field in Infopath 2010

    Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
    I visited.
    I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
    I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
    Add another Value Below and set the Default Value for this field to setup multiple default values.
    However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
    default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
    Please let me know if you need more info. Appreciate your help.
    Thanks!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Default value for variable

    Hello Experts,
    I have created a report which containts variable 0P_FPER ( Period/Fiscal year,single entery required). Now, the requirement is to get completed fiscal year/month(current month-1)  by default in the input box of variable entry whenever I execute the query.
    Assigning default values option is not giving me the list of variables to assign for default value.
    How can I achieve this?
    Regards,
    Nirav Shah
    Edited by: Nirav Shah on Aug 6, 2008 8:19 AM

    How to Create a u201CCustomer Exitu201D Date Variable.
    Custom date variables greatly enhance BEx Reporting.
    Letu2019s assume you have an InfoProvider with a characteristic 0CALDAY (Calendar Day) and you want to restrict results of your query to u201Ccurrent month to dateu201D.
    Scenario:
    1. Start by creating a variable for the 0CALDAY InfoObject.
    2. Assign u201CProcessing byu201D type u201CCustomer Exitu201D, u201CVariable Representsu201D to u201CIntervalu201D and u201CVariable Entryu201D to u201CMandatoryu201D. Select u201CReady for Inputu201D checkbox if you want a request window for your variable to be presented at runtime (interval values will be filled from your Customer-Exit but a user can still change them).
    3. Go to transaction CMOD to create a project for your enhancement (see ref.2). Give a name to the project (1), create (2) and save the project. Then assign an enhancement RSR00001 to your project and
    save. (In this step an error message u201CSAP enhancement RSR00001 already belongs to project NAMEu201D may appear. That means an active project with the enhancement RSR00001 already exists. If this is the case, you do not need to create your own project and may terminate this step and go to the step 4). Activate the project.
    4. Go to a transaction SE80, display a Function Group XRSR (1,2), open Function Modules (3) and double click on an EXIT_SAPLRRS0_001 (4). A source code for the EXIT_SAPLRRS0_001 function module opens. Double click on a word ZXRSRU01. You arrive to a source code for the Include ZXRSRU01.
    5. In the source code for Include ZXRSRU01 insert your code (see sample code below). If some code like DATA: L_S_RANGE TYPE RSR_S_RANGESID. u2026 u2026 u2026 u2026 u2026 u2026 ENDCASE. Already exists in the Include just insert the part of the sample code from the first comment to the last at the end of the existing code but above the ENDCASE statement. Check and Activate.
    Code Example:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    Current month to date variable ZCMTD example.
    WHEN 'ZCMTD'.
    you variable name
    data: ZCMTD_LOW like sy-datum.
    *defining variable for using as a starting date of the interval
    ZCMTD_LOW = sy-datum. 
    *initializing it with the current date
    ZCMTD_LOW+6(2) = '01'.
    *replacing last two symbols (day) in the current date with '01'(see ref.1)
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = ZCMTD_LOW.
    *initializing low interval limit
    L_S_RANGE-HIGH = SY-DATUM.
    *initializing high interval limit
    L_S_RANGE-SIGN = 'I'.
    *defining interval as inclusive
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    Current month to date variable ZCMTD example end.
    ENDCASE.
    The result of this will be an interval from the first day of the current month till the current system date.
    Acknowledgements and more info:
    Thanks go to Dirk Herzog and Roberto Negro for their valuable posts on forum regarding Customer-Exit variables.
    References:
    ref.1 Processing Sections of Strings
    ref.2 Customer Exits
    ref.3 Date for Several Months topic on BW Forum

  • DRM eBus Integration - Descriptive Flexfield Maintenance

    We would like to maintain the eBusiness Descriptive Flexfield (attribute) values that are associated with a Chart of Accounts key accounting flexfield.
    Does anyone know how can we achieve this?
    The GL DRM integration only maintains the key accounting flexfields and not any associated descriptive flexfields.
    Thank you for your help.

    Martin wrote:
    We would like to maintain the eBusiness Descriptive Flexfield (attribute) values that are associated with a Chart of Accounts key accounting flexfield.
    Does anyone know how can we achieve this?
    The GL DRM integration only maintains the key accounting flexfields and not any associated descriptive flexfields.
    Thank you for your help.I think (I am trying to do something similar), you have to have these descriptive values off as a separate hierarchy. For example, for us, organization approver is an attribute of entities (flex value). In order to populate this value, I had a separate hierarchy for approvers (*only* approvers currently available otherwise this would become a massive hierarchy for HR which is not the true purpose of this hierarchy). Then, in my opinion, you have to export out the metadata you need and load it into EBS without using the DRM GL template values into staging tables, and then work out an incremental loading routine into EBS.

  • Automatically populate a Descriptive FlexField with Default Value

    I have 2 Descriptive flexfield segments defined, one is "Start Date" using value set "LS_START_DATE" and the other segment is "End Date" using value set "LS_END_DATE".
    Now when I enter the "Start Date", I want the "End Date" to be populated automatically with the value of "Start Date + 365 days".
    For example:
    If I enter "Start Date" = 25-May-2010
    Then "End Date" should be automatically populated with the value "25-May-2011" (i.e., Start Date + 1 year)
    Is that possible ?
    I tried defining "End Date" segment with "Default Type" as "SQL Statement" and Default Value as "SELECT :$FLEX$.Start Date+365 from dual" , but it's not working.
    Can someone please help ?
    Prashanthi

    I did, the value set created for this segment "Start Date" is "LS_START_DATE" and I changed the sql statement in Default Value to "SELECT :$FLEX$.LS_START_DATE+365 from dual" , but still it is not working ....no luck.
    Prashanthi

  • Specific default values for select-options high and low

    Hi
    My requirement is in the selection screen i have a select-options field for which i need to give default values as mentioned below.
    Description                              Data Type       Default Value     Mandatory?             Sel Scrn Type     
    Delivery/BOL Date        ekab-bedat                         1st DOM to current day     Y              Range     
    The datatype is ekab-bedat.
    In the low value field ,it should be 1st Date of month(DOM) and in the high value field it should be current day.
    Give me the code for the same asap.

    >
    sreedeep.sreekumar wrote:
    > Dont mistake my intensions. When i tried to write it in the form of a request it showed me that it cannot me posted beacuse the words that i am using (please,kindly) is not following the terms and conditions of the words to be written in the threads
    Sounds quite vague to me.
    >
    sreedeep.sreekumar wrote:
    > I was asking help for this as i am a novice in SAP-ABAP and i couldnt find solutions for it and also i have seen people directly writing codes for the queries.
    Becuase you see people posting pieces of code doesn't mean you can ask for a solution asap. Besides, whether you're new or a veteran in ABAP, what you need can be solved with some very basic knowlegde of ABAP. Just use a bit of common sense.

  • How to set default value in select option for ABAP query

    Hi experts,
    What is the way to set up default values for select-options in ABAP query.
    e.g.
    I have one field 'Year' in my ABAP query selection screen.
    I want value of current year to be appeared here whenever user execute report
    Thanks in Advance
    -Harkamal

    Hi Harkamal,
    execute your Query via SQ01. On Selection-Screen
    goto save Variant. Mark your field
    as selection variable an press Button election variable.
    Take variable from TVARV and use it.
    Than save the Variant.
    Look at TVARV if the 'Year' is updated to the actualYear!
    regards, Dieter

  • Change Description of Service Item default value

    Hello
    in a service SC, on the item detail basic data, we want to change the default value of the field "Description of Service Item ". by default it is "Service Item" and we want to change it.
    Where can I change it excepted in BADI BBP_DOC_CHANGE_BADI
    thanks,

    Hi
    Which SRM version are you using ? What is your business requirement ? Do you want to change Service Item description value for every line item in the shopping cart OR
    the permanent text displayed on the Left side on the HTML Template.. ?
    <b>Incase you want to modify the HTML template Text, then it can be done using HTML Template modification.</b>
    Using Transaction SE80, In the Internet Service - BBPSC01, you need to find the relevant HTML Template and make the required chnages to the Description there as per your business requirements.
    All BBPSC* transaction are using the HTML sources of service BBPSC01.
    So you have to modify template SAPLBBP_SC_UI_ITS_300 from service BBPSC01.
    Make sure to publish the complete service on all defined sites so that changes can appear in all respective SRM Client systems.
    Related links ->
    BBPSC01 Template Labels stored where ????
    Re: Template Shopping cart
    Re: Internet Service flow
    Re: Need to change the field description
    Re: how to change descriptions of links on the shopping cart page
    How to change "vendor text " label in BBPSC01 and BBP_POC
    Hope this will help. Do let me know.
    Regards
    - Atul

  • The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assi

    Hi ,
    We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and  as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
    We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
    "The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
    this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
    Please let us know reason behind this error message.
    Thanks,
    Mruduala

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • Providing Default values to Select-Options in WD ABAP

    Dear Experts,
    Using reusable component  WDR_SELECT_OPTIONS im able to create select-options successfully ... I need your guidance to provide default values(type date) on the same select-options.
    Thanks a lot.
    Regards
    Siva Mandapudi.

    I do not see the relevance of this thread to FPM. Please follow this thread for your solution.
    [Default the value in  Parameter in wdr_select_options|Default the value in  Parameter in wdr_select_options]

  • Default Values for Select-options In Webdynpro-ABAP

    Hi Freinds,
    Kindly,Help me in setting the Default values for the Select-options in Webdynpro ABAP.
    Here the Node and the Attributes are Created Dynamically, and then Displayed Select-options Component View.
    Regards,
    Xavier.P

    Xavier Reddy Penta sent me this question via email and I answered it directly yesterday. Here is the solution that I provided to him, so that it is stored with the original question:
    I believe your problem is that you are not setting the value into the range correctly.  You are setting it directly into the field symbol of the range like such:
    <FS> = L_STRING2.
    But ranges are deep objects. They have four fields: Sign, Option, High, and Low. This is from the online help:
    1.     sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
    2.     option of type c and length 2. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and special rules apply for entries on the selection screen.
    3.     low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
    4.     high of the data type defined after FOR. This column is designated for the upper interval limitation.
    So when you are moving the value into the field symbol you are setting it into the sign column.
    Here is an example of how you can access the components of the range:
    * create a range table that consists of this new data element
        lt_range_table =
          wd_this->lv_sel_handler->create_range_table(
               i_typename = l_typename ).
        IF l_fieldname = 'CARRID'.
          FIELD-SYMBOLS: <tab>         TYPE INDEX TABLE,
                             <struct>      TYPE ANY,
                             <wa>          TYPE ANY,
                             <option>      TYPE char2,
                             <sign>        TYPE char1,
                             <high>        TYPE ANY,
                             <low>         TYPE ANY,
                             <wa_values>   TYPE ANY.
          ASSIGN lt_range_table->* TO <tab>.
          APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
          ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
          ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
          ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
          ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
          <sign> = 'I'.
          <option> =  'EQ'.
          <low> = 'AA'.
        ENDIF.

Maybe you are looking for