Quantcast
Viewing all articles
Browse latest Browse all 3353

ASKBN scripting issue

Hello,

 

I have recorded macro for ASKBN. For few company codes, it is showing error as "there are no documents to post" as mentioned in 3rd picture. for few other company codes it is showing results as mentioned in 2nd picture.

 

For executing ASKBN, i have the code mentioned at particular screen shot.

 

session.findById("wnd[0]/tbar[1]/btn[8]").press

 

Image may be NSFW.
Clik here to view.

 

From here it has to go back.

 

session.findById("wnd[0]/tbar[0]/btn[3]").press

 

Image may be NSFW.
Clik here to view.

 

Problem starts over here, i did not get SAP coding for below dialog box. I have used below mentioned code.

 

If session.findById("wnd[0]/sbar").Text = "There are no documents to process since the last run." Then

 

session.findById("wnd[1]/tbar[0]/btn[0]").press

 

End If

 

 

 

Image may be NSFW.
Clik here to view.

 

Finally my coding is like below.

 

 

If session.findById("wnd[0]/sbar").Text = "There are no documents to process since the last run." Then

 

session.findById("wnd[1]/tbar[0]/btn[0]").press

 

End If

 

And SAP is not considering at all. Kindly help us to solve the issue.

 

Thanks

Sunil


Viewing all articles
Browse latest Browse all 3353

Trending Articles



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