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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

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

  • @TobiasMüller-r7g
    @TobiasMüller-r7g ปีที่แล้ว +9

    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  ปีที่แล้ว +1

      I appreciate your support. Thank you

  • @Annegret-u2f
    @Annegret-u2f ปีที่แล้ว +5

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

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว +2

      Das freut mich sehr. Viel Erfolg.

  • @tonisklena5628
    @tonisklena5628 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน +1

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

  • @veljkokaradzic329
    @veljkokaradzic329 ปีที่แล้ว +8

    Thank you for your work, Sir !

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว +1

      You're welcome, Sir

  • @Baba11-ex1zl
    @Baba11-ex1zl ปีที่แล้ว +7

    Good Information for my work. Thank you👍

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว +1

      Thank you so much 👍

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

    You are my hero. Awesome video.

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

      I am happy to help

  • @klarazacher9725
    @klarazacher9725 ปีที่แล้ว +5

    Wie immer, sehr informativ 😊

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว +1

      Danke 😊

  • @sabinegeiger3442
    @sabinegeiger3442 ปีที่แล้ว +4

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

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว +1

      Thanks 👍

  • @ERP-UP
    @ERP-UP  ปีที่แล้ว +14

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

    • @TobiasMüller-r7g
      @TobiasMüller-r7g ปีที่แล้ว +1

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

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

      Ya

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

      @@dhruvdevsingh9907 Great

  • @valentin-miroslavov
    @valentin-miroslavov 11 หลายเดือนก่อน +5

    Super! Thank you!

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

      Thank you so much

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

    Thank you very much! Congrats for the content.

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

      Appreciated

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

      @@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  5 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      @@ERP-UP Thank you.

  • @JosefZacher-k2z
    @JosefZacher-k2z ปีที่แล้ว +3

    Спасибо 👍

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว

      👍

  • @annaz9630
    @annaz9630 ปีที่แล้ว +5

    👍👍

    • @ERP-UP
      @ERP-UP  ปีที่แล้ว

      👍

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

    Great training, thanks.
    I do have a question on how a TIMESTAMPL-format field ends up in the excel. In an SAP F&R table we have a field showing runtime, defined as DEC 21,7 TIMESTAMPL data element. It can hold e.g. a value of 77,8917920 (where the comma is the DEC separator). bringing this to Excel messes up the result to: 693595-. Any clue how to solve this?

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

    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  9 หลายเดือนก่อน +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.

  • @portaltobliss-ab
    @portaltobliss-ab หลายเดือนก่อน

    Dank! Dank! One question- How to implement the SAP GUI scripting automation if I need to get Excel extracts each month and the dates to be entered change each month. Let's say, in october, I need an excel extract only for 10/01/2024 to 10/30/2024. But this will change in November.

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

      You can work with variants
      th-cam.com/video/wRE4UbRu8yc/w-d-xo.html

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

    Great video :) Hmm I wonder how the boss gets those automatically sent to people's emails also.

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

      For this you need to do a second step because sending the excel sheet out of Excel can't be recorded via SAP GUI Scripting and is therefore not in the created VBS file.
      You can send an excel sheet via e-mail out of excel to people's emails also. Have a look at this:
      techcommunity.microsoft.com/t5/excel/how-to-create-a-macro-that-allows-to-automatically-send-a/m-p/3932382

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

    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  5 หลายเดือนก่อน

      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.

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

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

    • @ERP-UP
      @ERP-UP  6 หลายเดือนก่อน +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 6 หลายเดือนก่อน

      @@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  6 หลายเดือนก่อน

      @@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 6 หลายเดือนก่อน

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

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

    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  8 หลายเดือนก่อน +3

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

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

      @@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  8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      @@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?

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

    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  8 หลายเดือนก่อน +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

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

    would you know how i can change the export from 1:01 format to 9:44 when exporting to spreadsheet? most of my script won't work as it is constantly stuck being 1:01 export view.

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

      You can use the dynpro based file save dialog as shown in the video 9:44. For this you have to implement the SAP note 1974590 and the SAP GUI option
      When you record your SAP GUI script a dynpro based file save dialog should appear if you don't activate the SAP GUI option "Accessibility & Scripting > Show native MS Windows dialog".

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

    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  6 หลายเดือนก่อน +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

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

    Which version of SAP do you have?

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

    Hi, can we use Power Automate to run the VB script at a scheduled time?

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

      You can use Power Automate instead of SAP GUI Scripting:
      learn.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/action-based-sap-gui-automation-recorder-overview
      You can use the Task Schedular to run the VB script at a scheduled time.

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

    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  5 หลายเดือนก่อน +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.

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

    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  10 หลายเดือนก่อน +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 10 หลายเดือนก่อน

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

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

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

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

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

    • @ERP-UP
      @ERP-UP  10 หลายเดือนก่อน +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).

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

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

    • @ERP-UP
      @ERP-UP  11 หลายเดือนก่อน +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 10 หลายเดือนก่อน +3

      Thank you is working

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

    If I do not have the record/play script buttons (greyed out) and I am not allowed to use RZ11 transaction, does this mean I am not going to be able to automate the transaction I am looking to?

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

      Unfortunately, yes.
      But maybe you have access to the development or quality system to create the script and run it in the productive system. If in these systems the record/playback options are also not allowed, then you can align with your SAP Basis team if they can activate it in these systems.

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

      @@ERP-UP I tried checking it in the quality portal and it was active!! perfect, however I created the script and when I tried playing it back (I have an error in the very first step saying " A Script is attempting to access SAP GUI" I click Ok, nothing happens :( .. is there a way around this? (P.S. I tried this in both Qualtiy and production and same error came up on the screen)

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

      @@shadihemid9313 Is SAP GUI Scripting active in the productive system? If "just" the record script button is greyed out, then you can't record SAP GUI scripts. If SAP GUI Scripting is deactive in the productive system, you are also not able to run SAP GUI Scripts (VBS files). Then you need to active the mentioned profile parameters in the transaction RZ11.
      To find the root cause for your problem, I recommend to record a simple SAP GUI script and get this running in the quality system. If this is also not possible, check the *scripting* profile parameters.
      You can also align with your SAP Basis department to active the *scripting* profile parameters in transaction RZ11.

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

      @@ERP-UP many thanks for your reply I will try it out. Much appreciated.

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

      @@shadihemid9313 You're welcome

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

    Hi. Is it possible to execute this script via task scheduler? I was not able to do it.

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

      That is possible. Depending on your VBS file you have to be logged into your SAP system. Try to run the vbs file without the task scheduler. If that is possible your vbs file can also be executed via the task scheduler.

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

      @@ERP-UP my vbs opens sap gui, logs in and executes the job and logs out. It's running fine if I run directly. But doesn't get executed while in the task scheduler. I tried almost everything but I'm still struggling.

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

      @@VedarthDesai I have created a video for this. Have a look at this video: th-cam.com/video/2u-pdJYUQ3E/w-d-xo.html

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

    I cannot change the value, there is no button to change it. With RZ10 I also cannot edit my profile no authorization

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

      Can you please elaborate on this?
      To activate SAP GUI Scripting you have to activate the profile parameters in the transaction RZ11 as shown in the video (03:08 - Activate SAP GUI Scripting).

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

      @@ERP-UP I have no authorization to change the data from False to True. I work for a large company and have to request the authorization, but unfortunately I don't know which authorizations these are

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

      @@CrashCraft7 You "just" need authorization for transaction RZ11 or request to change the mentioned profile parameters shown in the video.
      sapgui/user_scripting
      Also have a closer look at this video:
      SAP & Excel - 10 SAP GUI Scripting Tips 🚀
      th-cam.com/video/kke1Ian4YNA/w-d-xo.htmlsi=BldqwpfXtO6g0qrJ&t=31

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

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

    • @ERP-UP
      @ERP-UP  9 หลายเดือนก่อน +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.

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

    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  5 หลายเดือนก่อน +3

      SAP GUI Scripting only works in SAP GUI

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

    How do I stop SAP from opening Excel file automatically?

    • @ERP-UP
      @ERP-UP  9 หลายเดือนก่อน +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 🚀

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

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

    • @ERP-UP
      @ERP-UP  8 หลายเดือนก่อน +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".

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

    What about user name and password .I am an enduser and I have to login every time to SAP

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

      Have a look at this video:
      Log into SAP from Excel with SAP GUI Scripting API
      th-cam.com/video/q96LpH3EH60/w-d-xo.htmlsi=NsU3xiaauZW3fZu7

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

    i accidentally put deafult mhtml, how to clear this default

    • @ERP-UP
      @ERP-UP  9 หลายเดือนก่อน +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.

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

    Except the fact it is limited to 1 milion rows.

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

      😃

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

      ​@@ERP-UP imagine i work on Citrix SAP, with data sets like 2mil rows, exports to csv fail every time, BI takes ages.. and no SQL access or GUI scripting 😅

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

      @@szczesniakdariusz SAP GUI Scripting has its limitations 😅. If you regulary export a huge set of data I recommend to implement an ABAP report to use interfaces to export your data.