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

Similar Messages

  • ABAP WEBDYNPRO - What is it all about ?

    Hi Guys & Gals,
    I am doing ABAP for last 5 years. Planning to learn ABAP WEBDYNPRO from any SAP education partner. But i don't know JAVA and Classes and Methods(Scared of these).
    1. Can i cope with ABAP WEBDYNPRO ?
    2. Is it more programming or layout design or configuration or what it is ?
    3. How is the scope ?
    Kindly provide as much info as you can. I should decide quickly will it fit for me or not.
    Thanks
    Raj

    Hi Raj kumar,
    Welcome to Web Dynpro for ABAP forum.
    As you said you have good knowledge of ABAP.That is enough to learn WDA.But you should aware of ABAP OO concepts prior learning WDA.No need to think about java classes.
    There are many threads,articles and sap documents to learn Web Dynpro for ABAP.You can easily learn through them.If you have any doubts you can post in this forum to get clarification.

  • ABAP webdynpro CO not showing input parameters

    Folks,
    I know this is strange. But might be that I'm missing something in the ABAP webdynpro creation/configuration.
    Here it is./.
    I have created an ABAP webdynpro application in SE80 with the context declared in COMPONENTCONTROLLER and a view with the context mapped to the COMPONENTCONTROLLER's context.
    The webdynpro application per se is working fine.
    When i created a CO in GP with type ABAP WD Application, and choose this application, all is fine until i reach the Define input screen. Here, i dont see any of those inout fields that are present in my WD COMPONENTCONTROLLER context. Should i do something to make it visible here?
    Cheers,
    Mandrake

    Good question. I'm surprised why this question never came up till now.
    I had a requirement where I had to use WD for ABAP in GP. I did a lot of research on this and found out with the following inferences.
    Pros
    1) It is easier to build and use when compared to WD for JAVA
    2) No deploying needed
    3) ABAP coding can be done in this so as to utilize the power of SAP to the fullest.
    4) No Java knowledge is required
    5) Can embedd any Adobe forms to make it interactive Adobe in GP
    Cons
    1) It can only import values from GP context and cannot export parameters like any other CO.
    2) Not very flexible as WD Java
    3) Comes up with an additional submit button on the GP Process which can supercede all the other checking and data validation functionalities that are built in the other webdynpro buttons in the Actual ABAP WD.
    4) The context visibility is one way from GP and not to GP.
    Steps:
    1) Create the WDA in SE80 and test it.
    2) Create a CO of type WD for ABAP
    3) Map the parameters with the process context parameters
    4) Test the CO and Process
    Hope this clarifies your doubts.
    Cheers,
    Mandrake!

  • 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

  • Abap webdynpro in GP . Is it possible?

    Hi all,
        I have a basic doubt. Im able to create a webdynpro component in NWDS and able to get that in GP and im able to do all the parameter consolidation . Is it possible to create same kind of Abap webdynpro components which i can use in GP and where i can do parameter consolidation. If yes ? then please provide me the link or help document to create such a abap webdynpro component. Thanks a lot for your help.
    best regards,
    Barath.

    Hi,
    You can find here a description for using the ABAP WD in GP: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/39/198141f906040de10000000a1550b0/frameset.htm">SAP Help Portal: CAF GP</a>
    CAF GP -> Developing Comp.Apps with CAF -> Core Development Tasks -> Expos.Apps as Call.Objects -> creating call.Objects in GP -> exposing WDs as call.objects.
    Regards,
      Jan

  • Reg File Upload Object in abap Webdynpro

    Hi Friends,
    Would like to enquire one doubt in the file upload object in abap webdynpro.
    By default when we press the browse button, near to the file name there is a button which shows the the file types like:
    ., *.html, ,gif,.jpeg etc.
    Is there any way we can control that, as i have an requirement where in to upload only certain extension types.
    thankyou.

    HI,
    I would suggest you to follow this approach :
    1. Create a Table in your View in which FileUpload is there.
    2. Populate this value with valid file extension.
    3. Make it invisible by default.
    4. Now when you have entered value in Fileupload and click on Ok button.
    5. Check whether Mimetype matches any value in Table.
    6. If it is invalid, Throw an error message and mke Table of Valid extension Visible.
    Sample code to have Table with Valid entries.
    types : begin of str,
                 valid_ext type string,
             end of str.
    data : wa type str,
              itab type table of str.
    wa-valid_Ext = 'EXL'.
    append wa to itab.
    wa-valid_ext = 'DOC'.
    append wa to itab.
    lo_nd->bind_Table( itab ).
    here lo_nd is your ref to node of Table having valid extensions.
    7. Bind this Table's Visible property wiht wdui_visiblity .
    8. Set it Visible - 02 , Inviisible - 01.
    I hope it is clear.

  • 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

  • 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

  • Over half of my music disappeared from my music library after updating to itunes 10.7

    I use a Windows 7 operating system.  Since updating my iTunes to the latest version, 10.7, over half of my music has disappeared from my music library.  All 851 songs remain on my iPod, but my library shows only 187 songs after syncing my iPod with i

  • Nomad Jukebox Zen Xtra PLEASE HE

    My player was locked on the EAX screen, and I figured out how to get to the rescue mode, and I clicked "Clean Up" and then pressed the check, and then it went back to the rescue mode screen and nothing's happening. Where do I go from here? What does

  • Can SAP send e-mail to external mail with attached file?

    Hi ABAP Guru. Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.) And Can the E-Mail sent with attached file? And How to do that? Please give me your advice. Thank you and Best Regard, Nattapash C.

  • Azureus problm

    java.io.IOException: Connection refused         at com.aelitis.azureus.core.clientmessageservice.impl.AEClientService.connect(AEClientService.java:129)         at com.aelitis.azureus.core.clientmessageservice.impl.AEClientService.sendMessage(AEClient

  • Rebuilding the iPhoto Library

    I messed up the iPhoto Library! What i did was that i wanted to use Automator to COPY all of the original photo files to a new hard drive for backup, but i MOVED them instead. So now I have one big folder of originals and an iPhoto library empty of o