Hi all,
I'm writing a substitution for FI at call-up point 3 (complete document). This is the code:
20071208 - Fill segment at complete document
exits-name = 'U995'.
exits-param = c_exit_param_class.
exits-title = text-995.
APPEND exits.
Fill segment at complete document - end.
----
FORM U995 *
----
Change of segment at complete document for empty lines *
----
MPF
FORM u995 USING bool_data TYPE gb002_015.
DATA: va_segment LIKE bseg-segment.
LOOP AT bool_data-bseg INTO bseg
WHERE segment <> ''.
va_segment = bseg-segment.
As soon as the variable is filled, is useless to loop on the rest of the document.
IF va_segment IS NOT INITIAL.
EXIT.
ENDIF.
ENDLOOP.
Now fill up the segment in all empty lines.
LOOP AT bool_data-bseg INTO bseg
WHERE segment = ''.
bseg-segment = va_segment.
ENDLOOP.
ENDFORM. "u995
I've activated it in OBBH. When I save, the program dumps stating "missing parameter for procedure u995.
Do you have any idea why is it missing a parameter?
Thank you very much!
--
Marco P. Ferrara