Skip to content

pyrfc - call SE38 programs and take screenshots? #292

Answered by Ulrich-Schmidt
chandra-a asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
"screenshot based result" is probably not the correct description for this, but there are indeed some old FMs/BAPIs which try to send Dynpro data (data formatted in DIAG protocol) back to the caller. When the caller is connected to the SAP System via RFC protocol (like in this case), this usually results in a dump DYNPRO_SEND_IN_BACKGROUND "Screen output without connection to user".

If you are seeing such dumps in ST22, then the following parameter for the RFC connection might help you:
USE_SAPGUI=1/2 (see sapnwrfc.ini file for details)

Basically there are two cases:

  1. The screen output is not relevant and can be ignored. In that case set USE_SAPGUI=2. This starts a hidden SAPGui, w…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chandra-a
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by chandra-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants