2016 Jan 11 5:27 AM
Hi all,
I have a structure with enhancement category (deep).
In the function module i have called submit statement as follows:
submit program with p_struc = is_structure. (where is_structure is Enhanced with Deep)
when i do SLIN check, it is giving warning, in the above submit statement.
Please suggest me how can i avoid this SLIN error. Thanks.
Regards,
Venkat
2016 Jan 11 5:32 AM
Hi Venkata,
You have not explained the issue you are facing in your post.
Regards,
Swati
2016 Jan 11 5:55 AM
Hi,
use PRAGMAS to overcome warnings
Table SLIN_DESC contains all the Pseudo code which can be used to suppress various errors and warnings from the Extended Program Check (SLIN).
thanks!!
2016 Jan 11 6:20 AM
Hi,
Thanks for the table info.
For my error PRAGMA value is 'NOCOMMENT'.
Then i have used as below in my function module where the problem exists.
Submit program with p_struc = is_structure. "EC NOCOMMENT
But still the same error is coming. Please correct me if i am using it wrongly.
Regards,
Venkat
2016 Jan 11 6:24 AM
2016 Jan 11 6:30 AM
Hi,
run the extended program check..it will enlist the warning and errors..double click on them, system will suggest you how to hide those warning and errors using pragmas.
like this
thanks
2016 Feb 08 10:04 AM
Dear Venkat,
looking at your code, it looks like you are passing a deep structure to a parameter of a report, which is a single field. This looks a little bit strange to me and I'm wondering how this is working at all.
To get it working you should only pass only that part of the flat part of the structure to the parameter that fits the fragment view of the input parameter.
So, if the parameter is a character field, you should only pass the relevant characters, and not the strings/internal tables or numerical fields, e.g. by using a group in the structure definition.
Regards
-Jürgen-
2016 Feb 08 10:26 AM