Joel Ting
Joel Ting
  • 21
  • 742 358
Save 10+ Hours a Week with This Data Automation Project - SAP to Power BI
Book a call with me:
👉 joelting.com/book-a-call/
📧 Join my FREE newsletter to access all resources used in this video:
👉 joelting.com/newsletter-download/
0:00 Introduction & Overview of automation components
2:59 Python scripts and modules
3:29 SAP GUI automation with Python
5:15 SAP AFO workbook refresh automation with Python
7:31 Loading refreshed data into Database with Python
09:05 Power BI Refresh with Power Automate and Python
09:38 Combining all python scripts everything together
11:42 Database configuration and views
12:39 Power BI connection to SQLite
13:32 Conclusion and future video topics
Automate Your SAP to Power BI Data Pipeline with Python
Discover how to create a powerful, time-saving automation that fetches data from multiple SAP sources and refreshes your Power BI dataset with a single line of code. In this comprehensive tutorial, I'll walk you through:
• Extracting data from SAP GUI, SAP Business Warehouse, and APIs
• Using Python to automate SAP GUI and SAP Analysis for Office
• Creating a SQLite database for efficient data storage
• Setting up Power BI to connect with your SQLite database
• Implementing secure credential management with KeePass
• Triggering Power BI refreshes automatically without API
Learn how this automation saved me hours every week and revolutionized my department's data workflow.
#PowerBI #SAP #DataAutomation #Python #FinanceTech #datapipeline #nontech
DISCLAIMER:
SAP® and SAP GUI Scripting are registered trademarks of SAP AG.
I am NOT associated with SAP AG in Germany or any other country. I am NOT SAP Partners. I do NOT offer live SAP Training. I do NOT offer SAP Access. We do not recommend the use of SAP Access from any particular provider.
MY FAVOURITE TOOLS & GEAR:
📝 Notion - How I Manage My Day - affiliate.notion.so/hpemzmxen3jq
MY OTHER SOCIALS:
🌍 My website / blog - joelting.com/
🐦 Twitter - JoelTing92
🏢 Linkedin - www.linkedin.com/in/joel-ting/
🙎🏻‍♂️ WHO AM I:
I'm Joel, a Regional Finance Controller working in Singapore. I make videos about technology, automation and productivity.
📧 GET IN TOUCH:
If you'd like to talk, I would love to hear from you. Email me directly at joelting92@gmail.com would be the quickest way to get a response. I will try my best to reply to your email as soon as possible.
P.S. Just a heads up, I receive a kickback from some of the links in this description as they are affiliate links 😜
Переглядів: 861

Відео

