IProcurement Requisition Distribution DFF attributes not defaulting value

Hi All,
DB:10.2.0.4.0
Oracle Apps:12.0.l6
O/S:AIX 5.3 L
Problem Description:
We have enabled Requisition Distribution DFF on iProcurement page and it has 4 attributes. In DFF configuration we have set Attribute3 and attribute4 to have a default value of type SQL Statement. When user selects/changes Attribute1 and attribute2 values on requisition distribution DFF in iProcurement, rest of the attributes should default. This happens in core purchasing.
But in iProcurement when user goes for editing requisition lines and tries to change attribute1 and/or attribute2 on distributions rest of the attributes on that DFF do not default according to default value setup in DFF configuration. We believe that as same DFF is used on core purchasing and iProcurement, DFF behaviour should be same on both applications.
Workaround:
User has to explicitly click on each LOV attached to the DFF attributes and select correct value from LOV. Values do not get defaulted as expected.
Could anyone please share resolution on the above issue faced before.
Thanks for your time!
Regards,

Here are the steps to enable Dist DFF on iProcuremet page
1. Setup the attributes and DFF's from Application Developer Flexfields and freeze
2. Enable personalization for OAF Pages
3. From iProcurement, while submitting Requistion, go to Edit Lines --> Account tab
4. Click on Charge Account link
5. Click "Personalize Stack Layout: (AccountsDistsRN)"
6. Find "Column: (ReqDistDFFOnAcctCol)"
7. Change the "Rendered" property to True.
I'm sure you will find some metalink notes on the above. But this the desinged approach to show DFF on iProcurement pages.
Hope this helps.

