Editable Option in Webdynpro Abap

Hello Guys,
There is a scenerio i was working with and facing the issue.
Lemme go thru the issue .
I have a Webdynpro table in which i have 3 Fields 1st Quarter 2nd Quarter 3rd Quarter.
Depend on the present month Either 1 field will be editable.
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'FIRST QUARTER' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_FALSE ).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = 'FIRST QUARTER'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
This is the code which iam using for all the 3 fields.
The problem which iam getting is Either all the fields getting Editable or All the fields are not getting non editable.
Can any one help me to resolve this issue .
Regards
DKM

Hello ,
this is the code .
As per this code either eveything becomes editable or everything becomes not editable.
Recall: i have 3 fields in my ALV table First quarter second quarter and third quarter , on base of current month i have to make one of the 3 fields to editable and remaining other 2 fields should be not editable.
if month is  jan to april
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'first quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_FALSE ).     
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''first quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'second quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true ).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''second quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'third quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true ).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''third quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
else if month is may to sep
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'first quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true ).     
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''first quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'second quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_false).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''second quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'third quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true ).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''third quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
else if month is oct to dec
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'first quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true ).     
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''first quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'second quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_true).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''second quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
  LR_ALV_COLUMN = LO_VALUE->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'third quarter' ).
  LR_ALV_HEADER = LR_ALV_COLUMN->GET_HEADER( ).
  LR_TABLE_SETTINGS ?= LO_VALUE.
  LR_TABLE_SETTINGS->SET_READ_ONLY( ABAP_false ).
  CREATE OBJECT LR_INPUT_FIELD
    EXPORTING
      VALUE_FIELDNAME = ''third quarter'.
  LR_ALV_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).

