Check target field of select
Open
Nobody has claimed this yet.
new check
- Dominant language
- ABAP
- Stars
- 435
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Hey SAP experts,
there is a quite common issue from our developers that target fields (structure/table type) do not match SELECT field list.
Can you provide a check for that, please? 🙏
Example:
FORM cut.
DATA: ls_mara TYPE mara.
SELECT SINGLE mtart FROM mara
INTO ls_mara " MTART is not moved to ls_mara-mtart but into
" the first fields MANDT (3 characters) and MATNR (1 character)
" -> How to track this with SCI/ATC/SLIN, etc?
WHERE matnr = '...'.
ENDFORM.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating existing SELECT-related checks in the code-inspection or ATC integration; done should mean the example's mismatched target and SELECT field list are detected reliably.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100