How to change screen field value.

Hi Experts,
         I like to change the screen field MSAUS(check box) of program SAPLIQS0 in one of the exit.But if I use
(SAPLIQS0)VIQMEL-MSAUS = 'X'. its showing compile error.Please tell me how can i change this field in this exit.
Regards,
Ajish.

try something like this:
create field symbol
  FIELD-SYMBOLS: <fs>.
Assign value of variable from calling prog to field symbol
  ASSIGN ('(SAPLIQS0)VIQMEL-MSAUS' ) TO <fs>.
<fs> = 'X'.
Regards,
ravi

Similar Messages

  • How to change defauled field value in Appraisal OSA

    Hi,
    We hav implemented OSA Appraisal Model and it's working fine both in R/3 and from EP.In form template We hav set the column 'Value Input' to Required Entry.
    In the HAP Document the field values of that column are never null coz the field value is defaulted to the first entry '1'. How to change the defaulted value in the drop dwn boxes.
    Any help will be much appreciated .
    Rgds,
    Jothi.
    Message was edited by: Jothivenkatachalam.P

    Hello Jothi,
    Defaulting can be achieved with a value determination, BAdI definition HRHAP00_VAL_DET.
    Regards and Groetjes,
    Maurice

  • How to access screen field value in a module pool programming?

    Hi Experts,
       I have create a module pool program SAPMYDLG. It contains two screens 100 and 200.
       The first screen contains Employee_ID field. This field is not a dictionary field.
       In the second screen 200, I want to access the value of Employee_ID field from first screen.
       For this I created a global variable v_empid in TOP include.
       Then in the PAI of the screen 100 I have assigned the screen field value to global variable.
       v_empid = Employee_ID.
       But this gives an error saying " Field  Employee_ID not defined".
       What am I doing wrong? How can I access the screen field value?
    Thanks
    Gopal

    Hi,
    Employee_ID field also must u define in the top include when u define that 100 screen and 200 screen will access.
    regards,
    muralii

  • SCREEN field values

    Dear Sir,
            Can any body pls tell me how to pass screen field values generically in dialogue programming...the screen field values like input,output, group...
    Can we use the table 'SCREEN' in dialogue programming..?? & how???
    Regards,
    Rushikesh

    Hi Rushikesh,
    What exactly is your requirement....?
    You can use the table SCREEN for modifying the screen element attributes at runtime...
    Suppose for example , when I click on a button, I want a button to be displayed...It can be done , but only in the PBO event....
    Initially , go to the screen attributes and make it invisible...
    Now in the program, you can do like this
    1) Declare a global variable (say flag initialized to zero).
    2) In PBO event
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'FIELD1' and FLAG = 1.
    screen-invisible = 0.
    modify screen.
    endif.
    endloop.
    3) In PAI event.
    case sy-ucomm.
    when 'CLICK'.
    flag = 1.
    endcase.
    This is one example , you can have any number of situations.
    Regards,
    SP.

  • How ti disable screen fields in Module pool

    hi
    How to change screen fields to DISPLAY MODE aftr clicking on a particular pushbutton in Module pool  prg .
    regards
    chetan
    Edited by: chetan teli on Jul 29, 2008 1:04 PM

    hiiii
    use following code for disabling field
    IF p_rad2 IS INITIAL .
        LOOP AT SCREEN.
          IF screen-name CS 'p_docno'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN.
      ELSE.
        LOOP AT SCREEN .
          IF screen-name CS 'p_docno'.
            screen-active = 1.
            screen-input = 1.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN .
      ENDIF.                               " IF p_rad2 IS INITIAL .
    regards
    twinkal

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • Changing screen feild values through field symbols

    hi
    I am working on SAPMF02D user exit, it requires validation of searchterm1 feild, I have successfully completed this part with the help of field symbols, but the problem i am facing is that, after performing validation checks, searchterm1 feild would be updated, this I am not able to do, so far I have done the following:
    DATA: fld(30) VALUE '(SAPLSZA1)ADDR1_DATA-SORT1'.
    FIELD-SYMBOLS: <f1> TYPE ANY .
    * Assign screen field values to field symbol
    ASSIGN (fld) TO <f1>.
    * get the value from field symbol into our field
    IF <f1> IS ASSIGNED.
      acc1 = <f1>.
    ENDIF.
    .. *Perform validation and updation on 'acc1'
    * get the updated values back into screen feild
    <f1> = acc1.
    now this last thing is not working for me,, and the data does not get updated in screen/database....
    I have tried using ' comit work' statement , but no use,
    I require help on this issue and its quite urgent.
    Thank you all for your time.

    Thank you again for the reply,
    I am sorry , I am not able to use to that FM either,, I just cannot understand the parameters it is taking and how to provide them.
    I have already used the FM "DYNP_UPDATE_FIELDS"  and "DYNP_UPDATE_FIELDS" , as:
    <f1> = acc1.
    scrfields-fieldname = 'ADDR1_DATA-SORT1'.
    scrfields-fieldvalue = <f1>.
    APPEND scrfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
      EXPORTING
        dyname                     = 'SAPLSZA1'
        dynumb                     = '0301'
      TABLES
        dynpfields                 = scrfields[]
    * EXCEPTIONS
    *   INVALID_ABAPWORKAREA       = 1
    *   INVALID_DYNPROFIELD        = 2
    *   INVALID_DYNPRONAME         = 3
    *   INVALID_DYNPRONUMMER       = 4
    *   INVALID_REQUEST            = 5
    *   NO_FIELDDESCRIPTION        = 6
    *   UNDEFIND_ERROR             = 7
    *   OTHERS                     = 8
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    but it did not helped my cause either..
    Any help would be highly appreciated,
    thank you

  • Getting screen field values during runtime

    Hi everyone,
    In debugger for dynamically getting the screen field values we will be using  (SAPLMGMW)CALP-ENDPA this format to get the value of the field CALP-ENDPA.
    But this will give only for fields.My question is that how to get the screen field labels values in debugger.
    Take a look at following picture.

    Hi,
    Try putting a watch point on the screen field name and see where it is changing.
    If your need is before that it won't be possible to get it as it is a processed value.
    Also if it is updating on screen but still you are not getting that means the value is not transported from the Screen to the program in that case use the FM DYNP_VALUES_READ to get the values the documentation has the usage else there are lot of blogs just search it.
    Regards

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • How to change a date value from "java.util.Date" to "java.sql.Date"?

    Hi all,
    How to change a date value from "java.util.Date" to "java.sql.Date"?
    I m still confusing what's the difference between them.....
    thanks
    Regards,
    Kin

    Thanks
    but my sql statement can only accept the format (yyyy-MM-dd)
    such as "select * from xx where somedate = '2004-12-31'
    but when i show it to screen, i want to show it as dd-MM-yyyy
    I m using the following to change the jave.util.Date to str and vice versa. But it cannot shows the dd-MM-yyyy. I tried to change the format from yyyy-MM-dd to dd-MM-yyyy, it shows the wrong date in my application.
         public String date2str(java.util.Date thisdate)     {
              if (thisdate != null)     {
                   java.sql.Date thissDate = new java.sql.Date(thisdate.getTime());
                   return date2str(thissDate);
              }     else     {
                   return "";
         public String date2str(java.sql.Date thisdate)     {
              if (thisdate != null)     {
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   return sdf.format(thisdate);
              }     else     {
                   return "";
         public java.util.Date str2date(String thisdate)     {
              String dateFormat = "yyyy-MM-dd"; // = 1998-12-31
              java.util.Date returndate = null;
              if (thisdate != null)     {
                   SimpleDateFormat dateFormatter = new SimpleDateFormat(dateFormat);
                   try {
                        returndate = dateFormatter.parse(thisdate);
                   } catch (ParseException pe) {
                        System.out.println (pe.getMessage());
              return returndate;
         }

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • Processing on change of field values in internal table

    I have a internal table eg
    id            type                  keyword
    1               1                      report
    1               1                      program
    n02           4                     event
    n02           5                      loop
    n03           6                      call
    n03           6                       do
    No when even id changes from 1 to n02...i want to write " id id 1' similarily wenever id changes from n02 to n03 then id is " id is n02" and so on
    How can do some sequential processing on change of field values in internal table

    hi,
    This code will resolve your purpose.
    DATA:
      BEGIN OF t_tab OCCURS 0,
      int TYPE c,
      str TYPE char10,
      var TYPE char3,
      END OF t_tab.
    t_tab-var = '1'.
    t_tab-int = 1.
    t_tab-str = 'report'.
    APPEND t_tab.
    t_tab-var = '1'.
    t_tab-int = 1.
    t_tab-str = 'program'.
    APPEND t_tab.
    t_tab-var = 'n02'.
    t_tab-int = 4.
    t_tab-str = 'event'.
    APPEND t_tab.
    t_tab-var = 'n02'.
    t_tab-int = 5.
    t_tab-str = 'loop'.
    APPEND t_tab.
    t_tab-var = 'n03'.
    t_tab-int = 6.
    t_tab-str = 'call'.
    APPEND t_tab.
    t_tab-var = 'n03'.
    t_tab-int = 6.
    t_tab-str = 'do'.
    APPEND t_tab.
    LOOP AT t_tab.
      ON CHANGE OF t_tab-var.
        WRITE:
          / 'id' ,t_tab-var, t_tab-int.
      ENDON.
    ENDLOOP.
    Thanks and regards
    Sharath

  • Rgarding screen field values passing to program

    Dear all, i have searched in SDN and cud not find the answer, i am working on a MB_MIGO_BADI for which i have to design a screen. now i have designed the screen ,and in the  PAI method i have  written the code. but im unable to get the screen field values that i entered in the screen into this method,(in order to concatenate the screen fields)can any one tell me how to declare variables in the method as well as when we create the screen. please give me in detailed steps.
    Thanks in advance,
    Naren

    Hi,
      If you go to se18 open the BADi and go to menu path GOTO> SAMPLE CODE you can check out a sample implemenation. You can declare Instance level attributes and use those to transfer data.
    Regards,
    Himanshu

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

Maybe you are looking for

  • Performance degradation with Oracle EJB

    Wonder if someone has done any benchmark on the performance degradation as the number of connection into EJB based application increases. We are experiencing rather severe degradation in one such implementation. Will appreciate if you could share you

  • How to compare signals from two different .tdms files?

    i'm developing a lie detection system in labview.so inorder for that i need to compare the threshold physiological signals from the .tdms file with the signals i acquire continuelsy from the subject for each question asked.i use respiration monitor a

  • LG Lucid Korean language owners manual

    I purchased an LG Lucid phone. Now i am in search of an owners manual written in Korean, ideally in pdf format. Anyone know where I can download one? Thanks in advance for any leads.

  • Master data failed with  error `too many duplicate records'

    Dear all below is error message             Data records for package 1 selected in PSA -                                                          error                                                 4 in the update LOng text is giving as below Error

  • FTP site extracting old files to BI system daily

    Hi, I have an incident as - BI System is connected to an FTP server ..initially it used to extract 140 files daily to BI system..but now some changes have been during clean up activities and now around 7000 files are being extracted daily from the FT