sap-check-fm

Validate ABAP CALL FUNCTION parameters against live SAP function module metadata.

7|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-check-fm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sap-check-fm
Source: https://github.com/sapdev-ai/sap-dev/tree/main/plugins/sap-gen-code/skills/sap-check-fm
Command: npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-check-fm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers ensure their ABAP CALL FUNCTION statements align with live SAP function module definitions retrieved over RFC, preventing runtime parameter errors and type mismatches.

Core Features & Use Cases

  • Parameter name validation: detects unknown parameters, missing mandatory ones, and wrong sections (EXPORTING, IMPORTING, CHANGING, TABLES, EXCEPTIONS).
  • Data type validation: resolves the type of local variables from data declarations, fetches FM parameter types from SAP, and compares field-by-field for structures.
  • Compatibility analysis: differentiates exact matches from compatible or incompatible differences using ABAP type rules.
  • Use cases: verify all CALL FUNCTION calls in an ABAP source file prior to transport or deployment.

Quick Start

Run the sap-check-fm command with an ABAP source file path to validate CALL FUNCTION statements against live FM metadata.

Frequently Asked Questions about sap-check-fm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate ABAP CALL FUNCTION parameter names against live SAP metadata?

To validate ABAP CALL FUNCTION parameter names, you can use a tool that retrieves live function module definitions over RFC and checks your source code for unknown parameters, missing mandatory ones, and incorrect section placement.

How does type checking work for ABAP function module parameters resolved over RFC?

Type checking for ABAP function module parameters works by resolving local variable types from data declarations, fetching remote FM parameter types using RFC calls, and comparing them field-by-field to identify exact matches, compatible types, or incompatible mismatches.

What's the best way to check for missing mandatory parameters in ABAP CALL FUNCTION statements?

The best way to check for missing mandatory parameters in ABAP CALL FUNCTION statements is to query the live SAP function module definition via RFC, which automatically flags any required IMPORTING or CHANGING parameters omitted from your code.

Can I verify all CALL FUNCTION calls in an ABAP source file before transport?

Yes, you can verify all CALL FUNCTION calls in an ABAP source file before transport by running an automated validation against live SAP function module metadata to detect parameter and type errors prior to deployment.

Do I need RFC access to validate ABAP function module parameter usage?

Yes, you need RFC access to validate ABAP function module parameter usage, because the validation process queries live SAP metadata using remote function calls like RPY_FUNCTIONMODULE_READ_NEW and DDIF_FIELDINFO_GET to verify definitions.

Why does my ABAP CALL FUNCTION parameter validation fail for structures?

ABAP CALL FUNCTION parameter validation may fail for structures due to incompatible data types detected during field-by-field comparison, which checks DDIC definitions retrieved via DDIF_DTEL_GET against your local variable declarations.