Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

Services for Objects - Create Attachment

$
0
0

I am creating a flavor for ME51N Create Purchase Requisition and currently stumped on how to successfully attach a document. In the standard SAP GUI, users can click Services for Objects menu/button then Create > Create Attachment, locate the file and attach it. In Personas/the Web Application Server, I recorded this process and added it to a script button. See the script recorded below:

Recorded.jpg

 

When I run the script, two pop-up boxes appear simultaneously. The Import file is technically first and I can click Ok and still upload the file. The Error still comes up though:

Errors.jpg

 

So, I tried cleaning up the original script (below) and the errors still appear, same as above:

 

Clearned.jpg

 

My current assumption is related to the Import file" Allow to open local file?" pop-up box potentially. In the standard SAP GUI this does not happen at all, users can simply grab the file. Although the error errors states that an executed step failed, if I click the Ok button in the Import file box, I can proceed with attaching the file.

 

What is going here? Is there a way to avoid the error message? My ultimate goal is to create a script button for usres to click to attach their documents to the new Purchase Req. I appreciate any and all assistance and/or suggestions.


Viewing all articles
Browse latest Browse all 2552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>