Skip to Content
author's profile photo Former Member
Former Member

BSP -> Call Function Error

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2004 at 05:28 PM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.