Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPGUI recording through an ABAP program

Former Member
0 Likes
1,411

Can somebody explain how SAPGUI recording can be invoked through ABAP Program. Suppose if I want to record MM01 transaction I need to trigger it through an ABAP program and the recorded data should be downloaded in the form of a file.

In short, the program should work similarly as the sapgui recording.

Can somebody explain how SAPGUI recording can be invoked through ABAP Program. Suppose if I want to record MM01 transaction I need to trigger it through an ABAP program and the recorded data should be downloaded in the form of a file.

In short, the program should work similarly as the sapgui recording.

8 REPLIES 8
Read only

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Likes
1,375

I dont think there is possibility to execute an ecatt script from an ABAP program, however you can call an abap program in the ecatt script also the ecatt can be triggreed from the test workbench.

Thanks & Best regards,

Ajay

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,375

I don't understand very well. Are you looking for transaction SHDB ? (it can record MM01 and save the recording as a file, and it can be played through an ABAP program)

Or is it pure eCATT?

Sandra

Read only

0 Likes
1,375

Hi Sandra,

What I'm looking for is a standard template wherein if I pass any tcode and that transaction is run with the inputted values it should record the entire flow and should be saved in the form of a file with the recorded details. This is not related to ecatt but has to record sapgui. We have script recording and playback option in SAP.This stores the recorded details in the form of a vbs file wherein we can execute this at a later time by just double clicking on this file. I need to automate the same way through a program.

Thanks..

Read only

0 Likes
1,375

Hi,

so you could do it with batch input technology, using the transaction recorder -> transaction SHDB (see my previous answer)

Nonetheless, some transactions cannot be recorded correctly, in that case SAPGUI scripting could work better. Note that you can adapt the latter, into ABAP using OLE statements ([ABAP documentation: OLE Interface|http://help.sap.com/abapdocu_70/en/ABENOLE2.htm ]), but you'll have to do everything from scratch (to be compared to SHDB where it generates the program).

Sandra

Read only

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Likes
1,375

Hello Sandra,

Good to know that, does each recording stores as a seperate file, can we download it and load it in another system where the same transaction exists and use it.

Thanks,

Ajay

Read only

0 Likes
1,375

Hi Ajay,

Yes. It's really simple compared to eCATT. Try it and revert back if you need help.

Sandra

Read only

0 Likes
1,375

Hi

what are the steps to implement SAPGUI recording through an ABAP program

Regards,

pathan

Read only

Former Member
0 Likes
1,375

Hi Sashi,

Have u implemented the program which works similar to SAP GUI recording. Becoz i have the same requirement. Do reply .

Regards,

Pathan