Skip to Content
0
Former Member
Apr 15, 2014 at 09:46 AM

CALL_FUNCTION_PARM_MISSING With w_fmname

110 Views

Hi,


I'm new in SAP, and I hope that the community could help me! 😊


I just did a little ABAP development for call a smartforms from a new transaction.


But when I execute my program, it says to me that an error was occured, CALL_FUNCTION_PARM_MISSING on the "red line".


*&---------------------------------------------------------------------*

*& Report ZSUIVIPROD

*&

*&---------------------------------------------------------------------*

*&

*&

*&---------------------------------------------------------------------*

REPORT ZSUIVIPROD MESSAGE-ID zsuivi.

DATA :l_plaf TYPE plaf.

break jidel.

*------------------------------------

* SELECTION SCREEN

*------------------------------------

SELECTION-SCREEN BEGIN OF BLOCK part1 WITH FRAME TITLE text-001.

*-Ordre planifié

PARAMETERS p_plnum TYPE plaf-plnum.

SELECTION-SCREEN END OF BLOCK part1.

DATA :

w_fmname TYPE rs38l_fnam,

it_plaf TYPE TABLE OF plaf,

l_output_options TYPE ssfcompop.

PARAMETERS p_formu TYPE tdsfname DEFAULT 'ZWM_SUIVPROD' OBLIGATORY.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = p_formu

IMPORTING

fm_name = w_fmname

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

CALL FUNCTION w_fmname

EXPORTING

l_plnum = p_plnum

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.


Many thanks in advance,


Jimmy.