cancel
Showing results for 
Search instead for 
Did you mean: 

Start BPM process from ABAP report. Need some investigations.

Former Member
0 Kudos

Hi there!

I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9... and have done everything it describes but the process doesn't start.

What I've done:

1) Created a service proxy in SE80.

2) Created a logical port in SOAMANAGER.

3) Write a code to start a WebService in ABAP Report.

But when I start a program nothing happens, no errors.

What analysis I did:

1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.

2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:

Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.

But I think it is OK and from the report it use a right method.

3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.

4) No logs in NWA logs

My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I've successfully started a BPM process from ABAP backend. There were some configaration errors.

jorge_melman
Explorer
0 Kudos

Dear Kiril,

we have the same error : "Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET."

how did you solve that ?

Jorge

Former Member
0 Kudos

Dear Kirill Zhuklinets,

Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC

Error Message from SRM ECC :

Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed

Log from BPM Web service

Error: process() 
[EXCEPTION] 
com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET. 
....
....

Please share your solution..

Regards,

Yasin

ivo_simeonov
Explorer
0 Kudos

Hi Kirill,

I assume the Process you are trying to consume runs on CE 7.1 Ehp1.

Did you try to test the Consumer Proxy directly without aditional Program ? This might reveal what's the issue.

If everything is OK the HTTP response from CE should be empty with status HTTP status 202 ( Accept ).

Best Regards

Ivo Simeonov

Former Member
0 Kudos

Hi Ivo,

thank you for answer!

No, I'm starting a process at CE 7.2.

There weren't some configurations of BGRFC in our system (SAP's support guys helped). I've done that settings, but there is the other problem. My asynchronous webservice's queue is always in state "Executing", but in SOAMANAGER all calls are successfull. No need to tell, that process in CE portal doesn't appear. Now I'm fighting with that queue state...

Former Member
0 Kudos

I'm doing something similar. I have a BPM Process, with a web service interface to start it. The only difference I have a Webdynpro Java application to call the web service to trigger the process instead of ABAP. But same thing happens for me, I confirm the webservice is called successfully, but the process is not started. It only works if the user using the WDJava has BPM_Super_Admin role. But this is not acceptible because we can't give this to all users. I've tried BPEM_End_User role, but it doesn't trigger the process either.

Former Member
0 Kudos

Unfortunately, BPM_Super_Admin role is the only one which allows user to start BPM processes.

ivo_simeonov
Explorer
0 Kudos

Actually any user assigned to the process definition as Administrator can start the process.

The BPM_Super_Admin is a "super" user role which allows you to workaround the case in which there is no administrator available or able to do this for you.

ivo_simeonov
Explorer
0 Kudos

Hi Kirill,

You can check in "Manage Processes" in NWA whether there is new process instance created due to your ws call.

Ivo

Former Member
0 Kudos

Hi Ivo,

as I said - the process didn't start. Of course I look at NWA Process Management tool. The process doesn't appear nor in running processes neither in failed.

Former Member
0 Kudos

I added SAP_BPM_SuperAdmin role to the user Guest, but it did nothing.