‎2008 Apr 14 3:03 PM
hie guys
Im creating a FM which is going to be invoked externally however i needed to have a recording in my FM and thus i managed to insert it using the syntax PERFORM XXX (YYY) USING IMPORT STRUCTURE where XXX is asubroutine in program YYY. however since data is coming from my import structure i want to pass it to my recording in program YYY.
After i this i get the dump error : (just extracted a snippet)
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
A PERFORM was used to call the routine "Z_BAPI_CREATE_SELFASSESSMENT" of the
program "SAPLZSELF_ASSESSMENT".
This routine contains exactly 0 formal parameters, but the current
call contains 1 actual parameters.
parameters.
please assist
‎2008 Apr 14 3:14 PM
You used the USING parameter when calling your subroutine. However the program you are calling does not have a parameter.