Replicate ME52N create attachment and attachment list in Web dynpro

Dear Experts,
Please can someone provide sample code and 'How to' steps to replicate ME52N create attachment and attachment list in Web dynpro?
I've looked at FILEUPLOAD and FILEDOWNLOAD in Web dynpro and this seems suitable for only 1 file attachment.
Many thanks, Jas.

Hi ,
If your are having a UI like ME52N and you want an attachment feature in each row, I have below suggestions:
Suggestion 1: If you use ALV
Add a column in list of type Xstring or which ever suits your document specificatio
Add a Button on the ALV for attachment,
On click of the button you can Popup a browse window and user can select the file.
The content of the file can be stored as Xstring for that Line item.
Suggestion 2: IF you use Table UI element
Add an attreibute to context node of type Xstring
In the Table set, you can set FIleUpload as the editor for this column.
I hope it helps.
Regards,
Sumit

Similar Messages

  • Error is in example  "How to Create Online and Offline Forms in Web Dynpro"

    Hi,
    I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
        at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
    Web Dynpro Code Generation Infos
    local/TravelRequest
    SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
         at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So please help me to correct this error .....
    Help will be rewarded.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    A null value is being passed at runtime. Make sure that you enter values when filling in the form.
    Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
    In wdDoInit() method:
    wdContext.currentNodeAElement.setValueA("");
    Context is as follows:
    RootNode
      |____NodeA
            |_____ValueA
    Hope it helps.

  • Maintaining attributes, data source and attribute list in web UI

    Hi
    Can we maintain attributes, data source and attribute list in web UI level. We can do it  in SAP GUI level but do we have the option of doing it on web  UI level??
    Regards
    Aakshi

    HI
    data sources and Attribute lists need to be maintained in GUI but these can further be used for Segmentation in Web UI using the Graphical Modeler.
    hey main thing is that when we design all the things our out put is reflected in both interface & most important thing is that 90% of our customization done in gui.only web_ui related customization done in web_ui.
    for more details revert me back
    debi prasad

  • Maintaining attributes, data source and attribute list in web UI level.

    Hi
    Can we maintain attributes, data source and attribute list in web UI level. We can do it  in SAP GUI level but do we have the option of doing it on web  UI level??
    Regards
    Aakshi

    Hi Aakshi,
    As far as I know,data sources and Attribute lists need to be maintained in GUI but these can further be used for Segmentation in Web UI using the Graphical Modeler.
    If you need more assistance please do revert.
    Regards
    Varun Taneja

  • LYNC Server 2013 LS Address Book and Distribution List Expansion Web Service error - Event ID 62005

    Hi,
      Recently,  I found some of LS Address Book and Distribution List Expansion Web Service error from Lync 2013 Front  End Server, kindly advise help how to solve it. many thanks
    Distribution List Expansion Web Service failed to initialize.
    Exception: The server is not operational.
    Cause: Unexpected exception occurred during initialization.
    Resolution:
    Examine exception details in event to determine the resolution.
    Best Regards
    Thomas

    Hi,
    You can do the following steps to solve the issue:
    Please double check the Windows Firewall is turned off.
    Please check if the CMS replication update to the latest version.
    Make sure Lync Server update to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Window size, and navigation issues with Web Dynpro and GP

    I have a Web Dynpro application which navigates to other Web Dynpro applications.  I also need to integrate this application into a GP.  When I create a process that calls the Web Dynpro app, two things I've noticed are:
    1. The window size presented in the GP process is too small, and there is no way to scroll to see the rest of the app.  How can I change the initial size of the Window to show the entire application?  This is an absolute show stopper...
    2. Other functionality is made available to the Web Dynpro app by navigating to other Web Dynpro applications.  Outside of the GP, this works correctly.  However, from within the application when started via a GP, I get the following error when I try to trigger an action that will lead to a navigation event:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate via outbound plug CreatePdf of view TestView because there is no navigational link attached to it
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:541)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462)
    Any ideas? Do I have to manually instantiate the various components when the root Web Dynpro app is called from a GP?

    Update: this was my mistake - I had neglected to configure all the view containers in the WebDynproCO window, which was generated by adding the GP interface to the component.  All is well.

  • Drop down list in web-dynpro abap

    Hi friend,
    i want to drop down list in WEB-DYNPRO abap kindly give me one example .
    regards
    vikash

    Suppose you have created a DropDownByIndex on your screen & bound its "Texts" attribute to a context attribute by name DROPDOWN then you can put the below coding into your WDDOINIT method to fill the values to be displayed:
    METHOD wddoinit .
      DATA: lv_node TYPE REF TO if_wd_context_node,
            lt_texts TYPE if_main=>elements_dropdown,
            wa_texts TYPE if_main=>element_dropdown.
      lv_node = wd_context->get_child_node( name = 'DROPDOWN' ).
      wa_texts-application = ' '.
      APPEND wa_texts TO lt_texts.
      wa_texts-application = 'MS Word'.
      APPEND wa_texts TO lt_texts.
      wa_texts-application = 'MS Excel'.
      APPEND wa_texts TO lt_texts.
      wa_texts-application = 'Notepad'.
      APPEND wa_texts TO lt_texts.
      lv_node->bind_table( new_items = lt_texts ).
    ENDMETHOD.
    Suppose you are using a DropDownByKey & bound the "Selected Key" property to the context attribute by name TEMP then you can proceed as shown below to fill the dropdown with values:
    data: lr_node_info type ref to if_wd_context_node_info,
            wa_value_set type wdr_context_attr_value,
            lt_value_set type table of wdr_context_attr_value.
      lr_node = wd_context->get_child_node( name = 'NODE' ).
      lr_node_info = lr_node->get_node_info( ).
      wa_value_set-value = '1'.
      wa_value_set-text  = 'One'.
      insert wa_value_set into table lt_value_set.
      wa_value_set-value = '2'.
      wa_value_set-text  = 'Two'.
      insert wa_value_set into table lt_value_set.
      wa_value_set-value = '3'.
      wa_value_set-text  = 'Three'.
      insert wa_value_set into table lt_value_set.
      lr_node_info->set_attribute_value_set( name      = 'TEMP'
                                             value_set = lt_value_set ).
    Regards,
    Uday
    Go through the Web Dynpro component DEMO_UIEL_STD_SELECTION for a working example of DropDownByKey & DropDownByIndex

  • Add check box in alv  output list in web dynpro

    Dear Friends,
    I want to Add check box in begining  of  each row  of alv output list for WEB DYNPRO  Program.
    ISHA

    Lalsha - you need an attribute (I will named check_box) in your context node to be in the 1st position of your ALV context node
    Data: lv_check_box          type ref to cl_salv_wd_uie_checkbox,
             lr_table_settigns      type ref to if_salv_wd_table_settings,
             l_value                     type ref to cl_salv_wd_config_table,
             lt_columns               type salv_wd_t_column_ref,
             ls_column                type salv_wd_s_column_ref,
             l_col_name              type string.
    if l_value is not initial.
    lr_table_settings ?= l_value.
    lt_columns = l_value->if_salv_wd_column_settings~get_columns( ).
    Loop AT lt_columns into ls_column.
    l_col_name = ls_column-r_column->get_id( ).
    IF l_col_name = 'check_box'   *your attribute name*
    CREATE OBJECT lv_check_box
    EXPORTING
    checked_fieldname = l_col_name.
    ls_column-r-column->set_cell_editor( value = lv_check_box ).
    endif.
    endloop
    Hope this help
    Jason P-V

  • Advantages and dis advantages of web dynpro java

    Hi Guys,
    May i know what are the advantages and dis advantages of web dynpro java?
    Regards,
    Madhu

    Hi Madhu,
    Web Dynpro (WD) is a proprietary web application user interface technology developed by SAP AG and exists in a Java (Web Dynpro for Java, WDJ or WD4J) and an ABAP (Web Dynpro ABAP[1]  , WDA) flavor. Both have in general the same functionality, but usually one flavor is improved after the other, so temporary one flavor is more advanced than the other. Hence, the decision for one of the two flavors shall be based on organizational and business circumstances, but not on functionality.
    WD follows an adapted MVC pattern and a model driven development approach ("minimize coding, maximize design") with a large number of dedicated hooks in generated code to place custom coding. It is intended for business applications that shall follow standardized UI principles, connect to backend systems and be scalable.
    Main advantages of Web Dynpro over other technologies
    typed access for design time checks, e.g. navigation links and messages are accessed via types instead of string keys like in JSF
    diverse services for backend access, like aRFC, JEE and Web Service data models
    integration with SAP Interactive Forms by Adobe, which are interactive PDF forms, during design (same IDE) and run time (data sharing)
    integration with business process management and business rules management (since NetWeaver CE 7.1 EHP 1)
    designed to support development big scale applications by adding multiple grouping layers on top of Java packages (DCs, SCs, products)
    runs on different clients e.g. web browser, mobile device, widget engine
    comes with a big collection of UI elements providing a wealth of functionality and only have to be configured but not programmed
    Main disadvantages
    proprietary, running only on SAP servers
    less flexible due to support for multiple clients (i.e. custom html is not possible). To reduce the limitations, several measures have been taken. For example, WD supports so-called "islands" for e.g. flash applications that enrich the Web Dynpro UI element collection by rich UI elements. This disadvantage doesn't seem so serious but in fact basic features that user expect to receive cannot be implemented (e.g. coloured rows in table, colours in general, advanced aligning of simple UI elements (due to nonexistence of more complicated ones), selecting multiple rows in tree-like tables (this is due to preserving basic concept of WD) and many more). Having the flash feature means that developer completely avoids WD UI (And thus cannot use other features).
    rendering speed in browser for larger tables (>1000 rows)
    The designtime and runtime environment is part of SAP NetWeaver 7.0[2] (also known as Netweaver 2004s) and following releases.
    The name comes after the original Dynpro library, whose name meant "Dynamic Program".
    Regards,
    Pradeep Kumar

  • Creating pdf and attaching to email

    Hello,
    I am trying to write a script to help manual work and am stuck at below point:
    When click save in SAP I get pdf document generated (nhremote). What I would like to do is to somehow automatically save it on my drive and attach it in the new email that is generated after each save.
    Script end:
    'session.findById("wnd[1]/usr/btnSPOP-VAROPTION1").press - SAVING the changes and pdf is generated at this point. takes some time to popup.
    'Set MyApp = CreateObject("Outlook.Application") 
    'Set MyItem = MyApp.CreateItem(0) 'olMailItem 
    'With MyItem 
      '.To = "[email protected]"
      '.Subject = "Subject"
      '.ReadReceiptRequested = False
      '.HTMLBody = RDD
    'End With 
    'MyItem.Display
    is there any way I can put action to save and attach saved file to the email? Also please keep in mind that the script is looped and it does this for many documents. Since NHREMOTE to generate pdf usually takes sometime and is a popup window I'm afraid it can be very complicated and mess up easily.

    Hello Gediminas,
    try this:
    '-Begin-----------------------------------------------------------------
      '-Directives----------------------------------------------------------
        Option Explicit
      '-Variables-----------------------------------------------------------
        Dim application, SapGuiAuto, connection, session, RepName
        Dim WScr, MyApp, MyItem, FileName
      '-Main----------------------------------------------------------------
        If Not IsObject(application) Then
          Set SapGuiAuto = GetObject("SAPGUI")
          Set application = SapGuiAuto.GetScriptingEngine
        End If
        If Not IsObject(connection) Then
          Set connection = application.Children(0)
        End If
        If Not IsObject(session) Then
          Set session = connection.Children(1)
        End If
        If IsObject(WScript) Then
          WScript.ConnectObject session, "on"
          WScript.ConnectObject application, "on"
        End If
        Set WScr = CreateObject("WScript.Shell")
        If IsObject(WScr) Then
          RepName = "PROGDELE"
          FileName = "C:\Schnell\Dummy\" & RepName & ".pdf"
          session.findById("wnd[0]/tbar[0]/okcd").text = "/nSE38"
          session.findById("wnd[0]/tbar[0]/btn[0]").press
          session.findById("wnd[0]/usr/ctxtRS38M-PROGRAMM").text = RepName
          session.findById("wnd[0]/usr/btnSHOP").press
          WScript.Sleep 500
          WScr.AppActivate "ABAP Editor: Report " & RepName & " anzeigen"
          WScript.Sleep 2000
          session.findById("wnd[0]/usr/cntlEDITOR/shellcont/shell").SetFocus()
          WScr.SendKeys "+{F5}" 'Customize Shift+F5 to File.ExportPDF
          WScript.Sleep 250
          wscr.SendKeys FileName
          WScript.Sleep 250
          wscr.SendKeys "{ENTER}"
          WScript.Sleep 1000
          Set MyApp = CreateObject("Outlook.Application")
          If IsObject(MyApp) Then
            Set MyItem = MyApp.CreateItem(0)
            With MyItem
              .To = "[email protected]"
              .Subject = "Subject"
              .ReadReceiptRequested = False
              .Body = "Here comes the file"
              .Attachments.Add FileName
            End With
            MyItem.Display
            'MyItem.Send
            Set MyItem = Nothing
            Set MyApp = Nothing
          End If
          Set WScr = Nothing
        End If
    '-End-------------------------------------------------------------------
    This script starts the TAC SE38 and loads the Report PROGDELE. It exports the report as PDF and sends the PDF file via e-mail to hugo.bambi.
    All you have to do, to try this script, is to customize your SE38 view, that the shortcut Shift+F5 ist set to File.ExportPDF.
    You see, it is possible to save a PDF from SAP and to send it as e-mail attachment . Also you see it is possible to handle SAP dialog windows. And it should be not a great problem to do this steps in loop for more than one document.
    Let us know your result.
    Cheers
    Stefan

  • RoboHelp - how to create Number1 and Number list styles?

    In RoboHelp 11, I have multi-level lists and normal lists. The multi-level list will continue numbering after a break in the list, like so:
    1. step one
    2. step two
    break
    3. step three
    If I want step three to start a new list, I go to the HTML and manually add a start="1" attribute. The normal list will start over at 1 after each break, and if I want it to continue I need to add a start attribute for wherever I left off.
    What I want is what I use in FrameMaker: a list style for Number1 that I can add when I want to restart lists, and a Number/Number_next for continuing where I left off, without having to manually alter the HTML. I feel like I'm missing something because I can't find an option to create a list like this in the CSS editor, and I can't figure out what to add manually to the CSS file in a text editor that makes RoboHelp recognize what I want it to do. But obviously the option exists because the multi-level list and the normal list exhibit both behaviors that I want.

    In RoboHelp (or HTML), there is no feature like you have in Frame. Both Multilevel list and regular HTML lists require you to set the numbering after you break.
    An alternative way of working may be to not create real paragraph but to end line feeds pressing Ctrl+ENTER. This won't break the list numbering while you can add multiple lines.
    Kind regards,
    Willam

  • How to display the attached file of DMS in WEB Dynpro

    Hello everybody! I have to work with DMS documents on the portal. Do You know, how display the attached files of DMS document in WEB Dynpro?
    Pavel Truhlář

    Hi Pavel,
    By using the below F.M we can display DMS Document.
    CALL FUNCTION 'CVAPI_DOC_VIEW'
      EXPORTING
        PF_DOKAR               = 'ZAP'
        PF_DOKNR               = LS_DMS_TABLE-DOKNR
        PF_DOKVR               = '00'
        PF_DOKTL               = '000'
       PF_HOSTNAME            = 'DEFAULT'
       PF_APPL_START          = ' '
       PF_GET_URL             = 'X'
    IMPORTING
       PFX_URL                 = V_URL
    EXCEPTIONS
       ERROR                  = 1
       NOT_FOUND              = 2
       NO_AUTH                = 3
       NO_ORIGINAL            = 4
       OTHERS                 = 5.
    After getting the V_URL Create External Window.
      LO_API_COMPONENT  = WD_THIS->WD_GET_API( ).
      LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
      LO_WINDOW         = LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW(
                    URL = LW_URL ).
    BR,
    Jack.

  • Create image of XSTRING data and display it in Web Dynpro

    Hello,
    I am trying to dynamically display an image in a Web Dynpro ABAP Image-Control. The problem is that the data is stored in the DB as XSTRING and I can't find a Method for example to create a new object in the MIME-Repository of the data which is read out of the DB at runtime.
    I have already converted the XSTRING into w3mime-Format with the function module RSFO_XSTRING_TO_MIME, but the Control needs a string of a url to display the image (for example to a MIME-Object of the component or a link to a file on the ITS).
    Is there somehow a possibility to do this?
    Thanks for your help,
    Kolja
    Solved this way: See /people/brian.mckellar/blog/2003/09/30/bsp-in-depth-writing-an-http-handler
    Message was edited by: Kolja Ewering

    Hi you may go through the below post to find what could be a better way to do that.
    http://forum.java.sun.com/thread.jspa?threadID=5163829
    REGARDS,
    RaHuL

  • Creating and Edit Order in Web Dynpro (seperate window or view?)

    Hi,
    I have just done with Web order creation in web dynpro and is going to start on Edit now. Should I have a seperate window for Edit or should I put it together in the same window as Create order?

    Hi Jackson,
    Most of the time for such kind of requirements it is generally prefer to have a seperate view for edit and that is being called using the plugs from the main screen.
    The flow will be like this:
    View 1 (main View having data, Fieds for editing are disabled)  -
    > Fires Plug to Edit view -
    > Edit View ( With all fields enabled which you want for editing).
    In kind of a design the main advantage is, you can directly keep the required nodes in the component controller and map these nodes in main view and edit view, both. Without even caring for any data flow.
    Data flow will be automatically be taken care by the component controller. The only one thing which needs to be handled is the UI elements enable and disable property. Because in the case of the main view you need to keep the disbale property of most of the UI element as True (as you don want user to edit anythign in this main view). In the edit view the disable property of same UI elements will be set to False, as used can edit any thing in this edit view.
    If you keep this kind pf approach one more added advantage is that you can pass various parameters in the plug function. So if you want to handle something on the bases of sone flag etc then you can pass those parameters in the plug method.
    However, as replied earlier, the decision is purely based upon your requirement. If the requirement is to show the edit screen as a Pop-up then you can help it!! Go with it..
    I hope this will solve your issue. Please revert back if you need any other information.
    Thanks and Regards
    Pravesh

  • I am not able to create a callable object of my web Dynpro application

    Hi,  
      I have my Portal server installed with NW2004S and with other components as follows.    
    ·WAS 7.0 SP9  
    ·EP7.0 SP9  
    ·CAF 7.0 SP9  
    ·VC 7.0 SP9  
    But now my webdynpro application is not reflecting in web Dynpro Component(GP Interface) during the design time, when I am trying to create a callable object.    
    So please can you suggest what is the problem and how I will get it corrected.  
    Regards,  
    Paresh.

    Hi Aliaksei,
    I had created a complete CAF application which was working fine. Then the server got crashed and i lost everything.So then i again installed the server and upgraded it to SP7.But than i was not able to see my web dynpro application while creating callable object. So i created another instance in the server at the base level(SP4) and i was able to create callable object.
    There is no problem in the webdynpro application.I have added runtime library referece to my project : sap.com/cafeugp~api and also implemented the Interface IGPWebDynproCO in my component.
    So i dont know where i am going wrong while i am upgrading the server.
    Regards,
    Paresh.

Maybe you are looking for

  • Vendor master payment terms

    Hi, I would like users to maintain same payment terms in vendor master Purchasing and company view So i would like system to copy payment terms maintained in one field to other field or vise versa Are there any std.settings available for this? or any

  • Multiplexing error, Muxing preparation

    Ok I have tried following iDVD's instructions by inserting a blank DVD when it asks. I've tried mounting the DVD on my Finder. I've even tried just making a dmg file from iDVD. I continue to get a Multiplexing error: There was an error during muxing

  • Bsp grid with employee list under managers

    Dear friend, I am totally new to BSP and HR Abap programming, I need scenario like this, when Manager login, he can see under his employee list in gridview, after that select employees, click send button its goes automatically mail. please i need ful

  • How to add checkbox in ALV OO?

    how to change editable mode and able to input??? REPORT  ZZ_ALV_TEST. data:       ispfli type table of spfli. data: gr_table type ref to cl_salv_table. data: gr_functions type ref to cl_salv_functions. data: gr_display type ref to cl_salv_display_set

  • Why user sessions are frequently blocked?

    from the time that we did a database migration from oracle 8i to oracle 9i, and the application to developer 6i we have faced a new problem, ' the user sessions are frequently blocked' anybody have any idea? it is a database parameter that must be ch