cancel
Showing results for 
Search instead for 
Did you mean: 

SAP_WAPI functions not working when launched from UWL

Former Member
0 Kudos

Hi all,

We made a webflow task in which we call a abap web dynnpro application.

The workitem ID is passed and the application calls the the function 'SAP_WAPI_READ_CONTAINER'

This works perfect in the GUI when launched from the workplace.

In transaction swfvisu we made the appropriate entries to configure the UWL.

When launched from the UWL, the workitem id is passed correctly but the function does not return anything.

I think this behaviour has to do with a missing parameter or RFC setting but don't have any clue where to search.

Does anybody has an idea?

Thanks for any help,

Hans

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member262279
Participant
0 Kudos

Hi,

my first guess would be authorization problems. Are you using the same user in both situations? Have you tried with SAP_ALL?

Former Member
0 Kudos

Hi Rui,

Thanks but authorisation problems could not be the issue because I have SAP_ALL.

Now the SAP_WAPI_READ_CONTAINER works but not the FM

SAP_WAPI_CREATE_EVENT so the workflow hangs becuase the workitem is not terminated.

In the GUI however, this works perfectly.

Did anybody had the same experience?

.

former_member262279
Participant
0 Kudos

Are you modifying the code as you test? At least with RFC functions the changes are not immediately visible in the portal, never tried with ABAP webdynpro, though.

Former Member
0 Kudos

The code is immediately interpreted.

That I can see when debugging.

I also checked the return messages of the CREATE_EVENT function and they seem ok: 'at least one receiver found' and also the container content is returned