SAP GUI Scripting with python to automatically download pdf files use CV04N
Hello experts:I am now using SAP GUI Scripting to automatically download documents, using transaction code CV04N. The script has been written by Python, but it needs to be optimized. Here is the script: ————————————————————————————— import win32com.clientimport timeimport pyautoguiimport pandas as pd # set pathfile_path = r”C:UsersAdministratorDesktoptesttdocument_codes.xlsx” # read Excel df = pd.read_excel(file_path, engine=’openpyxl’)document_codes = df[‘DocumentCode’].tolist() try:# …
SAP GUI Scripting with python to automatically download pdf files use CV04N Read More »