How to open Outlook, generate an email with Web Dynpro ABAP

Hi Experts,
I have to generate an email which must be open with MS Outlook.
The body will be filled by values from the IView, then Outlook should be open and the email
should be shown so that the user can change or add s.th. in the email.
I tried it in a class with OLE2, but thats not possible with WD ABAP.
Could anybody help me with that problem???

To generate the  receipient name dynamically.
You have to create an context attribute of type string and bind this attribute with reference property of linktourl.
then create a local variable of type string. suppose name of the local variable is lv_mail.
You will be having mail ID of the receipient  in any local variable suppoe in variable lv_mailid.
Now use the following line.
Concatenate 'mailto:' lv_mailid '?subject=<subject line>' into lv_mail.
Now set your context attribute with the value lv_mailid.
To generate there is one standard FM. Sorry I do not remember the name of that FM.

Similar Messages

  • How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

    Hello,
    How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
    Thanks

    hi,
    Check out this link for sorting in Table.
    Sorting option in WebDynPro ABAP UI Table
    steps to follow :
    ->Have the data in internal table (itab).
    ->Now use sort command for the particular column which ever you want to sort.
      e.g sort itab descending by <Column>.
    ->Now you can bind the internal table with the Context Node which is binded to Table.
    I hope it helps.
    Thanx.

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • How to fill BI cube with Web Dynpro ABAP Program UI

    Hello,
    I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
    I know that such a functionality exist  in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
    Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
    Many thanks
    Arnaud
    Edited by: Arnaud on Jul 28, 2010 3:32 PM

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

    Hello,
    I have created an Interactive Form with ZCI type.
    I placed a text field MATNR on the form.
    Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
    This form was then embeded into Web Dynpro ABAP view.
    The problem is that when I click on the F4 button, nothing happens.
    Is anything else needs to be done?
    Thanks
    Sagar

    Hi Amol,
    After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    Ragards,
    Amol Patil.

  • Combine Adobe Flex 2 with Web Dynpro ABAP

    Does somebody know if there is a way to call a WDA component from an Adobe Flex 2 application or the other way around? I think within a Portal it should be possible by creating 2 iViews and let them communicate through input and output events (portal events).
    However I am looking for a way without having a portal available. Example: I have created a WDA application that displays customer information in a simple ALV. When I click on a row I would like to call a Adobe Flex component which shows the information in a very nice graphical chart that we cannot create in WDA because it is too complex and in Adobe Flex it is possible.
    Looking forward to your input!
    kind regards
    Angelique

    Hi  Angelique,
    "Flex integration into Web Dynpro is not available to customers yet. The last I heard, it is supposed to be made available for Web Dynpro Java in Q2 of 2008 and made available for Web Dynpro ABAP in Q3 of 2008."
    Please go through the below links for related information :
    Re: How to Flex + Web dynpro Screen
    Re: Flex with WebDynPro
    Regards,
    Mary Joseph

  • Problem with image loading in flex (with web dynpro ABAP integration)

    Hi,
    I am working with integration of flex and web dynpro abap. I am facing unusal problem while loading the images. I have the images in the MIME folder of web dynpro application. Since my swf file and all the images that I want to use are in the same folder(MIME), I am accessing them giving just the image name as source for the image in flex.
    By this method I get the images sometimes, but not everytime. So could anyone suggest me alternative method.
    Regards
    Prashant Chauhan
    Edited by: Prashant8809 on Jul 17, 2011 11:56 AM

    Hello Prashant,
    you need to mention the full path as source for the image in flex.
    ex. if your WD application name is Z_TEMP and image file name in mime folder is 'image.jpg' then you need mention the source in flex as
    http://servername:50001/sap/bc/webdynpro/sap/Z_TEMP/image.jpg
    Hope this solves your problem.
    BR, Saravanan

  • Sliver light integration with web dynpro abap

    Hi All,
    I was trying to integrate silverlight with web dynpro. Does any one has any document to start with..??
    Where can i design silverlight application to upload in web dynpro..??
    Thanks and Regards,
    Vishesh,

    Hi,
    We faced a similar problem with BSPs and had to change the definition of the area link type entry.
    I am assuming you have set the area link type to WebDynpro for ABAP and the resource is calling an Iview/page that has the WD ABAP application configured.
    To get around the error, change the Area Link type to Calls a Portal page and make sure the resource calls an Iview/Page that has the WD ABAP application configured.

  • Upload file and send them by email on Web Dynpro abap

    Hi experts.
    I Need a help.
    I want to upload a file (  any type, Word, Excel, pdf, image)  and send this file by email on abap web dynpro.
    But a have a problem. the web dynpro upload functionality return a xstring value like content of this file. but the FM SO_NEW_DOCUMENT_ATT_SEND_API1 receives a table with a line type SO_RAW255 RAW 255 0 SAPoffice: Binary data with length 255 to attachment.
    Now, how can I transform the xstring into this type of table?? or there is another way by send an email with the xstring like attachment??? or what can I do?
    Thank in advance.

    Please check fm
    SCMS_BINARY_TO_FTEXT

  • Column-width in SALV with web-dynpro ABAP

    Hi there,
    can anyone help me? I want to set the column width to a fix value e.g. 50px.
    How can i do this in SAP List Viewer for ABAP Web Dynpro? At the moment i use this code:
      lo_value->if_salv_wd_table_settings~set_scrollable_col_count( 6 ).
      lo_value->if_salv_wd_table_settings~set_width( '100%' ).
      lo_value->if_salv_wd_table_settings~set_fixed_table_layout( 'X' ).
    The effect is that there are 6 columns all the same width. Is it possible to fix width for one specific column??
    best regards...
    David Wallner

    Hi David,
    You need to change Table setting Layout. Please check this code:
    * create an instance of ALV component
    DATA: LR_IF_CONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
    LR_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE,
    LR_CMDL TYPE REF TO CL_SALV_WD_CONFIG_TABLE,
    LR_TABLE_SETTING TYPE REF TO IF_SALV_WD_TABLE_SETTINGS.
    LR_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
    IF LR_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
      LR_CMP_USAGE->CREATE_COMPONENT( ).
    ENDIF.
    ** get reference to the ALV model
    LR_IF_CONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
    LR_CMDL = LR_IF_CONTROLLER->GET_MODEL( ).
    LR_TABLE_SETTING ?= LR_CMDL.
    ** Set column width
    DATA LR_COL TYPE REF TO CL_SALV_WD_COLUMN.
    LR_COL = LR_CMDL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'PERNR' ).
    LR_COL->SET_WIDTH( '70' ) .
    LR_COL = LR_CMDL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'ENAME' ).
    LR_COL->SET_WIDTH( '100' ) .
    LR_TABLE_SETTING->SET_FIXED_TABLE_LAYOUT( ABAP_TRUE ).
    This is the important thing:
    LR_TABLE_SETTING->SET_FIXED_TABLE_LAYOUT( ABAP_TRUE ).
    Regards,
    Uday

  • Save PDF in KM - Personal Documents of user with Web Dynpro ABAP (WDA)

    Hi Experts,
    I have a WebDynpro ABAP Application, running in my Portal, which generates (after some input steps) a pdf (Adobe Form) as confirmation. Of course the user can save and print the pdf-form by himself, but I would like to save the PDF automatically to his "Personal Documents Folder" in KM to "archive" it.
    Does anyone know how this might work? Is there a standard-way to do this?
    Thanks for any proposal
    Best regards.
    Volker

    We figured it out.  We had been using an application parameter WDDISABLEUSERPERSONALIZATION to prevent users from hiding UI elements on the view.  After upgrading to 7.31 this also prevented re-arranging columns and adjusting column sizes directly on the the grid.  We replaced this parameter with WDENABLEUIELEMENTSHIDE instead to prevent users from hiding elements, but it now allows moving columns with drag/drop and resizing.

  • Issue with ADOBE interactve form intergrated with Web dynpro ABAP

    Hi Experts
    I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
    But on display on Internet expolrer it doesn't allow to input values even submit button dosen't work.
    Please help me how would it will allow to input values .
    Many thanks in advance

    Hi,
    have you checked Enabled for your Adobe form in SE80?

  • Problem with Web Dynpro ABAP Adobe form Access via 'NULL' object reference

    Hi All!
    I'm a beginner of Adobe form.
    problem 1:
    I tried to display data in Adobe interactive form according to the tutorial :https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7783. [original link is broken] [original link is broken] [original link is broken]
    I checked every step, but unfortunately it reported an error: Access via 'NULL' object reference not possible. I found that the error happens when trying to get element of the context node.
    I also have such problem when I was studying the tutorial https://wiki.sdn.sap.com/wiki/display/WDABAP/CallAdobeFormthroughABAPWebDynpro.
    problem 2:
    I can't input any data in input box or click any button even  if I selected the property 'enabled' of the interactive form while my colleague can do it on his computer.  Does it means that there are some thing wrong with my adobe reader?
    Hope anyone could save me,
    Thanks & Regards,
    Murloc

    >
    tomcat123 wrote:
    > Hi All!
    > I'm a beginner of Adobe form.
    > problem 1:
    > I tried to display data in Adobe interactive form according to the tutorial :https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7783. [original link is broken] [original link is broken] [original link is broken]
    > I checked every step, but unfortunately it reported an error: Access via 'NULL' object reference not possible. I found that the error happens when trying to get element of the context node.
    > I also have such problem when I was studying the tutorial https://wiki.sdn.sap.com/wiki/display/WDABAP/CallAdobeFormthroughABAPWebDynpro.
    Check that you have entries in the Table MARI. else you will get this message.
    > problem 2:
    > I can't input any data in input box or click any button even  if I selected the property 'enabled' of the interactive form while my colleague can do it on his computer.  Does it means that there are some thing wrong with my adobe reader?
    >
    Compare the adobe live cycle version. it will work fine with 7.0/7.1
    > Hope anyone could save me,
    > Thanks & Regards,
    > Murloc

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Error in integrating flex with web dynpro abap

    Hi,
    I did integrating   Island Component into Web Dynpro ABAP as per the tutorial given by Thomas Jung.
    Now i'm facing a problem that in that bar chart ,after giving the values in web dynpro table,bars are not getting populated.
    I'm getting X and Y axis populated...only bars are not getting populated..
    plz help....

    hi,
    i'm using flex 4...
    Is it because of that??

Maybe you are looking for