Similar Messages

  • Default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch

    Hi Gurus,
    Requirement is to set default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch when user clicks on Corporate Account.
    Below is code that i have written in DO_PREPARE_OUTPUT.
    Code is working fine and in the debug also i can see the value of COUNTRY is set to DE, but it is not showing on the screen for first time but when i load component second time(Refresh the screen), it shows me value.
    Any help would be appreciated. If somebody has otheralternative kindly share.
      CALL METHOD super->do_prepare_output( iv_first_time = iv_first_time ).
    Calling Super Method
    CALL METHOD super->do_prepare_output
       EXPORTING
         iv_first_time = abap_true.
    Data Declatation
      DATA :lr_col            TYPE REF TO if_bol_bo_col,
            lr_current        TYPE REF TO if_bol_bo_property_access,
            lr_param          TYPE REF TO if_bol_bo_property_access,
            lr_qs             TYPE REF TO cl_crm_bol_dquery_service,
            lv_attr_name      TYPE name_komp,
            lv_sign           TYPE bapisign,
            lv_option         TYPE bapioption,
            w_country_exist   TYPE c,
            w_param           TYPE string,
            w_value           TYPE string,
            w_flag            TYPE c.
    Getting SEARCH Context Node
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
    Get Selection Parameters
      lr_col ?= lr_qs->get_selection_params( ).
    Start from first parmaters
      lr_current = lr_col->get_first( ).
    Clearing Variables
      CLEAR : w_country_exist, w_flag, w_param, w_value.
    Loop till we have selection paramters
      WHILE lr_current IS BOUND.         " While loop 1
    checking attribute name is COUNTRY then setting some variable
        w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
        CASE w_param.
          WHEN 'COUNTRY'.
    If country is filled then setting variable
            w_value = lr_current->get_property_as_string( 'LOW' ).
            IF w_value IS NOT INITIAL.
              w_country_exist = abap_true.
            ENDIF.
    When we got COUNTRY attribute then setting flag
            w_flag = abap_true.
        ENDCASE.
    Calling next parameter
        lr_current = lr_col->get_next( ).
      ENDWHILE.                          " While loop 1
    In below block we are checking is COUNTRY attribute is blank and
    we have found COUNTRY attribute in current selection paramters
      IF lr_qs IS BOUND.                 " SEACRCH CONTEXT BOUND
    If vairable is blank means DE or any other value is not filled in COUNTRY Attribute
        IF w_country_exist IS INITIAL.   " w_contry_exist
    We have to add selection attribute if we come accross COUNTRY attribute during our search
          IF w_flag EQ abap_true.        " w_flag
    Adding COUNTRY attribute with default value 'DE'
            lr_qs->add_selection_param( EXPORTING iv_attr_name = 'COUNTRY'
                                                  iv_sign      = 'I'
                                                  iv_option    = 'EQ'
                                                  iv_low       = 'DE' ).
          ENDIF.                         " w_flag
        ENDIF.                           " w_contry_exist
      ENDIF.                             " SEACRCH CONTEXT BOUND
    In below block we will remove COUNTRY attribute when it has blank value
      IF lr_qs IS BOUND AND w_country_exist IS INITIAL.
        lr_current = lr_col->get_first( ).
        WHILE lr_current IS BOUND.
          w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
          CASE w_param.
            WHEN 'COUNTRY'.
              w_value = lr_current->get_property_as_string( 'LOW' ).
              IF w_value IS INITIAL.
                lr_col->remove( iv_bo = lr_current ).
              ENDIF.
          ENDCASE.
          lr_current = lr_col->get_next( ).
        ENDWHILE.
      ENDIF.
    Edited by: Harsharandeep Singh on Apr 28, 2011 3:44 PM

    Hi,
    Try it like this:
      DATA:
        lr_bo        TYPE REF TO if_bol_bo_property_access ,
        lv_attr_name TYPE name_komp.
      FIELD-SYMBOLS:
        <ls_param>   TYPE crms_thtmlb_search_criterion.
      READ TABLE parameters
           ASSIGNING <ls_param>
           WITH KEY field = 'COUNTRY'.
      IF ( sy-subrc = 0 ).
        <ls_param>-value1 = ip_pfct.
      ENDIF.
      CHECK ( me->parameter_collection IS NOT INITIAL ).
      lr_bo = me->parameter_collection->get_first( ).
      WHILE lr_bo IS BOUND.
        CALL METHOD lr_bo->get_property_as_value
          EXPORTING
            iv_attr_name = 'ATTR_NAME'
          IMPORTING
            ev_result    = lv_attr_name.
        IF lv_attr_name EQ 'COUNTRY' .
          CALL METHOD lr_bo->set_property
            EXPORTING
              iv_attr_name = 'LOW'
              iv_value     = 'DE'.
          EXIT.
        ELSE.
          lr_bo = me->parameter_collection->get_next( ) .
        ENDIF.
      ENDWHILE .
    Kind regards,
    Micha

  • Default values in DTD

    I was wondering if there is any way to tell, using SAX, if an attribute is actually defined in an XML document or if it is only being defined by the default value in the DTD.
    The issue is I am creating objects modelled by XML, and there is a "base" attribute which defines another document it can inherit attributes from. In one case, one of the attributes, userlevel, is supposed to be inherited from a base object, so the attribute is not defined in the child. In the DTD, the default value for userlevel is 0, so it's overriding what is in the parent when I build the objects.
    Without the DTD, I was able to check the index of this attribute, and if it was < 0, not update the variable in the object I build. Since the DTD is giving the attribute a default value, it also has an index >= 0 and this isn't working. So, basically, if I need a way to determine whether attributes are explicitly defined in a document.

    Is it possible to create many JavaBeans from one DTD??It is impossible, but if you create converter you can do this.
    You can create you beans within any IDE with wizards or you can use xdoclet.

  • HELP: Extended Attributes Not Appearing In Instances of Custom Content Type

    From Java code I create a custom content type derived from Document and define some extended attributes with default values for that type. All done using the same methodology shown in the Developer's Guide and Oracle example code.
    I start ifsmgr and I can indeed see the content type and the extended attributes.
    If I however create an instance of this (custom) type, either from the Viewer (file Upload) or from Java code (using code simuilar to createDocument from the Oracle ContentModule example), the extended attributes do not appear!
    BUT, if I delete one of the extended attributes using ifsmgr (highlight one of my extened attributes, click on "Remove", and then "Apply"), from that point on the previously missing extended attributes appear (except for the one I deleted of course) when I create files of the custom type from either Java code or the Viewer. Furthermore, once I get ifs to "see" one of these extended attributes in this manner, I can delete the extended attribute and re-create it from Java at will and it will appear in created instances of my custom content type just fine.
    If however I add another new extended attribute to the custom content type, I have to do the "Remove/Apply" drill in ifsmgr to get this new attribute to appear in created files of my custom type.
    I've tried deleting all instances of the custom type and closing both ifsmgr and the Viewer, but unless I delete one of the extended attributes from ifsmgr I cannot get new extended attributes to appear.
    What do I need to do in my 9ifs Java code to get new custom content extended attributes to appear in instances of that custom type?
    Thank you,
    Jeff "Did Kafka Write ifs?" Rininger

    Dear @user10993347,
    As mentioned by @vinod2303, you need to maintain content relationships along with subscriptions.
    Regards,
    Saurabh

  • How to find default value of a column ?

    hi , alok again,
    i have to find default value of a column.
    Acutally i have found , column's max width, its nullability, precision, scale, type, but NOT default value.
    I will have to use the default value and nullability while validating user's input.
    ResultSetMetaData doesnot contain any method any such method...
    Pls help,
    how can i do so.
    Any idea will be highly appreciated.
    Thanks in adv.
    Alok

    Hi,
    After you get the resultset from DatabaseMetaData.getColumns() as shown by sudha_mp you can use the following columns names to retrieve metadata information:
    Each column description has the following columns:
    TABLE_CAT String => table catalog (may be null)
    TABLE_SCHEM String => table schema (may be null)
    TABLE_NAME String => table name
    COLUMN_NAME String => column name
    DATA_TYPE int => SQL type from java.sql.Types
    TYPE_NAME String => Data source dependent type name, for a UDT the type name is fully qualified
    COLUMN_SIZE int => column size. For char or date types this is the maximum number of characters, for numeric or decimal types this is precision.
    BUFFER_LENGTH is not used.
    DECIMAL_DIGITS int => the number of fractional digits
    NUM_PREC_RADIX int => Radix (typically either 10 or 2)
    NULLABLE int => is NULL allowed.
    columnNoNulls - might not allow NULL values
    columnNullable - definitely allows NULL values
    columnNullableUnknown - nullability unknown
    REMARKS String => comment describing column (may be null)
    COLUMN_DEF String => default value (may be null)
    SQL_DATA_TYPE int => unused
    SQL_DATETIME_SUB int => unused
    CHAR_OCTET_LENGTH int => for char types the maximum number of bytes in the column
    ORDINAL_POSITION int => index of column in table (starting at 1)
    IS_NULLABLE String => "NO" means column definitely does not allow NULL values; "YES" means the column might allow NULL values. An empty string means nobody knows.
    SCOPE_CATLOG String => catalog of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
    SCOPE_SCHEMA String => schema of table that is the scope of a reference attribute (null if the DATA_TYPE isn't REF)
    SCOPE_TABLE String => table name that this the scope of a reference attribure (null if the DATA_TYPE isn't REF)
    SOURCE_DATA_TYPE short => source type of a distinct type or user-generated Ref type, SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT or user-generated REF)
    Regards,
    bazooka

  • How to set system date as a default value in UIX/XML page?

    Example: We set default values using following statements:
    <set property="inputValue" target="${bindings.PoNumber}" value="${'1234'}"/>
    <set property="inputValue" target="${bindings.UserName}" value="${param.MyParam1}"/>
    In JDeveloper Help, we cannot find a way to set a Date attribute's default value to today's (system) date. Any suggestions?
    Also, does anyone have a reccomendation on a good book for uix/xml?
    Thanks, Ali.

    bump

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • Defaulted DFF Context, but Attributes also getting some default Values.

    Hi,
    I extended CO for defaulting DFF, it is working fine. But the problem is Attributes Also getting default Values and when u search for one record those DFF Attribute values are not showing proper data, but table attribute values having correct data only.
    Regards,
    Hanimi.

    hi Pavan,
    i extended CO for getting context value as default, it is defaulting Context as well as Attribute values also after opening the page.But i want to default context value only after opening the page and when i search one record that attribute values data is showing wrong data, but in table attributes having proper data, but in page these values are showing different data.
    I used following code for Defaulting Context In CO. Pls check the code.
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    String s = oapagecontext.getParameter("_FORMEVENT");
    if(s == null || s.equals(""))
    s = oapagecontext.getParameter("FlexFormEvent");
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("WorkRequestDesc");
    String organizationId = (String)oapagecontext.getSessionValue("OrgId");
    String contextValue = getContextValue(oapagecontext.getApplicationModule(oawebbean).getOADBTransaction(), organizationId);
    if(contextValue != null)
    dffBean.setFlexContext(oapagecontext, contextValue);
    dffBean.mergeSegmentWithParent(oapagecontext);
    private String getContextValue(OADBTransaction con, String organizationID)
    System.out.println("In WorkRequestDffCO.getContextValue.organizationID" + organizationID);
    String contextValue = null;
    String sql = " SELECT meaning FROM fnd_lookup_values flv, mtl_parameters mp WHERE flv.lookup" +
    "_type = 'NGHA_EAM_WR_LOCATION_CONTEXT' AND flv.ENABLED_FLAG like 'Y' AND mp.or" +
    "ganization_code = flv.lookup_code AND mp.organization_id = "
    + organizationID;
    Statement st = null;
    ResultSet rs = null;
    try
    st = con.createStatement(1);
    rs = st.executeQuery(sql);
    if(rs.next())
    contextValue = rs.getString(1);
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    if(st != null)
    st.close();
    if(rs != null)
    rs.close();
    catch(Exception e)
    e.printStackTrace();
    return contextValue;
    }

  • How to Set Default Value in DFF

    Hi Experts
    I have a requirement to Default the DFF field value as No on Iprocurement Requistion Headers Page.
    I followed the below steps to enable the field. Please help me where can we set the initial value as NO.
    Please help me how to set the default value as No and we would aslo want to give flexibility to the user to change it to Yes if they want to.
    Any Help would be greatly appreciated.
    http://oraclerocks.blogspot.com/2008/04/adding-dffs-to-oaf-pages.html
    Add DFF to iProcurement Requisition header in the same way. Define a DFF again:
    1. Create a new Value Set.
    2. Define Values for the value set created in step 1.
    3. Add Value Set to the Flex Field Segment in Application: Purchasing and Title: ReqExpress Headers.
    4. Freeze and Compile the FlexField definition.
    The steps to enable DFF in IP HTML pages are as follows:
    1. Enable profile Personalize Self-Service Defn to yes at the user level
    2. Log in to iProcurement
    3. Go to Checkout: Requisition Information page
    4. Click Personalize Page at the top of the page
    5. Look for Flex: (ReqHeaderDFF)
    6. Click Edit (Pencil)
    7. Change Rendered from false to true8. Click Apply
    9. Click Return to Application
    Regards
    Krishna

    Hi Gaurav
    Thanks for your quick reply. I did a different solution just by adding value set with Pop List and attached to DFF segment. The value set that I created is for single value saying Yes. So on the page by default it will display NULL. If user want to select a value then they will select Yes from the pop list. On that same region I created TIP and left a note.
    I will follow the approach that you mentioned, for my future extensions. Thank you for your help again.
    Regards
    Krishna

  • Requisition Lines DFF showing values as "multiple" in the iProc screen

    Hello,
    We have enabled Requisition Lines DFF on the iProc screen (OAF Page) and at the header section. This will allow us to enter a value which will be defaulted to all the lines. We are using Attribute1 through Attribute10. When Attribute 9 values are not same on the lines then the whole DFF section is displaying as "multiple" which is expected. We didn't want this to happen and we have disabled Attribute9 field from the DFF Registration screen so that iProc does not consider the values in that field while displaying the DFF section. But still the DFF section is showing as "multiple" instead of Text fields. Each Attribute value is same across all the lines except for Attribute9. Can somebody help to figure out a work around for this?
    Thanks,
    Sriram

    Hello there ,
    Can anyone help me here?
    KS

  • Default Value is not getting displayed in SUN ONE Ldap

    Hello,
    I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
    The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed.
    We need the default value to run our applicatin. Can anyone help me for this issue
    Regards,
    K. Senthil Kumar

    Hi anandkumar,
    I belive this issue can be resolved by changing the  Query proprties for the perticular field.
    Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
    __Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
    FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
    Hope this helps you!!
    Best Regards,
    Maruthi

  • SUN ONE Ldap - Default value is not getting displayed

    Hello,
    I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
    The default value for the attribute has been given in the SUN ONE Ldap. But it is not getting displayed in our application.
    Can any one help me in this for this issue.
    Regards,
    K. Senthil Kumar

    I assume that you are referring to a brand new field on the second step that was not on the form of the first step. If this is the case, then you should put the field in a hidden block of the first steps form. Default values and Auto-population from shells/single record BPs only occur of the create step, even if they are not used on that step. As long as you put them on the create step (even in a hidden block) they should initialize.

  • Does GTC generate default value for Password attribute.??

    I am using GTC as trusted source reconciliation.
    My doubt is if I don’t map the password attribute does it generate default value to the password attribute in user form??
    I have a random password generator in pre-insert, first i tried as below which didn't work later after updating it worked fine.
    IF (password=null)
    Generaterandampassword
    SetPassword= Generaterandampassword
    If i use adapter as above it not generating random password. i see that password as 'temp' to all the users.
    I am thinking gtc generates a value to password filed even if we don't pass any value... am i right?? Please let me know..
    Thanks..
    Edited by: IDMuser19 on Aug 17, 2010 10:30 AM

    Hey,
    See if this helps.......
    http://www.oracle.com/technology/obe/fusion_middleware/im1014/oim/obe12_using_gtc_for_reconciliation/using_the_gtc.htm
    Regards,
    Sunny Ajmera

  • Assigning default values to root and subnode attributes

    Hello,
    I created a BO with a root node. In order to assign some default values after a root instance is created, I've implemented a determination. Everything is working as expected. When the instance is created (and only then) the init method is processed and the default values get assigned.
    As a next step, I added a subnode. I need to assign some default values to a new instance as well. So, I've created a determination for this subnode, in the same way as I did it for the root node.
    Now, when a new instance is created, the init method of the root is processed, but not the init method of the subnode. Only when I change a value of a subnode attribute and do a save, the init method of the subnode is processed and the init method of the root node as well (overwriting any changes with the default values, which is wrong).
    How can I achieve that after instance creation (and only at this point), the init method of the root and then the init method of the subnode are processed?
    Thanks for any advice.
    regards,
    Ulli

    Hi Ulli,
    It should work if you have configured as rightly mentioned by Tilmann.
    but If you want to debug the framework to understand the behaviour, you have to go to class - /BOBF/CL_FRW.
    Put a break-point in any of these method - CHECK_AND_DETERMINE / DO_DETERMINATIONS
    / DO_DETERMINATIONS_RETRIEVE
    / DO_DETVAL
    Thanks,
    Bharath.

  • Approach to customize workflow - setting default values of attributes

    Hello Friends,
    I have a requirement to customize the standard workflow - PO Requisition Approval & PO Create Documents. I want to change the default value of certain attributes in both the workflow.
    Generally workflows are customized through process customization (create a new process by copying the main process (which gets called) and customize it under the same 'Item type' ) but if we just need to change the default value of attributes , do we create a new 'Item type' and set the attribute values or any other approach? If we make the change in the seeded workflow , whichever OU use that workflow will see the changes in functionality.
    The requirement is very common and even Oracle has mentioned that buisness should set these attributes to suit their business needs.One such attribute is 'Is Automatic Creation Allowed' (Should PO be created from iProc requisition without user intervention)
    What is the recommended/best way forward.
    Please suggest , thanks !!
    Regards,
    Amit

    You can simply update the wf_item_attributes table.
    Set text_default to Y WHERE name = 'CONT_WF_FOR_AC_REL_GEN'           
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

