cancel
Showing results for 
Search instead for 
Did you mean: 

GUI Field reference

former_member599981
Discoverer
0 Kudos

Hi,

I work as vba developer and I have only limited knowledge on SAP. I've got now a request to extend a macro that writes data into SAP fields.

Actually it would be one additional line only, but I don't how to identify the name of a field where I should put the given data from excel.

I only know the name of the sap-transaction, and the technical information of the field I need. Due to policy reasons recording is not allowed.

Is there any way to find out based on these information how can I reference the field I need? What to write after the

"session.FindById("wnd[0]/usr/ " code?

I also would appreciate some good tutorial on this topic.

Thank you

Accepted Solutions (0)

Answers (3)

Answers (3)

script_man
Active Contributor
0 Kudos

Hi Gabor,

You could get some information in this post:

https://www.youtube.com/watch?v=voCYznbW8mQ

The magic word is called SAP GUI Scripting. 😉

Regards,

ScriptMan

former_member599981
Discoverer
0 Kudos

Yes, I have all informatin can be obtained by using the technical info option, but for me it doesn't answer the question. (Maybe for more experienced users it does, but I am not like this.)

Thanks for your answer.

marcobuescher
Active Contributor
0 Kudos

Hello,

have you tried this?

Determine field names:

Position yourself in the relevant field and choose the F1 help. In the dialog box, choose the function Technical Info. You can then find the relevant information in the screen field Dynp field in the following dialog box.