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

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?

  • Transfer field value from one screen to another screen

    hi gurus,
    I am using field exit in mm02, i want to transfer field value from one screen to another screen. I am using Export, Import, Some FM like DYNP.......
    but not getting the value.
    can any one give idea about this.
    Thanks in Advance,
    Sudheer.

    I THINK IN FIELD EXITS SOME RESTRICTION IS THERE YOU CAN NOT USE CALL TRANSACTION OR CALL SCREEN. I DONT KNOW WHAT IS YOUR ACTUAL REQUIREMENT. BUT YOU ARE TRYING TO CALL TRANSACTION USING MEMORY ID OR SOMETHING THEN I THINK IN FIELD EXIT YOU CAN NOT DO THAT. PLS CORRECT ME IF I AM WRONG
    REGARDS
    SHIBA DUTTA

  • How to default the values in BP screen with BDT?

    Hi all,
             I am working in BDT enhancement for BP for Grants mangement. Therefore there are some screen fields in BP transaction should directly get saved in GMSPONSOR table.  I mean to say user would give some values in BP screen(One can get it at the runtime by calling the FM BUP_BUPA_BUT000_GET) and the relevant values will autometically goes to GMSPONSOR table if the BP is saved.
    As per my knowlwdge there are many events under BUPT transaction and there also I found the entry of GMSPONSOR table. Can anyone tell me in which event I have to default these screen values and redirect these to GMSPONSOR table?
    Thnaks & Regards
    Dibyendu.

    Dear Smita,
                    Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
    So could you help me to identify the event by which one can keep default values in screen.
    May be ISDAT or ISSTA event  to default the valuesfor BP.
    I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
    Waiting for your update.

  • 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.

  • Exporting and importing a field value from one screen to another in BSP

    Hi All,
    I am working on a BSP application which consists of multiple screens. I have to export the value corresponding to a value selected from a drop down and import it in another screen so that in the next screen values can be populated corrsponding to the value selected in the drop down in the first screen.
    I tried using SET/GET parameter and also EXPORT/IMPORT so that I can get value from one screen into another screen but both the statements are not working in BSP....
    Please help...
    Vivek Gupta
    Edited by: guptav_infy on Feb 21, 2010 11:33 AM

    Hi All,
    This question is still un answered. please reply ..
    Vivek

  • How to default date values in Selection Screen

    Hi everyone,
    I would like to display the 1st day of the previous month into the I_GSTRP-LOW field and the last day of the current month into the I_GSTRP-HIGH field.
    For example, this in the 5th month of the year (May), therefore, in the selection screen it should appear like this:
    Basic Date: <u>01.04.2006</u>    to   <u>31.05.2006</u>
    How do i do it?
    *& SELECTION-SCREEN                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
      I_AUFNR FOR AFIH-AUFNR,                           "ORDER NUMBER
      I_GSTRP FOR AFKO-GSTRP,                           "BASIC DATE
      I_BUDAT FOR AUFM-BUDAT,                           "POSTING DATE
      I_IWERK FOR AFIH-IWERK DEFAULT '6010' OBLIGATORY, "PLANNING PLANT
      I_ARBPL FOR CRHD-ARBPL,                           "WORK CENTER
      I_ERNAM FOR AUFK-ERNAM,                           "CREATED BY
      I_MATNR FOR RESB-MATNR,                           "MATERIAL
      I_KTEXT FOR AUFK-KTEXT.                           "EQUIPMENT
    SELECTION-SCREEN END OF BLOCK 1.

    Here is the code to populate default values,as per your requirement.
    data : V_date type sy-datum,
           v_month(2) type c,
           v_low_value(8) type c,
           v_high_value(8) type c,
           v_month1(2) type n,
            V_NO_OF_DAYS type T009B-BUTAG,
           v_curr_month type T009B-BUMON,
           v_curr_year  type T009B-BDATJ.
           select-options : i_gstrp for sy-datum.
    initialization.      
    v_date = sy-datum.
    v_month1 = v_date+4(2) - 1.
    write v_month1 to v_month.
    concatenate v_date+0(4)
    v_month
    '01'
    into v_low_value.
    I_GSTRP-LOW = v_low_value.
    v_curr_month = sy-datum+4(2).
    v_curr_year  = sy-datum+0(4).
    CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
      EXPORTING
        par_month       = v_curr_month
        par_year        = v_curr_year
    IMPORTING
       PAR_DAYS        = V_NO_OF_DAYS
    concatenate sy-datum+0(6)
    V_NO_OF_DAYS
    into v_high_value.
    I_GSTRP-HIGH = v_high_value.
    I_GSTRP-sign = 'I'.
    I_GSTRP-OPTION = 'EQ'.
    APPEND I_GSTRP.
    regards
    srikanth

  • 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

  • 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

  • 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.

  • 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.

Maybe you are looking for

  • Drill down on alv

    Hi, I am trying to show 'me22n' ( PO details) by drilling down on ebeln in my  alv report. but for some reason this is NOT happening. can somebody pls help. the alv is been shown properly the it does not drill down on po number "ebeln". Please find t

  • Time Machine Deleting Old Backups!!

    Good morning, I recently installed a new hard drive and a clean OS X 10.6.3 in my MacBook Pro (2008). I plugged in my Time Machine back-up drive, and TM started getting rid of my old back-ups! Can anyone advise me on what is happening and how to prev

  • Mail always "auto" opens

    After (re-) starting my MacAir Mail always opens automatically. I don't want this. What to do? Thanks

  • Core File Support

    Hello, I'm not sure if this is the correct forum for my question but this looks like the best one. We have an large application written in 'c' that runs on SunOS 5.8 Generic February 2000 (a.k.a. Solaris 8). We have an internal debugger which our dev

  • BW templates ?

    Hi, I would like to know if there are any SAP documentation or source that defines the following: 1) Non SAP policies/examples Are there any rule of thumb in terms of policies of Non SAP systems connecting to BW ? Or any examples from other companies