Skip to Content
avatar image
Former Member

VB script & transaction BOMs DOWNLOAD


I have a quick question I'm almost on the end of my VB script that will work alone :) hopefully if you will help me :) where I have a issue:

- script stops on the system windows popup window ("file select") at this point I need to manually push my script by canceling this window.

-I try to record script & see how to resolve my challenge however record don't show this step :(

can you please help me?

transaction :
- BOM donload

looking forward for your support how to call from VB widows communication window & how I could close it & come back to SAP one more time.

all the best!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 29, 2016 at 11:57 AM

    Hi Pawel,

    please have a look at the following link:



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2017 at 12:09 PM

    Hi ScriptMan

    Thank you for link I spend some time to look for solution that could help me however I’m beginner in VB & seems I’m not able to use given advices. However I believe that there should be some solution to my problem J & I’m sure that someone could guide me J. Let me describe my issue more deeply:

    • 1.I’m using transaction: Y_KLD_31000180 - BOMs DOWNLOAD
    • 2.I’m able to hook up excel with SAP & proceed with transaction from excel script until system window popup (this popup window is called: “file select”)
    • a.I found some help to this transaction & guidance as SAP help file & is “click cancel” & here is my challenge!!!
    • b.I’m able to do physical click -> than scrip go further
    • c.I’m not able to do automated “click” & I’m looking for solutions.

    What I can provide as input to further guidance:

    • As mentioned click on cancel button helps,
    • ESC button works as well
    • Red cross sign (X) in top right corner of the window give the same results popup window disappear & script go further.

    Challenge that I have I’m not able to do automated solution I need to have manual input L

    Team how to solve it? Are you able to guide me? Or give scrip that will close on this window?


    Also what I observe when I start script & start work on something else I got communication window from system “ Microsoft Excel is waiting for another application to complete an OLE action”

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2017 at 12:36 PM

    Hi Pawel,

    Unfortunately I do not have access to the mentioned Transaction. My notes refers to the settings of the sap gui script recorder.

    You can also go to the settings via ALT / F12 -> Options -> Scripting.

    Then the script recorder should also record the window with "file select". This is only possible with the SAP GUI version mentioned.

    If that is not possible, one would have to look further. ;-)



    Add comment
    10|10000 characters needed characters exceeded