Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2175

UI API -CONNECTION

$
0
0

Hi, guys, I have a Question about the connection by UI API, i saw a code to printer documents, but send me error. The code is this: 

 

aplication.ActivateMenuItem("2053") 'open invoice form   Dim fo As SAPbouiCOM.Form   fo = aplication.Forms.ActiveForm   fo.Mode =SapbouiCOM.BoFormMode.fm_FIND_MODE 'activates find fo.Items.Item("8").Specific.value = numfac 'numfac is the docentry you want to print fo.Items.Item("1").Click() 'makes the search aplication.Menus.Item("520").Activate() 'open printing dialog fo.Items.Item("1").Click() 'close the invoice form 

 

 

I think that is not complete, there is no connection, I have experience with DI API, but have never worked UI API. Please your help. Thank you. Regards,


Viewing all articles
Browse latest Browse all 2175

Trending Articles



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