cancel
Showing results for 
Search instead for 
Did you mean: 

Call ABAP function module from script?

Jan_van_Ansem
Contributor
0 Kudos

Hi,

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?

Thanks,

Jan.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Could you please let me know how I can call an abap function module from a transformation? (from abap xslt program). I know how we can call methods of a class from the transformations, but no idea how we can call function modules. Any suggestions or a sample code snippet towards this will be very useful for me.

Thanks,

Shashi.