Trigger SAP Scripts by clicking an Excel cell #shortsTrigger SAP Scripts by clicking an Excel cell #shorts
Trigger SAP Scripts by clicking an Excel cell #shorts
Переглядів 62815 днів тому
#sapautomation #excel #excelvba #sapguiscripting #sapscripting
Automate SCREENSHOT Capture with Excel VBA & SAP ScriptAutomate SCREENSHOT Capture with Excel VBA & SAP Script
Automate SCREENSHOT Capture with Excel VBA & SAP Script
Переглядів 61824 дні тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ Ever wanted to automatically capture and crop screenshots for your SAP automation? This video is your ultimate guide! Learn how to: ✅ Trigger screenshots using VBA ✅ Paste screenshots into Excel w...
One Click to Bring Your Financial Data into SQL DatabaseOne Click to Bring Your Financial Data into SQL Database
One Click to Bring Your Financial Data into SQL Database
Переглядів 2,6 тис.6 місяців тому
💡 SQL Databases are powerful for data analysis, and in the world of Finance, we handle massive amounts of data, often scattered across various platforms. The time wasted searching for data and switching to ERP systems can be frustrating. Join me as I reveal how I revolutionized data storage and management in my department by replacing traditional Excel spreadsheets with a high-performance SQLit...
I created 20 vendors in SAP with a SINGLE click with Excel VBA!I created 20 vendors in SAP with a SINGLE click with Excel VBA!
I created 20 vendors in SAP with a SINGLE click with Excel VBA!
Переглядів 8 тис.7 місяців тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ 📚 RESOURCES IN THIS VIDEO: Vendor Creation Automation: drive.google.com/file/d/1ye0G7Y0A3jLKalpQCXo1Q16z-6z2jvXI/view?usp=drive_link Automate the creation of vendors using SAP Scripting and Excel ...
Automate Bulk PDF Extraction with Excel VBA and SAP GUI ScriptingAutomate Bulk PDF Extraction with Excel VBA and SAP GUI Scripting
Automate Bulk PDF Extraction with Excel VBA and SAP GUI Scripting
Переглядів 8 тис.Рік тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ 📚 RESOURCES IN THIS VIDEO: PDF Export Automation: drive.google.com/file/d/1OUXryTp_i11HP8_S2p0CHwvryq3niHtU/view?usp=drive_link Automate the extraction of sales order PDFs using SAP Scripting and ...
SAP GUI Script Development Tool That Will BLOW YOUR MINDSAP GUI Script Development Tool That Will BLOW YOUR MIND
SAP GUI Script Development Tool That Will BLOW YOUR MIND
Переглядів 13 тис.Рік тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ In this video, I will show you how to use Scripting Tracker to streamline your SAP scripting process. The Scripting Tracker is a powerful tool that helps SAP script developers to easily identify a...
Excel VS SQL as Database - My view as a Financial ControllerExcel VS SQL as Database - My view as a Financial Controller
Excel VS SQL as Database - My view as a Financial Controller
Переглядів 10 тис.Рік тому
In this video, I'm sharing my thoughts on using Excel and SQL as a database for financial analysis and management. As a Financial Controller, I've had extensive experience with both Excel and SQL and have seen the pros and cons of each approach. I'll be discussing the benefits and limitations of using Excel as a database, including its ease of use, flexibility, and powerful data analysis tools....
Automate SAP Spreadsheets Export with Python and Analysis with Pandas in a single Python scriptAutomate SAP Spreadsheets Export with Python and Analysis with Pandas in a single Python script
Automate SAP Spreadsheets Export with Python and Analysis with Pandas in a single Python script
Переглядів 35 тис.2 роки тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook 📚 RESOURCES IN THIS VIDEO: Python Script Template: drive.google.com/drive/folders/1NVKLHKHRPfsdRJ7kTMV4Sg5qM9yxtxze?usp=sharing Anaconda Download Link: www.anaconda.com/ Most of us analyst understa...
Compare Multiple Forecast in a Single Visual with Power BICompare Multiple Forecast in a Single Visual with Power BI
Compare Multiple Forecast in a Single Visual with Power BI
Переглядів 4,9 тис.2 роки тому
I frequently need to compare different versions of forecast. What is our original budget, what is our previous month estimates, what is our target and so on. In this video, I will show you how I manage to analyze and present different forecast and estimates together to see what are the changes between them and validate whether the current forecast is prepared correctly with Power BI. with Power...
Export multiple SAP reports with For Loop in Excel VBA - SAP GUI ScriptingExport multiple SAP reports with For Loop in Excel VBA - SAP GUI Scripting
Export multiple SAP reports with For Loop in Excel VBA - SAP GUI Scripting
Переглядів 32 тис.2 роки тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ In this video, I will share how you can export multiple SAP reports with different parameters using for loop in Excel VBA. Timestamps 00:00 Overview 00:21 Script Recording in SAP GUI 01:27 Develop...
Splitting data into multiple tabs with VBA - Interacting with Exported Excel Spreadsheet from SAPSplitting data into multiple tabs with VBA - Interacting with Exported Excel Spreadsheet from SAP
Splitting data into multiple tabs with VBA - Interacting with Exported Excel Spreadsheet from SAP
Переглядів 13 тис.2 роки тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ In this video, I will share how you can interact with the Excel spreadsheet exported from SAP and apply some steps to format and edit the spreadsheet based on your likings. All these can be done w...
Copy Excel Ranges and Paste into SAP Multiple Selection | SAP Scripts with Excel VBACopy Excel Ranges and Paste into SAP Multiple Selection | SAP Scripts with Excel VBA
Copy Excel Ranges and Paste into SAP Multiple Selection | SAP Scripts with Excel VBA
Переглядів 41 тис.2 роки тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ I have always been tasked to run SAP report based on certain criteria/values that was usually sent to me via email in the form of Excel. In this video, I'll share my way of automating the process ...
Dynamic Variance Analysis with Power BI - Different Forecast Versions ComparisonDynamic Variance Analysis with Power BI - Different Forecast Versions Comparison
Dynamic Variance Analysis with Power BI - Different Forecast Versions Comparison
Переглядів 21 тис.2 роки тому
When I was first started my journey with Power BI, I always struggled to create visualization for showing the variances between different budget/forecast versions. Things are always done manually in Excel as I'm only able to total up the different versions and manually substract them in a spreadsheet. I'm able to find videos and tutorials about actuals comparing against budget and previous year...
Resolving Common Issues for SAP GUI Scripting | SAP Settings and Debugging Tips for SAP ScriptsResolving Common Issues for SAP GUI Scripting | SAP Settings and Debugging Tips for SAP Scripts
Resolving Common Issues for SAP GUI Scripting | SAP Settings and Debugging Tips for SAP Scripts
Переглядів 48 тис.2 роки тому
Get instant access to the eBook "SAP GUI Scripting: Understanding the Basics" and discover how you can transform your SAP work processes, reduce errors, and boost productivity! joelting.com/sap-ebook/ When I started my journey with SAP GUI Scripting, there’s a lot of things that seems like common sense now, but I spent a lot of time trying to figure out how to make it work in Excel VBA. When I'...

