Disconnected architecture in ABAP WebDynpro

Do we have any concept called Disconnected architecture in ABAP Webdyn pro ?
The logic is that there is an ALV  and we have to select some rows for processing ,What SAP does is whenever we select a particular row , it hits the database which consumes lot of time.
We are thinking of a disconnected architecture which would hit the database  only upon some action performed on that ALV table .
Any ideas ??

Any actions from the user taken on UI-Elements which are somehow connected to the framework's predefined events, even if not connected with actions/handlers, will fire a roundtrip.
You cannot change this.

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

  • BRFplus + BPM + ABAP Webdynpro Architecture

    Hi Gurus,
    We are setting up Data Governance model in our company. As a part of this, we are currently evaluating various options. We are also  considering BRF plus solution. Some of our high level requirements are as follows
    1.     Break SAP transactions for Material Master and regroup the fields according the new business processes in different screens in web front end (possibly ABAP WebDynpro)
    2.     Set up a workflow solution for new business processes (possibly BPM or Business Workflow)
    3.     Integrate Business rules and validations, data checks and so on using BRF plus in to the workflow.
    What that means is that whenever users make changes to the Material master Data in web front end, then a workflow is triggered and rules are applied to the data before the data is changed/created.
    My questions are as follows
    1.     Do we really need all these 3 components namely ABAP Webdynpro, BPM or Business Workflow and BRFPlus to achieve what we want to achieve? Or we can achieve this without having one of the components mentioned above?
    2.     If yes or no, how the architecture should look like?
    3.     How do we integrate these techonologies (which features of what component)
    4.     Any examples you can share?
    Shai

    I don't see the need of web dynpro or BPM if you only want extra data validations. 
    You can integrate extra rules into your regular system as is using BRFplus for extra validations.

  • Calling a PP03 BDC  from abap webdynpro throws an exception from the class

    Hi Experts,
    I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    Thanks,
    Shilpa

    >
    shilpa hv wrote:
    > Hi Experts,
    >
    > I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    > When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    >
    >
    > Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    >
    >
    > Thanks,
    > Shilpa
    Hi,
    The FM might be calling a dialog or bringing a GUI screen up. This would cause the Webdynpro session to disconnect abruptly.
    Any conversion exit, GUI screen,dialog popup, transaction handling..etc would cause the webdynpro to disconnect. So you cannot use all FM's as it is.

  • BSP and ABAP webdynpro

    Hi wizards,
    I am planning to start working on POC (Proof of concept). This requires BSP to be integrated with ABAP webdynpro. Can some throw some light on how this integration can be done. ie sharing the context values between both applications.
    regards
    Vivek Nidhi.

    Well BSP and Web Dynpro ABAP are very different when it comes to internal architecture.  Just because they both run in a browser doesn't mean they can be integrated like you describe.  You could run both a BSP and Web Dynpro ABAP application in separate frames within the browser; however to the backend server these would be two completely separate processes running in their own memory space. 
    First of all you couldn't directly share the context values.  BSP doesn't even have the concept of a context.  You could pass some keys via URL parameters or Server Cookies. You might even be able to pass larger amounts of data.  However the eventing becomes a bit of problem.  The exception here is if you use the NetWeaver Portal.  Then you can use Portal Eventing to pass data and events between the two applications.

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • SOFM: Dsiplay method is not working when called from ABAP Webdynpro

    Hi All,
    I want to open an attachment from ABAP Webdynpro.
    I have approached in this fashion:
    1) Get the attachments as SOFM object key
    2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
    3) Then I am calling the DISPLAY method
    It is not opening.
    But, if it opens when I driectly execute the function module. It open when I directly test the business object.
    Any Idea ?
    Thanks & Regards,
    Deb

    Display Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
    Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
    Read the attachments and get the content and use FileDownload UI element to show it to user.
    Abhi

  • Error while trying to call a ABAP webdynpro appl. as a link on html form

    Hi,
      When I am trying to call a ABAP Webdynpro aplication as a link on html form. I get the following error
    Error when processing your request
    What has happened?
    The URL http:///sap/bc/webdynpro/form_ap/ (Path of ABAP webdynpro application) was not called due to an error.
    Note
    The following error text was processed in the system DRD : Error in Web Dynpro Runtime System
    The error occurred on the application server DRD_06 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_REQUEST_INPLUG_PARAMETERS of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP 
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DRD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server DRD_06 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server DRD_06 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 102 -u:  -l: E -s: DRD -i: DRD06 -w: 0 -d: 20081002 -t: 032939 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Any help will be greatly appreciated.
    Thanks
    RM

    RM,
    url clearly shows that it is unable to get host and port.check how you are building that url in html page
    Thanks
    Bala Duvvuri

  • Zci type ADOBE Interactive Form in ABAP Webdynpro short dump

    Adobe Reader version 8.1.2
    Life Cycle Designer version 7.1.4270.1.421766
    ECC 6.0 patch 13
    When I ran the 'FP_PDF_TEST_00' , it shows
    Version Information: 710.20061024154505.342190
    In my ABAP Webdynpro app., it has 3 inputfields.
    In the Form layout, I changed the form layout type to 'ZCI' for interactive form, and Insert the WebDynpro Script.
    And in the ABAP Webdynpro view layput designer, I enabled the pdf form element.
    All objects compiled without any problem.
    During the runtime, it got the following short dump:
    21 METHOD       CX_WD_GENERAL=================CP    CX_WD_GENERAL=================CM003     5
        CX_WD_GENERAL=>RAISE                                                                     
    20 METHOD       CL_WD_ADOBE_SERVICES==========CP    CL_WD_ADOBE_SERVICES==========CM008   193
        CL_WD_ADOBE_SERVICES=>CREATE_PDF                                                         
    19 METHOD       /1WDA/LADOBE==================CP    /1WDA/LADOBE==================CCIMP  1955
        CL_INTERACTIVE_FORM_ZCI=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT                         
    Our BASIS sent me the ADS trace:
    SAP Interactive Forms by Adobe
    Render Error Report
    'pdf' Log Entries
    restoreState is not a valid attribute of subform, Attribute not loaded. Line 5.
    Invalid node type: dataGroup
    The fault occurred on line 0.
    The SOM expression '$record.BAPIBNAME' for the dataRef specified on field 'BAPIBNAME', resolved to an incompatible node type of 'dataGroup'.
    Any comment or advise?

    Hi,
    As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
    You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
    regards

  • Deleting row from table in ABAP webdynpro

    Hi all,
    Can anyone help me regarding deletion of a row from a table in ABAP webdynpro.
    I have written a code like this :
        DATA:
          NODE_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_STUDINFOSYS                    TYPE IF_COMPONENTCONTROLLER=>ELEMENT_STUDINFOSYS .
      navigate from <CONTEXT> to <STUDINFOSYS> via lead selection
        NODE_STUDINFOSYS = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_COMPONENTCONTROLLER=>WDCTX_STUDINFOSYS ).
      get element via lead selection
        ELEM_STUDINFOSYS = NODE_STUDINFOSYS->GET_ELEMENT(  ).
    deleting data selected via lead selection
        NODE_STUDINFOSYS->REMOVE_ELEMENT( ELEMENT = ELEM_STUDINFOSYS ).
    *But I am getting an error:*
    Error when processing your request
    What has happened?
    The URL http://hsdnt24s11.hclt.corp.hcl.in:8000/sap/bc/webdynpro/sap/znet310_add_del_sech/ was not called due to an error.
    Note
    The following error text was processed in the system HE6 : The lead selection has not been set. VIEW_ADD_DEL_01
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
    Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
    Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HE6 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server hsdnt24s11_HE6_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server hsdnt24s11_HE6_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SUMANK -l: E -s: HE6 -i: hsdnt24s11_HE6_00 -w: 0 -d: 20081220 -t: 155832 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Can anyone help me???

    Hi Suman,
    this issue seems to be not specific to the FPM. I would like to suggest you to address this problem in the ABAP forum.
    Best regards,
    Thomas

  • Doubts in ABAP WebDynpro

    Hi Experts,
    I am new to ABAP WebDynpro and self-learning going through SDN stuff and other online-help. Please provide me
    your kind explanation on below doubts.
    1. When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    2. How to read the index of a particular selected row in table?
    3. How do you change position of a particulr node dynamically?
    4. Is it possible to execute a component without a window?
    5. Is it possible to run a VIEW without embeding into a window in Webdynpro application?
    6. How to read the content entered in PARAMTER and SELECT-OPTION elements in ABAP Webdynpro? Can anybody pass code how to read entries?
    I mean GET_ATTRIBUTE or GET_STATIC_ATTRIBUTES is used for reading attribute value. 
    7. Is it possible to fix the Message window position? Show at the bottom of a screen? Please provide some code for this.
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text. Please provide me example code.
    Thanks in advance for the support and useful explanation!
    Regards,
    Meera.

    Hi
    Refer the answers inline
    1) When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    GET_ATTRIBUTE
    Method to get the values of a context attribute.
    The prerequisite for this method is that the application knows the data type of the attribute.
    The value of the given attribute is copied to the export parameter. To do this the export parameter must have a data type to which a value can be written.
    GET_STATIC_ATTRIBUTES
    This method copies the static attributes to the transferred variable. If the structure is not identical, a move-correspondingis performed, which is not as efficient as a direct move, but is still useful in many cases.
    Static attributes are those that either have been declared or that belong to the structure with which the node was declared.
    2) How to read the index of a particular selected row in table?
    data: lr_element type ref to if_wd_context_element,
              lv_index type i.
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT'  ).
      lv_index = lr_element->get_index( ).
    3) How do you change position of a particulr node dynamically?
        Explain Bit deeply
    4) Is it possible to execute a component without a window?
        No it is not possible, actually the component view can be viewed by embedding it to the window
    5) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
        No it is not possible, without window you cant run the view
    6) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
      DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
      DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
    navigate from <CONTEXT> to <MAIN_NODE> via lead selection
      LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
    get element via lead selection
      LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT(  ).
    get single attribute
      LO_EL_MAIN_NODE->GET_ATTRIBUTE(
        EXPORTING
          NAME =  `INPUT_VALUE`
        IMPORTING
          VALUE = LV_INP_VALUE ).
    7) Is it possible to fix the Message window position? Show at the bottom of a screen?
        Yes it is possible to show the messages by using the message area UI element in the needed position
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you      forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text.
        Im working onit and let you know after i complete.
    Regards
    Arun.P

  • ABAP Webdynpro Development - Script Error when Accessing Visual Elements

    I am encountering a strange error at my client .  I can't use the Abap Webdynpro visual elements to build views .
    To reproduce the error :
    - T-code SE80
    - Open up any ABAP webdynpro component .
    - Open up one of the view  and go on Tab Layout .
    Normal Screen : You would see many WYSIWYG items ( buttons, radiobutton , text elements etcu2026. ) at the left side u2026 these elements are used to build the view .
    Here : No elements displayed and when we click on that area we get an error   . 
    Instead of the elements to get displayed .. lines are displayed and when you try to open up ( click ) the lines , an internet explorer script error stating the following occurs ( although the abap wendynpro is edited in SAP Gui ) :
    An Error has occured in the script on this page .
    Line : 1
    Char : 25
    Error : Object Required
    Code: 0
    URL : http://hdrerpdev05.bchydro.bc.ca:8100/sap/bc/wdvd/toolbar.html?_vdrespkey=4KE8FGJO3P88DO8K5XCEYHTEA&_vdframe=toolbar&usedynp=&usepat=&sap-client=100
    Anybody had had the same kind of error before ^^????
    Thanks and Best Regards !

    Hi,
    we are getting the some what related errors in SE80 -> Web Dynpro Layout
    An Error has occured in the script on this page .
    Line : 1
    Char : 1
    Error : Object Expected
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd/painting.html?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=painting&sap-client=230
    An Error has occured in the script on this page .
    Line : 110
    Char : 2
    Error : Could not complete the operation due to error 80020101
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=no_add_ui_lib&sap-client=230
    Recently, we have upgraded our ERP system (SAP ECC 6.0 SPS17) with EHP4 SPS8. SAP_BASIS and SAP_ABA patch level same on 701_0008.
    FQDN is mantianed at icm/host_name_full parameter in system as well as in /etc/hosts file with associated system IP address.
    As suggested by  Ted Dinh,  we do not find any duplicate MIME files in our MIME Repository (SE80) and we cleared/invalidated  ICM cache many times in problem analysis.
    As suggested by  Thierno Diarra , in our affected system domain WDY_MD_UI_ELEMENT_CATEGORY is well maintained in value ranges.
    We have raised SAP OSS Message for the same, they told us to check dns server connectivity/settings with the affected system. we did the suggested DNS settings in affected system. But  still the same error message is occuring. They have suggested same sap notes like #979039 and #1009930 & #1483210 , but all the corrections/suggections/SICF service status as mentioned, are found OK in our system.
    Regards,
    Bhavik G. Shroff

  • ABAP webdynpro with interactive form - launching failure

    We are doing some prototype in the solution manager box using ABAP webdynpro and Adobe Interactive Form. I created a webdynpro with a very simple Adobe form embedded in an view.
    But when I test the webdynpro, I got the following error page in internet browser, any idea?
    Error when processing your request
    What has happened?
    The URL http://md1as086.medimmune.com:8001/sap/bc/webdynpro/sap/z_wd_bookflight_gebo/ was not called due to an error.
    Note
    The following error text was processed in the system SMT : WebDynpro Exception: ADS: Request start time: Tue Mar 06 11:53:06 EST 2007(200.101). ?&#43970;.RuntimeProcessor.process(RuntimeProc
    The error occurred on the application server MD1AS086_SMT_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMT in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server MD1AS086_SMT_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server MD1AS086_SMT_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: CHEUNGJ -l: E -s: SMT -i: MD1AS086_SMT_01 -w: 0 -d: 20070306 -t: 115305 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Is you ADS Configured ?
    Check that out.
    Regards
    <i><b>Raja Sekhar</b></i>

  • 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.

  • 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

