Start BPM Process from ABAP with another User as GUEST
Hi all,
i would like to start the BPM Process by a webservice. It works if the user GUEST has the role BPM_SuperAdmin.
My question is: How can i chance this user, who call the webservice starting the process. The user, who starts the process by calling the webservice should be my own user instead of GUEST.
Thanks in advance.
Regards,
Christoph
the last reply is regarding the configuration at consumer side.
of course you have to configure at the service provider side to enable the logon ticket as acceptable authentication method.
I checked at my side, i found the the service for triggering bpm is already configured to use id/pwd and logon ticket as authentication method.
you can check in this way,
CE nwa-> SOA Management->Application and Scenario Communication-->Single Service Administration
find your service, if you haven't assign any profile to your service, there will be only one configuration generate by system
you can edit this configuration.
go to configuration tab, select the endpoint, select security tab in the bottom tab list.
change the setting there.
Edited by: John Wu on Sep 10, 2010 7:29 PM
Similar Messages
-
Start BPM process from ABAP report. Need some investigations.
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-c6012e0a9457?QuickLink=index&overridelayout=true 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:).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 -
How to start BPM process WSDL from WDA
Hello,
I need to start BPM Process from SRM ECC with WDA; i have been through this link ;
http://forums.sdn.sap.com/thread.jspa?threadID=1643425
also followed the pdf named 'Triggering NetWeaver BPM Process from ABAP' provided from SAP but still stuck on some issues;
- I have a WSDL in order to start BPM process and works fine as i successfully call it from EP Java AS with WDJ..
- What i need to do is to trigg it from SRM Screens so i need to call this WSD from ECC, so;
When i try to create a consumer proxy using external wsdl option, after putting in WSDL Url it throws an error;
Exception occurred in communication framework:Error in HTTP Framework:405 Method Not Allowed http://xxx.local:50000/bpm/de
mosapcom/dccategoryappbpm/StartCatAppSI
Exception of class CX_SLIB_HTTP_FAIL
And this is error from BPM Logs for the same action;
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.
at com.sap.engine.services.webservices.espbase.server.additions.SOAPHTTPTransportBinding.getAction(SOAPHTTPTransportBinding.java:581)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.overwriteConfiguration(RuntimeProcessingEnvironment.java:894)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:469)
Also i found this link : http://wiki.sdn.sap.com/wiki/display/TechTSG/(WSR)Problems-P06/
But no help so far,
So, is there anyone faced similar or the same issue? Any suggestion will be appreciated.
Regards,
YasinHi soujanya,
BPM server is not open to the internet but only intranet, so i will copy the WSDL code for you,
will be glad if you can help;
- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.koczer.com/StartCatAppSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="StartCatAppSI" targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <xsd:complexType name="DetailsType">
- <xsd:sequence>
<xsd:element name="Category_ID" type="xsd:int" />
<xsd:element name="Category_Text" type="xsd:string" />
<xsd:element name="User" type="xsd:string" />
<xsd:element name="Manager" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="NewOperation">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="Details" type="tns:DetailsType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="NewOperationRequest">
<wsdl:part element="tns:NewOperation" name="parameters" />
</wsdl:message>
- <wsdl:portType name="StartCatAppSI">
- <wsdl:operation name="NewOperation">
<wsdl:input message="tns:NewOperationRequest" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="StartCatAppSISOAP" type="tns:StartCatAppSI">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="NewOperation">
<soap:operation soapAction="http://www.koczer.com/StartCatAppSI/NewOperation" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="StartCatAppSI">
- <wsdl:port binding="tns:StartCatAppSISOAP" name="StartCatAppSISOAP">
<soap:address location="http://zerbpmts.koczer.local:50000/bpm/demosapcom/dccategoryappbpm/StartCatAppSI" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
How to start BPM Process in Netweaver CE 7.1 from backend
Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
ManuelHi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat -
Start Database Service with another user
Hi Everyone ,
i've a little problem with the Oracle 10 Console Service on a W2K3 server.
I want to start that Service with another user as "Local System"
I created a local user that is member in the "ORA_DBA" group and in the local Admin Group. But the Service won't start. When i start the service with the "local system" account it starts.
Is there another possibility to start the service this way or where is my error ?
Greetz ByteHi
I searched metalink and came across a note that mentioned following actions. I hope it works in your situation.
1. Launch locally on the windows host the Local Security Policy tool
2. For the domain user or local user starting the Management Agent service
Give the following Advanced Privileges
- Log on as a batch job
- Act as part of the operating system.
- Adjust memory quotas for a process
or (for windows 2000 and Windows NT)
- Increase memory quotas"
- Replace a process level token.
3. Ensure that the same local user or domain user starts all the other Oracle Windows services monitored by the Management Agent
The same fix must be applied for the standalone dbconsole service on windows.
Rgds
Adnan -
Start bpm process with attachment or note
Hi All
Is there any way to start BPM process and add attachment or note to it.
My client requirement is that when the process is started requester should be able to add file or note.
This note or file should be visible in UWL task (in section attachments or notes)
Is there any way to do it using standard.
I know that I can store note in context of BPM process but customer is really pushing for standard.
RegardsNot sure if the requester is in BPM or outside BPM.
You can do this by keeping requester in BPM i.e. trigger BPM and give requester a task. (Dont think its preferred design).
In UWL you can let user add a memo or attachment... Refer below doc
SAP NetWeaver Business Process Management Resource Center
-Abhijeet
Edited by: Abhijeet on Dec 10, 2011 5:21 AM -
I have about 3,500 photos sitting in dropbox and just purchased my first mac yesterday. My husband and I each have our own Ipad and our own user id's on the mac. I moved two of the folders to Iphoto and it shows up on my screen in the right folders. However, on my Ipad, it shows all of them under one Photostream and not organized. They don't show up on my husband's "side of the computer" at all.
So my questions are:
1. How does one mirror their file organization on the Ipad?
2. How does one share all of the folders with another user on the same Ipad so they can view folders, and add pictures to the folders if they like?
Thanks!1. How does one mirror their file organization on the Ipad?
If you use the Photo Stream, the organisation in iPhoto will be lost - there is just one endless stream. YOu could sync your photos using iTunes. Then you will see the synced albums in the Photos.app on the iPad.
See this link: iOS and iPod: Syncing photos using iTunes
How does one share all of the folders with another user on the same Ipad so they can view folders, and add pictures to the folders if they like?
On the same iPad? Do you mean on the same mac?
If you want to share an iPhoto library between two users on the same mac, the iPhoto library should be on a separate disk partition or even better, on a separate external disk. Then you can set the flag "Ignore ownership on this volume" to avoid permission problems. Both of you will be able to browse the iPhoto library and can edit the photos within.
See this support document: iPhoto: Sharing libraries among multiple users
If both of you want to keep separate iPhoto libraries but share the photos, you could share selected albums as Shared PhotoStreams and invite each other to browse them. This would require iOS 7. Do you have iOS 7 on your iPad? Each Shared Photo Stream will be shown as a separate album on your iPad .
iCloud: Using and troubleshooting Shared Photo Streams
Regards
Léonie -
How to trigger BPM Process from SRM Portal
Hello Experts,
I'am new to BPM and NWDS 7.3 but experienced with Abap and NWDS 7.0 Development...
Before posting, i have been through the forum and couldn't find exact answer to my case..
Basicly what i need to do is to trigger BPM Processes on the BPM Server from SRM Portal Server, I'm aware that i can communicate between these servers with WSDL basicly but how am i going to call the BPM Process' Web Service from Standart SRM Processes?
These processes will be standart ones mostly and also i am new to SRM.
Kindest Regards,SAP SRM 7.0 user interface is developed in WebDynpro and runs on NetWeaver Portal (Portal was optional component in earlier versions of SRM but it is mandatory component now). So in order to call BPM Webservice (i.e., to trigger a BPM Process) from NetWeaver Portal / SRM 7.0 you can do the following
- Develop a custom application (using EJBs,etc) to call the BPM web service by creating a web service proxy client using NWDS and then deploying it on Portal Server.
- Directly create a model in WebDynpro project by using the WSDL of BPM trigger webservice (using NWDS). You can then call the model in WD User Interface, which in turn will invoke the BPM web service and start the process.
Hope this helps. -
How to trigger the BPM process from WD Application
Hello All,
I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
But, I need to start the process from the application. Here is the requirement:
User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
If I need to call a particular task in process, How do i do that?
Kindly assist.
Thank you.
Regards,
Sharathif you want to know the whole story, please refer to the doc
http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
the profile, provider system,endpoint。。。。。
search this doc in sdn, it is a good example regarding the configuration.
How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
hope those may help. -
How to start BPM Process in Netweaver CE 7.1
Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
ManuelHi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat -
Hello all,
Can i run opmnctl command with another user that have the same groups of the oracle user?
Thanks for attention.Depending on what command you are running it might work (e.g. status) but you will run into issues (known and unknown) for most of the commands (start/stop) unless you know and tweak all directories/files permissions.
As an example, OPMN maintains a file under directory called "states" (under $OH/opmn/logs directory) that gets auto generated/updated every time either OPMN or managed process(es) is started or stopped. The default permissions on this directory is 700 which means can only be operated on by owner (the user that installed the product).
Along with directories/files permissions there is process ownership issue too. When a component is started its corresponding process(es) is owned by the user who owns the OPMN server process. If a different user (different than who actually started OPMN server) starts one of the managed process it might collide and might lead into some unknown issues.
So to be safe and being in "supported" mode it is always recommended to use the same OS user that was used to install the product.
Thanks
Shail -
Hi,
I am new to oracle BPM. I want to invoke the oracle bpm process from my Java API and want to use my screens (jsp) pages for taking user inputs. Is it possible with oracle bpm.
Please help!!!!!!!!!!!!!!!!
regards,
Anurag
Edited by: Anurag on Jul 6, 2009 9:24 PMRe: External task - prepare method - decode-encode
-
Over the years I have had many ISP and email addresses - but now we have finally gone almost fully virtual...
I have a live login and MS ID 4 my SkyDrive account but I only use my MS touch with 8.1, SkyDrive and office 365 for mobility.
And I still like to backup to my own server!!!
What would be good is if I can put all the software licenses and product keys of the software and keep a record of my mac addresses for hardware and even static IP's in a file or a secure location within the MS online store.
That's where MS wants me to get my computing needs from in future and I will always be able to retrieve it in future but what about the $$$$$ I have spent on software, hardware and applications prior to now???
I know u guys love 2 collect data 4 marketing analysis,
4 example I have an old PC that is still running a server from last century - if you knew about it a simple script would allow you to offer upgrades or at least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out
now...
Why cant I add products previous online email purchases into the 1 MS live ID account where I can keep it together? If you make that available I don't have to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc
etc.
What has brought me 2 this is I was looking for my office pro 2007 disks to rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit at all)
I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO DOWNLOAD the software - regardless of the key I used - I got the error message: We are sorry, but we are unable to complete your request.•The Office 2007 Product Key
provided is already associated with another user on this site. Please log in with the user information originally used with this Office 2007 Product Key.
That's crap - This is a clean brand spanker install of Win7 and there was nothing b4 I put the oem drivers from Toshiba back on.
I looked at dozens of support pages and forum blogs and tried for hours to get a copy to download - including incognito and other logins but because my default PC name is also my MS Windows live ID the same error was repeated.
I keep away from the non MS sites for these things and with good reason - there were heaps of similar users with the same issue or very close to it that had downloaded from a supposed MS copy from eValue or digital river etc and the next
thing was total corruption of the OS.
EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave me a link to a slightly older version which will need updating and some reg edit changes but so far, so good.
The point is - what a crock !
I should be able to just keep all my software, drivers, updates, service packs, and versions that I have upgraded in the MS store.
If Microsoft aren't going to support XP or Office 2003 and eventually 2007, vista & Windows7 not far behind??? then that's still no excuse for them to put these restrictions and limits when I OWN my copy of the software!!
Unlike office 365 and SkyDrive space which is described in the T&C (that we all read before ticking that radial button to agree of course) as ONLY under a leased licence.
IF Microsoft can support AND develop software that supports SQL2000 Servers, why is it so hard to archive and keep the same info for everyone???Over the years I have had many ISP and email addresses - but now we have finally gone almost fully virtual...
I have a live login and MS ID 4 my SkyDrive account but I only use my MS touch with 8.1, SkyDrive and office 365 for mobility.
And I still like to backup to my own server!!!
What would be good is if I can put all the software licenses and product keys of the software and keep a record of my mac addresses for hardware and even static IP's in a file or a secure location within the MS online store.
That's where MS wants me to get my computing needs from in future and I will always be able to retrieve it in future but what about the $$$$$ I have spent on software, hardware and applications prior to now???
I know u guys love 2 collect data 4 marketing analysis,
4 example I have an old PC that is still running a server from last century - if you knew about it a simple script would allow you to offer upgrades or at least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out
now...
Why cant I add products previous online email purchases into the 1 MS live ID account where I can keep it together? If you make that available I don't have to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc
etc.
What has brought me 2 this is I was looking for my office pro 2007 disks to rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit at all)
I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO DOWNLOAD the software - regardless of the key I used - I got the error message: We are sorry, but we are unable to complete your request.•The Office 2007 Product Key
provided is already associated with another user on this site. Please log in with the user information originally used with this Office 2007 Product Key.
That's crap - This is a clean brand spanker install of Win7 and there was nothing b4 I put the oem drivers from Toshiba back on.
I looked at dozens of support pages and forum blogs and tried for hours to get a copy to download - including incognito and other logins but because my default PC name is also my MS Windows live ID the same error was repeated.
I keep away from the non MS sites for these things and with good reason - there were heaps of similar users with the same issue or very close to it that had downloaded from a supposed MS copy from eValue or digital river etc and the next
thing was total corruption of the OS.
EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave me a link to a slightly older version which will need updating and some reg edit changes but so far, so good.
The point is - what a crock !
I should be able to just keep all my software, drivers, updates, service packs, and versions that I have upgraded in the MS store.
If Microsoft aren't going to support XP or Office 2003 and eventually 2007, vista & Windows7 not far behind??? then that's still no excuse for them to put these restrictions and limits when I OWN my copy of the software!!
Unlike office 365 and SkyDrive space which is described in the T&C (that we all read before ticking that radial button to agree of course) as ONLY under a leased licence.
IF Microsoft can support AND develop software that supports SQL2000 Servers, why is it so hard to archive and keep the same info for everyone??? -
Can I share an Account with another user?
I am a current Thunderbird user, as are my coworkers. One of my coworkers is getting bogged down with emails he shouldn't waste time on.
What I need is a way for me to access his email and filter out junk mail and emails he shouldn't be concerned with. So he would need to see any emails I have flagged or starred indicating they need his attention when he opens his email.
In addition to this, my coworker will also need to be able to access and read emails offline. Ideally he would be able to access his email while on a plane and see the flagged emails here as well. Then once he is able to access the internet again, it would be best if he and I would be able to see the updates that he made while offline.
Ultimately, I need to know if I can continue to use Thunderbird and tag team an email account(s) with another user.There's nothing to stop you both setting up the same account, though there's a risk the server won't let you both use it concurrently.
You'll both need to use IMAP if your colleague is to be able to see the results of your activities.
An alternative is for you to assume total ownership of the colleague's account, do your triage and then send on approved messages to a new account set up for your colleague purely for this arrangement. Mail Redirect would allow you to pass messages to your colleague which would appear to have come directly from the original sender, whereas regular email forwarding loses the provenance. -
Windows 7 64-bit with MS Outlook 2010. I've seen this now probably 10 times. When I first installed iTunes, I selected:
Preferences -> Devices -> "Prevent iPhonse, iPhones and iPads from syncing automatically".
and on my iPhone, I selected:
Info -> Sync Contacts with: Outlook.
Info -> Sync Calendars with: Outlook
Info -> Other -> Sync notes with: Outlook
This works great, and the settings stick. As soon as apple releases any new version (even minor) of iTunes and I install, I immediately receive: "...the information on the iphone is synced with another user account", and have to merge my calendar and contacts, but then once I get into iTunes, I find that ALL of the above settings (prevent syncing, sync calendar, contacts, notes) get reset and are turned off! I am running as a user account with Admin privaleges, but I don't right-click -> "Run as administrator" when I perform the iTunes update.
To reiterate, once I change the settings back, things work normally until the next iTunes update at which it gives me that sync error, and resets my sync options.
Any idea? Thanks!
-BrianIs someone else using the PC and iTunes?
Create another user for the PC with your name, and try syncing that way.
This way it wont conflic with the other user.
Maybe you are looking for
-
Which external hard drive should I buy for data back up? Thanks
emac g4 Mac OS X (10.3.9) emac g4 Mac OS X (10.3.9)
-
KM4M-V and Installing Windows XP SP2 on WD 80GB SATA
Here is my situation... My wifes computer had been having problems. Her older Asus Mainboard had some capacitor corrosion and we had ordered an MSI KM4M-V a while back, but we'd never used it. At the same time we decided we'd upgrade her hard drive.
-
Cannot create DataSource, Exception in Tomcat 4.1
I am running into a major problem with Tomcat4.1 trying to access a Datasource. I referenced about 7 articles one of which has the subject "Cannot create JDBC driver of class '' for connect URL 'null', cause..." but he is using Tomcat 5. I even tried
-
Another image question - using Regular ABAP not web dynpro
Following Otto's awesome instructions: 1) create image field in your form (not only image!! it must be the image field) 2) load your picture in the backend 3) convert the image into XSTRING 4) create the XSTRING variable in the interface/ context, fi
-
Pages merges address book cards, but in what kind of order?
This is crazy! If I open an envelope template and merge an Address Book group to a new document the order of the names is completely random. It is not in alphabetical order or any kind of order at all. What gives? If I go back through the envelopes t