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

Screen sharing within SAP GUI

Former Member
0 Likes
1,774

Hi All,

I would like develop a transaction in which one can share the GUI of a transaction with another user on the same AS. It would have a selection screen with USER INVITED and TRANSACTION TO SHARE, which, after specifying the values would start the transaction specified, and kind of stream it to the user specified.

Which technology would you recommend starting with?

This functionality would help a lot when supporting users.

Thanks,

Ádá

1 ACCEPTED SOLUTION
Read only

Kiran_Valluru
Active Contributor
0 Likes
1,617

Hi.,

I dont think this is possible.. It is some thing like sharing Desktop (using Team Viewer ).

but you can execute the transaction in other system other user ID using Function Module TH_CREATE_FOREIGN_MODE .

using this function module you can execute transaction in some other user system.

hope this helps u.,

Thanks & Regards,

Kiran

Hi All,

I would like develop a transaction in which one can share the GUI of a transaction with another user on the same AS. It would have a selection screen with USER INVITED and TRANSACTION TO SHARE, which, after specifying the values would start the transaction specified, and kind of stream it to the user specified.

Which technology would you recommend starting with?

This functionality would help a lot when supporting users.

Thanks,

Ádá

6 REPLIES 6
Read only

Kiran_Valluru
Active Contributor
0 Likes
1,618

Hi.,

I dont think this is possible.. It is some thing like sharing Desktop (using Team Viewer ).

but you can execute the transaction in other system other user ID using Function Module TH_CREATE_FOREIGN_MODE .

using this function module you can execute transaction in some other user system.

hope this helps u.,

Thanks & Regards,

Kiran

Read only

0 Likes
1,617

You might want to take a carefull look at this SAP note if you are using this FM --> https://service.sap.com/sap/support/notes/1529235

@ Adam: way back in ancient times you could do this in SM04, but SAP removed it in stead of making a "request" feature for the user to accept before you can watch their SAPGui session. It also was not very stable, as I think the ABAPers found the OP-code for the kernel call but the kernel developers did not really intend this feature to "mainstream" and soon started using netmeeting and sharing desktop applications themselves.

A feature such as "share control" via SAPGui is for example hard to imagine, and the original SM04 feature required that the user "echos" their session back to the target user.

If you are interested then we can continue the discussion (you would have to code it on your own and there is no support for the kernel calls), but I would use netmeeting if I were you.

Cheers,

Julius

Read only

0 Likes
1,617

Hi Julius,

Thanks for the very interesting and useful info! Yes, I would love to carry on, hopefully guys left the FMs and/or BAPIs in the system so we can make use of them. Could you recommend a starting point?

Thanks again,

Ádá

Read only

0 Likes
1,617

The first thing to discuss is that there is no FM or BAPI for it.

You will need to directly "c-call" the ThUserInfo kernel function using an undocumented OP-code.

This means it can change without notice, is unsupported and a good code review by a customer would detect it and might ask to have it removed again anyway...

sy-subrc = 0 still?

Cheers,

Julius

Read only

0 Likes
1,617

Oops, than I should not waste much time on it... Too bad, such a feature could be so handy...

Thanks again for all the info!

Ádá

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,617

Hi,

Why don't you use existing software like "mstsc.exe", netmeeting, etc.?

Sandra