How to Save As & Open Excel spreadsheet during SAP scripting?

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

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

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

    Excellent solution! I've been searching for this for a long time! New subscriber!

  •  2 ปีที่แล้ว

    Bro, I was looking for this for hours. Thank you so much. Got subscribed.🙋‍♂

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว +1

      So happy to see that! Thank You!

  • @مريومالعشوان
    @مريومالعشوان 2 ปีที่แล้ว +1

    Hi , what about if I want preventing the excel from open after extracting it?

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      Just don't use solution from this video :)

    • @مريومالعشوان
      @مريومالعشوان 2 ปีที่แล้ว

      @@SimpleExcelVBAActually the file will be open by default !! ,this why l asked if l can prevent it

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      @@مريومالعشوان I think it is not possible

  • @marcosogasawara3008
    @marcosogasawara3008 2 ปีที่แล้ว

    Thanks to share this solution! This helped me a lot. 👍

  • @ridanaeem1012
    @ridanaeem1012 ปีที่แล้ว

    Hi, thank you for this video. I don't understand the working but the solution works and solves my issue

    • @SimpleExcelVBA
      @SimpleExcelVBA  ปีที่แล้ว

      Happy to help! :)

    • @ridanaeem1012
      @ridanaeem1012 ปีที่แล้ว

      Hey, one other issue. Some SAP transactions take time e.g. if we are checking all the inventory. I am using macro for this and My macro crashes (giving me pop ups to wait or to cancel it) while waiting for sap to execute the command

    • @SimpleExcelVBA
      @SimpleExcelVBA  ปีที่แล้ว

      @@ridanaeem1012 Hi, I need more details, please post them somewhere :)

  • @dalboz
    @dalboz ปีที่แล้ว

    Thanks, seems a clever workaround!

  • @osmanfaruker6894
    @osmanfaruker6894 2 ปีที่แล้ว

    Hello, when getting report on SAP by VBA the report automaticly openning always. this is problem for me how can ı solve? I only want save function.

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      Hello, haven't found the way yet to only save the file. That's why I figured out to deal with that in such way.

  • @M4KE4W1SH
    @M4KE4W1SH 2 ปีที่แล้ว

    Thank you again for your help on this! :)

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      You're welcome! I'm open for your suggestions! :)

  • @sapisoftware1942
    @sapisoftware1942 ปีที่แล้ว

    Genius!! thanks a lot!

  • @nburaq
    @nburaq 2 ปีที่แล้ว

    Great! So valuable thanks for sharing

  • @chemagarcia1168
    @chemagarcia1168 2 ปีที่แล้ว

    Thanks for your videos. Very interesting.
    Can you use your screen of VBA in colour blank? In black it’s more difficult to read the code.

  • @NiteshMittalbadboy
    @NiteshMittalbadboy 2 ปีที่แล้ว

    Can you please create a video to automate F-03 (Clear GL Account Manually) based on Document Numbers and multiple company codes through excel.

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      Hello! I would love to help You with that, but unfortunately I don't think I have access to that transaction. Have You tried with SAP Script recorder? What is the issue You struggling with?

  • @mgodek7092
    @mgodek7092 2 ปีที่แล้ว

    thanks for sharing

  • @chemagarcia1168
    @chemagarcia1168 2 ปีที่แล้ว

    Hi, Other way to solve this topic is to split the macro in two :
    Sub Macro_1()
    ….
    session.FindById("wnd[1]/usr/ctxtDY_PATH").Text = “\\ …”
    session.FindById("wnd[1]/usr/ctxtDY_FILENAME").Text = “File …”
    session.FindById("wnd[1]/tbar[0]/btn[11]").Press
    session.FindById("wnd[0]/tbar[0]/btn[3]").Press
    session.FindById("wnd[0]/tbar[0]/btn[3]").Press
    Application.OnTime Now + TimeValue("00:00:15"), "Macro_2"
    End Sub
    Sub Macro_2()
    ActiveWorkbook.Close False
    End Sub

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      Hello! Thank You for sharing. I was there and it was not working for me + didn't want to use ActiveWorkbook object. But appreciate your input! :)

  • @ssabyasachi25
    @ssabyasachi25 2 ปีที่แล้ว

    May be i am missing something...but this is not working every time... sometimes it is able to detect and sometimes not🥴

    • @SimpleExcelVBA
      @SimpleExcelVBA  2 ปีที่แล้ว

      It was working everytime for me, can You tell the transaction where it is not always working?