How OO ABAP  & ABAP WEBDYNPROS  are Related??

HI,
i am new to WEBDYNPRO and shifting myself from OO ABAP  to  WEBDYNPRO IN ABAP.
Kindly let me know how OO ABAP and webdynpro ARE INTERRELATED.(in terms of coding or in terms of environment)
Regards,
Dev

Hi Dev,
Welcome to ABAP Dynpro!
Now I am 10 months old to ABAP Dynpro.I have explored a lot.Now you were asking about how much ABAP/OOPS one should know and topics one should know.
In my view you should be aware with fundamental of OOABAP like
class , methods , interfaces and static attribute.Being WD ABAP Dynpro guy you should be in position to use ABAP classes and methods in it.
Just take case if you want to access element from node in context ...such code by wizard Appears ....
DATA:
zobj_bbp_ior_util TYPE REF TO zcl_bbp_ior_util,
node_ztiornode TYPE REF TO if_wd_context_node,
elem_ztiornode TYPE REF TO if_wd_context_element,
stru_ztiornode TYPE zsior.
navigate from <CONTEXT> to <ZTIORNODE> via lead selection
node_ztiornode = wd_context->get_child_node( name = if_request_ior=>wdctx_ztiornode ).
get element via lead selection
elem_ztiornode = node_ztiornode->get_element( 1 ).
now you should be in position to understand and make use of classes like
' wd_context' etc. .You should know what it does then you will use it method
like get_child_no.
Hope I have cleared you doubt.
Cheers,
Darshna.

