Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: New(er) Call Transaction for SU01 not working in background

$
0
0

hi Mike

i find some infomation from notes(372359,372592), but your program only a BDC recording, no relationship with screen, i`m confusing.

 

 

Symptom

The class CL_GUI_DOCKING_CONTAINER allows the transfer of parameter RATIO in the constructor, and this parameter can have a value between 5 and 95 (see Note 372359). This parameter determines how many percent of the screen width (in the case of docking containers left or right) or of the screen height (top and bottom) the docking container should take up. With the method GET_RATIO you can find out at any time, how much space (in percent) the docking container currently takes up.

Here, you encounter the following problems:

    1. GET_RATIO delivers a value greater than 100.

 

    2. Both the specification in the constructor and GET_RATIO deliver results deviating slightly from the exact value. For example, although value 50 was passed to the constructor, the container does not exactly take up half the screen area; also GET_RATIO for example delivers value 100 although the container does not take up the full screen.

 

 

Other Terms

CONTROL FRAMEWORK CL_GUI_CFW

 

 

Reason and Prerequisites

    1. This is a program error. It is corrected with the attached correction; the correction is also included in Support Packages.

 

    2. The entries for RATIO in the constructor and the result of GET_RATIO are only approximate values because the calculation of screens is based on full lines and columns whereas controls, in particular docking containers, use metrics that are based on pixels. Results that are slightly imprecise are caused by the fact that the window size cannot be divided exactly into lines and columns.


In short, the specifications in percent can only be used to determine or query an approximate value for the space that docking container and screen take up.

 

 

Solution

 

  1. 1. Correct the error; an advance correction is possible.

 

 

 

 

regards,

Archer


Viewing all articles
Browse latest Browse all 8533

Trending Articles



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