cancel
Showing results for 
Search instead for 
Did you mean: 

Script Recording Playback Question

Former Member
0 Kudos

Hi All,

I am using the SAP's Script Recording Playback. Currently i am recording a customer update for one of its fields. i need some help on how to do an iteration in my recording and how to use a database so that i could just have a variable for instead of hard coded customer number.

session.findById("wnd[1]/usr/ctxtRF02D-KUNNR").text = "7XXXXXX" --> Need to declare as variable and get data from an excel

session.findById("wnd[1]/usr/ctxtRF02D-VKORG").text = "1000" --> Need to declare as variable and get data from an excel

session.findById("wnd[1]/usr/ctxtRF02D-VTWEG").text = "01"

session.findById("wnd[1]/usr/ctxtRF02D-SPART").text = "10"

Hoping someone could help me becuase im not familiar with vbscript.

Thanks,

BGC

Accepted Solutions (0)

Answers (1)

Answers (1)

script_man
Active Contributor
0 Kudos

Hi BGC,

welcome to the forum. Here are some threads that deal with your topic.

One of them is for example:

Regards,

ScriptMan

Former Member
0 Kudos

Hi

Can anyone expalin how VB scripting is used in ABAP program to implement SAP GUI recording. As the actual requirement is to automate the option Script recording and Play back ( customize layout button ) through ABAP program.

Regards,

Pathan