Modifiy a standard ABAP Webdynpro program

Hi
I'm beginig with ABAP Webdynpro  (i already read tutorials and make some easy program for display Z table) , but i need to modify some SAP standard abap webdynpro program, wich contains a tabstrip with 2 tabs ; i need to add a third tab.
I need investigate about how to do this and how debug it , when i execute the program send me to the web page with program executing but i really do not know how can i debug it.
Does sombebody can help me about where can i read how to modify a standard abap webdynpro program ?   and how can i debug a webdynpro program ?
Any help will be appreciated.
Thanks a lot
Frank
Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
Edited by: Thomas Zloch on Mar 24, 2011 9:14 AM

Hi
Does somebody knows where can i investigate about how to modify a standar abap webdynpro program ?
I know about to enhancement a standar abap program (exits, Badis, screen exits, enhancements points, etc.) but i really do not know if a standar abap webdynpro program can be enhanced and how to do this.
My requirement is modify a standard webdynpro program wich shows a tabstrip with 2 tabs, i need to add one more tab to program.
Any help will be aprecciated.
Thanks
Frank

Similar Messages

  • Adding TabPage to (FPM) Standard ABAP Webdynpro Application

    Hi
    i'm beginning with ABAP webdynpro so i have been investigating tutorials and documentation about this and i created some sample programs for show Z tables or things like that.
    But my requirement is modificate the Standard Application 'Course Registration' of Student Lifecycle Management module ; this application has 3 Standard TapPages , one of these TabPages shows the courses to be booked and i need to add another new TabPage in order to show the courses to be booked divided for some criteria in the original TabPage and the new TabPage , the new TabPage must have the same functionality of original Tabpage.  Something like enhance Standard program with Screen Exit and Badis in ABAP. 
    I was investigated and now i know we can enhance Standard WD Component like deleting UI elements, enhance methods or add view/windows ;  but the 'Course Registration' is a FPM application so i found a tutorial cookbook configuration for this application and it explains we can add  TabPages (MainViews) or SubTabPages (Subviews) like i need ; but the tutorial only mentions the 3 original standard TabPages because all is related with already existing configurations for each component ;   In FPM framework configuration for the component if i press the 'Add View' button it adds a TabPage like i want, but i really do not know if it works for add a new 'Z' TabPage.  
    Can somebody please help me about how can i add a TabPage to Standard Webdynpro Application for application wich uses FPM framework ?  Where can i investigate about this ? 
    Excuse me for long thread , any help will be appreciated.
    Best Regards
    Frank

    Thanks Madhu
    Please let me give detail ; I just go to desired Application  PIQ_MBSS_OIF , Configuration PIQAC_MBSS_OIF ;  the configuration shows its two component configurations for Header IDR  (FPM_IDR_COMPONENT)  and floor plan specific (FPM_OIF_COMPONENT).
    In WD Component FMP_OIF_COMPONENT  with standard configuration  PIQCC_MBSS_OIF i see the tree Satndard TabPages created , one of these Tabpage is wich i need to divide in two Tabpages ;  in this Standard TabPage i see its required UIBBs with each standard UIBB configuration (ie.  FPM_LIST_UIBB with configuration PIQCC_MBSS_BCART_LIST  for the table list).
    Here is where i really do not know if my requirement can be made by just using FPM framework configurations :  can i copy Standard Configuration for  FMP_OIF_COMPONENT  , add the new Tabpage , save it with new 'Z' configuration , and it will work ok in the Standard Application ?       For add the Tabpage i should then add configurations for the UIBBs wich compose the TabPage (FPM_LIST_UIBB , FPM_TABBED_UIBB and  PIQUIBB_POPUP_AGENT ) ,  is this right ?
    I hope the explanation is clear ; any orientation will be helpfull.
    Best  Regards
    Frank

  • How to edit text of UI elements in sap standard ABAP webdynpro component

    Hi All,
    I have a requirement wherein I want to change the standard text of mainly LABEL UI in travel and expenses ABAP webdynpro components. As per my knowledge we canu2019t change UI text directly by changing it in layout in enhancement. We have to do it via wdmodify view method and post and pre exits methods.
    Can you please help me with the steps that I have to follow and code?
    Regards,
    Madhvika

    Hi ,
    Please go through this document.
    [Doc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true]
    Create a Pre Exit method for WDDOMODIFY method of the view , and in that method code somthing like this.
    lo_button TYPE REF TO cl_wd_button.
    lo_button ?= view->get_element( 'ID of button' ).
    lo_button->set_text('New Text').
    Thanks,
    Aditya.

  • Best way to modify SAP standard ABAP Webdynpro in SRM 7?

    Hi there,
    I am used to making ITS changes on SRM 5 and am now working with SRM 7.
    I now need to add some custom fields to the PO screen/s within SRM 7 (incorporating some customizing include fields) and would like to know if there is a "recommended way" of doing this? Meaning with ITS it was easy....I went to the HTML template, made the change and that was it.
    I assume I would have to find the ABAP webdynpro for PO in SE80, and then would I just get an ACCESS KEY for the object and make the changes? Or is thier some enhancement framework that I do not know about?
    Any help would be greatly appreciated..
    Thanks
    Lynton

    Hi Guru,
    I have added custom fields as you said. it is working fine.
    Now the user wants to display description for the custom added fields.can you let me know how we can proceed for this.
    Also let me know for the standard fields if want to display description can be achieved through customization or need to do abap development..

  • Smartform & ABAP Webdynpro & Internal table

    Hi Expert,
    I am able to open the smartfrom by using ABAP Webdynpro.
    But when I try to add the table under "Global Settings -> From Interface -> Table"
    Paramemter Name       Type Assignment    Associated Type
    I_ZSG_PAY_DATA     Like                          ZSG_PAY_DATA
    It works fine when I test it in t-code SMARTFORMS. But when I use the same ABAP Webdynpro program to open this smartform, the error appear.
    "Calling Parameter incorrect"
    Could you please let me know how to fix it?
    Thanks a lot,
    WF

    Hi William,
    If you have a working smartform then you should be able to display it in WD by passign its XSTRING to the PDFSOURCE of it.
    Just check that where you have written the code to get the XSTRING of smartform in WD. You might have modified the smartform interface and forgot to call the revised FM generated after the smartform was changed in WD.
    Just re-write the entire code to generate XSTRING for smartform and see if it works or not.
    You can also try to put a break point in the code and see where exactly it is failing i.e. whether it is to do with calling smartform or converting it or WD related.
    Thanks,
    Abhishek

  • Error Handling in tables using ABap Webdynpro

    Hi All,
    I am new to this ABAP webdynpro programming. I have a small question. I am using a table control in one of my iview. I need to check some validations on some columns of this table. Let's say I have a table with 3 columns A,B and C. 
    Case 1 : Whenever any user enters values in C which is greater than A i want to raise an error message saying "The Value is greater than A". The user shouldn't be allowed to enter anyother inputs before correcting the same.
    OR
    Case 2: If the user enters 10 rows in the table and the 5th row contains the error. How can i highlight that row or field which contains the error.
    Your inputs will be valuable to me.
    Regards,
    Pravesh.

    Hi,
    Get the elements of the node for which you table is bound.
    Loop through the context element set.
    get the record for that context attribute and check the column A and column B value and throw
    the error using the report_error_element_message when there is error.
    Check this sample code -
      DATA:
        lt_attr_list type STRING_TABLE,
        ls_attr_list type string.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
    DATA: lit_elementset type WDR_CONTEXT_ELEMENT_SET,
    lis_element type ref to IF_WD_CONTEXT_ELEMENT,
    ls_data type <<strucure type>>.
        CALL METHOD <<nodename>>->GET_ELEMENTS
          RECEIVING
            SET = lit_elementset.
        LOOP AT  lit_elementsetINTO  lis_element.
    lis_element->get_static_atributes->
    importing = ls_data.
    if ls_data-columnC GT ls-data-columnA.
    lr_msg_manager->report_element_error_message->
    message_text = 'Column C canot be gretaer than column A'
    element = lis_element
    attributes = lt_attr_list <<Populate the attributes table for which errors are to be shown>>
    endif.
    clear: ls_data, lis_element.
    ENDLOOP.
    Regards,
    Lekha.

  • Travel management in ABAP-webdynpro(ECC-6.0)

    Hi All,
    I have a requirement in which the screens of travel management has to be designed in ABAP-webdynpro.
    I know that screens are available in ESS-6.0 netweaver component but I want ABAP-webdynpro screens in ECC-6.0.
    I was just curious to know if any standard ABAP webdynpro screens are available in ECC-6.0 for travel management.
    Please revert back ASAP. Points will be awarded as per forum rule.
    Regrads,
    Guru

    Hi All / Raynard,
    Your answer was very useful.
    We are trying to install SAP ECC 6.0 enhancement package 2 but we have some problem in the same as we are not able to find the same in sap marketplace. Can you please post me the direct link to download or any info regarding the Enhancement Package-2.
    We have also version prior to ECC 6.0 . So can you please tell me how to look into the Java-webdynpro components those which are related to travel management.
    Your ealiest answer will be much appriciable. I will be rewarding points according to forum rules.
    Regards,
    Guru

  • ASR_PROCESS_EXECUTE - ABAP Webdynpro application keeps looping

    Hi,
    We are implementing HCM Processes and Forms framework and trying to use the standard ABAP
    Webdynpro application ASR_PROCESS_EXECUTE to be able to Start HR Personnel related processes.
    Start Processes iview available with the HR Administrator package on the portal when clicked seems to be getting stuck in a loop.
    When I try to test the application from SE80 on the backend, it seems to be going in some sort of loop and flashing message appears repeatedly 'Logon is being prepared.....logon is starting'.  Looks like it keeps attempting to switch between http and https. The URL that appears in SE80 for the application is
    http://servernmame.domainname.com/sap/bc/webdynpro/sap/asr_process_execute.
    Instead of http...if I replace this URL with https://servernmame.domainname.com:443/sap/bc/webdynpro/sap/asr_process_execute it works fine
    When I go to SICF and execute this Web dunpro application, it uses https in the URL and that works fine too.
    We are on EhP3. How can i fix this issue? I want to be able to use standard iviews that will call this Webdynpro application using appropriate protocols.
    Any ideas will be much appreciated
    Thanks,
    Saurabh
    PS: this also sound like a portal issue, so posting in Portal forum too.

    Its not the cache, i just wanted to let people know with similar problems.
    It may be a problem with the parameters,
    in RZ10, search for icm* parameters and search in SAP Help about each parameter and what should be their value. You will find that parameters are taking HTTPS
    Also, one more thing, STRUSTSSO2, check if certificate is added in ACL and in production client as well..
    This will solve all this kind of problems.

  • ASR_PROCESS_EXECUTE - ABAP Webdynpro application - http/https

    Hi,
    We are implementing HCM Processes and Forms framework and trying to use the standard ABAP
    Webdynpro application ASR_PROCESS_EXECUTE to be able to Start HR Personnel related processes.
    Start Processes iview available with the HR Administrator package on the portal when clicked seems to be getting stuck in a loop.
    When I try to test the application from SE80 on the backend, it seems to be going in some sort of loop and flashing message appears repeatedly 'Logon is being prepared.....logon is starting'. Looks like it keeps attempting to switch between http and https. The URL that appears in SE80 for the application is
    http://servernmame.domainname.com/sap/bc/webdynpro/sap/asr_process_execute.
    Instead of http...if I replace this URL with https://servernmame.domainname.com:443/sap/bc/webdynpro/sap/asr_process_execute it works fine
    When I go to SICF and execute this Web dunpro application, it uses https in the URL and that works fine too.
    We are on EhP3. How can i fix this issue? I want to be able to use standard iviews that will call this Webdynpro application using appropriate protocols.
    Any ideas will be much appreciated
    Thanks,
    Saurabh
    PS: this also sound like a portal issue, so posting in Portal forum too.

    Its not the cache, i just wanted to let people know with similar problems.
    It may be a problem with the parameters,
    in RZ10, search for icm* parameters and search in SAP Help about each parameter and what should be their value. You will find that parameters are taking HTTPS
    Also, one more thing, STRUSTSSO2, check if certificate is added in ACL and in production client as well..
    This will solve all this kind of problems.

  • ABAP Webdynpro Table Control

    Hi all,
    I am a Webdynpro beginner, I am developing a ABAP Webdynpro program. I have a table in my View, And I want to the Row became READ ONLY based on the context.
    For Example, there is a user name field in the table, if the user name is equal to the user who run the program, this row will be modifiable. if not, the row will be Read Only.
    I don't know which function can do so. Could anyone help me?
    I can use VIEW->GET_ELEMENT to get the table. but I didn't find the method in the CL_WD_TABLE helpful.
    Thanks
    Ming

    For further description,
    the table is binded to a ( 0 ... n ) context node.  There are 6 columns in the table. 3 of them are textviews and the others are inputfield. I want two of the inputfields in each rows became Read_Pnly or not base on the value in the same row in a textview field.
    For example, there are six column, col1 col2 col3 col4 col5 col6.
    if col = 'MM'.
    col1 col2  are editable.
    else.
    col1 col2 are read_only.
    Thanks in advance.
    Ming

  • Java Portal Event not received correctly by ABAP Webdynpro

    We have a page that contains 2 iviews. 
    iView 1 contains the MSS Employee Search that raises portal event:
    Namespace: "urn:com.sap.mss.employeesearch"
    Name: "selection_changed"
    The second iview contains an ABAP Webdynpro program that subscribes to the Portal event. 
    The issue is that the event in the ABAP webdynpro is not being triggered.  It does get triggered if we first fire the event from the Java program, unsubscribe the event in the ABAP program them subscribe to the event in the ABAP program.  The event gets triggered at this time and the parameter can be retrieved. 
    If the event is fired a second time, nothing happens in the ABAP program. 
    The abap program works fine when another abap program triggers the same portal event.
    Also, the portal event is being picked up correctly by other SAP delivered JAVA programs.  I just cannot get a custom ABAP Webdynpro program to work...
    Any ideas, comments?
    Glenn

    Hi Glenn,
    Are you using https? Is your j2ee stack and abap stack in the same domain? In the past I have found that https can cause issues in the event communication between different applications.
    Cheers,
    Dion

  • Abap Webdynpro & Adobe Interactive Forms : Refresh Context

    We created a Abap Webdynpro program to fill an Adobe interactive form. When we read the first time the data the form context is filled and displayed. When we read other data then the form is not refreshed. This is <u><b>only the case</b></u> when the form is enabled as interactive.
    When we use 2 views then everyting is ok. But we want to place the form in an Embedded View, then we have the same problem. Is this a know problem ?

    Hi,
    We faced a similar Issue. We could get past it by chaging the view property to "When Visible" for both the embedded view & Main view.
    Try & letme know if it works. We are trying to solve some other issues aroind this right now. Only the checkboxes dont get populated the second time we go to the view having Adobe form. Rest all data on form is refreshed. But not the Check Boxes.
    thanks,
    Phani

  • ABAP WebDynpro Fields Set Invisible Status

    Hi All,
            I am new to this ABAP WebDynpro programming, i have requirement, based on IF conditions i need to set my fields In-Visible and Visible mode,
    ex:
    IF XXXXXX
    THEN FIELD VISIBLE
    ELSE XXXXXX
    FIELD IN-VISIBLE
    ENDIF.
    Thanks in Advance.
    Thanks and Regards,
    Abhi.

    Hi Jagadish,
                     Thanks for your prompt response, based on your instructions i did like below
    I created F_Visible in Context with type WDY_BOOLEAN and i given default value to X, then i bind this value to my input fields, after the using WebDynpro Code wizrd i called F_Visible attribute, the below one is my code, please correct me if any thing wrong.
    IF(Condition)
       DATA lo_el_context TYPE REF TO if_wd_context_element.
       DATA ls_context TYPE wd_this->Element_context.
       DATA lv_f_visible TYPE wd_this->Element_context-f_visible.
    get element via lead selection
       lo_el_context = wd_context->get_element( ).
    @TODO handle not set lead selection
       IF lo_el_context IS INITIAL.
       ENDIF.
    @TODO fill attribute
    lv_f_visible = 1.
    set single attribute
       lo_el_context->set_attribute(
         name =  `F_VISIBLE`
         value = lv_f_visible ).
    xxxxxxxx
    ELSE
    lv_f_visible = 'X'.
        set single attribute
        lo_el_context->set_attribute(
          name =  `F_VISIBLE`
          value = lv_f_visible ).
    when i was testing my applicaiton i am getting   Access via 'NULL' object reference not possible.
    could you please help on this setting if i did any thing wrong.
    Thanks in Advance.
    Thanks and Regards,
    Abhi Ram.
    Edited by: Abhiram on Oct 30, 2009 3:18 PM

  • SU24 proposals and defaults for ABAP webdynpros

    I am keen to hear from forum members on the best approach for adding SU24 proposals / defaults to custom and/or SAP standard ABAP webdynpros ? I have seen 3 options used:
    1. manually inserted auth objects i.e. don't rely on SU24
    2. use dummy Z t-codes to propose auth objects via SU24
    3. generate a hash table entry for the webdynpro (function module AUTH_TRACE_WRITE_USOBHASH) so that it can then be found as a TADIR service in SU24 and auth objects added
    Does anyone know the SAP recommendation for this ?

    Hi,
    there is 4th option. Activate temporally parameter auth/authorization_trace and run all you web dynpro applications. This will create a record for each authorization check performed in you application in transaction SU22. Then maintain default values and move them to SU24. It's better than using AUTH_TRACE_WRITE_USOBHASH because you don't need to enter manually all related authorization objects.
    Option 1 - really bad option
    Option 2 - this was my first workaround until I found FM AUTH_TRACE_WRITE_USOBHASH
    Option 2 - this was my second workaround until I learned about auth/authorization_trace. BTW my assumption is that kernel directly calls FM AUTH_TRACE_WRITE_USOBHASH which is reason why I couldn't find any usage of this FM.
    Cheers

  • Hi, How to modifie standard ABAP Query's

    Hi ,
         How to modify standard ABAP Query programs.Plz any one help me in this matter.

    Hi
    1) Go to tab Class -> Enhance
    2) Create a new enhancement implementation
    3) Now you can add a method / modify existing method etc...
    Also see the following link ->
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc
    (Section Class Enhancement might be useful in the ablove link!!)
    Hope this helps.
    Neeraj

Maybe you are looking for