Skip to Content
Author's profile photo Former Member

Simple SE38 Emulator using Microsoft Excel

Recently Alvaro posted a very nice blog explaining the PHP based The specified item was not found.. I was very much impressed seeing that. I too had the same thoughts, and one of my all times favorites is the Try-It-Yourself that I used when I learnt the HTML.

Having such an emulator for simple ABAP reports is cool. Thanks to Alvaro for sharing this example which helped me to find this RFC_ABAP_INSTALL_AND_RUN function module.

Here is one more using every one’s favorite Microsoft Excel.

The Excel SE38 emulator

image

The result

image

The complete source code for the same is given below,

The declaration

To clear the source code

To clear the result

To Execute and Display result

I hope this is very simple and useful.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Hi Kathir:

      Thanx for your nice comments -;) I'm just a developer trying to make some nice stuff...But you really blow my mind! SE38 Excel Emulator?! You really deserved all the applauses -:D

      Great job man...Very impressive...

      Greetings,

      Blag.

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Thanks a lot Alvaro...
      Your examples are very innovative.

      Keep blogging...

      Ragards
      Kathirvel

      Author's profile photo Former Member
      Former Member
      Nice tool, but as a suggestion you may want to make sure there are no "delete from" type statements being executed... 🙂
      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Michael

      That's is very true. This is just an example, in case something more generic is created, then it will be mandatory to add such validations.

      Thanks for your inputs. 🙂

      Regards
      Kathir~

      Author's profile photo Former Member
      Former Member
      Hi Kathirvel,

      it seems to be a good idea, but doesn't work with all versions of xl. My version 2003 reports an error in the line with
      "Dim objProgram, objWrites As Table".
      What xl-version are you using?

      Greetings Martin

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Martin,

      I am using Excel 2003, it works fine for me. I guess you must not have included the SAPTableFactory ocx object. Please read this blog for more information on that,
      Remote Function Call to SAP System using Microsoft Excel

      Regards
      Kathirvel

      Author's profile photo Former Member
      Former Member
      Hi, is posible using directy Excel file or MS Project send data to Z tabla via RFC ?

      I need send from Excel or MS Project to Z Table.

      Any idea ?

      Thank you.

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      I have tried with Excel and it worked fine. A couple of blogs on material upload is already there in SDN,

      /people/kathirvel.balakrishnan2/blog/2006/05/08/data-upload-into-sap-from-microsoft-excel-150-abap-part
      /people/kathirvel.balakrishnan2/blog/2006/05/09/data-upload-into-sap-from-microsoft-excel-150-vba-part

      You can adopt similar logic for your Z tables.

      Regards
      Kathirvel