How to record macro in SAP using SAP scripting - Simple Excel VBA

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 30

  • @SimpleExcelVBA
    @SimpleExcelVBA  3 года назад

    TIME STAMPS
    0:00 Intro
    0:19 What is SAP scripting
    1:11 How to record macro in SAP?
    2:45 Structure of recorded vbs file
    4:15 Summary

    • @chaiangeles156
      @chaiangeles156 3 года назад

      Do you do 1on1 tutorial?

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад +1

      @@chaiangeles156 I really wish I had time for that :( If You got any questions feel free to dm me via email, I'll answer it as soon as possible.

  • @omkarnaik6647
    @omkarnaik6647 Год назад +1

    Can we use this in any other tool??vba scripting?

  • @esmailelfadly4044
    @esmailelfadly4044 2 года назад

    Thank you so much for sharing this valuable infos

  • @M4KE4W1SH
    @M4KE4W1SH 3 года назад

    How do you “read” an inactive/blue GUI text field value in a sap table? Trying to feed the value into a cell in an excel workbook but because it’s inactive/blue (although it still may have a value) when recording it doesn’t read the field... hopefully that made sense?

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад +1

      Have You tried this use loop to read the sap table values?
      simpleexcelvba.com/how-to-deal-with-sap-tables-part-1/

    • @M4KE4W1SH
      @M4KE4W1SH 3 года назад

      @@SimpleExcelVBA I haven’t, but I think that’s right along the lines of what I’m after!

    • @M4KE4W1SH
      @M4KE4W1SH 3 года назад

      So I think I know why I’m having trouble. The session.findbyId on my table doesn’t end with “shell” like yours does. And when I open my order, everything is blue in the table area, which I believe makes it so I don’t have the Children-ColumnOrder Item values in my watch window.

    • @M4KE4W1SH
      @M4KE4W1SH 3 года назад

      Any thoughts?

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад

      @@M4KE4W1SH Please send your code via email with the description and we will see what is going on :)

  • @reginaldoelgueta9061
    @reginaldoelgueta9061 3 года назад

    Great video, Is it necessary to activate some reference in excel so that it recognizes the sap objects?

  • @xandros_74
    @xandros_74 3 года назад

    Hi, Tomasz. Great video. I have one question.
    I want to export some data in a txt format. I want to do it montly and save to a file, but when I want to export, I want to put the day when I'm running the script (ex. 2020-02-01.txt).
    How can I make the file name a variable and not just a string? Do I have to support in any other programs like Excel or can I make it in the same .vbs file?

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад

      Hello, thank You.
      Declare variable, get the data, put inside the variable, put the variable in the place of string. That should be as simple as it sounds. :)

  • @sherrir1349
    @sherrir1349 3 года назад

    Can you use script recording in a purchase order for hundreds of items or same items ? Instead of line by line?

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад

      Record script, edit it, put the data from the table, loop it, that's all :)

  • @RedKods
    @RedKods 3 года назад

    Hello, I have a problem: Line "Set SapGuiAuto = GetObject("SAPGUI")" Sintaxe Error

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад

      Hello, try ("SAPGUI ") - with space or contact me directly & send me whole code :)

  • @phuoctran6613
    @phuoctran6613 3 года назад

    Hi man, could you make a video about how to connect and run script from excel to SAP when it already login

  • @walfreddeb9176
    @walfreddeb9176 3 года назад

    I have a question what is your mail adrrs

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад

      All contact info You can find on the simpleexcelvba.com/ in the About me or Contact me tab :)

  • @yadneshluste7751
    @yadneshluste7751 3 года назад

    Hi neeed your help

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад +1

      What is the issue? :)

    • @yadneshluste7751
      @yadneshluste7751 3 года назад

      @@SimpleExcelVBA I have recorded a sap script as I put my document number it shows multiple rows some time 2 or 1 or 3 but I want to select whichever is the last row every time

    • @yadneshluste7751
      @yadneshluste7751 3 года назад

      @@SimpleExcelVBA thank you so much for fast reply

    • @SimpleExcelVBA
      @SimpleExcelVBA  3 года назад +1

      @@yadneshluste7751 Email me with all the code attempts and your trials. We'll figure out something :)