How to Screen scrap from SAP screen

Hello, I’m supposed to capture the field name and its value for validation purpose in SAP. I tried screen scraping but not able to achieve it. Please help. Thank you

In the attache image, I have to capture “STAFF_REF” field with value “X”.

@Pavan_Patke
please reattach the image as it cannot be displayed or be opened. Thanks

Tu @Pavan_Patke

Please check sap gui scripting, I have used a lot and it works great and fast. Check it out!

Regards