sapcli
sapcli copied to clipboard
ATC Priorities: SAP GUI vs SAPCLI
Given I have a class with a syntax error:
When I run the ATC via SAP GUI, it reports two entries:
However, when I run it via sapcli
:
./sapcli atc run class z_borinlu_sapcli
It reports the same two ATCs, but the first finding has a distinct priority:
* 2 :: Test Environment (SLIN_UMFLD) :: Program contains syntax errors (0000)
* 2 :: ABAP Unit: Tests of Runtime Category "Short" (BC_AUNIT) :: Critical Error reported from test class (CRIT)
You can simulate it in the [CENSORED] (SAP internal).
Ps: It uses the default/standard checkman variant, and the user parameter is empty (the one that forces code inspector).
In the profile dump:
./sapcli atc profile dump --checkman
... it came as Prio: 1
:
"class": "CL_CHK_SLIN_CONS_ABAP",
"description": "Test Environment",
"note": "",
"priorities": {
"0000": {
"check_message_id": "0000",
"default_prio": "1",
"description": "Program contains syntax errors",
"prio": "1"
},
Strangely, the system returned it as priority: 2
:
@jfilak: any clue?
@lucasborin Haven't you fixed this already?
Actually, I have not. If I call sapcli terminal (local), I see this divergence between the priorities. However, if I use the internal docker image, it is ok there.
As now I am using the docker img, and I do not see this problem anymore, feel free to close this issue.