Dilemma in having default field values

Hi all,
I have lots default values in my form page like the "creation date" field, which is set to sysdate.
My dilemma is that whenever I edit an existing record/row of a form, when updating a field, the other fields with previously "null" values will be updated by default, if the default value is set.
How do I avoid this? or it is the right behavior and logic?
Thanks

Hi,
You can also try setting the default values in the Field Group structure view.
crmc_blueprint_c -> Application elemt -> Field Group -> Field Group structure.
Give the name of the fieldgroup that you wish. (if your field group was never customized, you need to click the 'Import S-Table entries button')
in this view, you will see all the fields in your field-group. You have to then select the required field and set value in it's "default value" field.
Once done, save and re-generate the field-group. You should now see the defulat values on ur PCUI screen.
Hope this helps.
Regards,
Raviraj

Similar Messages

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Several content types and default field value

    Hi!
    I have a document library with several custom content types (derived from standard Document type). One of them (CT1) has field with default value. Other content types must not contain this field. And when I upload document, this field has no default value.
    If I make CT1 first (and default) content type in a library, default value appears. Also it works when I add the field to the first content type. But in my solution CT1 must not be the first content type in a library and the field must have default value (and
    other content types must not have this field). Does anybody know how to make it?

    I understood why default value does not work. When we upload document to a library and then see a form with fields, it's not a newform, it's edit form. So when we upload a document, it gets first (default) content type of the library, only default fields
    from this content type are filled. The solution here to fill default fields from other content types is to write itemadded event receiver.

  • Setting default field values for multi-line text fields in lists?

    For the multiple lines of text field in a list, I'm using SharePoint Designer 2013 to set a default
    value for the field, but I need that default value to include rich text formatting (the default value includes a formatted table). Is this possible without having to delve into JavaScript? And if so, how?

    Yes, we can :)
    You can do it with powershell
    $web = get-spweb <yourweb>
    $list = $web.lists["<yourList>"]
    $field = $list.fields["<yourField>"]
    $field.DefaultValue = "place your html code here"
    $field.update()
    hope that helps

  • New record default field value: same as current

    Hi, OTN
    A want to set a default value of a new record field, created by ADF Form. This field is not editable and shouldn't be shown at all.
    New value should be the same as current.
    The form is exposing an updatable detail View object based on two entity objects (only one of them is updatable).
    How is it done? Please, advice.
    Thanks

    You are almost right, Sireesha.
    This field really is a foreign key. But VO is built on three entity objects and is linked with a MasterVO using another key.
    The model is (see model screenshot in the next message):
    table1 ( id_one\[pk\] ) \--* table2 ( id_one\[fk\], id_three\[fk\]) \*-- table3 ( id_three\[pk\] ) --* table4 ( id_four\[pk\], id_three\[fk\] )
    Hope the model is understandable.
    MasterVO is build on table1.
    DetailVO is build on tables 2, 3, 4. Only table4EO is updatable.
    DetailVO is linked with MasterVO through table2.id_one.
    I need to insert a row into table4, using DetailVO. So when I click Create, I want table4.id_three to be the same as table3.id_three.

  • How to set default field values in customer master data.

    hi,
    I want to set default values in customer master data (account group wise).
    but
    I don't know how to set it .
    please help me.
    (I don't want to change field status in account group rather than I want to set default values for field. )
    thank you.

    hi,
    this is to inform you that,
    in SAP there is no such a provision.
    but
    in LSMW there is an option of CONSTANT VALUES.
    check in SHD0 - also
    please check and confirm
    balajis\a

  • How to Ignore records having duplicate field value

    Hi,
    I have a fixed length flat file having multiple records.
    Ex:
    1000423421A8090
    1000802421A8091
    1000454421B8092
    1000412421C8093
    The first 2 record has A. So I have to take only one out of first two record and ignore the second one. I mean if there is any duplicate field at 11th position then I have to select only one record.
    Can you please let me know how to handle this.
    Thanks
    Mukesh

    Mukesh,
    Use the following UDF to achieve the same.
    <u><b><i>getchar</i></b></u>
    char ret = Values.charAt(10);
    return ""ret"";
    <u><b><i>Maptarget</i></b></u>
       //write your code here
    int len = Values.length;
    String char_at="";
    String pos="";
    for(int j=0;j<len;j++)
    if(j==0){
    result.addValue(Values[j]);
    else
    char_at= ""+ Values[j-1].charAt(10);
    pos=""+Values[j].charAt(10);
    if(!char_at.equals(pos))
    result.addValue(Values[j]);
    <b><i><u>Mapping Logic</u></i></b>
    1. Use sort by key function
    in the first parameter map - Source -UDF(getchar)
    in the second parameter map -Source
    2.Map the output of sortbykey to UDF(Maptarget)
    3.Finally Map the o/p of UDF to target.
    I checked it, its working as per your reqmt.
    If you have any doubts reply me I'll help you out.
    Note: In UDF(MapTarget) use Queue
    Best Regards,
    Raj.

  • Building repositories - need ECC default field values

    For building MDM repositories - Vendor, Customer and Product in SAP MDM, I need default values of SAP ECC fields like -
    Payment Term - Table T052
    Warehouse Type -
    Purchasing Group - T024
    Customer Type (Account Group) - Table T077Y
    Customer Industry Type - INDUSTYPE
    Customer Industry Code - TBRCT
    Product Category - Table MARA
    Product Type - Table MARA
    Product Grade - Table MARA
    Product Package - Table MARA
    Product Unit of Measure - Table MARA
    Can someone update the default values of these tables?

    Hi Sam,
    Field name->Table>Referance Table--->Default Value
    Payment Term--->T052->None--->None
    Warehouse Type--->MLGN->T307--->Yes
    Purchasing Group--->T024->None--->None
    Account Group--->T077Y->None--->None
    Industry Type--->INDUSTYPE->None--->None
    Industry Code--->TBRCT->TBRC--->Yes
    Material Type--->MARA->T134--->Yes
    Note : Take help of functional person who can guide you proper way regarding who's default value are populating at ECC sceen which dependent on configuration setting or ABAP programming and not on referance table so according to buisness demands you need to set default value to mdm even if there in no referance table or default value in ECC
    Thanks,
    Jignesh Patel
    Edited by: jignesh patel on Aug 4, 2010 5:25 PM

  • Head Scratcher - Default Field Values

    have an issue that is truly a head scratcher and I could use a little help.
    I created a number of fields - client name, client email, account manager etc. Most are just Unicode a couple are integer and one is a date. For two of them Client Name and Account Manager which I'm going have a lookup attached I enter a default value. Choose Client and Choose Account Manager.
    For two of the fields (client name and account manager) I created lookups with a list of clients and the other with a list of account managers.
    I then created a new group added all of the custom fields. For the two fields I want lookups on I select them in the group window and attach the lookups that I've previously created. I continue with where the group appears, attach it to a set etc and then save changes.
    So everything is perfect I can see the group within the set but for the two lookups I don't have a default value just a blank pull down window. What's the deal. Is there a syntax I'm missing for entering the default value for the field? Do I also need to enter the default value in the lookup so they match?

    actually the issue was with putting the default value in the lookup. That worked. I get what your saying though, however its really six of one half dozen of another. I created the fields first so editing the field in the lookup pulldown I didn't actually have the correct lookup values.
    By creating the field and then lookup and then linking them up in the group it worked just fine. But after I read your post I created the lookup first and then attached it while creating a field and didn't attach it while creating the group and got the same result.

  • How to default field values based on a sql query?

    I have a create form that has employee_id and supervisor_id fields. I am defaulting the employee_id based on the login info (no problem there). Now I want to default the supervisor_id also. Supervisor id is based on a sql query that takes the employee_id as a parameter for the where clause.
    How do I implement this in jDeveloper?

    I figured how to do this. I created a new EO, associated it to my base EO via association. Then put this code in the base EO's create() method:
    // Set supervisor id based on SupervisorEO
    SupervisorEOImpl supEO = getSupervisorEO();
    Number newSupId = supEO.getSupervisorId();
    setSupervisorId(newSupId);
    This seems to be the simplest.

  • Default  field values in UI screen

    Hi Experts,
    I came across a situation and it is like...
    i included the available field in the UI and i am even getting the drop down list for tht value...
    not the problem is..once i select tht value it get refresed and nothing appears there..
    also i want to make other fields  to be visible when this fields is slected...
    i have included STATUS PROFILE and the values from it get dis appeared once i select it...
    also i want to make current status as created always and
    new status as released just .
    Please let me know abt wht can be done to make is work..
    thanks,
    Saurabh.
    ney..experts wht happened..i relly need some reply here,,pls
    Edited by: Saurabh Agrawal on Jun 16, 2008 3:07 PM

    Hi Experts,
    I have solved this problem but when i am selecting this..i want to limit the entries in new status to just 1..
    suppose i am creating the campaign then present status will be Created and the new status will be a blank and Relaeased(just 2)
    suppose now the present status is released then new status must be just blank..
    is it possible to do so.. pls let me know abt this solution..its urgent..pls
    thanks,
    SA

  • Account external unique id default field value

    Hi everyone,
    I am not so experienced in writing expressions so if anyone has created an expression to use when new accounts are created in the system to autopopulate the Integration ID into the External Unique ID field then kindly share.
    I have tried
    [<ExternalSystemId>] = [<IntegrationId>]
    [<ExternalSystemId>] = IntegrationId()
    Thanks,
    Søren

    [<IntegrationId>]
    This should work.

  • Adding field values together using Advanced Field Management

    Hi All
    I have 5 currency fields on the Revenue page, that I need to add together into one field, Total Amount (currency field also). I have made Total Amount field read only, and using adv field mgt set the following default and ticked post default:
    [<Revenue>]=[<cCorporate_Income_ITAG>]+[<cDonation_Income_ITAG>]+[<cFlower_Income_ITAG>]+[<cHost_ITAG>]+[<cMerchandise_Income_ITAG>]
    It does not seem to work, is this possible at all or am I not doing something right.
    Help....

    I'm having a very similar issue. I'm trying to do the calculation as a default field value and receive the following error:
    [1] An error occurred calculating the default value for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00412) [2] Could not evaluate expression 'Expr: '=[<cMetal_Rate_ITAG>]*[<nQuoted_Weight_ITAG>]*[<nDross_Factor_ITAG>]'' for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00394) [3] Generic SSA NOTOK error message.(SBL-DAT-00472)
    I can make the update work via workflow, but this does not help during the initial creation of the record.
    Any ideas?

  • To have a field value in FileName

    Hi All,
    I am doing an IDOC to XML File scenario.
    My requirement is to create multiple files at the target with the Filename having a field Value in it.
    In the mapping i will be using RFC calls which will return multiple records and if my RFC returns 3 records, i will need to create 3 Files at the target. which will have the filename taken from a value returned from the RFC.
    I tried using Dynamic configuration, since it uses PUT method i got the same name repeated again since it cannot be used for multiple targets.
    I tried using variable substitution also, since my target is an XML i will end up in creating an extra node if mapped and i need the filename having timestamp in a desired format.
    Could anyone help me in this.
    Waiting for your reply
    Regards,
    Sherin Jose P

    Hi,
    You can use the 1:n mapping here. Now depending on the number of records returned by RFC, you can create those many nodes.  In your case, what you could do, add a field in the target structure at the root level, set the file name in this field. Then in the file adapter, use an adapter module to set the file name in the dynamic configuration, and then delete this node from the XML in the same module. This should solve the purpose.
    Thanks and Regards,
    Sarath

  • How to Change the default Search value for Field Role?

    HI,
    I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
    For the Ship-to party field (in item detail )  on webui when i do a F4 help i get the pop up with various search criteria and  for the field Role the default value is "Ship-to party".  which is visible. we need to change this default value to Prospect which is available in drop down.
    The attribute is STRUCT.ROLE  and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS  from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
    The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
    I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
    Many Thanks,
    Shaik

    We had a same requirement of defaulting Sales org and division in search criteria for a specific value.
    this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
    See the code:
    METHOD do_prepare_output.
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA:
        lr_qs TYPE REF TO cl_crm_bol_dquery_service.
    * Get current query object
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
      IF iv_first_time = abap_true.
        lr_qs->clear_selection_param_values( ).
        lr_qs->delete_empty_selection_params( ).
    *   if l_sales_orgs is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '1'
            iv_attr_name = 'SALES_ORG'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = 'O 50000514'.
    *   endif.
    *   if l_dist_chan is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '2'
            iv_attr_name = 'DISTR_CHAN'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = '01'.
    * endif.
    Hope this will help..
    THanks & Regards,
    Amit

Maybe you are looking for

  • "Document is not licensed for this device"

    I bought a law book through digital editions awhile ago and authorized it on my laptop at that time.  Since then, i have wiped the laptop and switched to a desktop computer.  When I tried authorizing the book on my desktop, it is saying the document

  • Same message type

    Hi, is it possible to use the same message types in two different BPEL processes ? If yes, could you show me an example ? thank you & bye

  • Purchase from vendor

    hi gurus,                  i need to know which are the transaction codes to know the total purchase made from a particular vendor and also from a group( account group) please suggest as it is urgent regards, rohan

  • How do I make a simple voice recording that can be attached to an email?

    I want to record a short message, mp3 or any format is fine, and attach it to an email. I've tried opening Garage Band to do it, and downloaded Audacity, but I have no idea how to use either one. I have a microphone that plugs into the audio port, an

  • Can anyone help me on building this Query. I am having difficulty.

    Provide a query that shows all items that where created by a person. A partial name for the person may be used. For example, show me all works by “Morrison”. I should see CD’s by Van Morrison and a poetry book by Jim Morrison. WHERE NAME =”MORRISON”