Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function SWE_EVENT_CREATE

Former Member
0 Likes
865

Hi all,

I'm raising a Workflow via Event with the FM SWE_EVENT_CREATE.

I check in SM58 and i get an error in FM SWW_WI_EXECUTE_INTERNAL_RFC and status text only say '7'...

I have an online transaction for raising the workflow and it goes ok, and it uses same FM SWE_EVENT_CREATE...

Other hand, I have an RFC calling a BAPI, and this BAPI raises the Workflow.

In this second case is appearing error in SM58...

I check the Workflow and it is raised but it remains waiting in a background task and it doesn't never continue...

What is happening? any help? why it doesn't work?

Thanks in advance and regards.

Urtzi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
665

Hi Urtzi,

No-Doubt you have explained the problem very clearly, at the same time it is very difficult to pin-point the cause of the error. Just check the transaction SWUD may be the mandatory container elements that are required are not getting filled.

As the call is tRFC call we can see an entry in SM58.

Let us know how the problem has got resolved.

Thanks & Regards,

Goutham.

3 REPLIES 3
Read only

Former Member
0 Likes
666

Hi Urtzi,

No-Doubt you have explained the problem very clearly, at the same time it is very difficult to pin-point the cause of the error. Just check the transaction SWUD may be the mandatory container elements that are required are not getting filled.

As the call is tRFC call we can see an entry in SM58.

Let us know how the problem has got resolved.

Thanks & Regards,

Goutham.

Read only

0 Likes
665

Hi Raghavendra,

I'll check TCode SWUD, thanks for your quick reply.

SM58 is checked but the text is not clear, only '7' in red and the FM mentioned above...

If I find any new I write.

thanks!!

Read only

0 Likes
665

Hi,

Problem solved!!

WF was ok, I had a problem with the activity for creation a document...but it's ok!!

thanks Raghavendra.

Regards.