4 weeks ago
I have this exception when running a custom program with code as described in Print details of an ATC/code inspector check varia... - SAP Community, when it executes the public method VARIANT_TO_XML of CL_CI_VARIANT_CONFIGURATION. NO_ELEMENTARY_TYPE is a local exception class inheriting from CX_NO_CHECK.
By debug, the root cause seems to be in the method IF_CI_TEST~QUERY_ATTRIBUTES of the class CL_CI_TEST_EMPTY_UNUSED_PROCS, the parameter TEST_KEY is a ranges table but is defined with KIND = ' ' which indicates an elementary data type. It should be defined with KIND = 'S' which indicates a ranges table.
The issue happens with at least ABAP 7.56 and 7.58.
There's no fix in SAP notes.
I'd like to find a way to export a code inspector variant as XML by standard means, to reproduce that "bug" and make it fixed by SAP.
Do you know one standard way which calls the public method VARIANT_TO_XML of CL_CI_VARIANT_CONFIGURATION?
Or should I fix the KIND value by myself, or do you advise doing the export by full custom code, or contact SAP support anyway?
Thanks.
Sandra
Request clarification before answering.
User | Count |
---|---|
71 | |
18 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.