Srm 7.0 - Hide field in web dynpro using configurations

Hello to all,
I'm trying to hide some fields on PO web dynpro. In this example on web dynpro /SAPSRM/WDC_DODC_PO_I_BD I start the component configuration /SAPSRM/WDCC_DODC_PO_I_BD, I search for the fields I want to hide and put the visibility attribute to Invisible and I mark final check box.
The fields don't dessapear from the web dynpro. Am I missing something?
Best regards,
Nacho

Thanks for your reply.
I have here two situations:
SPRO. If I add the field on Configure Field Control at Header Level/Item Level it disapears but not all fields appear on this transaction. For example, I can't do that to tolerance group (TOL_GP)
Webdynpro. Using Component Configuration of the dynpro. I guess that it is in two actions:
   - Change the value of visibility to Invisible on Web dynpro Built-In
   - Add field to context. I put for this example:
         Attributes of the Element usagesDefinition (ITEM_TOL.TOL_GP)
                 usageName ITEM_TOL.TOL_GP
                 componentName ITEM_TOL.TOL_GP
                 ConfigurationName /SAPSRM/WDCC_DODC_PO_I_BD
The webdynpro way doesn't work, Am I missing something?
Best regards,
Nacho

Similar Messages

  • Adding a field in Web dynpro java in Travel Request application

    Hi All,
    How to add a field in Web dynpro java in Travel Request application or can we copy the Web dynpro java application to Web dynpro ABAP and add a field. Experts, Can you please suggest me step by step in resolving the problem.
    Thanks & Regards,
    Kumar

    Hi Kumar,
    First, in order to customise the ESS webdynpro Java iViews you need to be aware that, you are about to change the SAP standard iviews. In order to avoid this you can make a copy of the SAP standard one's and then try to customise the copied one's.
    Now, you should have NetWeaver Development Infrastructure(NWDI) installed. Once it is installed you should also install the Netweaver Developer Studio (NWDS) on your computer.
    Once you have these two installed, you should deploy the ESS Business Package onto the NWDI by creating tracks. There is a cookbook available on SAP Service Marketplace for configuring NWDI for ESS.
    Once you have all the above mentioned tools, have a look at the following blog which clearly explains about the procedure of customising ESS iviews.
    /people/vinoth.murugaiyan/blog/2007/08/24/essmss-customization-150-make-it-simple
    Also check the following Wiki, this might be useful!
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/employee%252bself%252bservice
    I hope this helps. Let me know if you have any issues.
    Dont forgett to contribute points if this is useful! All the Best.
    Regards,
    PG

  • Clear/refresh(F5) fields in web dynpro application view

    How to clear or refresh(F5) fields in web dynpro application abap while redirecting to another view? I have tried using "context_node->invalidate()" but it's not working for all the fields, some are getting initialised and some not. Is there any other method to refresh all the fields in the view all at once. Please guide.

    Hi,
    For the Context node( to which the drop down is bound) create a supply function as shown below:
    Now populate the drop down in supply function method instead of WDDOINIT method.
    Go to methods tab and write the below code in supply function method:
    DATA lo_nd_drop TYPE REF TO if_wd_context_node.
        DATA lt_drop TYPE wd_this->elements_drop.
        DATA ls_drop TYPE wd_this->element_drop.
    *Fill Drop down
        ls_drop-val = 'ABC'.
        APPEND ls_drop to lt_drop.
        ls_drop-val = 'DEF'.
        APPEND ls_drop to lt_drop.
    * bind all the elements
       node->bind_table(
         new_items            =  lt_drop
         set_initial_elements = abap_true ).
    Now once you call invalidate( ) the drop down will automatically be initialized( since the supply function will be called again) And you don't have to write the code again to populate the drop down.
    hope it's clear now.
    Regards,
    Kiran

  • Input field in Web Dynpro ALV does not have correct focus

    Hello Friends,
    Our client's SAP system is recently upgraded with ECC 6.0 SP 18.
    After that the focus in the editable field of Web Dynpro ALV does not working properly by down arrow navigation.
    The common scenario:
    The ALV has more than one rows and one column is editable...
    when user is selecting field of first row and making some entries...
    after that pressing down arrow it is going to next row and coloring the field like focusing...
    but the 'cursor' is not blinking so user can not make entry without clicking by mouse...
    this was working Ok before upgrade...
    Could you please anyone have a look and propose a suitable solution?
    Thanks
    Krish

    Hello,
    The problem was with Javascript....which play an important role in layout of web dynpro ALV...
    which resides in MIME repository -> SAP ->PUBLIC - >BC ->NW5 ->JS ->SAPURI_Ie6....
    We wrote to SAP for giving us the fix...
    after we got a new file from SAP the problem is solved...
    also we have to clear server cache through SMICM and client cache...
    Thanks.
    K.

  • Calling a Report Program In Web Dynpro Using Submit statment

    Hi all,
             Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
    Field symbol has not yet been assigned.
    The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: CHECKBOX_OUT of program SAPLKKBL
    Form: GEN_LINE_OUT of program SAPLKKBL
    Form: DATA_OUT_SIMPLE of program SAPLKKBL
    Form: LIST_OUTPUT_NEW of program SAPLKKBL
    Form: FIRST_LIST_DISPLAY of program SAPLKKBL
    Module: LIST_DISPLAY of program SAPLKKBL
    Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
    Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
    Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
    Form: PBO of program SAPLSLVC_FULLSCREEN
    Edited by: VINMANO on Jul 22, 2009 2:54 PM

    HI,
    Its possible to call report program from Web dunpro...
    chk out dis link,
    calling report(se38) in webdynpro abap
    By the way are using field symbol anywhere and left it unassigned?
    Thanks,
    Divya.S

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • Creating a report in Web dynpro using OOPS concept

    Hi all,
             Iam new to web Dynpro, i need to create a report in Web Dynpro  using oops concept. can any one guide me regarding it.
    Regads,
    Easter

    Hi,
    Please refer to these links -
    DEMO_COMMON_ASSISTANCE1 -Example for standard component
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    Regards,
    Lekha.

  • I want to write ABAP Program in web dynpro Using se80 tra.code

    hi
    I want to write ABAP Program in web dynpro Using se80 tra.code and to Create URL for the same.
    Please let me know the steps to do.
    Thanks

    Hi Shiva,
    I understood ,  you want to create a Webdynpro Applicaiton and run it.
    this will help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
    Regards
    Abhimanyu

  • Custom seach help for standard field in Web dynpro application

    Hi All,
    I have a requirement in SRM portal where in I have a to add a custom search help to the 'WBS_ELEMENT' field in the the 'ACCOUNT ASSIGNMENT' tab of the Shopping cart creation screen with some input parameters on the search help.
    As the SRM Shopping cartcreation screen is a standard web dynpro application.
    Can anyone help me in this regard for addition of search help for a field with some custom fields in the Search help screen.
    Any inputs will be very helpful.
    Thanks in advance.
    Regards,
    Ahmed.

    Hi Ahmed,
    If it is an standard application then you will have to do ENHANCEMENT in the component. And for using customised value help you will have to declare attribute in CONTEXT and dynamically change the binding of the Value property of UI element inside post-method of WDDOMODIFY. You can create your own customised value help for newly added attribute.
    Thanks,
    Vishesh

  • Sum hidden fields in web dynpro ALV reports

    Hi everyone
    Could anyone tell if it is possible to sum a field that is hidden in an ALV Report in Web Dynpro?
    I need to hide a row so as not to be seen by the user (like the filter option) but with the need that the value that is stated in that hidden row must still impact in the Column Total.
    Thanks!
    Fede

    Hi everyone
    Could anyone tell if it is possible to sum a field that is hidden in an ALV Report in Web Dynpro?
    I need to hide a row so as not to be seen by the user (like the filter option) but with the need that the value that is stated in that hidden row must still impact in the Column Total.
    Thanks!
    Fede

  • Open PO in SRM 7.0 through program or web dynpro . Is it possible ?

    Hello All ,
    I have a PO number with me in SRM 7.0 . I have to open it as it opens in Portal .
    Can we do it through a program , or via custom web dynpro application using the link to action UI element or in any other way ?
    Regards,
    Ambar Patil.

    Any answers please ?

  • Validating Input field in Web Dynpro

    Hi All,
    Could you please tell me how do I use set_attribute and get_attribute methods to get the user input from the dynpro screen?
    The user enters some data in the input field. I need to get this data and validate it.
    Please tell me how to get the user input.
    Thanks & Regards,
    Srilakshmi B

    hi,
    you can go through it,might be your problem solve.
    Example for Using Messages
    The following example shows how you can use messages created in the Message Editor. In the example, both messages with static text and messages that are dependent on user inputs – that is, messages with dynamic text – are defined.
    Description of Example
    Users can create a domain in this sample application. They can then enter a number in the next input field and press Click here to validate. If the specified number lies in the previously specified range, the user is informed of this fact in a standard message. If the number does not lie within this domain, the user sees a warning message.
    Prerequisites
    You have created a Web Dynpro application and defined view “MainView” within a Web Dynpro component.
    Procedure
    Creating the View
    Define the view as illustrated below:
    Context Creation:
    The context that provides the data is created as follows:
           1.      Create a context node, UIElem
           2.      Set the propertycardinality to 1..1 for the context node.
           3.      Create the context attributes a, b, and TypeField.
           4.      Set the Type of the context attributes to Integer.
    Data Binding
    To make the messages dynamic with regard to specification of the domain, the user inputs have to be saved. To do this, the input fields have to be bound to the context.
    sss
    Object
    Object ID
    Data Binding to Attribute
    Path Within the Context Structure
    a
    Input Field
    A
      MainView.UIElem.a
    b
    Input Field
    B
      MainView.UIElem.b
    Children_2
    Input Field
    TypeField
      MainView.UIElem.TypField
    In addition, bind the Children_3 pushbutton to action ValidateAction, which you also have to create.
    Creating Messages in the Message Pool
    The Web Dynpro tools provide a special message editor for defining messages of different types. 
    A message is defined by a specified key, message type, and message text. The message types  error,  warning, and  standard are predefined.
    Create the following messages:
    Messages Defined in the Message Editor
    Message Key
    Message Type
    Message text
    key1
    warning
    Please enter a number between the range of and !
      and are placeholders for the user input (the domain), which changes dynamically.
    key2
    standard
    The value entered is within the valid range.
    Implementation
    Because the messages are only displayed when the user Chooses Click here to validate, the messages must be implemented in the method onActionValidateAction:
    Implementierung der Methode onActionValidateAction()
    //@@begin imports
    import com.sap.tc.webdynpro.progmodel.controller.MessageManager;
    import com.sap.test.errorhandlingtest1.wdp.IMessageErrorhandlingTest1;
    import com.sap.test.errorhandlingtest1.wdp.IPrivateMainView;
    //@@end
    public void onActionValidateAction(
                           com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
        //@@begin
       int i = wdContext.currentUIElemElement().getTypField();
       int a = wdContext.currentUIElemElement().getA();
       int b = wdContext.currentUIElemElement().getB();
       MessageManager msgMgr =
             (MessageManager)wdThis.wdGetAPI().getComponent().getMessageManager();
       if (a < i && i < b)
             msgMgr.reportMessage(IMessageErrorhandlingTest1.KEY2, null, true);
       else
             Object[] arg ={new Integer(a), new Integer(b)};
             msgMgr.reportMessage(IMessageErrorhandlingTest1.KEY1, arg, true);
        //@@end
    The following tasks have been implemented in this method:
           1.      Read user inputs:
    int I = wdContext.currentUIElemElement().getTypField();
    int a = wdContext.currentUIElemElement().getA();
    int b = wdContext.currentUIElemElement().getB();
    1.       Read messages from the Message Manager:
    MessageManager msgMgr =
                 (MessageManager) wdThis.wdGetAPI().getComponent().getMessageManager();
    2.       Does the input lie within the defined domain?
    if (a < i && I < b)
    3.       Call the  standard message when the input lies within the domain:
    MsgMgr.reportMessage(IMessageErrorhandlingTest1.KEY2, null);
    Method reportMessage can be used to read the messages from the Message Manager. In this way you define the key and the objects that you want to change dynamically in the messages. Because no dynamic text was defined in your standard messages, you define null as a parameter.
    4.       Call the  warning messages when the input does not lie within the domain:
    Object[] arg ={new Integer(a), new Integer(b)};
    MsgMgr.reportMessage(IMessageErrorhandlingTest1.KEY1, arg);
    Because the warning messages ( Please enter a number between the range of  and !) contain text that depends on the user input, you also have to define the parameters for the domain in an object array. In the messages, the first object is then called from the array with (and the second with , and so on).
    Result
    After you have built and deployed your application, you can call it by choosing Run.
    If the user enters a number that lies within the defined domain, a standard message is displayed:
    If the user enters a number that does not lie within the defined domain, a warning message is displayed:

  • How to mapped Gray out field in web dynpro for ABAP.

    Hi,
    While preparing a WD Application i m using a RFC,which has one input parameter as MODE.
    IF MODE = 'DIS' (DIS stands for Display) then all fields of layout in web dynpro should be gray out.
    and
    IF MODE = 'MOD' (MOD stands for Modification) then all fields of layout in web dynpro should be opened of entering the data.
    Can anyone help me to solved this scenario.
    Regards,
    <b>Seema</b>

    Hi Seema
    I had the same issue a while ago.  I ended up with an assistance class with  set/get read only methods.  I then used the following type code to set the read only property in the WDDOMODIFYVIEW:
    DATA: lr_start_date TYPE REF TO cl_wd_input_field,
            lr_end_date TYPE REF TO cl_wd_input_field,
            lr_pernr TYPE REF TO cl_wd_input_field,
            lv_read_only TYPE abap_bool.
    lr_start_date ?= view->get_element( 'INP_START_DATE' ).
      lr_end_date ?= view->get_element( 'INP_END_DATE' ).
      lr_pernr ?= view->get_element( 'INP_PERSON' ).
    lv_read_only = wd_assist->get_read_only( ).
      IF lv_read_only = abap_true.
        lr_end_date->set_read_only( abap_true ).
        lr_start_date->set_read_only( abap_true ).
        lr_pernr->set_read_only( abap_true ).
      ELSE.
        lr_end_date->set_read_only( abap_false ).
        lr_start_date->set_read_only( abap_false ).
        lr_pernr->set_read_only( abap_false ).
      ENDIF.
    All my business logic is within my assistance class so it makes it easier to maintain. 
    Regards
    Ian

  • Adding text field to Web Dynpro

    Hi Experts,
    I need to add new text field on Standard SAP Dynpro for standard field . In standard it has two value : "01" or "02". And I nedd to add near "Material" or "Service" depending on value of  standard field. I checked standard field in F4.
    It's info about field:
    General Information About the Application and Component
    Application: /SAPSRM/WDA_L_FPM_OIF
    Web Dynpro Component: /SAPSRM/WDC_DODC_SC_I_BD
    Window Information: IV_L_FPC_CA_DETAILS
    View Information: V_DODC_SC_I_BD
    Configuration ID: /SAPSRM/WDCC_FPM_DODC_SC_I_BD_PR
    Information on Field
    Field ID: ZZI_PRODUCT_TYPE_ATTR
    Type of UI Element: INPUT_FIELD
    UI Element Library: STANDARD
    But when I go to Component /SAPSRM/WDC_DODC_SC_I_BD I can't found this field. I think this field as dynamic field created.
    Also question: How I can call this field (for example in method modifyview) and add new field on the right side?
    Thanks in Advance.
    Evgeniy

    Hi Evgeny 
    I dint understand your question , I am able to see componet /SAPSRM/WDC_DODC_SC_I_BD and view V_DODC_SC_I_BD .
    you can create enhancement for this view and can add your field here.

  • How to create Variants in Web Dynpro using ABAP

    Can anyone please tell how to create and save variants in a Web DynPro application using ABAP.
    Also state the steps involved in saving and loading the variants.

    hi,
    For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
    One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
    Regards,
    Jithin

Maybe you are looking for