cancel
Showing results for 
Search instead for 
Did you mean: 

Script of COOIS report downloading by Python

former_member822960
Discoverer
0 Kudos

Hi Experts,

I tried to make an automatization for SAP transactions/operations but the script code not 100% compatible under Python language.

The presstoolbarButton is stucked and doesn't work.

T-code: COOIS

I tried some tricks but I need some advice or help in this issue.

Thank you in advance for your reply and help!

Please check the below picture and codes:

My code:

session.findById("wnd[0]/usr/cntlCUSTOM/shellcont/shell/shellcont/shell").pressToolbarButton("&NAVIGATION_PROFILE_TOOLBAR_EXPAND")<br>time.sleep(2)<br>session.findById("wnd[0]/usr/cntlCUSTOM/shellcont/shell/shellcont/shell").pressToolbarContextButton("&MB_EXPORT")<br><br><br>session.findById("wnd[0]/usr/cntlCUSTOM/shellcont/shell/shellcont/shell").selectContextMenuItem<br>"&PC"<br>
former_member27
Community Manager
Community Manager

Welcome to the SAP Community! Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Secondly, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html as well, as that will help you when submitting questions to the community.

Finally, I recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

Regards,

Dedi
former_member822960
Discoverer
0 Kudos

Dear Ladies and Gents,

I only received one answer from my question and unfortunately that was a moderator instead of an expert. Should I ask this question on an other site? I hoped the SAP experts might could help but as I see if the questioner is not a woman the experts are disappeared. I am disappointed...

Accepted Solutions (0)

Answers (0)