abapOpenChecks icon indicating copy to clipboard operation
abapOpenChecks copied to clipboard

ATC Check 69: RFC enabled?

Open cavabap opened this issue 2 years ago • 3 comments

Hello,

would it be possible to make Check 69 remote enabled? Or is that too difficult. I don't mind submitting the PR, but it'd be great to get an idea what I'd need to change in advance.

What I could find that clearly isn't remote enabled was this. SELECT SINGLE subc FROM reposrc INTO lv_subc WHERE progname = object_name AND r3state = 'A'.

Could this be replaced with RFC_READ_TABLE? What else would need to be exchanged?

Thanks in advance

Martin

cavabap avatar May 24 '22 13:05 cavabap

well, the central system does not know the types, which makes it difficult

larshp avatar May 24 '22 13:05 larshp

you mean like idoc function module, etc. But how is the check determining it? and could this be done via READ TABLE? Would you accept a pull request for that? Otherwise we might consider enhancing the coding to enable it but it be great to get a few pointers about what parts of the class do I need to replace...

cavabap avatar May 24 '22 15:05 cavabap

my recommendation is to not spend time on it, central ATC is more or less broken by design

however, it is possible to implement in https://github.com/abaplint/abaplint

larshp avatar May 24 '22 15:05 larshp