Similar Messages

  • How does ABAP webdynpro architecture works......

    Hi experts,
    I am new to Abap webdynpro and i have a task to finish.
    Basically i gone through many documents on WDA, but was able to understand very little.
    I have following questions --
    1. When u create component, what is the use of component controller?
    2.. What exactly context and context node difference? Do we need to create an attribute(input box, button etc), under one context?
    3. How can i read the date entered by user? where to read? If i want to read a particular iinput box data and save it to database table, how and where it has to be done?
    4. How can i read the table data, complete table of UI?
    5. What is an interface controller/component?
    I still have lot of doubts about understanding MVC architecture, but I am so so sorry as I have little scope OO abap, so fining difficult to understand.
    Kindly if someone explain me I would be greatfully thankfull to you.
    Thanks in advance,
    Niraja.

    Hi Niraja,
    I am replying to your questions 1 by 1.
    +When u create component, what is the use of component controller?
    +
    Ans A component controller contains the context,attributes, methods etc for a component. No component can exist without this.Even a view has its own controller having same contents.
    All the tabs which you see after clicking on COMPONENT  CONTROLLER constitute the controller.
    What exactly context and context node difference? Do we need to create an attribute(input box, button etc), under one context?
    Ans: Context itself is a context node, but the only difference is that its the root and has unchangeable properties.It has a fixed cardinality of 1..1 where as a node can have different properties.
    All nodes and attributes for different UIs are created in the context only.
    How can i read the date entered by user? where to read? If i want to read a particular iinput box data and save it to database table, how and where it has to be done?
    Ans: Data can be read in form of nodes and attributes. Every UI element for example an Input field will be bound to a attribute.
    You can read these values by code ( use CODE WIZARD).
    You can code in any methods given under method tabs.
    You can create your own methods like event handlers for buttons and different events. You can write all your queries in these methods
    +How can i read the table data, complete table of UI?
    +
    Ans: If u mean by reading the whole node data, I would suggest you to use code wizard and understand the code.
    5. What is an interface controller/component?
    Ans: If you want to share your component and make it available for use in other components you define your make your methods and context visible in this controller .
    Please see the link below for whole Web Dynpro ABAP help.
    [WD ABAP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I would suggest you to understand things and try them and then come with doubts.
    Regards,
    Sumit Oberoi

  • Pass pernr from employee search iView to abap webDynpro in Related Activity

    Hi All,
    I have seen many threads explaining how to pass pernr from employee search iView to custom ABAP webDynpro application in the "Employee profile" page. Also seen sap note 1112733.
    I am trying to launch custom ABAP webDynpro application from "Related Activities" view found in the employee information page in MSS.  I want to pass pernr selected from Employee Search iView to the ABAP webDynpro application in "Related Activities" view.
    In the ABAP webDynpro application, I am listening to the portal event (as per note 1112733) but the ABAP webDynpro can not catch the event.
    Anyone has passed pernr from employee search iView to the ABAP webDynpro application launched from "related activities" view?
    Regards
    Ashutosh

    Hi Ashutosh,
    can you tell me exactly what you did? I have the same issue.
    Thanks,
    Joeri

  • ABAP webdynpro events in Portal

    Hi All,
    I am a novice in Portal. I am not sure if this is the right forum also to ask this question.
    I created an application in ABAP webdynpro , created an iview using the ABAP webdynpro option.
    My scenario : I have to create a work request in a ztable that I have created.
    For this 1) create a uniques number using number_get_next
                 2) insert the values into the z table and show message
    what is happening -->
    Application appears with no problems.
    when I click on button message appears
    What is not happening on the portal
    number get next doesnot get created
    data doesnot get inserted in ztable
    portal and abap webdynpro are on different URL
    I tried to subscribe events that also didnot work .:(
    Appreciate all the help.
    Regards,
    Narayani

    Hi All,
    solved as below.
    Regards,
    Narayani

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • How to Trigger a Workflow from ABAP Webdynpro

    Hi All Gurus,
    I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
    I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
    Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
    Regards,
    Pratima Jain

    Hi,
    If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
    But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
    There are 3 layers  1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
    2. Workflow
    3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
    for more documentation, please refer it on help.sap.com.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
    hope this helps.
    Best Regards,
    Saujanya.

  • How to display HTML files using ABAP Webdynpro?

    Hi,
    I have a html index file and a bunch of other files accessed by the index file  in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achieve this using utilizing the ABAP webdynpro technology ?
    Thanks!

    Hi Thomas,
    Thanks for taking the time to answer my question.
    I have the main html file and all other files needed by the main file in one directory on the application layer of SAP. I'd like to provide the user with a link, by clicking on which they should be able to get to the main html file using the browser. This is just a standalone application.
    I can try the approach using BSPs, however, I'm new to that area. Could you point me in the right direction to get started?

  • How to create interactive forms in ABAP WebDynpro

    Hi Experts,
    we are trying to create our first interactive form with the "how to guide for ABAP WebDynpros".
    Unfortunatelly we have a big problem on Step 17, where we want to save the created WebDynpro Application. After safing the system shows a pop up with following error message:
    "you are not authorized to use function - Netzwerkadministration". Although we have all the necessary access rights in the system (ERP/Developer User).
    But if we go on and create a service call (it's a guided procedure) for an existing BAPI, we can't select the function module interface parameters that we want to add to the context via checkboxes. There are no checkboxes available. but the how-to-guides shows checkboxes.
    is maybe the first error the reason that we can't select the function modules? Please help. If you need the how-to-guide, please give me your eMail and I will provide it to you immediately.
    Thank you very much in advance and regards,
    H.-J. Kersten

    Hello
    I got the same problem when i try to create WD ABAP application.
    Did you find the solution?
    Regards
    Nir

  • How to open a brfplus Catalog from abap webdynpro screen.

    How to open a catalog from abap web dynpro application. and also what roles are to be provided to a user for restricting access only to the objects in the given catalog.

    Hi Pratik,
    do you use NetWeaver 7.0, Enhancement Pack 2 (or higher)?
    Then you can then define an own UI mode class and set it via SET_UI_MODE( ) in IF_FDT_WD_UI_EXECUTION before you call EXECUTE_CATALOG_BROWSER().
    An explanation how to define a UI mode class is available in the chapter "Configuration through a UI mode class (7.0/7.1 EHP2)" of the document [Embedding a BRFplus Object in an ABAP WebDynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50e44bf9-9135-2d10-2ea2-b13e5be8661d]
    Hint: With help of the interface IF_FDT_WD_USER_CONFIGURATION you have the possibility to hide views in the navigation view by using the respective, listed parameters (e.g.. GC_PARAMETER_FAVORITES_VIEW). Please be aware of that the configuration is just available to adapt the UI, it does not fulfill the requirements to act as an authority concept. If you do not set the parameter GC_PARAMETER_HIDE_SETTING_DLG of the interface IF_FDT_WD_CONFIGURATION to false, the user is also able to change it via the configuration dialog in the BRF+ workbench.
    With the current available BRF plus standard authority concept you can prevent that the user can see the content of objects like applications but you have no influence to prevent the user from seeing UI artifacts like the repository tree. Please consult the documentation to learn more about its capabilities.
    Kind Regards,
    Marco

  • How to get workitem id in ABAP-Webdynpro application

    Hai All,
    When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application. 
    Please let me know how to pass this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hai Kari,
    Thanks for the link, i am looking into it.
    Hai Naresh,
    Where should I give this link,
    http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
    What I have done is,
    In SWFVISU transaction I maintained the following entry,
    Task = TS99000208
    Visualization Type = WD_ABAP
    Visualization Parameter  Visualization Parameter value
    APPLICATION            =  ZWD_OFFICIAL_012
    NAMESPACE            =  SAP
    and registered this task in in universal worklist.
    Where the specify the code you mentioned. 
    Thanks & Regards,
    H.K.Hayath Basha.

  • How to set portal authorization in ABAP Webdynpro application

    Hi All,
    Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we need to set  invisible (hide) the Group UI element  in webdynpro ABAP Application.
    Do you have any sample code on the same to handle the portal authorization in Webdynpro ABAP?? , please let me know if couldnu2019t understand this requirement or my explanation
    Thanks,
    PortalUser100

    Hi Kris,
    Thanks for your reply.
    Like however we passed the UserID, can we pass Group ID also to the ABAP Webdynpro application??
    Can u get me other things, how to copy of the existing component and i want to give the new name for the component and there i need to modify, i dont want to disturb original component  before copy...let me know the procedure for the same??
    Regards,
    PortalUser100

  • How to read URL Parameters in ABAP WebDynpro ?

    Hi,
    How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
    Thanks
    Meenal

    Hi Meenal,
    Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
    Cheers,
    Rich

  • How to create popup in ABAP webdynpro.

    Hi,
    I found lot of examples to create a popup/ model window for java webdynpro.
    Could anyone give a pointer to an example which explains how to create popup in ABAP webdynpro??
    Kind Regards
    Shahul

    Hi Thomas:
    It worked fine the 1st time. Second time when the user clicks on the button to open up the popup it dumps.
    Here is the code in the action for popup:
    data: l_cmp_api type ref to if_wd_Component,
            l_window_manager type ref to if_wd_window_manager,
            l_api type ref to if_wd_View_controller,
            l_text type string_table.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup is initial.
        wd_this->m_popup = l_window_manager->create_window(
                 window_name = 'DOCQSOW'
                 button_kind = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>co_msg_type_none ).
               component_usage_name = 'DOCQUERY_USAGE_1'
        l_api = wd_this->wd_get_api( ).
        wd_this->m_popup->subscribe_to_button_event(
              button = if_wd_window=>co_button_ok
              button_text = 'Transfer'
              action_name = 'POPUP_CLOSED'
              action_view = l_api  ) .
        wd_this->m_popup->SET_REMOVE_ON_CLOSE( abap_true ).
       endif.
      wd_this->m_popup->open( ).
    Second time when the popup tries to open, I get the following error:
    Method: RENDER_WINDOW of program CL_WDR_WINDOW_RENDERER========CP
    Method: RENDER_WINDOW of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_POPUP_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_SSR=============CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Is there a way to destroy the instance of the m_popup?
    Any help is appreciated!
    Thanks

  • How to find the ABAP Webdynpro Component Name in the Portal IView(WDA)

    Hi All
    I got one ABAP Webdynpro IView in portal , when i opened the Iview i got the Application name of ABAP Webdynpro in the properties of the Iview but i could not able to find the component name .
    Please let me know how to find the component name of WDA , as i already got the Application name of component  from Iview i.e WDA_ED_RDF ( this is applicaiton name found in the portal Iview for ABAP Webdynpro)
    Please get back to me on the same , it would be great help to me.
    Thanks,
    PortalUser100
    Edited by: PortalUser100 on Mar 24, 2011 11:51 PM

    Hi
    Right Click on any UI Element in Portal->Go to more field help->TEchical Information. You can see all the information about component, application, ui elements etc.
    Please check this... may helps more
    http://wiki.sdn.sap.com/wiki/display/WDABAP/GeneralTechnicalAspects
    Thanks,
    Venkat.

  • How to create a view to display Multiple lines of Text using ABAP WebDynpro

    Hi,
    I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
    I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
    Thanks for your time!
    Madhavi.

    Find the sample codes:
      data sapscript_lines     type tlinetab.
      data sapscript_lines1     type tlinetab.
      data sapscript_tline     type tline.
      data sapscript_head      type thead.
      data text                type string.
      data formatted_text type ref to cl_wd_formatted_text.
      call function 'DOCU_GET'
        EXPORTING
          id                = 'TX'
          langu             = 'D' "Germany language
          object            = 'WDR_TEST_HELP_EXP1'
        IMPORTING
          head              = sapscript_head
        TABLES
          line              = sapscript_lines
        EXCEPTIONS
          no_docu_on_screen = 1
          no_docu_self_def  = 2
          no_docu_temp      = 3
          ret_code          = 4
          others            = 5.
      if sy-subrc <> 0.
        text = space.
      endif.
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED'
        value = formatted_text->m_xml_text ).
      endif.
    clear sapscript_head.
    clear sapscript_lines.
    *Get the text created by SO10
    CALL FUNCTION 'READ_TEXT_INLINE'
      EXPORTING
        ID                    = 'ST'
        INLINE_COUNT          = 1
        LANGUAGE              = 'E' "English language
        NAME                  = '85XX_FOOTER'
        OBJECT                = 'TEXT'
      LOCAL_CAT             = ' '
    IMPORTING
       HEADER                = sapscript_head
      TABLES
        INLINES               = sapscript_lines1
        LINES                 = sapscript_lines
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      NOT_FOUND             = 4
      OBJECT                = 5
      REFERENCE_CHECK       = 6
      OTHERS                = 7
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED1'
        value = formatted_text->m_xml_text ).
      endif.