Maybe you are looking for

  • Create Transfer Order for Consingment Pick up

    Hey, is there anyone know how to create transfer order for consignment pick up. I had tried it using LT06 by using GR material document but it didnt work. Please i need the answer rather sooner than later. Thanks

  • Fullscreen doesn't work with Silverlight for Netflix movies

    Recently, when I restarted watching Netflix, I can't go to Fullscreen. I called Netflix and they had me reinstall Silverlight, which I did, but to no avail. Any ideas here?

  • Importing Widget - Menubar 2.0 - Help!

    I went to widget browser, and to adobe exchange where I formatted Spry Horizontal MenuBar 2.0 exactly how I wanted it...saved it to my presets. (It showed up on the adobe exchange horizontally like I wanted it. Then I opened a page in dreamweaver CS5

  • Can I create iWeb hyperlinks from individual slides in slideshow?

    I have made a slideshow in iPhoto and dragged it onto my iWeb homepage.   I now want to make links between each individual slide and one of my pages.  Is this possible.  When I click the link icon in the inspector the slides on the slideshow will not

  • How to prefix member names in Planning with EPMA load?

    Hi I use Planning 11.1.2.1 and load the metadata with EPMA. I would like to add a prefix for all my members (P_TEST instead of the TEST I have in my source file). I don't find how to do that :-( thanks in advance for your help Fanny