cancel
Showing results for 
Search instead for 
Did you mean: 

BSP -> Call Function Error

Former Member
0 Kudos

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????

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Well I found the problem, or at least the original problem.

The problem I am getting now is

Type conflict when calling a function module (field length).

However in my BSP the fields are defined as those from usr02 as well as in the function module so I am very confused??? Any suggestions on what to check?