Пікірлер
@leeyuehchyau7206
@leeyuehchyau7206 2 күн бұрын
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 2 күн бұрын
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 3 күн бұрын
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 2 күн бұрын
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 3 күн бұрын
Thank you for the informative video, I like it!
@DineshKumar-rt8rz
@DineshKumar-rt8rz 3 күн бұрын
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 3 күн бұрын
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 4 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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 10 күн бұрын
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/
@sunoklee8803
@sunoklee8803 10 күн бұрын
can this work with python or excel VBA? clipboard copy of Material listed
@JoelTing
@JoelTing 10 күн бұрын
@@sunoklee8803 hi there, yes. Both can do a clipboard copy. For Excel VBA, it would be the copy method on the range. For Python, there could be multiple ways to do so. One way is to use dataframe.to_clipboard function after loading your data into the dataframe.
@loveenasukhija3015
@loveenasukhija3015 11 күн бұрын
Hi Joel, thank you for sharing your knowledge. It was really helpful 😊
@explorer-to5vp
@explorer-to5vp 11 күн бұрын
is there a way that you can directly save it on a sharepoint site?
@JoelTing
@JoelTing 11 күн бұрын
Hi there. I think for a quick and easy solution, you can try to have a folder sync with the sharepoint site folder. Then just save it in that synced folder and it should automatically be uploaded.
@JoelTing
@JoelTing 12 күн бұрын
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/
@ManishKumar-pg5sy
@ManishKumar-pg5sy 24 күн бұрын
Please record video for VBA scripting on how to take SAP screenshot in excel
@JoelTing
@JoelTing 20 күн бұрын
I'll take note of that. Thanks!
@user-kq2gd1hj9y
@user-kq2gd1hj9y 25 күн бұрын
Hi Joel I am missing your good videos! When are you going to show us something cool again? Thank you Klaus
@JoelTing
@JoelTing 20 күн бұрын
Hi Klaus, sry for keeping you waiting, but things have been quite busy at my end recently. I will try to come out with something asap. Any specific topic that you would be interested in?
@user-kq2gd1hj9y
@user-kq2gd1hj9y 17 күн бұрын
@@JoelTing Hi Joel, thank you for your response. Have you ever worked with GUIXT on modifying SAP-screens? This is actually very promising, but I only started looking into it. I don't know how far one can get with only the free version, but maybe you have experience here?
@JoelTing
@JoelTing 17 күн бұрын
@@user-kq2gd1hj9y Nope. I have not work with GUIXT before. I'm probably not the best person to advise on this topic.
@user-kq2gd1hj9y
@user-kq2gd1hj9y 16 күн бұрын
@@JoelTing Understood. No problem. I will just look forward to the topic you will bring up. Thanks.
@violets9186
@violets9186 27 күн бұрын
Hi joel i tried same to change snc name in su01 but having difficultity to fetch data from excel 😭
@JoelTing
@JoelTing 26 күн бұрын
Hi there. You mean to login into SAP via SSO? Or you are not able to establish a connection for SAP script to run?
@hishamelabd4429
@hishamelabd4429 27 күн бұрын
First of All , Thanks a lot Then wanna ask, how to create a dynamic header name for those columns ?
@JoelTing
@JoelTing 20 күн бұрын
Hi there, as of now, there does not seems to be a way to have the columns change dynamically based on the measure that is getting displayed. Workaround would be having the "Version" as column in the matrix, then the column name will change according to what you have selected but you will not be able to visualize the variance nicely.
@JustaNotherGirl-ec1cm
@JustaNotherGirl-ec1cm Ай бұрын
Wow, so clear and easy to understand your points - and your demos to highlight those points are done perfectly - nothing superfluous. Thank you!
@mohitbedi6467
@mohitbedi6467 Ай бұрын
Hi Joel, Thanks for the amazing video. I am stuck at a point where I seek your support. I am trying to create the macros for downloading the GL using FAGLL03 for a particular month but when I run the macro it is not capturing the month dates and downloading the complete data. Can you help me fix this issue. I can show you over a call as well, if possible. Awaiting your reply.
@yekoya
@yekoya Ай бұрын
Thx alot for sharing & explaining this powerful tool !
@user-wo3mu9bc4j
@user-wo3mu9bc4j Ай бұрын
thanks a lot! the tips about setting up the GUI and the Developer API were extremly helpful!
@stschnell
@stschnell Ай бұрын
Thank you very much for this excellent video Joel 😀
@JoelTing
@JoelTing Ай бұрын
Hey Stefan, thank you for commenting! Thanks for developing and sharing such a useful tool with us! 😊
@rachidmohammed6784
@rachidmohammed6784 Ай бұрын
i don't know if you're familiar with business controlling the capex analysis and the sales analysis if you make a tutorial about this to will be wonderful and again thank your for sharing your knowledge with us
@JoelTing
@JoelTing Ай бұрын
Hey there, may I know specifically what T-code you are usually looking at for CAPEX analysis and sales analysis?
@rachidmohammed6784
@rachidmohammed6784 Ай бұрын
@@JoelTing thanks for replying . I'm open to anything do what you can do i know you don't have much time i really appreciate every type of information you give us
@rachidmohammed6784
@rachidmohammed6784 Ай бұрын
joel love your videos . if you can make us a long tutorial for finance sap fico and excel . from extracting data to manipulate in excel and automate it
@JoelTing
@JoelTing Ай бұрын
Thanks for your kind words. Sorry, I have been quite busy recently. I'll see what I can do.
@geraldoribeiro8393
@geraldoribeiro8393 Ай бұрын
SAP Fiori?
@JoelTing
@JoelTing Ай бұрын
Hi there, this tutorial is about SAP GUI. For SAP Fiori, which I believe it web based, requires a different approach to automation.
@user-ec9hq6md1f
@user-ec9hq6md1f Ай бұрын
hello, i'm trying to do similar task of extracting multiple reports but from different sap systems, i tried to do multiple vbscript one after another but after extracting 1 system, it stops, do you have an idea how to do it?
@JoelTing
@JoelTing Ай бұрын
Hey there. Did you use "/n" in front of the Tcodes that you are running in the command bar? Eg. "/nKE24"
@alessandrovavala3536
@alessandrovavala3536 Ай бұрын
Hello Joel! Super useful video, thank you! Do you know if it is there a way to rename the columns name with the value selected in the two slicer? For example, in case the selected version is May RE instead the column having the header as “Selected Sales Revenue” it has “May RE Sales revenue” Thank you again!
@JoelTing
@JoelTing Ай бұрын
Hi there. For the column names, it's possible if you don't have a column to compare the variances. I have an example (may differ slightly for your use case) in a different video where you can use VALUES function to calculate the total of selected and comparator and put the version in the column field of matrix visual. kzfaq.info/get/bejne/rsqioJh3vcvZmmg.html
@SudheerVenigalla
@SudheerVenigalla Ай бұрын
for few of my colleagues this line is working (session.findById("wnd[0]/usr/ctxtRC29N-WERKS").text = "ABC") and for few this line working (Session.findById("wnd[0]/usr/ctxt[1]").Text = "ABC") how can I manage with common program, and also why this difference. Please help me Joel
@JoelTing
@JoelTing Ай бұрын
Hi there, not too sure about that. The difference may be coming from different SAP Logon version. Can you check if both of you are having the same version?
@noway8104
@noway8104 Ай бұрын
I really like your video regarding power automate desktop, and I think other people too. I hope you can keep creating it if you have time !
@bijijohn7983
@bijijohn7983 Ай бұрын
Hi Joel, thank you so much for this. It is very useful. I am looking to see the variance by month as well as total while comparing 2 forecast submissions. How can we do it? Do you have any suggestion?
@JoelTing
@JoelTing Ай бұрын
Hi there, are you looking to build it in a waterfall visual as well? I believe you can bring in the date table months and it will work just like how the categories are working.
@vikrantnag86
@vikrantnag86 Ай бұрын
Can we do it with these multiple ranges options also in SAP. Like you have County in column A2:A4, you have City in B column with values from B2:B10. Can this be incorporated with this method
@JoelTing
@JoelTing Ай бұрын
Hi there. Yes, that's possible. Just make sure the sequence of your copy is the correct one. 1) Copy the country in range A2:A4 2) Open the multi select option in SAP for country and click on paste from clipboard button, click on "OK" to close 3) Copy the City in range B2:B10 4) Open the multi select option in SAP for City and click on paste from clipboard button, click on "OK" to close This way, the correct value should appear.
@noway8104
@noway8104 Ай бұрын
Thanks for your sharing, but in my case it did not work There is an error that stopped at attach to running excel
@JoelTing
@JoelTing Ай бұрын
Hi there. Is it possible that the Excel took quite some time to load? There are other alternatives that can be considered to make it work if this specific use case is not working for you.
@noway8104
@noway8104 Ай бұрын
I made it ! thank you !
@vishalkedar4698
@vishalkedar4698 Ай бұрын
need mirco from excel to SAP
@JoelTing
@JoelTing Ай бұрын
If you are using Excel, you can try checking my other videos when automating is VBA. It will be of similar concept, just replace the values in the scripts with values read from an Excel cell (by storing them as a variable).
@andyjohnson9714
@andyjohnson9714 Ай бұрын
Using what? Where can I watch your videos for sap data extraction?
@JoelTing
@JoelTing Ай бұрын
May I clarify, what was your question?
@andyjohnson9714
@andyjohnson9714 Ай бұрын
What to do if this sap feature is disabled?
@JoelTing
@JoelTing Ай бұрын
Hi there. If it is disabled for end user, then there's no way to enable scripting without the admin's help.
@mohsin9651
@mohsin9651 2 ай бұрын
Hi can you wrght a code for taking screen shot and save it to a word document
@JoelTing
@JoelTing 2 ай бұрын
Hi there, you can use the following as a reference: Private Declare PtrSafe Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _ bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Const VK_SNAPSHOT = &H2C Private Const KEYEVENTF_KEYUP = 2 Sub PrintScreen() keybd_event VK_SNAPSHOT, 1, 0, 0 'Key Down keybd_event VK_SNAPSHOT, 1, KEYEVENTF_KEYUP, 0 'Key Up Pause (0.1) Dim wordApp As Object Set wordApp = CreateObject("Word.Application") wordApp.Visible = True Dim wordDoc As Object Set wordDoc = wordApp.Documents.Add wordDoc.Range.Paste wordApp.ActiveDocument.Range.Paste End Sub Function Pause(sec As Single) Dim t As Single: t = Timer Do: DoEvents: Loop Until Timer > t + sec End Function After pasting, you can just save the word document your own. Hope this helps.
@taylorberman7851
@taylorberman7851 2 ай бұрын
This doesn't work for me because my SAP opens up the windows file browser when I try to export to excel. It doesn't give the option to name my file in SAP.
@JoelTing
@JoelTing 2 ай бұрын
Hi there. Do you have "Show native Microsoft Windows dialogs" enabled in your option?
@quickisdeadly12
@quickisdeadly12 2 ай бұрын
Hi. Is it possible to connect to sap and run recorded macros with office scripts?
@JoelTing
@JoelTing 2 ай бұрын
Hi there, sorry for the late reply. My understanding is that office script is not able to work directly with SAP.
@yoke-yinp3188
@yoke-yinp3188 2 ай бұрын
Great video! I have a quick question though. I don't want to run a report but I just wanted to capture the screen shot. Let's say I run a T Code that contains "Header", "Operations" and "BOM". I just wanted to capture the screen shot of these three areas. Do you think it's possible? Thanks.
@JoelTing
@JoelTing 2 ай бұрын
Hi there, you can capture screenshot using "keybd_event vbKeySnapshot, 1, 0, 0" to save this in your clipboard, then "ActiveSheet.Paste" to paste the screenshot in the desired location. My thought is once you are at the screen that you want to capture in SAP, run the keybd_event code, then paste it somewhere and proceed to the next steps.
@nestormartire5305
@nestormartire5305 2 ай бұрын
Hello Joel is it possible to use Power Automate from the platform? Not the desktop version i mean
@JoelTing
@JoelTing 2 ай бұрын
Hi Nestor, that's not possible if you are looking for automated interaction within SAP GUI. It needs an operating system installed with SAP GUI to act as the intermediaries, that's why PAD is required. Usually, tasks that can be performed on the cloud Power Automate involve setting up triggers and delivering data to the app you desire. Imitating actions on the user interface needs Power Automate Desktop to work.
@nestormartire5305
@nestormartire5305 2 ай бұрын
@@JoelTing Thanks for your response and your videos!!!!
@johnarkdelossantos9406
@johnarkdelossantos9406 2 ай бұрын
Hi Joel can you help me, mine isn't working
@JoelTing
@JoelTing 2 ай бұрын
Hi there. What is not working for you?
@vishwasnaik961
@vishwasnaik961 2 ай бұрын
Hi please help I'm getting a error while running the script to get last row value Error: Run time error 91 Object variable or with block variable not set
@JoelTing
@JoelTing 2 ай бұрын
Hi there. Have you declared the variable before assigning values to it? like Dim lastrow
@maryella3174
@maryella3174 2 ай бұрын
I've got an error with User-defined type not defined pointed to objConn AS GuiConnection. I don't know what I can do
@JoelTing
@JoelTing 2 ай бұрын
Hi there. Have you enabled SAP GUI Scripting API under "Tools" -> "Reference"?
@brunoferraz7027
@brunoferraz7027 3 ай бұрын
Hi Joel! Thanks for the video and the knowledge. For auditing purposes, is it possible to include in the automation process, the recording of the extraction? Or maybe extract printscreens of the parameters that were chosen to generate the report? Thanks again!
@JoelTing
@JoelTing 3 ай бұрын
Hi there, is a log of what is being passed into the script sufficient for the audit purpose? If that's the case, you can create a text file containing the time of running, the different parameters passed in for the script and the outcome of the script (could be the final file path of the export).
@HenriqueGalvao10
@HenriqueGalvao10 3 ай бұрын
Hi Joel, tks for the tip. I downloaded scripting tracker, but when I use the tracker and go down the tree, it is not going all the way to the elements, it goes only at a level call "shell" and does not go any further, can you help me? Any ideas why this is happening?
@JoelTing
@JoelTing 3 ай бұрын
Are you looking at a PDF HTML viewer or something? You can try and check the type of the shell to identify what is it and identify what is the method to interact with it.
@aewcontrol2984
@aewcontrol2984 3 ай бұрын
It’s similar nwbc property collector, but in the last upgrade they removed it!! 😂I’ll try this. Hopefully they let me install it
@JoelTing
@JoelTing 3 ай бұрын
I see. I have not heard of that before. I'll also have a look at this software as well. Thanks!