КОМЕНТАРІ

  • @zhimabukaimen
    @zhimabukaimen 12 годин тому

    Hello Joel, May I ask you two questions? 1. If a T-code runs quite a long time(10mins) to get the result, the vba will remind no respone to wait ? How can we process this issue, is it possible to let the sap scripting run in background even I run it in new window? 2. When I use sap GUi scripting, I cannot upload file with the default sap dialogue. No window pop up to let me select file. Thank you very much.

    • @JoelTing
      @JoelTing 5 годин тому

      Hello! 1. You can try to temporarily disable alerts by setting Application.DisplayAlerts = False before running the script, and then revert it back to True afterwards. This should suppress VBA from displaying reminders and warnings, allowing your script to run uninterrupted. 2. Is it possible to see if it would trigger the upload dialogue? Try to input the full file path and see if it would trigger the upload. As SAP GUI scripts are unable to interact with Windows pop-ups natively, so this method is actually preferred.

  • @brambudi7668
    @brambudi7668 19 годин тому

    so much appreciated, i was succesfully running my program based follow on your previous video, keep innovating & sharing mr joel

    • @JoelTing
      @JoelTing 5 годин тому

      I'm glad my videos are able to help!

  • @tauhidanwar3512
    @tauhidanwar3512 День тому

    Hi Joel . Thank you for this informative video. You are doing a great job. I have request for you to create this project in a tutorial form which covers very details. It will be really helpful.

    • @JoelTing
      @JoelTing 5 годин тому

      Hello! Thanks for your kind words. If this video sparks sufficient interest, I'll be happy to create a step-by-step tutorial to guide through building this project from scratch. Please share this with whoever you think would be interested in this project. Thank you!

  • @TheHermit_md
    @TheHermit_md День тому

    Excellent - helped me solve a problem I have been struggling with for quite a while. Thanks!

  • @AditiKhandare-m8u
    @AditiKhandare-m8u День тому

    I just used this for SAP Logon 800 and was getting the similar errors of "Not all data .......". I removed the " " for system ID, Client and username and Password, basically wherever they were supposed to be, and it worked. I am hoping to know, how can I get an input from a user for different login IDs and passwords, and then login to SAP with those user credentials? so that different users can login rather than just me. Thankss :)

    • @JoelTing
      @JoelTing День тому

      Hello! I'm glad that it worked for you after some of your testing. If you would like to ask for users input in Power Automate Desktop, you can use "Display input dialog" action to get the user's username and password, then run the command with the variables submitted.

  • @griffis2707
    @griffis2707 2 дні тому

    Buy your ebook, will you take an online course on process automation someday? SAP, PYTHON,.. ?"

    • @JoelTing
      @JoelTing 2 дні тому

      Thank you for your support! Currently, I don't have plans to launch an online course, as it requires significant time and effort. I'm also mindful of ensuring there's sufficient demand before investing in such a project. However, if there's enough interest from all of you, I'll definitely consider it. In the meantime, I'm more than happy to help answer any questions you may have. Feel free to book a complimentary call with me, and we can have a chat to see how I can assist you. I'm always here to help! 😊

  • @Thr4sheRGRP
    @Thr4sheRGRP 2 дні тому

    Your help is very much appreciated 👏

  • @mofa5269
    @mofa5269 2 дні тому

    is there a way to get this code ,like from github

    • @JoelTing
      @JoelTing 2 дні тому

      Hello! You can get the code, database and Power BI file by signing up to my email newsletter. joelting.com/newsletter-download Then it would be delivered straight to your email inbox.

  • @shinyoda1351
    @shinyoda1351 2 дні тому

    Hi Joel, I really appreciate your work. You are doing a great job. Where do you get your inspirations from and how do you teach them to yourself?

    • @JoelTing
      @JoelTing 2 дні тому

      Hello! Thanks for your kind words. I always start with a clear end goal in mind and then work backwards, breaking it down into manageable steps. To fill in the knowledge gaps along the way, I rely on a few trusted resources. Google is my go-to for researching new concepts and finding relevant information. The Python community is incredibly vast and supportive, with many valuable resources available on platforms like Reddit and Stack Overflow. With the development of AI, if there's any concepts that I don't really understand, I would ask ChatGPT or META AI to explain it to me with examples. Hope this is helpful to your own learning journey.

  • @jaredhoffmann7103
    @jaredhoffmann7103 2 дні тому

    lastRow variable won't define for me. Keeps bombing out.

    • @JoelTing
      @JoelTing 2 дні тому

      Hello! What's the error you are getting?

    • @jaredhoffmann7103
      @jaredhoffmann7103 2 дні тому

      @@JoelTing Thank you for your willingness to help! When I try to run the script it gives me a 'compile error variable not defined' it seems to be highlighting the 'x1Up' part inthe script you created: 'lastRow = ThisWorkbook.Sheets("Sheet1").Cells(Row.Count, 1).End(x1Up).Row' also when I pull the lastRow variable into the watches window, it says it can't compile module. Thanks!

    • @JoelTing
      @JoelTing 2 дні тому

      It is supposed to be "xlUp", not "x1Up". Try to correct that and check if it works?

    • @jaredhoffmann7103
      @jaredhoffmann7103 2 дні тому

      @@JoelTing I also noticed I had 'Row' instead of 'Rows' that fix along with your clarification worked. Thank you for the help! It's funny that in the macro table font '1' and 'l' look identical 🙃

  • @mofa5269
    @mofa5269 3 дні тому

    what if i want multiple tables appended/increment load on the db every 4 hours?? then what should i do?

    • @JoelTing
      @JoelTing 3 дні тому

      Hello! Assuming you are running the script without any user input and your pc is on all the time, you can try using the apscheduler module. You can define the scheduled script to run every 4 hours. Something like the following: from apscheduler.schedulers.blocking import BlockingScheduler sched = BlockingScheduler() @sched.scheduled_job('interval', hours=4) def timed_job(): print('Script within timed_job will run every 4 hours.') sched.start()

    • @mofa5269
      @mofa5269 2 дні тому

      @@JoelTing thank you so much

  • @bzflowerbee
    @bzflowerbee 3 дні тому

    Hi Joel, I just noticed you have "book a call with Joel". May I know how much do you charge for the session? Thanks.

    • @JoelTing
      @JoelTing 3 дні тому

      Hi! You can book a call with me using the link: joelting.com/book-a-call/ During this call, we'll discuss your data management challenges and opportunities, and I'll share my view on how you could optimize your workflows. If you find our conversation valuable and would like to continue with personalized coaching or collaborate on a project, we can discuss further arrangements. Otherwise, consider this call a free consultation - no strings attached!

    • @bzflowerbee
      @bzflowerbee 3 дні тому

      @@JoelTing Too bad I don't know Phyton.😞

    • @JoelTing
      @JoelTing 3 дні тому

      If you're interested, you can always learn it at your own pace. 😊 Personally, I began with VBA, but soon encountered limitations when trying to move data into a database. This led me to explore Python, and eventually, I was able to develop this end-to-end project that automatically retrieve data and refreshes Power BI. It has been a fun and rewarding journey.

    • @yuriitiunov8803
      @yuriitiunov8803 3 дні тому

      @@bzflowerbeePython is like an English in IT world. Now it is pretty simple to study basics with any AI assistant.

    • @bzflowerbee
      @bzflowerbee 3 дні тому

      @@JoelTing that's true. I learned SQL and VBA on my own. I'm not an expert, just enough knowledge to get the job done.

  • @chrisyip8260
    @chrisyip8260 7 днів тому

    Hi Joel, million thanks about your sharing. Can I know this coding can be used in SE16N?

    • @JoelTing
      @JoelTing 7 днів тому

      Hello! If you can access it through the SAP GUI, then the script should work similarly. The SAP GUI script simply mimics user interactions. As long as you have the necessary access permissions and scripting is enabled, you should be able to successfully replicate the process in the script.

    • @chrisyip8260
      @chrisyip8260 5 днів тому

      ​@@JoelTing Thanks Joel. I tried and this is works in SE16N. What if there are multiple excel ranges and paste into multiple SAP selection? Do I need modify some coding? For example: Customer ID (A1:A5) & Country(B1:B5) in excel ranges and paste into SAP "Customer ID", "Country" multiple selection.

    • @JoelTing
      @JoelTing 2 дні тому

      In VBA, you can just copy the range using Range().Copy, then use the upload to clipboard button in SAP to paste. Just do it in sequence, then this should work.

  • @vishalrajbhar2954
    @vishalrajbhar2954 8 днів тому

    Hi Joel.. How can close the workbooks after export data from SAP . Bcz it’s showing run time error 91 ( Out of the script ) while workbooks already open and VBA code doesn’t work pls help.

    • @JoelTing
      @JoelTing 8 днів тому

      Hi there. It's something that I have yet been able to solve at the moment. Workaround I did try is to export it into a text file instead, then copy the text file content into a new workbook and save it from there.

  • @vishalrajbhar2954
    @vishalrajbhar2954 9 днів тому

    Hi joel i am facing run time error 404. Line 4 set session = objConn.children(0) pls help

    • @JoelTing
      @JoelTing 9 днів тому

      Hi there. When there's an error with this line, it's usually due to SAP GUI script being disabled by the administrator. In some companies, users need to specifically request for a user with scripting access.

  • @defaultHandle1110
    @defaultHandle1110 10 днів тому

    How do you save to custom name and folder on g:\

    • @JoelTing
      @JoelTing 10 днів тому

      Hi there, you can change the folderdir variable to that path. This will work for G:\ as well.

    • @defaultHandle1110
      @defaultHandle1110 7 днів тому

      @@JoelTingI think my company just saves to g:\my drive\Sap exports. Some hard coded crap. I raised a ticket. In the meantime I’m using python to rename the file and move it. Question how do you have this run at 7am daily ? Sap gui timeout seems like it might be an issue. I can schedule the script to run, but it won’t work if it’s timed out.

    • @JoelTing
      @JoelTing 7 днів тому

      ​@@defaultHandle1110 Renaming and moving it after export is a good way. There's always limitations, just need to think of a way to work around them. Regarding the timeout issue, I'm assuming you're referring to SAP logging out due to inactivity? If you're not using Single Sign-On (SSO), consider programmatically opening the SAP GUI (using sapshcut.exe) when no session is available to connect to. This might help mitigate the timeout problem.

  • @bzflowerbee
    @bzflowerbee 12 днів тому

    Thanks!

    • @JoelTing
      @JoelTing 11 днів тому

      Thanks for your support! 😊

  • @morganyard1627
    @morganyard1627 12 днів тому

    You are sent from God... Bless ur soul.. subscribed rn

    • @JoelTing
      @JoelTing 11 днів тому

      Thanks for the sub

  • @bzflowerbee
    @bzflowerbee 14 днів тому

    Hey Joel, thanks for the video. I have something very similar to what you did in your video. So, after I added the variable of lastrow to the watches and run the script. But received an error message "Run-time error '619': The control could not be found by id. This is the line where it stopped : Session.findById("wnd[0]/usr/ctxt/CUM/CUNIT_IO-CUTYP").Text = "2" (Script from SAP). Do you have any suggestions how to resolve it? Thanks so much.

    • @JoelTing
      @JoelTing 14 днів тому

      Hi there! This line returning error means that there's something different when the script is running compared to the time you recorded it and it is not able to locate the object you identified in the script. Would you be able to identify the difference? Try running line by line and you should be able to see why it is not able to fill in "2". The field may not be there at the point of the script.

    • @bzflowerbee
      @bzflowerbee 13 днів тому

      @@JoelTing Thanks for the explanation. I think I have resolved the issue. However, I have another question as far as the "Business Partner" number you extracted from SAP and populated to the Excel sheet. That part, on my screen, once I clicked "Save", it will go to the first screen and the number created will show on the side bar (lower left corner). In this case, do you think I still can click on number on the side bar and record the SAP GUI Script? Thanks a bunch!

    • @JoelTing
      @JoelTing 13 днів тому

      I'm assuming the text from the lower left corner that you are referring to is the status bar. The text can be retrieve using the line below: session.findById("wnd[0]/sbar").Text You can even check if it is successful, or it returns error using session.findById("wnd[0]/sbar").MessageType

    • @bzflowerbee
      @bzflowerbee 13 днів тому

      @@JoelTing yes, status bar, sorry. Let me try and see if it works. Thanks

    • @bzflowerbee
      @bzflowerbee 12 днів тому

      @@JoelTing everything works well. I appreciate your help!🙏

  • @user-fv7hk8gw6w
    @user-fv7hk8gw6w 14 днів тому

    How does this ocmpare to using Power Automate for SAP scripting? Do you get more custom behavior out of this?

    • @JoelTing
      @JoelTing 14 днів тому

      Hello! Power Automate is more user-friendly and you can achieve similar things with it. I find that VBA offers more flexibility when it comes to customizing code as everything is just lines of codes. If you are using Power Automate, you need to break that down into different blocks, increasing development time. This advantage becomes even more apparent as your automation projects becomes more complex.

  • @explorer-to5vp
    @explorer-to5vp 14 днів тому

    When the excel has been extracted the current date is not included in the file name, can anyone help me with this?

    • @JoelTing
      @JoelTing 14 днів тому

      @@explorer-to5vp Hi there, could you check to make sure the formatted current date string is passed properly into the Excel Save as block?

  • @JP-br7eh
    @JP-br7eh 14 днів тому

    destinationFilePath = empty

    • @JP-br7eh
      @JP-br7eh 14 днів тому

      how to solve ?

    • @JoelTing
      @JoelTing 14 днів тому

      Hey there. I'm not able to understand what happened there with so little context. It could be the Browser Handle not returning the file name or it could be some other reason that breaks the assignment of that variable.

  • @Daksha636
    @Daksha636 15 днів тому

    Hello Joel, please make a video on creating multiline PO (ME21N) via Purchase Requisition using SAP GUI Script and Excel VBA. It will be very helpful . Thanks in advance. 🙏

    • @JoelTing
      @JoelTing 15 днів тому

      Hi there. May I understand specifically what difficulties that you are facing when developing automation for this process?

    • @Daksha636
      @Daksha636 14 днів тому

      @@JoelTing With the help of your videos I am able to automate single line PO creation through VBA and SAP GUI Script and thanks for making life easy at workplace however if I have multilines PO, I am not able to create and getting error and I am not much proficient in VBA, what ever I know is from your videos only. Actually I copy PR number through "Document Overview ON" functionality on T-code ME21N. But the moment code reached on Document overview , code shows invalid ID error. Please make a video on multi line PO creation through PR. Again thanks for sharing such precious knowledge.

    • @camiloandresochoagarcia2453
      @camiloandresochoagarcia2453 14 днів тому

      @JoelTing Thanks You.

  • @sdfsdfsdfsdf8556
    @sdfsdfsdfsdf8556 15 днів тому

    Amazing Tutorial, simple explaining a complex matter.

    • @JoelTing
      @JoelTing 15 днів тому

      Hope it was helpful!

  • @philip8232
    @philip8232 16 днів тому

    I agree, it's just too bad the finance jobs are very behind when it comes to technology and they're not utilizing this - they store everything in Excels

  • @rupalineema4925
    @rupalineema4925 20 днів тому

    Thanks This video is really helpful. But while executing a particular transaction type there is no data generated in SAP and then I want to continue with another company code how to do that.

    • @JoelTing
      @JoelTing 16 днів тому

      Hi there, you can actually use the status bar to your advantage in your script. Depending on is being shown in the status bar, use if statements to control the script. In your case, if you see a "success" message, then continue with the rest of the script to export, else, next loop. Hope this helps。

  • @dawidpe1624
    @dawidpe1624 20 днів тому

    Thank you for video. I dont need it now im my job but i add video for my playlist with most valuable films :D

    • @JoelTing
      @JoelTing 16 днів тому

      Hope it helps!

  • @Daksha636
    @Daksha636 21 день тому

    Please also make a video on how to create multi lines PO with the help of SAP Gui Script and thanks a lot for sharing such informative videos and giving us a thought how we can use SAP Gui Script and VBA to decrease the work load of repetitive task.

    • @JoelTing
      @JoelTing 16 днів тому

      Will take that into consideration for future videos. Thanks for the suggestions!

    • @Daksha636
      @Daksha636 16 днів тому

      @@JoelTing Thanks for considering my request and will wait for this particular video.

    • @JoelTing
      @JoelTing 14 днів тому

      Hi there, I took a look at the T-code for creating multi-line purchase orders. I'm not very familiar with how this process works in operations, so I might not be the best person to advise on how it could be implemented.

    • @Daksha636
      @Daksha636 13 днів тому

      ​@@JoelTing Thanks for your reply. Please keep on making such informative videos. :)

  • @user-kq2gd1hj9y
    @user-kq2gd1hj9y 22 дні тому

    Thank you, Joel!

  • @manishsoni125
    @manishsoni125 22 дні тому

    Hi joel when i try to record SAP Gui scripting i get the error of directory does not exist please help on this

    • @JoelTing
      @JoelTing 22 дні тому

      Hi, would it work if you rename the Save To field to a directory that you know does exist?

  • @jaredgarbo3679
    @jaredgarbo3679 22 дні тому

    Is there a way to input new data into excel and then have some kind of submit button to submit it to the table?

    • @JoelTing
      @JoelTing 22 дні тому

      @@jaredgarbo3679 hi Jared. Do you mean to submit planning data into BW table using Python?

  • @takerhatdepot5600
    @takerhatdepot5600 23 дні тому

    Thanks for this video. Next I request to video me - Excel to automation SAP screen short and paste to email. Thanks

  • @rajuj2548
    @rajuj2548 23 дні тому

    Wow excellent video, Can you please make video for dynamic change indexselection in Sap where we are uploading invoice in stored business in SAP.

    • @JoelTing
      @JoelTing 22 дні тому

      Hi there, not too sure what you are referring to there. I have most of my experience working on Finance related SAP module. Are you referring to any specific T-codes?

  • @Back1Ply
    @Back1Ply 24 дні тому

    Thanks for this, but i like the native SAPGUI approach session.findById("wnd[0]").HardCopy "C:\\screenshot.jpg", 1

    • @JoelTing
      @JoelTing 24 дні тому

      Thanks for sharing this. This seems to be a better approach for SAP GUI screenshots. I'll definitely try that out. Thanks!

  • @duynguyenuc745
    @duynguyenuc745 24 дні тому

    Good

  • @dongayrajasekharpanda5844
    @dongayrajasekharpanda5844 24 дні тому

    Your videos are very informative and helpful for new learners like me.

  • @dongayrajasekharpanda5844
    @dongayrajasekharpanda5844 24 дні тому

    I recorded a script for purchase order creation and tried with excel vba....sometimes it works and sometimes it does not....there is some problem with ID....SAP is changing control ID's...How to tackle this problem?

    • @JoelTing
      @JoelTing 24 дні тому

      Hi there, typically, it shouldn't change unless something different occurs. If you encounter any unexpected changes, such as additional pop-ups for certain items during the purchase order creation, you'll need to use conditional statements to handle these situations. For example, if it encounters this specific ID, then it should follow a designated action.

  • @lucaspo19
    @lucaspo19 24 дні тому

    Hi Joel, I'm new to all of this and I have a question. I can't find the SAP GUI Scripting API in the references for the VBA tools to click on it. I don't know why it's not appearing like it does in the video.

    • @JoelTing
      @JoelTing 24 дні тому

      Hi Lucas, have you tried "Browse" to locate it? I covered the steps in more details in my other video. ua-cam.com/video/7Rxh10Kt5v4/v-deo.html

    • @lucaspo19
      @lucaspo19 18 днів тому

      @@JoelTing That worked like a charm! Thanks a bunch for your help. Take care!

  • @leeyuehchyau7206
    @leeyuehchyau7206 28 днів тому

    Hi! It’s very useful! Is there any possible create a login for script before into this SAP excel script? Or I need to open SAP 1st

    • @JoelTing
      @JoelTing 28 днів тому

      Hi there. It's possible if you are using the normal way of logging in. As of now, I'm not able to reliably automate SSO login. You can refer to the link here to learn more about logging in SAP using scripts. joelting.com/articles/sap-gui-script/login-sap-using-vba/

  • @user-jz5wg6mh2o
    @user-jz5wg6mh2o 29 днів тому

    I want enter data from excel cell. But it's getting entered SAP cell number only in SAP. Pls let me know how to add variable data from excel cell.

    • @JoelTing
      @JoelTing 28 днів тому

      Hi there. I'm not sure if I understand you correctly. I believe you are trying to send data from different Excel cells into SAP. If my understanding is correct, you can refer to the link below on how this could be done: joelting.com/articles/sap-gui-script/send-data-from-excel-to-sap-gui-with-excel-vba/

  • @Proactive9002
    @Proactive9002 29 днів тому

    Thank you for the informative video, I like it!

  • @DineshKumar-rt8rz
    @DineshKumar-rt8rz 29 днів тому

    Hey Joel, lets say you want to have the header of the selected sales revenue and comparator sales revenue to be dynamic (based on the user selected value in both the slicers). If user selected JAN RE in selected sales revenue slicer and MAR RE in comparator sales revenue then the columns headers should be like JAN RE and MAR RE What should we do ?

    • @JoelTing
      @JoelTing 29 днів тому

      Hi there, to create dynamic column headers based on user selections in both slicers, you can have a measure that adds selected and comparator total together. Then create a version table that has relationships with both the selected and comparator tables. Use this version table as a column in your visual. This way, you will see the column header changes according to the users' selection. However, it's important to note that this method has a limitation: you won't be able to visualize variance in the same table, as the version is now being used as a column.

  • @user-bi3dl9kx4j
    @user-bi3dl9kx4j Місяць тому

    Why can not I use below script? Can you help me? session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0019/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:3212/cntlGRIDCONTROL/shellcont/shell").pressToolbarButton "&MEREQDELETE"

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: ko-fi.com/s/c366da7e71

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook/

  • @JoelTing
    @JoelTing Місяць тому

    I just launched "SAP GUI Scripting: Understanding the Basics" ebook! If you are interested to learn more, check it out in the link below: joelting.com/sap-ebook/