Need to set default value in table EABL.

Hi Experts,
How to set default value of field ATIM form 00:00 to 23:59 ion field selection screen for table EABL in transaction SE16?

hi jazz try this way.
forget about every thing and come from beginning.
by now i think your are familiar with shd0.
firstly create a variant using shd0 for your table eabl with default value and save it and activate it.
next check whether it is working or not by opening se11 or 14 and enter table name and click display, the you can you see your default vale in your required field.
after it is done the come to second part i.e your se16.
now create another variant for this and save it and activate it.
(by this i mean to say you are creating two variants )
hope this will solve your problem.
if your purpose is not solved yet then please write to my mbox.
regards,
kool.

Similar Messages

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • Need to set default value on Account Search

    HI All,
    In BSP BP_HEADSEARCH view MainSearch I need to default the value of the attribute 'RESP_AREA' to '01'. I can see the attribute on the value node SEARCH but when get the current context of SEARCH the entity is of a type CL_CRM_BOL_DQUERY_SERVICE and I am not sure how to set the default value.
    Any help will be appreciated,
    Regards,
    Tom

    Hi Tom,
    When it comes to setting values in a search entity you can not use the normal getter/setter methods because the context node class will be inherited from CL_BSP_WD_CONTEXT_NODE_ASP. In the context node class there will be few attributes (FIELD,MAX_HITS,OPERATOR,VALUE1,VALUE2) that corresponds to the fields diosplayed in the search criteria. The fields VALUE1 and VALUE2 represents the LOW and HIGH values.
    To set default value for RESP_AREA you must redefine SET_VALUE1 method and read the ATTR_NAME. If ATTR_NAME is RESP_AREA then you can set the value.
    Method SET_VALUE1.
    * Get current criterion
      data: criterion type ref to if_bol_bo_property_access.
      if iterator is bound.
        criterion = iterator->get_current( ).
      else.
        criterion = me->parameter_collection->get_current( ).
      endif.
    * Set its low value from user input
      try.
          data: lv_value type string.
          lv_value =
             me->convert_value_from_string( iv_string = value
                                            iv_criterion = criterion ).
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = lv_value ).       "#EC NOTEXT
        cleanup.
    *     Keep buggy user input for correction
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = value ).          "#EC NOTEXT
      endtry.
    * Set the default value for RESP_AREA
    lv_attr_name =  criterion->get_property_as_string( 'ATTR_NAME' ).
    if lv_attr_name eq 'RESP_AREA'.
        criterion->set_property( iv_attr_name = 'LOW' iv_value = ---- ).
    Endif.
    Regards,
    Arun

  • Help needed in setting Default Value of Concurrent program parameter

    Hi All,
    I have 3 parameters in a concurrent program
    Org ID From
    Org ID To
    Currency Code
    In the Currency Code parameter I want to use the following query in the Default Value
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :p_org_id_from
    AND sob.set_of_books_id = ood.set_of_books_id
    Now, at runtime this gives me an error of p_org_id.
    Can anyone please advice me how can I use this parameter(p_org_id_from) in the above query.
    Any help will be really appreciated.
    Regards,
    Shruti

    Hi Helios,
    Thaks a lot for the help.
    I modified the query as follows:
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :$FLEX$.ORG_INTRANSIT
    AND sob.set_of_books_id = ood.set_of_books_id
    Here ORG_INTRANSIT is the valueset I am using in From Org ID and To Org ID.
    Now the problem which I face is that when I use ORG_INTRANSIT valueset in both From Org as well as TO Org then the Currency is not defaulted, but if I use it in either From Org or To Org then the Currency is defaulted.
    How can I resolve this. Please help.
    Regards,
    Shruti

  • How to set default value to input field

    Hi Experts,
    I need to set default value to one input field for the transaction crmd_order as a screen variant. Guide me in doing that.
    Regards,
    Harish

    Using the transaction SHD0, you can define the screen variant. While defining the sceen variant, you are allowed to define the default values.
    Using screen variant, for the main transactoin, you can also define the transaction variant and you can use this as an independent transaction.

  • How to Set default value to dropdown list in oracle ADF

    hi,
    I need to set default value in the drop down list in oracle ADF.
    If you take in HTML :
    <select>
    <option value="">Select Value </option>
    <option value="saab">Saab</option>
    <option value="mercedes">Mercedes</option>
    <option value="audi">Audi</option>
    </select>
    Like this i need to set default value in drop down llist in oracle ADF.
    Thanks and Regards,
    M. Ramu.

    Hi Ramu,
    Please be more clear on ur post whts ur Jdev version and wht type of dropdown u r using model driven or static list..?????
    Its hard to help u without proper info..
    Just have a look into this before u post a thread...
    https://forums.oracle.com/forums/ann.jspa?annID=56
    Regards,
    Suganth.G

  • Set Default value for transaction code F-36

    Hi
    I need to set default value to feild special G/L indicator in transaction code F-36 How can I do that. Please advice.
    Regards
    Kesharika

    Just in case anyone would need to know. You can change the default values for transactions by using SE93.
    Regards,

  • Setting default values for item in opportunity mgmt(crmd_bus2000111)

    Hi All,
    I need to set default values for the field Fiscal Quarter in item level using BADI CRM_CUSTOMER_I_BADI .This Field is created using EEW. The default value is like if the date is nov-2007 the value for this fiscal period is FQ4-2007 .
    Any clue would be great help..

    Why don't you try setting the default value in the List next to the Matrix - item 107
    Item 107 is a matrix (a transposed one), I have no idea what list you mean...  I am using item 107, not 112. Item 112 is used only to detect a click on the "Add Record" button, which is the last row of the matrix 112.
    I don't see the gender column in the grid and I'm also unsure of the id you have for it "12" - are you sure it's correct ( i usually use Item("columnName") )?
    Sorry for the confusion. "12" is the name of the standard column "Password" which we have renamed to store the gender.
    Anton

  • How to remove default value from table definition?

    Hi,
    running 9.2
    Following problem :
    I need to remove default value from table.
    Example
    CREATE TABLE MY_TABLE(
    NAME VARCHAR2(50) DEFAULT 'NAME',
    AGE NUMBER DEFAULT 0
    Now even when I use MODIFY like
    ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
    The default is still there:
    SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
    Is there any way?
    Thanks

    Thanks,
    found the answer. It is not possible!!!!
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
    Note:
    If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL

  • Based on input file i need to update default values to some columns of database table using bulk copy process

    Hi Team,
    Am using BULK INSERT Format file option to load data into table from .txt file here am facing an issue i.e ibased on input file i need to insert default values to some columns of table so we can not declare it on table level, Can we give default values in
    format file ? if we can give how it is ? or Any alternate possibilities to this scenario instead of BULK INSERT ?
    Thanks,
    Sudhakar

    Thanks for your response, here i don't have any rights to change table structure the table is created by different team, my work is to load data from file to table. Is there any chance to supply default values by*XML* format file instead of *.fmt* file
    please let me know the possibility.
    Again, no. If you want to supply default values that are not present in DEFAULT constraints in the table definition, you will need to write your own code. There are plentyfull of options, and I have mentioned some already.
    Here are some more:
    *  Table-valued parameters, see here for examples:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    *  Use BULK INSERT to load data to a staging table, and then apply the default values when you copy from staging to target.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to set default value of a table using sequence number

    Dear all,
    Does any body know that how to set default value of a table
    using sequence number.
    But I don't want to use trigger to do that.
    Please help!!!!
    Eldon

    Andrew is essentially correct. You can get around the trigger,
    but not the sequence, if (and this may be a very big if) you can
    guarantee that every time an insert is done into the table, from
    whatever source, the statement looks something like
    INSERT INTO tbl VALUES (sequence.nextval,other_columns_values)

  • How to set default values in initialization event for select option

    Abapers,
    I have 3 GL account like 0024831231,0024831238,0024831245.
    Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
    Thanks

    Select option is table <Structure> with fields, low, high, sign & option
    you need to append the value into the select option, with appropriate value in low or
    example:
    S_HKONT-low  = <value>
    S_HKONT-SIGN = 'I'
    S_hkont-OPTION = 'EQ'
    append s_hkont.
    Default value for select-option also can be added directly in select-option statement.
    Regards,
    Mahesh

  • Set default value for product type

    I want to set default value in product type drop  down box
    in component PRD01QR.
    view  SearchHelp.
    I tried with setter and getter , but not working
    they are using query string.

    Hi,
    You can achieve this by redefining the method GET_VH_PRODUCT_TYPE() in IMPL class of searchHelp view. Just copy paste the implementation of this method from super class and now control the internal table as per your requirement like
    comment out the line       APPEND INITIAL LINE TO lt_ddlb. (line no: 47)
    as it will add an empty line at the starting of internal of product type values which you dont want. In you case there should be some default value for product type field, so arrange the inetrnal table values according to you requirement and what ever value you want to default for product type that should be the first value in the drop down without empty line and add an empty line at the end of the internal table.
    No need to call super->GET_VH_PRODUCT_TYPE() in your implementation as you have written all the required code in your implemenation itself.
    Hope this would help you!
    Regards,
    Ajay

  • Badi for setting default values in the transaction in APO.

    BADI NAME: SMOD_APOCF005 which is used for setting default values in the transaction.
    I have implemented the BADI using the below code but that BADI is not triggering. Please can you provide any solution for resolving this.
    As per my requirement I am trying to set default values for these three fields RRP_TYPE, WHATBOM, CONVH.
    DATA: LS_MATLOC LIKE LINE OF IT_MATLOC.
    LOOP AT IT_MATLOC INTO LS_MATLOC.
    LS_MATLOC-RRP_TYPE = '4'.
    LS_MATLOC-WHATBOM = '5'.
    LS_MATLOC-CONVH = '999'.
    MODIFY TABLE IT_MATLOC FROM LS_MATLOC TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.
    DATA: LS_MATLOCX LIKE LINE OF IT_MATLOCX.
    LOOP AT IT_MATLOCX INTO LS_MATLOCX.
    LS_MATLOCX-RRP_TYPE = 'X'.
    LS_MATLOCX-WHATBOM = 'X'.
    LS_MATLOCX-CONVH = 'X'.
    MODIFY TABLE IT_MATLOCX FROM LS_MATLOCX TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • Set Default Values in Listbox with Dialog Programming

    Hi all,
    I am stuck with a problem i.e  I am working with Dialog Programming Screen
    where i have to set default values in some n numbers of Listbox which i have created on Screen.
    This default value is needed to be fetched from database table.
    I am using single table. Hence no confusion that i have to first fetch data from 1st listbox then corresponding data is fetched into second & so on ..NO NO This is not required.
    Simple one screen which will update a table in database, where  some fields on the screen needs to be default set as per tables domain default values set while table creation.
    Please help me out in this.
    Thanks & Regards,
    Sandhya.

    Please search SDN, before you post a new forum from next time... any ways just follow the below code..
    u need to use the FM 'VRM_SET_VALUES' to implement list box in module pool. Check the below code. u have to write this code in PBO..
    if c = 0.
    select land1 landx from t005t into table wi_country.
    sort wi_country by land1.
    delete adjacent duplicates from wi_country comparing all fields.
    loop at wi_country.
    wa_ctry-key = wi_country-land1.
    wa_ctry-text = wi_country-landx .
    append wa_ctry to wi_ctry.
    endloop.
    call function 'VRM_SET_VALUES'
    exporting
    id = 'ZCUST_MASTER1-COUNTRY'
    values = wi_ctry
    exceptions
    id_illegal_name = 1
    others = 2
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    c = 1.
    endif.
    Hope this helps u,
    Regards,
    Rajesh

Maybe you are looking for

  • Disappearing info in the "Get Info" panel

    When I select "get info" on a jpeg file using Mountain Lion, I am able to see all the "More Info" data, but if I come back to that same file after navigating away from it, all the data disappears? I was able to flawlessly recreate this scenerio with

  • Current value of a sequence

    Suppose my sequence X_SEQ has a cache size of 20, then will SELECT LAST_NUMBER - CACHE_SIZE "Current value of x_seq" FROM USER_SEQUENCES WHERE SEQUENCE_NAME = 'X_SEQ' ; always give me the current value of this sequences or would there be any unforese

  • Client in same WLAN cannot ping eachother

    WiFi clients in same WLAN(ssid) cannot ping eachother. AP's are in Flexconnect mode, WiFi clients are able to access network and internet etc, but not able to ping eachother. whereas, Lan devices from same network are able to ping these wifi client.

  • Deployejb command (Example with parameters)

    Can anyone please give me the correct syntax of the command "deployejb" commnand with all the required parameters to load the jar file in Oracle 8i 8.1.5 . do need anything else other than the ejb jar file and the xml descriptor. the platform is Win

  • Kde - symbol lookup error

    hello i've just installed kde but when i type kdeinit, it says: kdeinit: symbol lookup error: /opt/kde/lib/libkdeui.so.4: undefined symbol: _ZN12QProgressBarD2Ev what should i do with it?