Skip to Content
0
Former Member
Jan 14, 2004 at 01:30 PM

BSP -> Call Function Error

47 Views

Hello,

I have a BSP that I am trying to call a function from.

In the OnCreate I attempt to call the function 'ZGET_LOGIN_STATUS', this is a function created by me and when I run just the function through se37 it works perfect and gives back 3 "EXPORTING" parameters. However, in the BSP when I try it I get an error.

Business Server Page (BSP) Error

Exception Class: CX_SY_DYN_CALL_PARAM_NOT_FOUND

Error Id:

Program: CL_O2CF4Y4Z8XJEO4GU0RT0PNRWZ14CP

Include: CL_O2CF4Y4Z8XJEO4GU0RT0PNRWZ14CM009

Line: 32

Long Text: -

Here is how I call in the BSP.

************************************************************************

  • Call function and store values to table

************************************************************************

CALL FUNCTION 'ZGET_LOGIN_STATUS'

EXPORTING

ADATE = wa-trdat

AMANDT = wa-mandt

ANAME = wa-bname

IMPORTING

ASYSTEM = rfcdest

EXCEPTIONS

OTHERS = 1.

Now if I comment that out then everything works just fine, I have no data, but everything else works.

wa is a simple table the structure are those fields ( the ones in usr02 )

So anyone have any idea why I am getting such a strange error??????

CX_SY_DYN_CALL_PARAM_NOT_FOUND I would assume that it is a parameter problem but I have no idea what I have one Import parameter and 3 Export parameters????