Maybe you are looking for

  • Problem during installation of iTunes 10.7 on Win7 x64. Is there anybody that can help me?

    Hello everyone! I've a problem during installation of Itunes 10.7 on Window 7 x64. I had installed v11 but i don't like it, so i've uninstalled correctly this version and i have downloaded v10.7 The message, translated in english, is: UNKNOWN \ Compo

  • Can't install software on my Mac OS X 10.9.4

    Hello everyone, I seem to have a problem installing new software... For some reason I can't install anything, the installer opens and I follow every step, but in the installation step, the bar just keeps moving but never actually moves as in completi

  • Is there a adapter to get AV output?

    I just got a pair of TV goggles from work, basicly for people who dont know what they are. They are glasses with a tv inside it, sadly they are only compatible with AV output, thats the red, white, and yellow plugs. Does anyone know if apple sell a a

  • Dreamwaver CS3 & Flash CS3 or GoLive 9 on Mac?

    I have a PowerBook G4 with 10.5.2 on it. I am wanting to do more interactive website design so I was looking at DW & Flash but I have used GL 9. I have used DW MX 2004 but I did not like it at the time. I am more of a visual type person so I prefer b

  • Report required with Storage Bin

    Hi, I need a report that contains the Material Document number and the Storage Bin.  Anyone know of the transaction I can use.  I did it a yr ago and it worked so I know it exist, just can't seem to find it again.