CAF Java-Based COs with SAP Workflows as Runtime Environment?
Hi Folks,
we have a big CAF project hitting us at the moment.
Due to the heavy load we expect we do want to have the traditional SAP workflows as the runtime environment for our GPs.
As far as I know we can transfer WFs designed with CAF GP to the R/3 WF system, right?
My question is know: Can we still develop in Java our CAF objects and use them as we would do that in a portal based GP??
If this should be possible - is this creating an overhead killing the benefit we gain by shifting from portal to the ABAP stack?
Any hint is appreciated!
helge
Hi Helge,
Technically, there is no transfer from Guided Procedures to the R/3 Workflow since the process definitions still stay in the GP Design Time. The business logic still takes place on the Java Stack. Only the low-level workflow operations are delegated to the r/3 Workflow.
That's a difficult dilemma that you are facing right now. As far as I know, the configuration to get Guided Procedures running against the Business Workflow (R/3 Workflow) is quite complex and time consuming. Main pain points are callbacks registrations for background steps, user mapping and endpoints configuration. These are the main tasks. But to reach the right configuration, you will have to be tricky and patient.
Furthermore, there will be an overhead due the RFC Roundtrips between the Java Stack and the ABAP Stack.
Hope this helps you.
Best regards,
David
Similar Messages
-
how to remove java coffee cup asking me to install runtime environment that continuously popped up on my screen?
I'm not selecting or viewing anything, it just appeared on my screen when I'm about to start up.
Hope anyone here can help me with this. Thank you so much.Try installing this: Apple Java 2014-001.
-
How can java application integrate with SAP
i need some help regarding.
Actually we need a application which should work as standalone also which will be as java application
and as well as mostly we are preferring that this application should be integrated with SAP system also.
so please help me...
Edited by: anant waghmare on Apr 22, 2008 10:45 AMIf they are on seperate systems (ABAP & JAVA) you need to create a JCO connection
-
Deploy Trusted Cert with the deployment J2SE Runtime Environment 5.0
I want to deploy J2SE Runtime Environment 5.0 Update 2.msi using active directory. I have tested my deployment and all is good, now I want to know how to deploy a trusted cert with the the deployment of J2SE Runtime Environment 5.0 Update 2.msi. I am using active directory for the deployment. I do not know much about Java or cert, but want my users not to have to grant permission to the only cert we have on ouir web page the first time they hit the page.
Is there a way to pre-answer the Grant always box for the cert we have. I hope I have asked the question correctly. Thank in advance.Hello, I've inserted the following content
#Thu Sep 15 11:36:07 CEST 2005
deployment.system.security.trusted.certs=C\:\\temp\\SSL_applet\\client.com
deployment.system.security.trusted.jssecerts=C\:\\temp\\SSL_applet\\client.com
deployment.system.security.trusted.cacerts=C\:\\temp\\SSL_applet\\client.com
deployment.system.security.trusted.jssecacerts=C\:\\temp\\SSL_applet\\client.com
deployment.system.security.trusted.clientcerts=C\:\\temp\\SSL_applet\\client.com
to the file:
C:\Documents and Settings\UserName\Application Data\Sun\Java\Deployment\deployment.config
When a signed applet is opened I get:
security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
security: Loading Deployment certificates from C:\temp\SSL_applet\client.com
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at com.sun.deploy.security.DeploySigningCertStore$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)All fine and dandy you can specify your own keystore to be used but no where
to give it a storepass so you can use it.
Can someone tell me how to use my own keystore for SSL auth, trust and
signature trust that WILL work.
Setting the system property in an applet won't auth and or trust SSL:
System.setProperty("javax.net.ssl.keyStore", "file:/C:/temp/SSL_applet/client.com");
System.setProperty("javax.net.ssl.keyStorePassword", "storepass");
System.setProperty("javax.net.ssl.keyStoreType","JKS");
System.setProperty("javax.net.ssl.trustStore", "file:/C:/temp/SSL_applet/client.com");
System.setProperty("javax.net.ssl.trustStorePassword", "storepass");
System.setProperty("javax.net.ssl.trustStoreType","JKS");Ends up with a trace telling me cacerts wil be opened, client.com is never used.
C:\Documents and Settings\UserName\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
Googling for the combination of
site:sun.com "deployment.system.security.trusted.certs" password
will give me no results. Searching the entire web won't do much either.
Anyway, assuming the password is changit will end up with an unpleasent
surprise after installing a new version jre.
Because SUN actually changed it in 1.5
Anything short of the programmer loading a keystore when an applet is run
will not work.
This is not good enough, is there a way for administrators to use their own
keystore and give it a password so a jre update won't screw up everything? -
Use of ADOBE form with SAP workflow for R/3 4.6C
Hi All,
We are thinking of usage of ADOBE form feature as one of options to design workflow for creation and maintenance of Info record like Material Master creation. BTW the existing systems are EP 7.0 with the back end SAP ERP system 4.6 C
We would like to just check the feasibility of usage of ADOBE interactive form for above scenario. Would it be possible to go ahead with the above concept or what would be pre-requisites or risks involved?
1. How would system identify the role to direct the Adobe form for approval in case the form is raised by multi department?
2. How can the data validations in ADOBE form happen with reference to SAP std. tables?
An early reply would be appreciated.
Rgds,Hi,
If you use EP 70 you can used guided procedure for your requirement .
Regards -
ALSB 3.0 : java.lang.NullPointerException with MFL Transform on runtime
Hi,
I try to insert an action "MFL Transform" in a message flow in a proxy service. (ASLB 3.0 Linux)
The configuration of the message flow and proxy works well.
When I try to test the proxy I get a java.lang.NullPointerException on stages.transform.runtime.MFLTransformRuntimeStep.
Any ideas ?How are you sure of the MFL configuration when this is the component that is causing the issue. The MFL configuration could be 100% but if the variable that is writing to the MFL is not the right datatype or not initilised then this could cause a NullPointerException error.
This is common and usually seen when the conversion is set to be binary to xml (default) when infact you want it to be xml to binary. Which way are you converting and what is the data type of the variable writing to the MFL?
cheers
James -
SAP workflow new runtime version
How do i make workflows item made created in the old run time version to assume new workflow path of new runtime version?
regrads.
RendiHi,
You can not make the new version to assume from the middle.
But You can call back a workflow using the function module SWP_WI_CALLBACK_RECOVER to make a workflow start from beginning again.
This will execute in the newer version.But, you should not be using this for those workitems which involves postings etc.
Regards
Kesari Katakam -
Problem Set up SAP HANA Cloud Runtime Environment
Hello
I installed Eclpise Version: Kepler Service Release 1. I do not find SAP HANA cloud server on my list knowing that I have installed the plugin https://tools.hana.ondemand.com/kepler
thank youPlease follow my suggestions in this thread: "SAP" - "SAP Hana cloud" not available in Create New Server
BTW, in future you'd better use the dedicated community for SAP HCP: SAP HANA Cloud Platform Developer Center.
HTH!
--Vlado -
Brief discussion on SAP XI and its' Integration with SAP MDM.
Hi,
I have never worked on SAP XI.
I am discussing it on brief, please give your valuable replies.
SAP XI consists of System Landascape Directory(SLD).
SLD Consists of Business System and Techinical System.
Technical System contains all information about the software
component. The Business System consists of Inbound and Outbound Business
System which are used as logical names for data transfer.
There is communication Channel for Receiver and Sender Business System and n agreement
is signed between Sender and Receiver.
Outbound Interface defined for Business System Outbound and Techical System associated
with the Business System,
Inbound Interface defined for Business System Inbound and Techical System associated
with the Business System.
In SAP NetWeaver XI Integration Directory, we have defined the Integration Scenarios,
Actions, Interface Objects, Mapping Objects, Adapters Objects.
Mapping Object defines the Structure and Value Mapping.
Adapter Objects defines the Adapter program which implements RFC Adapter, FTP Adapter logic.
FTP Adapter is used for XI-MDM Communication.
RFC Adapter is used for XI-ECC Communication.
Integration Repository: Both Outbound and Inbound Interfaces are Mapped with Value mapping and
Structure Mapping inside Integration Repository.
The File Adapter takes the File from the Outbound port of MDM System
and sends it as IDOC to Receiver Business System.
Value Mapping must be done between Sender and Receiver interfaces.
Value Mapping is done by XSLT or Java based program.
SAP NetWeaver XI Integration Server at runtime:
Message Split, Interface Determination, Receiver Identifaction, Mapping, Techincal Routing
and Call Adapter Proccess are done.
In SAP XI 3.0 and MDM 5.5:
Step 1: Create busines system as service.
Step 2: Create communication channel for each business service. If the system can communicate
through different channels, then create all possible channel types if necessary.
Step 3: Create receiver agreement between the systems.
Step 4: Interface determination:
- Here you see for the first time the software component mentioned;
there are some special requirements regarding this software component in relation to the customizing ID mapping.
- To modify this software component, the customer needs to copy the SAP standard delivered software component
into its own namespace. The customer is able to modify to create archives
for the customized ID mapping.
Receiver determination.
Configure an FTP Server on the MDS.
Create a send folder for outbound messages using outbound port(s) for
remote systems(s).
Create receive folder inbound messages using inbound port(s) for remote systems.
This ia all about concept of SAP XI Infractsture and its' Integration with SAP MDM 5.5.
Regards
Kaushik BanerjeeHi Kaushik,
You must be aware of File types that MDM Import Manager can Import i.e. we have XML, Excel etc. Now there are two transactions to extract data from R3
1. MDMGX -
- For lookup table extraction
- Output in XML format which MDM can import without using XI.
- FTP can be configured to put the file in the desired folder which will be then picked by Import Server.
2. MDM_CLNT_EXTR -
- For Main table records.
- Output is in Idoc format which MDM doesn't understand hence we need XI in between which converts Idoc file received from R3 into XML which can then be imported using Import Manager or Import Server. For this we need to implement XI Scenario that consists of Source System, Receiver System, Type of Data etc.
Just a basic understanding...
Regards,
Jitesh Talreja -
An issue using the COM components supplied with SAP GUI 6.2 or 6.4
We are having an issue using the COM components supplied with SAP GUI 6.2 or 6.4. We used to have SAP 4.6c and now we have 5.0. When we were on 4.6c, we used these COM components to logon and execute RFC calls and we had much success. Now that we are on 5.0, we cant seem to instance any SAP functions that have something to do with SAP Workflow. We have experienced this problem when using VB6 or .NET, but our existing code that always worked is in VB 6.0.
SAP Components used:
o SAP Logon Control
o SAP Function Control
o Librfc32.dll
o Other supporting C DLLs and/or COM object supplied with the SAP GUI installation.
For example, if we want to call the RFC ARCHIV_CONNECTION_INSERT, this code fails in VB6 when the Set objworkflow = objFuncCtrl.Add(strFunction) line of code executes. Instead of returning an instance of the object ARCHIV_CONNECTION_INSERT function, no object is created. In 6.2, SAP raises no errors, but the object we are trying to create is still Nothing. If we use 6.4, SAP raises an error SAP data type not supported via a message box and then the object is still = Nothing. Interestingly enough, the 6.2 GUI COM controls dont display the error dialog. The message box that is shown comes from the SAP Function COM Object "SAP.Functions" (wdtfuncs.ocx).
Now, what is interesting is if we use the same code to call a standard function or custom function that doesnt have anything to do with SAP Workflow, then the code works fine. Again, all of our code used to work just fine on an SAP 4.6 system.
Here is the code that fails:
'SAP Logon control - object for creating connections to an SAP system
Dim objSAPLogonCtrl As Object
'SAP connection object
Dim objConnection As Object
'Object that will represent the SAP function called
Dim objSAP As Object
'SAP function control object - object factory for creating other SAP function objects
Dim objFuncCtrl As Object
'Create instance of an SAP logon conrol
Set objSAPLogonCtrl = CreateObject("SAP.Logoncontrol.1")
'Create a connection object
Set objConnection = objSAPLogonCtrl.NewConnection
'Define connecion parameters
objConnection.ApplicationServer = "sapvm"
objConnection.SystemNumber = "00"
objConnection.Client = "800"
objConnection.User = "iissap"
objConnection.Password = "tstadm"
objConnection.Language = "E"
objConnection.TraceLevel = 10
'call the logon method of the connection object
If objConnection.Logon(0, True) = False Then
MsgBox Error
Exit Sub
End If
'Create an instance of the SAP Function control object
Set objFuncCtrl = CreateObject("SAP.Functions")
'Set the function control connection object
Set objFuncCtrl.Connection = objConnection
'Function name to be generated and called
Dim strFunction As String
strFunction = <b>"ARCHIV_PROCESS_RFCINPUT"</b>
'Create an instance of the function defined in strFunction
Set objworkflow = objFuncCtrl.Add(strFunction)
If objworkflow Is Nothing Then
MsgBox "Could not create object " & strFunction
Else
MsgBox strFunction & " object created."
End If
If anyone has seen anything like this or has any ideas, please help!
Mike and Hameed
<b></b>Hi,
documentation on the Scripting API is available at ftp://ftp.sap.com/pub/sapgui/win/640/scripting/docs/
This API is a replacement of the existing, obsolete COM interfaces.
Best regards,
Christian -
Hi,
I want Create Task in UWL using web dynpro coding .
i have done some coding using UWL APIs.
when i run the application i will get an error java.lang.NoClassDefFoundError: com/sap/workflow/engine/api/IWorkflow
i think i want to give a some web dynpro references but now i have given reference like
Library reference =tckmcbc.uwl~api
Sharing reference = PORTAL:sap.com/com.sap.portal.usermapping
but i nedd to give some other reference? or how to resolve this error.
Regards,
BOOPATHI.MHI ,
My Code is :
IWDClientUser clientUser = null;
IUser creator = null;
clientUser = WDClientUser.getCurrentUser();
creator = clientUser.getSAPUser();
IJWFPortalService service = (IJWFPortalService) PortalRuntime.getRuntimeResources().getService(IJWFPortalService.KEY);
IWorkflow eWF = service.getWorkflowEngineJMS();
Hashtable taskCtxt = new Hashtable();
taskCtxt.put("_wfitemtype_","uwl.notification.erp.fyi");
if(wdContext.currentVnCreateTaskElement().getVaDescription()!=null)
taskCtxt.put("_wfdescription_",wdContext.currentVnCreateTaskElement().getVaDescription());// "mydescription");
else
wdComponentAPI.getMessageManager().raiseException("Please enter the Description",true);
taskCtxt.put("_wfpriority_",wdContext.currentContextElement().getCaPriority());//new Integer (0));
if(wdContext.currentVnCreateTaskElement().getVaAssignedUser()!=null)
taskCtxt.put("_wftaskassignees_",wdContext.currentVnCreateTaskElement().getVaAssignedUser());//"administrator");
else
wdComponentAPI.getMessageManager().raiseException("Please enter the User",true);
taskCtxt.put("_wftemplatename_","QuickTask");
taskCtxt.put("_wfduedate_", dateTime);
Hashtable appCtxt = new Hashtable();
appCtxt.put("mysystem", "SAP_LocalSystem");
appCtxt.put("mylaunchcontext", "uwl");
appCtxt.put("myappcontext", "test");
if(wdContext.currentVnCreateTaskElement().getVaTitle()!=null)
eWF.createTask(wdContext.currentVnCreateTaskElement().getVaTitle(), creator, taskCtxt,appCtxt);
Regards,
Boopathi M -
JAVA Based alternative to Oracle BPEL
Hi all,
Do we have any "JAVA" based framework to impelement a SOA process. We have a simple workflow which call few web services and a human task is involved. We don't want to go for Oracle SOA Suite for some unavoidable issues.
At the end of the day we want a JAVA based solution for our workflows which can be installed on a single standalone OC4J server without bringing in the BPEL Integration Server into the picture. Since SUN and Oracle have now merged , are they rolling out a java avatar of Oracle SOA Suite.
If anyone knows any java based alternative to implement a workflow please let us know-
thanks and regards
vishalwell..you could have a look at some opensource bpel engines
http://en.wikipedia.org/wiki/Comparison_of_BPEL_engines -
HI,
I have few questions about using Failure Mode & Impact Analysis & Reliability based maintenance with SAP. They are as below:
1. SAP provides the FMEA functionality but in QM module - Whether it can be used for SAP PM objects?
2. I could find the SAP note '1954644 - Meridium Reliability-Based Asset Management for SAP® Solutions - EBS partnership details' but no further dtails on the solution / integration points. Can any one forward me the link to this solution?
Many thanksHi,
You are missing/check for completion of some of the steps which are need to see demands from PS in MRS Planning board.
Create Org unit using transactions PPOME and PPOCE.
In PPOCE, create postions of the node, create user/person to that position and assign resource under that position.
In short your Org unit node will have a hierarchy as O_S_P (Organization_Position_Person).
Then to PP01 and maintain relationship between Org unit and Postion.
Then using SA38 and program run the availability transfer report /MRSS/HCM_RPTWFMIF for the resources.
Then go to transaction /MRSS/PLBOSRV
Thanks,
Sudhakar -
Upgrade Guide "SAP NetWeaver 7.3 on IBM i ABAP+Java Based Systems" missing
http://service.sap.com/upgradenw73
-> Upgrade Documentation - SAP NetWeaver 7.3
-> SAP NetWeaver 7.3 ABAP+Java Based Systems
-> IBM DB2 for i
The link still opens the PDF document 011000358700001119112010E-2.pdf
which is "Upgrade Guide
SAP NetWeaver 7.0 Business Intelligence ABAP Including Enhancement Package 2".
"This document describes the upgrade to SAP NetWeaver 7.0 Business Intelligence ABAP including enhancement package 2 on IBM i."
..but I would like to upgrade to NetWeaver 7.3 on IBM i
Please let me know when the new upgrade guide is available.
Kind regards
Rüdiger Höckel
apetito AGHi Rüdiger,
The links have been updated with the correct versions. This is also true for the ABAP only version, which previously pointed to 7.0 EHP 2.
Regards,
Thomas -
Example code for Trigering a workflow using WAPI from JAVA based tool
Hi Experts,
I am the newest guy in SAP workFlow and BAPI world. I need to trigger a workflow defined in WebFlow engine from a Java client. I know i can use JCo and to use WAPI to get workflow information but i am not sure how it works. Can you give me some example code to trigger one workflow defined in WebFlow using WAPI? If there is any alternative i am interested to know that as well.
Thanks in advance.
Regards,
RiyadhUse Function Module SWE_EVENT_CReate top trigger event that is linked with a Workflow.
<b>Please reward points if useful</b>
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
c_event_trip TYPE swo_event VALUE 'TripCreate',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'EmpId' i_emp_number.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_trip
objkey = v_object_key
event = c_event_trip
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
ENDFUNCTION.
Thanks
Arghadip
Maybe you are looking for
-
Issue with DEBMAS IDoc,not all fields are reflected in the IDoc Seg E1KNB1M
For IDoc type DEBMAS, there is a segment E1KNB1M. This segment is relate to the customer correspondence details (XD02 -> company code data -> Correspondence). For any change to the customer master a DEBMAS IDoc is triggered which has data in segments
-
[JS CS3] Can a dropdown list be made editable?
Hello, I would like to have a dropdown list that is editable. The list I have is a list of existing xml tags. I have a script that creates new xml tags and I would like to include the now existing tag names and the ability to create new names. If a d
-
How can use my Wireless Location Appliance to work with RF ID's?
How can use my Wireless Location Appliance to work with RF ID's for Asset Tagging. It seems Smartcard used for ID cards have a small RF ID, can I use this for Asset Tagging? Thanks in Advance
-
I can't install Office 2011 on my Mac Air?
So I Format my Macbook Aur Yesterday so I decided to download the Microsoft Office again and a message Office 2011 14.3.9 Update can't be installed on this disk. A version of the Software required to install this update was not found on this volume k
-
Setting up Wi-Fi on my powerbook
I know this will probably seem like a dumb question, but I live in a place with lots of "Free Wi-Fi hotspots" and have no idea how to use my Mac to access them. Is this something I have to buy, or is it built-in? Can I set this up myself, or do I nee