Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

How to detect if the "DB profile" window poped-up or not?

$
0
0

Hello,

 

I'm writing a script for "CJI3" - this is similar to other Tcodes as well-.

 

1- If the code is not used in this session and the DB profile is not selected I'll have a pop-up asking to choose the DB profile.

2- Otherwise, I'll get the Tcode window entry.

 

In the recordeed script the following line will be added only if the DB profile Pop-up window appears.

 

session.findById("wnd[1]/usr/ctxtTCNT-PROF_DB").text = "z1000"

 

How to limit this line execution to cases (1) above?


Viewing all articles
Browse latest Browse all 522

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>