Can I use OLE in WebDynpro 4 Abap??

I got a complicate request that need to read from an EXCEL template and edit the EXCEL.
the Excel file can only be a normal .XLS file with macro in it,so XML don't work here.
I try to use an OLE object to operate the excel in WD Application but an error happened when create the OLE object.     while there's no problem to create it in a normal Report program.
is there any way to use OLE in WD Application???  otherwise i should write program to read the binary file of excel myself....

looks to me that you need to use the UI element for office integration, standard available in wd4 abap.

Similar Messages

  • Can i Use Smartforms in Webdynpro? If so how ?

    Can i Use Smartforms in Webdynpro? If so how ? Sample Codes are Welcome..

    Hai Sai,
    U can convert the smart form into PDF format and use it.
    U can the check the below URL and understand it perfectly:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785">Smartform as pdf in webdynpro for abap</a>

  • Can't i use OLE in webdynpro?

    Hello
    Pls. let me know is the OLE will not work in a custome WebDynPro application? Because, in debugging it went well, but no MS Word document has been created on my local desktop!!
    When i run it as test STAND ALONE report program, it worked well.
    When i copied & pasted the same code into my web dynpro appluication, its not creating any MS Word documents on my desktop!!
    Actually, i can create the MS Word by using CLASSES also, but, i need the below piece
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = 'FIND_TEXT'
        #02 = ls_partner1-name_org1
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
    Thank you

    Thank you. got it.
    As i mentioned i can create the MS Word on my desktop from webdynpro by using the below code,
      WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
        I_FILENAME   = 'WDP.doc'
        I_CONTENT     =  ls_upload-doc_content
        I_MIME_TYPE = 'WORD' ).
    But, my main requirement is to FIND & REPLACE some of the text on this MS Word doc., i am achieving this requirtement with the below code, pls. let me know How can achive the same in webdynpro?
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = 'FIND_TEXT'
        #02 = ls_partner1-name_org1
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
    Thank you

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

  • WD ABAP: How to use checkboxes in webdynpro for abap

    Hello all,
    I want to use a group of Radio-Buttons in my Webdynpro. If I use the element RadioButtonByKey it will shown three Radiobuttons, how can I use them? I think I have to bind every Radiobutton on an seperate Context-Attribut. But I didn´t know can I do this. And why there are always three Radio-Buttons? I need only two. Is there anywhere a Tutorial which describes the handling of the Radio-Buttons?
    Kind regards
    Axel

    Hi Axel,
      if u need two radio buttons then insert child of type radio button .here is th simple example for creating and binding the buttons to selction key.
    Example:
    Assume that u r having 2 Radio buttons R1 and R2.
    For this u create 3 attributes R1,R2 and Sel.
    For the radio button R1:
    set the element properties as:
    keytoselect---R1
    selected key --Sel
    For the radio button R2:
    set the element properties as:
    keytoselect---R2
    selected key --Sel
    In implementation part :
    public void wdDoInit()
    //@@begin wdDoInit()
    wdContext.currentContextElement().setR1("Pass");
    wdContext.currentContextElement().setR2("Fail");
    wdContext.currentContextElement().setSel("Pass");
    //@@end
    SO from the above code the default radio button R1 will be enabled.
    If u want the second radio button to be default then change sel to
    wdContext.currentContextElement().setSel("Fail");
    so during run time when u select the first one automatically its selvalue changes according to the radio button's value.
    *****Points Please......
    Regards,
    Krishnam Raju.

  • Can I use OLE DB to acces thir party hierachical database Applix / TM1 ?

    Hi,
    I have got an Applix / TM1 Boi.
    Form the Applix / TM1 box I need to get some data in my Oracle Data Warehouse.
    Applix / TM1 has got an OLE DB Interface.
    Can I access this OLE DB Interface from my Oracle Database in Batch ?
    Is this possible ?
    How ?
    Thank You for Your Advice
    Martin Sautter

    Thanks for that...but can I do multiple edits in my Stored Procedure Vaibhav and pass back something that I can then utilize in my SSIS? For example...
    One and Only one Member Span...so I'd be doing a SELECT COUNT(*) based on my match criteria or handle the count accordingly in my Stored Procedure and passing something back via the OLE DB Command and handling it appropriately in SSIS
    Are there "Diabetes" claims...again probably by analyzing a SELECT COUNT(*)
    Am I expecting too much from the SSIS...should I be doing all of this in a Stored Procedure? I was hoping to use the SSIS GUI for everything but maybe that's just not possible. Rather use the Stored Procedure to analyze my stged data, edit accordingly, do
    data stores accordingly...especially the data anomalies...and then use the SSIS to control navigation
    Your thoughts........
    Could you maybe clarify the difference between an OLE DB Command on the Data Flow and the Execute SQL Task on the Control Flow...
    You can get return values from oledb comand if you want to pipeline.
    see this link for more details
    http://josef-richberg.squarespace.com/journal/2011/6/30/ssis-oledb-command-and-procedure-output-params.html
    The procedure should have an output parameter defined for that
    I belive if you've flexibility of using stored procedure you may be better off doing this in execute sql task in control flow. Calling sp in data flow will cause it to execute sp once for each row in dataset whereas in controlflow it will go for set based
    processing
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Webdynpro for ABAP materials

    anyone please send me materials for webdynpro for abap which covers webdynpro architecture like mvc controller and everything

    Hi Ganesh,
    Welcome to Web Dynpro ABAP !
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    1) This is basic Info of WD ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    2 ) I can give you links that can help you a lot.
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Also, SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    Hope I have helped you .
    Cheers,
    Darshna.

  • Comparison between WebDynpro for ABAP vs. WebDynpro for Java ??

    Hi,
       Can someone tell me when should we go for WebDynpro for ABAP and when WebDynpro for Java. Is there any link where SAP recommends the one for the other.
    Thanks in advance
    Regards
    Mukesh

    Hi Mukesh,
    Both are having its own strengths!! )
    I think it all depends on your project requirement and the availabel resources.
    If the developer is good in OOPs ABAP then he must go for Web Dynpro ABAP. But if anyone is good in JAVA then that person should go for Web Dynpro JAVA.
    *In Short almost all Features supported in webdynpro ABAP are also Possible in webdynpro Java.
    1] Webdynpro Java
    Supports,
    webservice
    RFC Models
    Accessing Portal information in Java
    Easy sending E-mail
    Strictly follows MVC architecture which seperate Business logic and Process flow.
    Webdynpro Java is webbased programming model to develop SAP Applications.
    Easy to learn
    Easy to integrate in Enter prise portals.
    Dynanamic Programming
    *Easy access to R/3 Via RFC technology (Models)
    2] Web Dynpro ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    Hope this helps and solve your Problem
    Cheers,
    Darshna.

  • In a server proxy how can I use a INCLUDE STRUCTURE?

    Hi people!!, how can I put an internal table with an INCLUDE statement in a server proxy in abap. If I put the next code the system present me this error: Within classes and interfaces, you can only use "TYPE" to refer to ABAP     , Dictionary types, not "LIKE" or "STRUCTURE".
    The problem is that I need the STRUCTURE to make a APPEND.
    Thanks for the help.
    DATA: BEGIN OF bdc_tab .
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdc_tab.

    Hi Carlos,
    Yes. It mainly accepts TYPE statements.
    You can use this as:
    DATA: BDC_LINE type bdcdata.
    DATA: BDC_TAB type table of bdcdata.
    When you want to use,
    Fill the BDC_LINE.
    Then:
    Append BDC_LINE to BDC_TAB.
    Or:
    Loop at BDC_TAB into BDC_LINE.
    Cheers,
    Bhanu

  • Can I use logical databases in a WebDynpro ABAP program?

    can I use logical databases in a WebDynpro ABAP program?
    I need to build a WDA screen that is similar to the SAPDBPNP selection screen (user can find the personnel number based on several criteria, such as last_name/first_name of the employee).  So it seems that the existing logical databases have already many nice features already built (like the selection screens, the logic behind the screens etc). So I was wondering if/how I can use them in my WDA application.

    Hello, Tiberiu.
    You cannot use LDB directly within your WDA programa. BUT, you can fetch results from this LDB by using FM LDB_PROCESS. This function module can be called anytime from any kind of ABAP program. But you will still have to create the screen, as it only processes data, not screens.
    Regards,
    Andre
    PS: Pls reward points if it helps.

  • Can I use logical databases in a WebDynpro for ABAP program?

    can I use logical databases in a WebDynpro ABAP program?
    I need to build a WDA screen that is similar to the SAPDBPNP selection screen (user can find the personnel number based on several criteria, such as last_name/first_name of the employee).  So it seems that the exisinting logical databases have already many nice features already built (like the selection screens, the logic behind the screens etc). So I was wondering if/how I can use them in my WDA application.

    Hi
    Please let me also know the solution to this. I am a beginner to WebDynpro  and want to know if I can make use of LDB's as we do in our normal HR programming do develop a WDA in HR.
    Thanks and regards,
    Uma.

  • How can we use business object (e.g. crystal report ) in webdynpro abap

    Hi All,
    We all know that business object has been part of sap products.
    But even though in SAP, I really don't know much about business object.
    and how can we use the great function of BO and integrate into our development to make
    user have much better function and user experience.
    Do we have some learning material of BO?
    Could someone share some material here?
    Thanks and Regards
    Aaron.

    One of the main ways that you can integrate some Business Objects content with WDA is via FlashIslands.  If you are on 7.01 or higher, you have the option to use FlashIslands UI element.  There are many tutorials on FlashIslands available on SDN. FlashIslands work well with Xcelsius content, since the output of Xcelsius is a Flex component.  It is pretty easy to set the Xcelsius interface to External Connection and then write a wrapper Flex Component around the generated output, so that it can be used in the FlashIslands interface.
    For Crystal Reports integration you will need NetWeaver 7.02 (comming early next year).  We have integrated Crystal Reports as an output option in the Web Dynpro ABAP ALV and the Classic Dynpro ALV.  You don't need to do any development to enable this.  You can use two different SAP delivered Crystal Reports templates for the ALV output, or create and add your own templates.
    Some of ther BOBJ integration is still in prototype and demo phase within SAP.  For instance we have a data interface to send data to Explorer onDemand from any ABAP application. We have a prototype FlashIsland for WebI to run in place within Web Dynpro ABAP.  Over future enhancement packages you will see increased integration opportunties with the BOBJ capabilites.

  • Can I use Tcode to start a webdynpro for abap or for JAVA?

    I noticed some page program can be started by tcode for administrion. I am not sure whether it is webdynpro or BSP. But can I use tcode to start webdynpro? How to do it?

    Hi Yichao,
    To Create a Transaction code for a Web Dynpro application, use Transaction SE93 (Transaction Maintenance).
    1.       On the dialog screen, enter the transaction code (up to 20 characters) then click on Create button.
    2.       A dialog pop up screen appears, enter meaningful description of the transaction in the Short Text field.
    3.       Choose the option Transaction with parameters (Parameter transaction).
    4.       Choose Continue. The Create Parameter Transaction screen appears.
    5.       In the Transaction field, enter WDYID and select the checkbox Skip initial screen. There is no need to make changes in the Classification group box.
    6.       Add the necessary entries to the Default Values table by using the F4 help. The values are automatically available after you enter WDYID in the Transaction field.
    Try going through this link for a better picture about how to achieve this.
    saptechnical . com / Tutorials / WebDynproABAP / TransactionCode / Create.htm
    You would have to remove the unnecessary spaces in the URL before you can see the actual working one. It wasn't allowing me to paste that link in here so had to do it this way...
    Regards,
    Uday

  • Follow-up webdynpro for abap using portal theme nw2004s, sp12

    Hello,
    I wanted to get a follow up to this thread,
    Re: webdynpro for abap using portal theme nw2004s, sp12
    We are having a problem with the way reports developed in Web Dynpro for ABAP displayed in the portal (the pop-ups and dropdowns look out of wack).  The issue appears when we wrap the reports into portal themes (either standard or custom).  As per the thread (the link for which I posted above), the suggestion was to apply WDFORCEEXTERNALSTYLESHEET parameter to the WDP, however our system doesn't have this parameter in the system, but it seems like I can create my own parameter. Can some on give me all of the properties assigned to WDFORCEEXTERNALSTYLESHEET in table WDY_APP_PROP_DEF.
    Thank you

    Hi Brad, I was trying to apply the note 1033496 but our ABAP servers does not have the WDFORCEEXTERNALSTYLESHEET parameter available in WDY_APP_PROP_DEF table.  All other notes are not applicable to our issue.
    The portal is NW2004s SP12, the ABAP server is NW2004 SP11
    Regards.
    Message was edited by:
            Aleks Ozerov

  • How can I use the WebDynpro tutorial  template in APAB workbench?

    Hi,
    I have downloaded the tutorial template zip file from sdn (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on creating trees in web dynpro - 12.htm), but I don't know how to use it in ABAP workbench.
    Is that only for Java environment and can be used in Eclipse?
    If not, How can it be used in APAB workbench?
    Thank you.
    Swee Hu

    Hi,
    Its a template used in NDS(NetWeaver Developer Studio),in Webdynpro perspective.
    what do u mean by how can i use it in ABAP workbench?
    Sorry u cant use tat existing template.
    if u need the same feature u have to develop ur own...:)
    Regards,
    Sirisha.R.S

Maybe you are looking for

  • Cloud läuft nicht

    Nach Aufsetzen meines neuen MAC mit Migrationsassistent bekomme ich die Adobe Cloud nicht mehr zum laufen. Das Fenster Creative Cloud wird angezeigt - aber leer. Ich kann keien Apps installieren oder runterladen. Jemand eine Idee? (Adobe Claeaner sch

  • Image in a table-header

    Hello, I don't know why but I cannot place an image in one specific table-header. It works fine in my table-cells but in the table-header only the text appears. I thought i could place an image in a header, just like a text-string but that is not pos

  • SQL Loader - adding column values

    Hi everybody, Is it possible to have a column value in SQL Loader control file that is a function of two other columns. For example I have table of 3 columns c1, c2, c3 and data file is having c1, c2 and I want to specify c3 as c1+c2 in the control f

  • Mozilla asks to reboot computer to complete update and then doesn't complete update etc

    On Sept 6, I updated Mozilla Firefox on a Windows XP desktop. Since then, when I want to use Mozilla, I am asked if I want to finish installation of the update. If I say no, Mozilla disappears. If I say yes, the computer reboots and asks if I want to

  • Screen blank for video

    When I go to videos to watch a movie, my screen suddenly went dark and I cannot get it to do anything else in the video mode