Skip to Content
Oct 26, 2009 at 08:00 AM

Call ABAP function module from script?



I have an ABAP function module, which works fine when I call it in a transformation.

Since I don't need to execute this function for each record but rather for each file I process, I would like to move the call from the DataFlow to a script in the WorkFlow. When I click on the 'functions' button the ABAP FM is available in my SAP Datastore, so I drag and drop it into my script. I also make sure to populate all required variables.

There are no error messages or warning when I check my job definition.

When I execute it, I get the following RFC error:

Function call <xxx ( abcd ) > failed, due to error <150413>: <RFC CallReceive exception <FUNCTION_NOT_FOUND>.>.

Is it just not possible to call an RFC enabled function module in SAP from a script or am I doing something wrong here?