Maybe you are looking for

  • Is there an APP to monitor call usage and number of texts sent

    Is there an APP to monitor call usage (in minutes) and number of texts sent etc so I can ensure I am keeping within my contract? I am getting my 3GS on Thursday so do not know if the phone has this facility already inbuilt or whether there is an app

  • Trading goods Scenarios (import & export).

    Hi experts Can anybody explain me about the how to import & export trading goods. 1.What are all steps to be followed for import and export trade goods in SAP. 2.Please help me with transaction, like   ME51N,ME21N,...ETC. Good solution wil be rewarde

  • Compressor 2.0 blues

    Hi, Im just so frustrated - I recently installed Final Cut studio and now tried to output a little film on DVD and all I seem to get from compressor is pixels. I`ve done another project a little while ago on Final Cut 4,0 and Compressor 1.0 and it lo

  • How to get it to start up???

    This has got to be easy! OK, I have downloaded the Sun Java software, and can see that it resides in a directory on my c-drive., viz. c:\j2sdk1.4.2_11. Now how do I actually make it start up? Was there supposed to be an icon created on my desktop tha

  • Lecture of protected music on Creative MuVo

    Hi, I submit the following problem : I have transferred on my Creative MuVo TX Go protected music whose I have the license and I can listen on my computer. But the player didn't read them : he directly passes to non-protected files. I have checked :