Similar Messages

  • Select-options in Webdynpro abap

    Hi,
    I want to use select options in webdynpro abap ,I checked links available in net but want a simple step by step procedure .
    -Sandeep

    Hi,
    What do you mean by simple steps? You need to write little code to add select options in WDA. You can check this wiki for reference: Web Dynpro ABAP - Complex select-options component usages - Code Gallery - SCN Wiki
    And there are lot more documents available in SCN. search here
    Regards,
    Kiran

  • Default Values for Select-options In Webdynpro-ABAP

    Hi Freinds,
    Kindly,Help me in setting the Default values for the Select-options in Webdynpro ABAP.
    Here the Node and the Attributes are Created Dynamically, and then Displayed Select-options Component View.
    Regards,
    Xavier.P

    Xavier Reddy Penta sent me this question via email and I answered it directly yesterday. Here is the solution that I provided to him, so that it is stored with the original question:
    I believe your problem is that you are not setting the value into the range correctly.  You are setting it directly into the field symbol of the range like such:
    <FS> = L_STRING2.
    But ranges are deep objects. They have four fields: Sign, Option, High, and Low. This is from the online help:
    1.     sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
    2.     option of type c and length 2. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and special rules apply for entries on the selection screen.
    3.     low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
    4.     high of the data type defined after FOR. This column is designated for the upper interval limitation.
    So when you are moving the value into the field symbol you are setting it into the sign column.
    Here is an example of how you can access the components of the range:
    * create a range table that consists of this new data element
        lt_range_table =
          wd_this->lv_sel_handler->create_range_table(
               i_typename = l_typename ).
        IF l_fieldname = 'CARRID'.
          FIELD-SYMBOLS: <tab>         TYPE INDEX TABLE,
                             <struct>      TYPE ANY,
                             <wa>          TYPE ANY,
                             <option>      TYPE char2,
                             <sign>        TYPE char1,
                             <high>        TYPE ANY,
                             <low>         TYPE ANY,
                             <wa_values>   TYPE ANY.
          ASSIGN lt_range_table->* TO <tab>.
          APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
          ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
          ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
          ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
          ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
          <sign> = 'I'.
          <option> =  'EQ'.
          <low> = 'AA'.
        ENDIF.

  • Disable the CTRL + Copy Option in Webdynpro abap

    Hi All ,
    I Have one requirement , I have created Text View and Formatted Text View . now client asking me to avoid the coping the text by using CTRL + C , anyhow Right click copy will not work in Webdynpro abap , now they came with CTRL + C option should to avoided so that they cannot copy the text .
    Please help on this .
    Appreciate on quick answer .

    Hi Ananth,
    You can make input fields as password fields but unfortunately, we do not have this option for other ui elements... like text edit
    To make an input field as password field, need to check the property "passwordField" .
    Regards,
    Rama

  • Upload from clipboard option in webdynpro abap selection screen

    Hello Gurus,
    We have a requirement in select-options in webdynpro.i have implimented select-options successfully using
    WDR_SELECT_OPTIONS used component.now i need to impliment 'upload from clipboard' option when ever i click on advance options arrow mark. this option we can get in normal abp from selection screen.in selection screen against select-option field we have multiple options arrow mark.when ever we click this arrow mark we can able to see the upload from clipboard button at lowe level.exact same option how can we impliment in webdynpro abap selection screen.
    Could anyone please suggest solutions?
    if possible could you send me the sample code or relevent links for the same.
    Thanks in Advance for your replies.
    Regards,
    babu

    Hi,
    Which server version are you working on...Is it ECC6 or nwetweaver 7..
    I guess that option is avaialbel in Netweaver 7.0..Need to check there is an option for Clipboard in select-options..
    Regards,
    Lekha.

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • How to set a single cell editable in alv Webdynpro Abap

    I am trying to edit a single cell on lead selection. here the steps i did to achive this.
    1. I added a Attribute READ_ONLY  inside my node of type WDY_BOOLEAN.
    2. i am conditionally making this Attribute - READ_ONLY = 'X'.
    3. i am binding my node with new values.
    4. for ALV here is the code i have added.
    DATA :lo_cmp_usage TYPE REF TO if_wd_component_usage,
            lr_column    TYPE REF TO cl_salv_wd_column,
            lr_table_settings TYPE REF TO if_salv_wd_table_settings,
            lt_columns TYPE salv_wd_t_column_ref,
            ls_columns TYPE salv_wd_s_column_ref,
            lr_input_field TYPE REF TO cl_salv_wd_uie_input_field,
            lo_interfacecontroller TYPE REF TO iwci_salv_wd_table ,
            lv_value TYPE REF TO cl_salv_wd_config_table.
    *Taking reference of the Component Usage
      lo_cmp_usage =   wd_this->wd_cpuse_cu_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      lo_interfacecontroller =   wd_this->wd_cpifc_cu_alv( ).
      lv_value = lo_interfacecontroller->get_model( ).
      CALL METHOD lv_value->if_salv_wd_column_settings~get_columns
        RECEIVING
          value = lt_columns.
      LOOP AT lt_columns INTO ls_columns.
        lr_column = ls_columns-r_column.
        CASE ls_columns-id.
          WHEN 'USR_ACT_RT'.
            CREATE OBJECT lr_input_field
              EXPORTING
                value_fieldname = ls_columns-id.
            lr_column->set_cell_editor( value = lr_input_field ).
            lr_input_field->set_read_only_fieldname( value = 'READ_ONLY' ).
        ENDCASE.
      ENDLOOP.
      lr_table_settings ?= lv_value.
      lr_table_settings->set_read_only( abap_false ).
      lv_value->if_salv_wd_column_settings~delete_column( id = 'READ_ONLY' ).
    but instead of changing the particular cell where i have marked READ_ONLY = 'X' it is changing whole column 'USR_ACT_RT'  data as editable .
    If anybody can  please help ASAP

    Hi Tashi,
    Thanks for your reply,i have did the same way u are doing here for setting the READ_ONLY Attribute conditionally.
    here is my code for setting the read only attribute .
    IF NOT lo_nd_nd_cost_rate IS INITIAL.
        lo_nd_nd_cost_rate->get_static_attributes_table( IMPORTING table = lt_nd_cost_rate ).
      ENDIF.
      IF NOT lo_el_nd_cost_rate IS INITIAL.
    * get all declared attributes
        lo_el_nd_cost_rate->get_static_attributes(
          IMPORTING
            static_attributes = ls_nd_cost_rate_sel ).
      ENDIF.
      lv_datum = sy-datum.
      lv_month = lv_datum+4(2).
    ** @TODO handle non existant child
      LOOP AT lt_nd_cost_rate INTO ls_nd_cost_rate WHERE quarter = ls_nd_cost_rate_sel-quarter.
        IF ls_nd_cost_rate-quarter = 'Q1'.
          IF ( lv_month  EQ '01' OR lv_month  EQ '02' OR lv_month  EQ '03' ).
            ls_nd_cost_rate-read_only = 'X'.
          ELSE.
            ls_nd_cost_rate-read_only = ''.
    *   report message
            CALL METHOD lo_message_manager->report_warning
              EXPORTING
                message_text = lv_text.
          ENDIF.
        ELSEIF ls_nd_cost_rate-quarter = 'Q2'.
          IF ( lv_month  EQ '04' OR lv_month  EQ '05' OR lv_month  EQ '06' ).
            ls_nd_cost_rate-read_only = 'X'.
          ELSE.
            ls_nd_cost_rate-read_only = ''.
    *   report message
            CALL METHOD lo_message_manager->report_warning
              EXPORTING
                message_text = lv_text.
          ENDIF.
        ELSEIF ls_nd_cost_rate-quarter = 'Q3'.
          IF ( lv_month  EQ '07' OR lv_month  EQ '08' OR lv_month  EQ '09' ).
            ls_nd_cost_rate-read_only = 'X'.
          ELSE.
            ls_nd_cost_rate-read_only = ''.
    *   report message
            CALL METHOD lo_message_manager->report_warning
              EXPORTING
                message_text = lv_text.
          ENDIF.
        ELSEIF ls_nd_cost_rate-quarter = 'Q4'.
          IF ( lv_month  EQ '10' OR lv_month  EQ '11' OR lv_month  EQ '12' ).
            ls_nd_cost_rate-read_only = 'X'.
          ELSE.
            ls_nd_cost_rate-read_only = ''.
    *   report message
            CALL METHOD lo_message_manager->report_warning
              EXPORTING
                message_text = lv_text.
          ENDIF.
        ENDIF.
        MODIFY lt_nd_cost_rate FROM ls_nd_cost_rate INDEX sy-tabix TRANSPORTING read_only .
        CLEAR ls_nd_cost_rate.
      ENDLOOP.
      lo_nd_nd_cost_rate->bind_table( lt_nd_cost_rate ).
    please see in the below sceen shot the last two cells are editable in the User Actual Rate Column whlie the selected rows cell is not editable. Please revert if u have any input for same.

  • Dump in Webdynpro abap.  CL_GUI_FRONTEND_SERVICES

    Hi ,
    my requirement is to copy the clip board data and bring that to internal table.
    i have created the Function module for that inside that i have used CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT method.
    My function module is working fine when i executed in se37. i used the same FM in a Se38 program and its working fine there also.
    but when i used the same in webdynpro component it is giving dump.
    Can any one help me !!!
    Thanks
    dhinesh.
    The /sap/bc/webdynpro/sap/zmxx_ap_ops was not called due to an error.
    Note
    The following error text was processed in the system GRD : Exception condition "CNTL_ERROR" raised.
    The error occurred on the application server bdhn4751_GRD_11 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CLIPBOARD_IMPORT of program CL_GUI_FRONTEND_SERVICES======CP
    Function: ZMXX_OPN_MULT_SELECTION of program SAPLZMXX_OPN_FGROUP
    Method: ONACTIONONVIEW of program /1BCWDY/MC5EL1ZZ4FF51IFEMMKF==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/MC5EL1ZZ4FF51IFEMMKF==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Error Analysis :
    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the
    exception
    condition "CNTL_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.

    Hi dinesh ,
    WDA does't have clipboad Functions & you cannot use the  CL_GUI_FRONTEND_SERVICES because of the below reason
    The class CL_GUI_FRONTEND_SERVICES supports the SAP GUI for Windows, the SAP GUI for the Java Environment and the SAP GUI for HTML. WebDynpro applications are not supported.
    you can refer Thomas answer in below link .
    [upload from clipboard option in webdynpro abap selection screen|upload from clipboard option in webdynpro abap selection screen]
    alternatively you can achive using ABAP memory
    creat a button for COPY ..inside that Export the value to the memory ID
    and create a button for paste and import the value using the memory ID
    Regards
    Chinnaiya P

  • OnSelect event for a Drop down UI Element in Webdynpro ABAP Select Options

    Hi Experts
    We have built our UI based on the webdynpro ABAP Select Options. We have a requirement that, when we change the value of a drop down box in the UI, I need to hide some fields. Can anybody help me out in handling of OnSelect event of a drop down box built using webdynpro ABAP Select Options. We are on SAP Netweaver 7.0 EHP1.
    Rrgards,
    Srikanth.
    Edited by: Srikanth Kancherla on Apr 29, 2010 10:43 PM

    Hi Srikanth,
    as you seem to be already aware, the component is dynamically built.
    so you would have to enhance the code that builds the element and insert a reference to a new action (enhancement) that could handle the onSelect event.
    What is it about this that you particularly want help with?
    Cheers,
    Chris

  • WebDynpro ABAP applicaiton theme editing using NWDS

    Dear SDNs,
    Can we edit WebDynpro ABAP themes using NWDS? or do i need to install Elcipse again. If it is possible using NWDS, what are the prerequisites. Where can i get Theme editior plugin to NWDS and guide me on how to add.
    I have already a knowledge in WebDynpor java, but i never customized portal themes for WebDynpor Java also.
    Your inputs will be highly appreciated.
    Thanks in advance,
    Sireesha.B

    Hi,
    Check the below links:
    http://www.facet.at/index.php?option=com_content&view=article&id=116:web-dynpro-abap-theme&catid=39:misc&Itemid=65
    [Web Dynpro Themes in Abap Stack   |Web Dynpro Themes in Abap Stack;
    [NWDS Theme Editor - Enhancement proposals |NWDS Theme Editor - Enhancement proposals;

  • Is WebDynpro ABAP a viable option?

    Hi all
    Some generic questions, is WebDynpro ABAP a viable option? Can I suggest it to the customers? Is it a good practice to have UI and Business logic on the same server? Y are two strains of webdynpro one for ABAP and one for Java necessary?
    I have also heard ESS MSS runs on both ABAP and Java WebDynpro. Y is SAP complicating the skillset required to deal with Business Packages? Please give me links or direct answers as suitable. Thank you all.
    reg
    LNV

    Hi Volker
    All that I have written is based on help.sap.com. And here is the link (Go to WDJ in Travel manangement and look at constraints).
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/46/51f0e994b85e40e10000000a11466f/frameset.htm">ECC 7.0 WDA</a>
    And yes you are right, ECC 6.00 is enhanced using EHPs -> enhancement package. I am talking abt EHP 2.
    I am using CAF on NW 7.0 and hence the concern. And when I say composite my UI is essentially calling faceless services. That alone gives me the power to orchestrate processes quickly. The only reason I put these questions is because the same are coming out of my customers too!! And I need to give a concrete answer on the UI paradigm as well. Though I have made up my mind the future releases of ESS MSS is troubling to hear. Thank you for the patience shown in answering my questions.
    regards
    LNV
    Message was edited by:
            vln
    Message was edited by:
            vln

  • How to make cell editable alv in WebDynpro for ABAP?

    I make Column editable ALV.(See under source code)
    But I can't make Cell editable ALV.
    How to make Cell editable ALV in WebDynpro for ABAP?
    and..how to get changed data?
    DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    * { EDITABLE
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_input_field     TYPE REF TO cl_salv_wd_uie_input_field,
            lr_column          TYPE REF TO cl_salv_wd_column.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'TOTAL_COUNT'.
      lr_column->set_cell_editor( lr_input_field ).
      DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).

    the code seems to be correct....but where are you writing it?
    put the code in the wddoinit method and it should work.
    have a look at this article..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1

  • Howtomake part of text as bold or differnt color text edit-webdynpro abap

    Hi
    How to make part of text as bold or differnt color in text edit-webdynpro abap.
    If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text.
    Note:
    I tried with class char utilities and able to solve the issues like new line and carriage return....but could
    not make this bold or different color.
    Also when I use formatedtextview, I can able to solve this bold issue but I cannot solve this newline or carriage return issue...?
    Can any one help on this ?
    Thanks in advance
    regards,
    Pons

    You have to use the FormattedText UI elements for such a thing.  That is their purpose. 
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm
    Supported Tags:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/08/5696420cc2c56ae10000000a155106/frameset.htm
    What kind of problem did you have with the Formatted Text?  Line breaks?  Did you try using the br tag?

  • Editing Standard ESS Travel Abap Webdynpro Application

    Hi All,
    We used to edit ESS Java webdynpro  applications by taking a copy of the standard application
    with the help of Track created in Enterprise Portal.
    Now we have switched Travel Application from Java Webdynpro to Abap Webdynpro.
    and there is a requirement come up which requires the modification of standard WDA Application
    for Travel Request.
    Please let me know the procedure.
    Can we take the copy of that Entire package and do the necessary changes in the copied Application
    or can we proceed by editing the standard code ?
    If we are taking the copy of the Entire package does the configuration will affect on copied Application?
    Warm Regards
    Hari Sankar M

    Hi Hari Sankar,
    I have done this in my last project. You can enhance the WD Component only if you are adding functionality. Be careful to find the right component and methods. You usually do not make the change on the application itself. 
    If you want to tweak what the standard code does, that is a modification. If that, then I would advise you look into the configuration capabilities and the personalization if that meets the requirement.
    Copying the component is going to be very hard. I would definitely not get into that at all costs since the Travel WDA uses the FPM framework as well. The links between the components are very complicated to simply copy and edit the z compoenent. It does not work like that.
    Another thing: The specific challenge for the travel request is that the component you will need to change is being shared by the Expense report. It is the general data visual component. Be careful with that as you will have to differentiate in the code that you are calling it for the travel request.

  • Editing rows and columns in alv reports in webdynpro abap

    how edit row and columns in webdynpro abap ?
    can i add colors to salv repotrs for below and above range of values  how ?
    if possible send source code for it.............

    hi
    check out this link for editing the columns of ALV
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b
    check out for this thread as well for coloring ALV
    Coloring of selected table cells: Ideas wanted
    regards,
    amit

Maybe you are looking for

  • How to find internal table column names

    Hi Friends, I have declared one internal table with 45 fields. Here is my situation. I need to create dynamic table with all above 45 fields and some more fields (approx 10 fields). I got the solution for creating dynamic table. Only thing is I have

  • Firefox gives "content encoding error" for multiple sites (mostly forums), however, wget can open those sites just fine

    I am working under a corporate proxy server, so this might influence the problem. From home i can access the sites just fine. From here - it gives "content encoding error" on different kinds of forums. For example, http://www.freeallegiance.org/forum

  • Editing old site created in Dreamweaver

    I have to edit my website (created by someone else in Dreamweaver for me about five years ago). The only thing I really need to change is the "last modified on ..." date - so a very simple edit. I have all the files but can't remember how to edit the

  • App server creation , missing PSORA64 problem

    hi , so i was trying to create the application server following the documentation, i downloaded Oracle 64bit client because i had oracle database 32bit, and added the path to AddToPath ,but when i boot it i still have the error : LoadLibraryA() in ps

  • Cleaning sticky keys?

    A few months ago I spilled coffee on my macbook pro.I took it into to the Apple store and luckily no damage was done and the guy at the genius bar cleaned some of the keys for me.Everything worked fine until recently some of the keys have been a litt