SAP to Excel: Automate the export of SAP data to Excel ⚡

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2024
  • In SAP ERP and SAP S/4HANA, it is possible to enable automatic export of SAP data to Excel within the SAP GUI. Within the ALV Grid Control, a manual function for exporting SAP data to Excel is already available. This article describes both the manual and the automatic export function in detail.
    Excel, the world's leading spreadsheet program, is extremely useful in combination with SAP ERP and SAP S/4HANA. Especially in financial accounting, especially in SAP FI and SAP CO, it continues to be a widely used tool for performing diverse and flexible calculations and evaluations.
    Like, comment and subscribe. Thank you for your support :)
    ▬ Content ▬▬▬▬▬▬▬▬▬▬▬▬
    00:00 - Intro
    00:12 - Manual Export from SAP to Excel
    02:05 - Automation with SAP GUI Scripting
    03:08 - Activate SAP GUI Scripting
    05:18 - Create automate Export from SAP to Excel
    10:50 - Play SAP GUI Script to export automatically
    12:26 - Analyze SAP GUI Script file
    13:08 - Outro
    ▬ Music Intro/Outro ▬▬▬▬▬▬▬▬▬▬▬▬
    That's What It Takes (Instrumental) - NEFFEX
    Tropic Fuse - French Fuse
    ▬ Useful links ▬▬▬▬▬▬▬▬▬▬▬▬
    German Blog: erp-up.de/blog/
    My book recommendations: erp-up.de/book-recommendation...
    100 Tips and Tricks in SAP ERP: www.udemy.com/course/100-tips...
    Support ERP UP: erp-up.de/support-erp-up/
    Support ERP UP over Amazon: amzn.to/3f40uSG
    PayPal-Donation: www.paypal.com/paypalme/andre...
    Linkedin: / andreas-geiger
    Xing: www.xing.com/profile/Andreas_...

