OfficeIntegration control in Web Dynpro ABAP

Hi,
Is anyone aware of a test Web Dynpro component available in ECC6 that demonstrates this functionality? We're trying to add the control to a test component but failing to set the dataSource correctly.
Is the dataSource property meant to be a URL, physical file location or byte stream? Please advise because the doco on help.sap.com is a little sketchy.
Thanks in advance.
Nick

I am afraid that it is not possible , atleast there are no API to do that.

Similar Messages

  • Absolute URL IMAGE UI control in Web Dynpro ABAP fails

    I would like to display a .jpg from the Internet, either using a URL or an RFC Destination as the source.
    The "Web Dynpro ABAP Development in Detail" manual says that this can be done using only the Source attribute of the IMAGE UI control (see page 114) - that is,
       create an RFC Destination G-HTTP entry for the URL,
       type in that RFC Destination as $NAME$
       append any further extension of the URL as "/path in lower letters"
    I can enter an RFC Destination (ex., $UBERORBS$) which points directly to a single image file via its host/path and it is displayed in SE80's Layout Preview, but nothing displays at runtime.
    If I try to extend an RFC Destination's path to point to that image file (ex., $UBERORBS_BASE$/uberorbs_44pence.jpg), the image is also displayed in the Layout Preview, but not at runtime.
    Is this a bug?  or something wrong with our implementation?  We are at SAP_BASIS 700 level 0006.
    (Also, if the Source entry is not exactly correct, SE80 aborts following the entry with STRING_OFFSET_NEGATIVE.)

    Here's another piece of information.
    I am able to use the test app WDR_TEST_UI_ELEMENTS to display at runtime the $UBERORBS$ RFC Destination-absolute URL image.
    So, does this mean that there is a critical setting within my Web Dynpro component which must be set properly to permit this?

  • Splitter control in web dynpro ABAP

    Hello everyone,
    My requirement is my view will have 2 panes. The user wants a functionality where if he moves cursor on the separator bar for two panes, it should turn into the re-sizing arrow and allow him to resize the pane.
    I have searched for a week or so but have not found any convincing answer to this issue. Please help.

    I am afraid that it is not possible , atleast there are no API to do that.

  • Smart forms in web dynpro abap

    how to use smart forms in web dynpro abap ????
    what are the steps??

    Hi Ankit,
    1.create a node(Eg:PDF)  with attribute(SOURCE type xstring )  
    2.use Interactiveform UI element in the view
    3.Bind the pdfSource property of the UI to the attribute SOURCE
    4.in method write logic for call the smart form
      Pass the output of the smartform function call to
      function module CONVERT_OTF to convert it to PDF data.
    method displaypdf .
    data : l_x(1) value 'X'.
    data: lv_text type char3,
    lv_syucomm type char1,
    ls_pdf type xstring,
    lv_fm_name type rs38l_fnam,
    lv_control_parameters type ssfctrlop,
    lv_output_options type ssfcompop,
    lv_ssf_output type ssfcrescl,
    lt_otfdata type table of itcoo.
    data:
    node_input1 type ref to if_wd_context_node,
    elem_input1 type ref to
    if_wd_context_element,
    stru_input1 type
    ig_componentcontroller=>element_zinput.
    * navigate from <CONTEXT> to <INPUT1> via lead selection
    node_input1 = wd_context->get_child_node( name
    ig_componentcontroller=>wdctx_zinput ).
    * get element via lead selection
    elem_input1 = node_input1->get_element( ).
    * get all declared attributes
    elem_input1->get_static_attributes(
    importing
    static_attributes = stru_input1 ).
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM_NAME'
    importing
    fm_name = lv_fm_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3
    if sy-subrc <> 0.
    * Error MESSAGE
    endif.
    * Set relevant control parameters
    lv_control_parameters-getotf = l_x. "OTF output
    lv_control_parameters-no_dialog = l_x. "No print dialog
    lv_control_parameters-preview = space. "No preview
    * Set relevant output options
    lv_output_options-tdnewid = l_x. "Print parameters,
    lv_output_options-tddelete = space. "Print parameters,
    call function lv_fm_name
    exporting
    * ARCHIVE_INDEX * ARCHIVE_INDEX_TAB *
    ARCHIVE_PARAMETERS control_parameters = lv_control_parameters
    * MAIL_APPL_OBJ * MAIL_RECIPIENT * MAIL_SENDER
    output_options = lv_output_options
    user_settings = space
    pernr = stru_input1-zpernr
    reinr = stru_input1-zreinr
    pdvrs = stru_input1-zpdvrs
    importing
    * DOCUMENT_OUTPUT_INFO job_output_info = lv_ssf_output
    * JOB_OUTPUT_OPTIONS exceptions
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    others = 5
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    refresh lt_otfdata.
    lt_otfdata[] = lv_ssf_output-otfdata[].
    call function 'SSFCOMP_PDF_PREVIEW'
    exporting
    i_otf = lt_otfdata
    exceptions
    convert_otf_to_pdf_error = 1
    cntl_error = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    data: l_dummy type standard table of tline,
    pdf_data type xstring,
    pdf_size type i.
    clear: pdf_data, pdf_size.
    * convert otf to pdf
    call function 'CONVERT_OTF'
    exporting
    format = 'PDF'
    importing
    bin_filesize = pdf_size
    bin_file = pdf_data
    tables
    otf = lt_otfdata[]
    lines = l_dummy
    exceptions
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    others = 4.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    data:
    node_pdf type ref to if_wd_context_node,
    elem_pdf type ref to
    if_wd_context_element,
    stru_pdf type
    if_componentcontroller=>element_pdf ,
    item_source like stru_pdf-source.
    * navigate from <CONTEXT> to <PDF> via lead selection
    node_pdf = wd_context->get_child_node( name if_componentcontroller=>wdctx_pdf ).
    * get element via lead selection
    elem_pdf = node_pdf->get_element( ).
    * set single attribute
    elem_pdf->set_attribute(
    exporting
    name = `SOURCE`
    value = pdf_data ).
    endmethod.
    Thanks
    Chinnaiya P

  • Attachement Details (GOS) in Web Dynpro (ABAP)

    I posted this question in the Web Dynpro ABAP forum and got no response, so I'm moving it here:
    We are developing a Web Dynpro application to display PO attachment details (PDF file etc).
    In the corresponding R3 application, we use FMs ARCHIVE_GET_CONNECTIONS and ARCHIV_DISPLAY_LIST_2. They work perfectly.
    The Web Dynpro application uses both FMs but one of them returns an error "Screen output without connection to user". This is returned from FM K_KKB_LIST_DISPLAY which is trying to popup a screen.
    So we would like to know if we are going about this correctly or if we should be using different FMs.
    Thanks for any insight you can provide.
    Rob
    Edited by: Rob Burbank on Aug 21, 2008 2:29 PM

    Have you checked the fm  ALINK_DOCUMENTS_DISPLAY
    This is program documentation found in the initial source of function module
    * Description:
    * Display a single document using one of the following ways of
    * communication:
    * - display via CMOD SALIN001
    * - display via ArchiveLink_internal exit
    * - Wingui
    *    - OLE automation
    *    - display URL document via OLE start (only HTTP interface)
    *    - HTML - Control (only HTTP interface)
    *    - separate Browserwindow (only HTTP interface)
    *    - EAI  - Control (only HTTP interface)
    *    - Mix scenario: first get the document on the client PC, second
    *      display local file
    *    - R/3 (printlists)
    * - HTML-GUI
    *    - HTML - Control (only HTTP interface)
    *    - separate Browserwindow (only HTTP interface)
    *    - R/3 (printlists)
    *  - Platinum GUI
    *    - R/3 (printlists)
    *    - not supported for other documents
    PS : CL_GOS* class will not work in WebDynpro, i think these are using control framework.
    May this will help you out.

  • Web Dynpro ABAP, Crystal and ACF

    Hi fellow developers,
    I am attempting to get an Web Dynpro ABAP application working with an embedded Crystal report.
    We are on ECC6, release 702.  So far I am just using the stock standard application provided by SAP: WD_ACF_TEST_CRYSTAL.
    Unfortunately I get the following errors:
    Techincal info:CoCreateInstance error with guid: 2F848BE4-8329-4C09-8613-FC9DFF55C10F
    Messagetextid:352 Messageclass info:Integrated control cannot be started
    I am using a local installation of the Netweaver Business Client and I have installed Crystal Reports Viewer 2008 locally on my machine.
    I have tried WD_TEST_APPL_ACFEXECUTE and after saving the certificate, it works.
    I think the problem lies with the Active Controls White List in SPRO.
    Thank you in advance,
    Jason Lante

    Nevermind,  I found the solution.
    It appears that you need to install the Crystal Reports ALV Adapter (xSAPCRVAdpt.exe) for this to work.
    Refer to note: 1353044.
    Jason

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • How to create  calendar in web dynpro abap

    Hi ,
    how to create  calendra in web dynpro abap.
    Thanks in advance.
    Regards, Chetan

    hi,
    For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
    One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
    Regards,
    Jithin

  • Local interface of each controller in web dynpro abap

    Hi everyone,
    Anybody please give some idea what is local interface of each controller in web dynpro abap??
    Thanks,
    Sonali..

    Hi,
    There will be three controllers in webdynpro
    1) Component controller which provides data and processing logic that it should be possible to display or change for all views of a component. It is the main component. All the data of the iview can be shared using this controller. Custom controller is also component controll. The only differnce is it is custom made.
    2) Inteface Contorller which is used as in interface for communication other components.
    3) View Controller which will be having data and functions and visible in the same iview and is associated with the iview. its lifetime is also limited and only during it is shown.
    Please go through the link also
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b9/b82c4142aef623e10000000a155106/frameset.htm
    Also please go through the below pdf link.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2eb11b59-0a01-0010-dfa3-8292abdf9c4f
    hope it helps you.
    Raghu
    Raghu

  • CSV file display in web dynpro abap

    Hi,
    Can any one tell me , it is possible to display data in CSV format in web dynpro abap & if yes please tell the steps of doing this.
    thanks,
    amishra

    >
    A.MISHRA wrote:
    > Hi,
    >
    > Can any one tell me , it is possible to display data in CSV format in web dynpro abap & if yes please tell the steps of doing this.
    >
    > thanks,
    > amishra
    Hallo Mishra,
    Do You want to show data in excel ? or you want to show data in Table UI or ALV
    If it is excel then you can use Office Control UI and bind XSTRING for the dataSource property.
    if you have to choose between Table UI and ALV then i would choose ALV.

  • Closing web browser from a Web Dynpro (ABAP) component in it

    Hi,
    I am opening a Web Dynpro component in IE.
    I have a requirement to close the Internet Explorer window on click of a "Close" Button in Web Dynpro (ABAP) component. I am using EXIT Outbound plug of the Main Window to perform the same.
    In the EXIT plug I am setting "CLOSE_WINDOW" parameter to ABAP_TRUE.
    On click of the "Close" button a pop-up dialog box (with "Yes" and "No" buttons) appears asking me whether I really want to close the IE window.
    If I click on "Yes" button of the dialog box, the IE window gets closed without any issues.
    But when I click on "No" button, the IE window shows up a blank screen. I want the control to come back to the calling Web Dynpro component's screen.
    Appreciate any help/guidance in the above issue.
    Thanks,
    Prasanna

    create an action 'YES','NO', 'CANCEL' in required view.
    copy and paste below code in YES action
    method ONACTIONYES .
      data : l_view_cntr type ref to if_wd_view_controller,
    l_win_cntr type ref to if_wd_window_controller,
    l_window type ref to if_wd_window,
    l_parameter_list type wdr_event_parameter_list,
    l_parameter type wdr_event_parameter,
    l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'."'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
    parameters = l_parameter_list ).
    endmethod.
    goto your window
    create plug EXIT in Window of type EXIT and chect interface checkbox
    create a button - for example - "PUSH BUTTON"
    in pushbutton action
    copy and paste this code
    method ONACTIONEXIT_PLG .
    DATA: API TYPE REF TO IF_WD_COMPONENT,
          WINMAN TYPE REF TO IF_WD_WINDOW_MANAGER,
          WIN TYPE REF TO IF_WD_WINDOW,
          TEXT1 TYPE STRING_TABLE,
          ls_text type string,
          V_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
    API = WD_COMP_CONTROLLER->WD_GET_API( ).
    WINMAN = API->GET_WINDOW_MANAGER( ).
    LS_TEXT = 'Do You Want To Close the Window'.
    INSERT LS_tEXT into table text1.
    win = winman->create_popup_to_confirm(
                                           window_title = 'CONFIRM'
                                           text = text1
                                           button_kind = if_wd_window=>co_buttons_yesnocancel
                                           message_type = if_wd_window=>co_msg_type_question
                                           window_position = if_wd_window=>co_center ).
    V_API = WD_THIS->WD_GET_API( ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_YES
            ACTION_NAME = 'YES'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_TRUE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_NO
            ACTION_NAME = 'NO'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_CANCEL
            ACTION_NAME = 'CANCEL'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->OPEN( ).
    endmethod.

  • Portal theme & web dynpro abap popup

    Hi all,
    I have a Web Dynpro ABAP application inside the SAP Portal, with WDTHEMEROOT & WDFORCEEXTERNALSTYLESHEET parameters typed.
    Everything is ok, any UI control that I used in the views is formatted according to the Portal Theme.
    But right now, I want to launch a popup for a message. I use methods from if_wd_window_manager, like create_popup_to_confirm or create_window, but the popups are showed in a standard style, not the Portal theme (like the rest of the applicaton).
    Anyone knows why??
    The same method (create_popup_to_confirm) is used in a WD Java application and gets the Portal theme.
    Thanks!
    Miguel Angel.

    Hi Shanti!
    Yes, I did it, but the problem still remains...
    The fact is that most of the elements get the portal theme (dropdownbyidx, labels, transparentcontainers, buttons...) but when I call a popup through if_wd_window_manager it appears like the standard look&feel (blue color, etc...). The popups doesn't get the portal theme.
    It happens only in WD ABAP, I mean, we have other applications in WD JAVA with the same portal theme & the same popup function, and it works...
    The only elements that doesn't get the portal them are the popups!
    Thaks!
    Miguel Angel.

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • SRM 7.0 Web Dynpro ABAP Customization

    Hi ,
    Upgrading from SRM 5.0 to SRM 7.0 and would require customization at the Web Dynpro ABAP Component for RFx.
    I need to put a pop-up screen when the Buyer clicks on the "AWARD" button on the Bid Screen. Now I am not able to find the award action/event at the Web Dynpro component level where I have to put the pop-up code and other related logic. I also tried getting into the SPRO and find the class which may contain the AWARD event. Please let me know the solution to this problem. Thank you.
    Manoj

    Hi Akash,
    Thanks for the reply. Can you please guide me through how to go about the enhancement, keeping the original functionality of the Award Button intact. And I understand coding in method of interface is not possible.
    Manoj
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:33 PM
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:35 PM

Maybe you are looking for

  • What to do if after your MacBook Crashed & iTunes over writes your media folder

    So my MacBook Pro hard drive was starting to fail, and before it died I copied my music through itunes over to an external drive. I reformatted the drive, updated to Mountain Lion & have started to get back to "life as normal" after having to reinsta

  • A few basic string Questions

    I would like to know how to make a string with the same characters as another string. Also, how can I set an int with the same value as there are characters in a string. It would really help if you gave me an example, because I am new to java and pre

  • I had my I pod touch for 10 months up to last month my camera app now it is gone....why

    I have been able to use the camera on my I pod touch since I have owed it now for 10 months last week the camera just went puff.....why?

  • Buffer table not up-to-date error while working with local SRM PO

    Hi all, We are working in SRM 7.0  with extended classic scenario. I faced an issue while working with local SRM PO. Iam getting a dump while doing changes in SRM PO. Dump says that "Buffer table not up-to-date". Please find the detail dump error bel

  • Changing apple ID on iPhone

    Hi, I accidentally entered a wrong email address onto the Apple ID field on my iPad during setup for iCloud. Now the iPad and MacBook can't find the phone. Setup in iPad won't let me change the ID. Any ideas how I might get the iPad to accept a corre