ความคิดเห็น • 72

  • @ERP-UP
    @ERP-UP  8 หลายเดือนก่อน +10

    Work with SAP data in Excel. Do you work with Excel to handle SAP data?

    • @user-vv1kr9lj9x
      @user-vv1kr9lj9x 8 หลายเดือนก่อน +1

      I try to work within SAP of course, but sometimes I also export SAP data to Excel. Helpful video

  • @user-fe2vc1yo5r
    @user-fe2vc1yo5r 8 หลายเดือนก่อน +5

    Sehr gut, vielen Dank! Das werden wir in jedem Fall einmal ausprobieren!

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +2

      Das freut mich sehr. Viel Erfolg.

  • @tonisklena5628
    @tonisklena5628 5 หลายเดือนก่อน +5

    Top! Vielen Dank für das Video. Genau das habe ich gebraucht und kann meine ABAP-Kollegen mit solchen Sachen verschonen ;)

    • @ERP-UP
      @ERP-UP  5 หลายเดือนก่อน +1

      Vielen Dank Toni. Es ist immer gut, wenn man sich die Arbeit erleichtern kann :)

  • @veljkokaradzic329
    @veljkokaradzic329 8 หลายเดือนก่อน +6

    Thank you for your work, Sir !

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +1

      You're welcome, Sir

  • @klarazacher9725
    @klarazacher9725 8 หลายเดือนก่อน +5

    Wie immer, sehr informativ 😊

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +1

      Danke 😊

  • @sevdalin-iliev
    @sevdalin-iliev 6 หลายเดือนก่อน +5

    Super! Thank you!

    • @ERP-UP
      @ERP-UP  6 หลายเดือนก่อน +1

      Thank you so much

  • @user-vv1kr9lj9x
    @user-vv1kr9lj9x 8 หลายเดือนก่อน +8

    Excellent. This is a grat feature to automate SAP export. I am looking forward to learn how to automate this within ABAP

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +1

      I appreciate your support. Thank you

  • @talerguru2303
    @talerguru2303 3 หลายเดือนก่อน +4

    You are my hero. Awesome video.

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +1

      I am happy to help

  • @Baba11-ex1zl
    @Baba11-ex1zl 8 หลายเดือนก่อน +7

    Good Information for my work. Thank you👍

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +1

      Thank you so much 👍

  • @sabinegeiger3442
    @sabinegeiger3442 8 หลายเดือนก่อน +4

    Very helpful video !! Thanks a lot !! 👍👍👍

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +1

      Thanks 👍

  • @user-wf7ju6li7e
    @user-wf7ju6li7e 8 หลายเดือนก่อน +3

    Спасибо 👍

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน

      👍

  • @tiagobovolin
    @tiagobovolin 16 วันที่ผ่านมา +1

    Thank you very much! Congrats for the content.

    • @ERP-UP
      @ERP-UP  16 วันที่ผ่านมา +1

      Appreciated

    • @tiagobovolin
      @tiagobovolin 16 วันที่ผ่านมา

      @@ERP-UP the record window of my SAP doesn't have the playback option. Is there a way to activate it?

    • @ERP-UP
      @ERP-UP  15 วันที่ผ่านมา +2

      @@tiagobovolin Sure, have a closer look at this video:
      th-cam.com/video/kke1Ian4YNA/w-d-xo.htmlsi=azCFs8d3k7icJv0p&t=31
      In the transaction RZ11 maintain the profile parameter sapgui/user_scripting_disable_recording

    • @tiagobovolin
      @tiagobovolin 15 วันที่ผ่านมา

      @@ERP-UP Thank you.

  • @annaz9630
    @annaz9630 8 หลายเดือนก่อน +5

    👍👍

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน

      👍

  • @user-go3ue3sj2n
    @user-go3ue3sj2n 3 หลายเดือนก่อน

    Which version of SAP do you have?

  • @muratcankaragoz4030
    @muratcankaragoz4030 14 วันที่ผ่านมา

    Hello, thanks for the very good video. I would like to know how it might be possible to download from several t-codes to a Excel database from SAP?

    • @ERP-UP
      @ERP-UP  14 วันที่ผ่านมา

      Thanks.
      You can record your download within the SAP GUI Scripting as shown in the video. You can stop the recording until your download from several t-codes has been finished. But I recommend to record one SAP GUI Script for each t-code to have it separated.

  • @Foodchapters
    @Foodchapters 4 หลายเดือนก่อน

    Thanks for this informative video, there is a basic data we need to add in VB module before we add the running script, would you able to share the same?

    • @ERP-UP
      @ERP-UP  4 หลายเดือนก่อน +2

      Thank you so much.
      In this case you want to get SAP data into an existing excel file. If you want to add SAP data into an existing excel file you need to establish an connection out of Excel. This is possible with a connection directly to the database. In Excel see "Data > Get Data > From Database > SAP HANA". Then you also need to have "Acces Software Downloads in SAP for Me". You can also use ODBC.
      As an alternative you can download/extract the SAP data into the excel file and use this file as the data source of your excel file (Data > Get Data > From File > From Excel Workbook).
      I can produce an own video on that. Good hint.

  • @bzflowerbee
    @bzflowerbee หลายเดือนก่อน

    Great video. Do you have any video on capture sap screenshots and save them to word documents? Thank you.

    • @ERP-UP
      @ERP-UP  หลายเดือนก่อน +2

      What do you mean with "SAP screenshots"?
      You can simply take screenshots with the print key and "Ctl + V" to paste it into a word document.
      I recommend using the key combination "Windows key + Shift + R" to easily take screenshots of a frame of your screen.

    • @bzflowerbee
      @bzflowerbee หลายเดือนก่อน

      @@ERP-UP I saw a video th-cam.com/video/W_J-9t_mWDU/w-d-xo.htmlsi=bSirC1R2_yW5u7sL. Just wondering why we need the SAPGUI SCRIPTING API for this process.

    • @ERP-UP
      @ERP-UP  หลายเดือนก่อน

      @@bzflowerbee Now I understand it. Thanks for replying. You want to make screenshots with SAP GUI Scripting. Csongor explained it quite well.
      You are using the SAP GUI Scripting API for some functions you can use for MS Excel and MS Word.

    • @bzflowerbee
      @bzflowerbee หลายเดือนก่อน

      @@ERP-UP I know but I don't have the SAP GUI SCRIPTING API😭

  • @filititoafa6848
    @filititoafa6848 3 หลายเดือนก่อน

    Hey boss,
    I have a profit n loss sap report that I want to export to Excel. The issue is it doesn’t export the entire report only the first page and not the sub headers. What do I have to do to get the entire report into a spreadsheet?

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +2

      Hey,
      how do you export the data?
      Have a closer look at ABAP2EXCEL if you program an own ABAP report with an export function from SAP to Excel: th-cam.com/video/eQ0gJzpfvrc/w-d-xo.htmlsi=WbngeqrvxXH9nGZr

  • @fatimabaiyent.
    @fatimabaiyent. 23 วันที่ผ่านมา

    Hi, is it possible to export to excel via a script, but to filter data and format the excel sheet also by way of a script?

    • @ERP-UP
      @ERP-UP  23 วันที่ผ่านมา +1

      This is possible.
      When you record the steps, a vbs file is created. In the vbs file you can program the format you need in the Excel file.

  • @raine6510
    @raine6510 28 วันที่ผ่านมา

    May I know if it's possible to run the script automatically daily so I can have the export in a certain folder everyday?

    • @ERP-UP
      @ERP-UP  28 วันที่ผ่านมา +1

      Technically it is possible. Therefore you have to set up a scheduled task within Windows Task Scheduler for the created vbs file. But the SAP GUI has to be open because SAP GUI Scripting runs in foreground. If you really want to export the data in background daily I recommend to create an ABAP program and set up a batch job in the transaction SM36.
      th-cam.com/video/4eHlIlnx5ds/w-d-xo.htmlfeature=shared

  • @user-vq1zy4gk3s
    @user-vq1zy4gk3s 5 หลายเดือนก่อน

    Is there any way to automate SAP Data into my Excel Dashboard that is connected with Pivot Tables?

    • @ERP-UP
      @ERP-UP  5 หลายเดือนก่อน +3

      In this case you want to get SAP data into an existing excel file.
      This is possible with a connection directly to the database. In Excel see "Data > Get Data > From Database > SAP HANA". Then you also need to have "Acces Software Downloads in SAP for Me". You can also use ODBC.
      As an alternative you can download/extract the SAP data into the excel file and use this file as the data source of your excel file (Data > Get Data > From File > From Excel Workbook).

  • @fame2144
    @fame2144 5 หลายเดือนก่อน

    Can this be applied to individual SAP table data? If I apply it to different SAP table data, will it not apply to the same data? If so, what should I do? Should I start the record at the beginning of the table data specification?

    • @ERP-UP
      @ERP-UP  5 หลายเดือนก่อน +5

      What do you exactly mean with "individual SAP table data"?
      In this use case we are using the table EKKO. You can of course do it for other tables. Then you need to record another script or create an own VBA script in MS Excel to select different tables and selection criterias.

    • @fame2144
      @fame2144 5 หลายเดือนก่อน

      @@ERP-UP it is also possible to record the table search and selection methods?

    • @fame2144
      @fame2144 5 หลายเดือนก่อน

      @@ERP-UP Sorry for my inconvenience. I think I should make my own effort to solve this problem. Thx for your reply!

  • @andresdavidrodriguezzamero2086
    @andresdavidrodriguezzamero2086 3 หลายเดือนก่อน

    Hello, excellent video!! But I have a question to see if you can help me. What happens when a windows pop-up window appears? the script stops and stops recording it. In order to download the information and not modify the Excel, it is the only way I can do it. Is there any VBA code to put it when the "save as" window appears and make it automatic?

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +3

      I don't understand the question. What type of pop-up window do you see? Why does it appear?

    • @andresdavidrodriguezzamero2086
      @andresdavidrodriguezzamero2086 3 หลายเดือนก่อน

      @@ERP-UP hello!! The Windows "save as" window appears and I need it to be able to save the file without modifying the file

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +2

      @@andresdavidrodriguezzamero2086 At about 9:35 you export the SAP data and give the excel file a name. The export is not interrupted or you don't have to modify the file.

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +2

      ​@@andresdavidrodriguezzamero2086 Now I understand your question. Another user showed me a problem on his system. You may also mean the "save as" popup when you try to select a file in Windows Explorer. Unfortunately, there is no way to interfere with that. Maybe there will be a solution in the future.

    • @simsun911
      @simsun911 27 วันที่ผ่านมา

      @@ERP-UP is there a way to change the save as so that it uses the sap native option instead of the windows pop up?

  • @user-wt3uf5cs2g
    @user-wt3uf5cs2g 4 หลายเดือนก่อน

    How to dowload data in to excel from Tcode: SOAMANAGER webservice configuration?

    • @ERP-UP
      @ERP-UP  4 หลายเดือนก่อน +2

      The transaction SOAMANAGER opens in the browser (web dynpro) and not in the SAP GUI. I don't see any export function in general. If you want to you can search to export the html page into excel and transform it to your needs.

  • @SirGG
    @SirGG 3 หลายเดือนก่อน

    man my sap dont turn on the script recorder how can i change it

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +2

      03:08 - Activate SAP GUI Scripting
      Also make sure you enable scripting by selecting the SAP GUI option "Enable scripting" under "Accessibility & Scripting > Scripting".

  • @brunos1864
    @brunos1864 4 หลายเดือนก่อน

    How do I stop SAP from opening Excel file automatically?

    • @ERP-UP
      @ERP-UP  4 หลายเดือนก่อน +3

      Have a closer look at this video: th-cam.com/video/325llQpTd7s/w-d-xo.html
      Excel inplace SAP GUI - Work with Excel in SAP GUI 🚀

  • @kiranarana7274
    @kiranarana7274 6 หลายเดือนก่อน +1

    The problem we stil have here is that the export excel file cannot be closed using VBA

    • @ERP-UP
      @ERP-UP  6 หลายเดือนก่อน +4

      Have a look at those answers:
      answers.sap.com/questions/13523338/prevent-or-close-exported-files-from-sap-gui-to-ex.html
      stackoverflow.com/questions/64009373/close-sap-export-multiple-excel-file-with-vba

    • @kiranarana7274
      @kiranarana7274 5 หลายเดือนก่อน +3

      Thank you is working

  • @kristalynsantos8102
    @kristalynsantos8102 3 หลายเดือนก่อน

    i accidentally put deafult mhtml, how to clear this default

    • @ERP-UP
      @ERP-UP  3 หลายเดือนก่อน +3

      There are 2 options to remove the automatic setting:
      1) Right-click the context button in the top left corner of the output (the button between where the row titles and columns meet) and choose "Spreadsheet".
      2) Or right-click anywhere in the screen area and choose "Spreadsheet".
      When "Spreadsheet" is selected, the automatic setting is removed.

  • @geraldoribeiro8393
    @geraldoribeiro8393 25 วันที่ผ่านมา

    Se utiliza o SAP GUI, ok, porém sendo o SAP4HANA(FIORI), não funciona!!
    Using SAP GUI, ok, but still SAP4HANA(FIORI), it doesn't work!!

    • @ERP-UP
      @ERP-UP  24 วันที่ผ่านมา +3

      SAP GUI Scripting only works in SAP GUI