Quantcast
Channel: SCN : All Content - SAP Business Process Management
Viewing all 887 articles
Browse latest View live

BPM Inbox not displayed, gives Javascript error

$
0
0

Hi,

 

I am trying to open the BPM Inbox via https://<host>:<port>/bpminbox, but it throws a Javascript error:

 

Uncaught TypeError: Cannot read property 'dataServices' of undefined in ODataMetadata.js:13

 

If I remove the roles UnifiedInboxUserRole and com.sap.bpem.Enduser, the BPM Inbox is shown fine, but it states correctly I don't have the appropriate roles.

 

Have I missed some configuration? The standard UWL works just fine


How to model and access a processcontext with a table?

$
0
0

Hello,

 

we are new to BPM and therefore we have the following question:

 

How should we setup a processcontect when we would like to have a table within the processcontect?

I defined a complex type within the XSD file and set the multiplicity to 1..*. So i can define more fields within the complex type and for me my processcontext looks like a table.

 

In one of the next steps i tried to compare one field of the table with index 1 with another value and access the field with the expression string-equals(get(ProcessContext/ComplexType/Field), 1), value) and then the process get`s the following error.

 

Extraction failed java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
com.sap.mapping.lib.execution.api.exception.TExecutionException at
GenericGet( StandardInvocation:invoker )
at ( DeepExpression ) at left(TerminalPart:expression ) at ( BroadMapping )
at TextSame( StandardInvocation:invoker )
at ( DeepExpression ) For more details,
decrease severity of log controller as described in SAP Note 1753560.

 

But in the NetWeaver Administrator "Processadministration" i can see that i have two entries in the ProcessContext/ComplexType. Why is the size 0 instead i can see two entries in the NetWeaver administrator?

 

Best regards,

Timo Renz

Unwanted Database Lock when using CAF BO method 'update'

$
0
0

Hi all

 

We are using the Composite Application Framework (CAF), and Business Objects (BOs) to save data on the database. A service call is using a BO ‘Update’ method as follows:

 

_location.debugT("Test debug line 4"); 
 getBOSalesDataService().update(salesData);
_location.debugT("Test debug line 5"); 

 

The same method is then called by another service, while the first service is still active. It does not error, but it waits until the first service has timed out. You can see this from the following screenshot:

 

Debug.jpg

I think this is because the first service sets a lock on the SQL database. This is not an explicitly coded lock, but a database lock. I’ve tried using the following statement:

 

getBOSalesDataService().unlock(salesData.getKey(), IBusinessObjectNodeServiceBase.MODE_WRITE);

 

It doesn’t work. I think this because the lock was not created by a ‘lock’ statement. Are there any other statements I can use to commit
all database updates? If it was ABAP, I would use a ‘COMMIT WORK’, is there a Java / CAF equivalent?

 

I have spoken to our Basis consultants, they have shown me Solution Manager where we can actually see the locks happening. Session ID 53
is the first update, 54 is the second.

Database1.jpg

Database2.jpg

 

Thanks

 

Iwan

SAP and SOA The Business Process Platform

$
0
0

Web Services as a Basis for SOA

 

A service-oriented architecture is based on the use of Web services and therefore also the corresponding paradigms. The following graphic illustrates the Web service paradigm:

  • Creation of services in the context of service provisioning
  • Creation of a reference to the service in a services registry (optional)
  • Consumption of services in applications (service consuming/consumption)

 

WSDL documents describe Web services that can be stored in Web service directories. Web service providers can describe and publish their services. Users of Web services search for and use these documents.

The following list describes the interaction between Web service users and Web service providers:

  • Providing WSDLThe provider makes a WSDL description file available for its existing services, usually in a UDDI directory.

 

  • Using WSDLThe user searches for a Web service in the UDDI directory and downloads the corresponding WSDL file. By means of proxy generation, the user creates a function from the WSDL file, which can be called locally. The function to start with (proxy module) can carry out the creation of the XML document and the delivery via SOAP.


  • Web Service RuntimeWhen a function to start with (the proxy function) is called, a SOAP request is created on the user side and sent to the Web service. The Web service processes the request and generally returns a result. The result is then made available to the caller in a local reply.

 

bpm1.JPG

Web Service Support in SAP NetWeaver Application Server

 

With SAP NetWeaver Application Server (as of Basis Release 6.40), SAP provides a separate infrastructure for the development, publication, and use of Web services.

Components of the Web Service Framework in SAP NetWeaver Application Server are:

  • A distributed and interoperable SOAP runtime (Web AS ABAP or Java)
  • Development environment of Web AS ABAPIn the Object Navigator (SE80), Web services can be created or included.
  • Development environment of Web AS Java, the SAP NetWeaver Developer Studio
  • Tools to support UDDI registration

From a technical perspective, Enterprise Services are Web services and applications that use Enterprise Services as consumer applications.

 

bpm2.JPG

Definition and delivery of Enterprise Services

 

SAP not only provides a platform on which services can be developed (provisioning) and used in applications (consuming). SAP adds an additional aspect to the SOA concept and supplies Business Content in the form of executable Enterprise Services. Of course, SAP uses the tools of its own platform in this context.

 

The business functions from SAP applications are behind the Enterprise Services. The SAP applications therefore make the services available to their own applications; the implementation code of the functions is in the back end of the application and is supplied in Enhancement Packages.

 

Therefore, SAP delivers both an SOA infrastructure and a ready-to-run Service Oriented Architecture.

 

The existence of Enterprise Services provides the flexibility to respond to requirements in existing business processes (outsourcing, including new requirements) or to build new applications that comprise enterprises services from SAP, but can also use non-SAP services.

 

To facilitate a structured search of Enterprise Services, SAP has developed process components as logical umbrellas for business objects and Enterprise Services. There are process components for ERP, CRM, SRM, SCM and Financials.

 

Customers and partners can use these process components to identify and analyze existing enterprise services.

 

What is SAP's definition of an enterprise service?

SAP uses the following criteria to define an enterprise service:

Criteria of an Enterprise Service


  • Modeled according to a model (use of business objects, process components, interface patterns and global data types).
  • Published in the Enterprise Services Repository (metadata).
  • Documented, stable behavior.
  • Based on open standards (WSDL, XML, SOAP, and so on).


Enterprise services process business objects and use global data types (GDTs) in their interfaces.Global Data Types are SAP's response to a demand for semantically integrated data, which represents one of the great challenges associated with a service-oriented architecture. It is one thing to have services with defined interfaces, but it is another thing entirely for fields within the interfaces to have a mutual understanding of each other.SAP's global data types are based on the international standards ISO 15000-5 and UN/CEFACT CCTS.An enterprise service provides a context-oriented business process logic, and business processes utilize business objects. Therefore, enterprise services belong to business objects and represent business object functions.Examples of individual services may include:


  • Check the financial status of the customer
  • Send a confirmation to the customer
  • Check material stock
  • Read customer data
  • Display sales order

 

 

Enterprise Service Workplace

 

You can search for services in the Enterprise Services Workplace (ES Workplace), which you will find in the SAP Developer Network at www.sdn.sap.com in the Service Oriented Architecture section.

 

If you, as a customer, do not find one of the services you require, you can request it from the SOA network, or you can implement the service yourself. SAP fully collaborates with customers and partners, and has initiated an SOA Community. For more information, refer to the SAP NetWeaver Developer Network at http://scn.sap.com/welcome.

 

bpm3.JPG

Delivery by Enhancement Package

 

The services are delivered in enhancement packages for SAP ERP 6.0.

 

bpm4.JPG


Enhancement Packages are new software developments for SAP Business Systems, which are optional to install and to activate. They follow a cumulating principle, that is, each package also includes the contents of preceding packages.Enhancement Packages are not Support Packages but rather designed to achieve the following:

  • They allow you to install functional enhancements at significantly reduced effort. Install what you need rather than everything you can.
  • Activate exactly the functions that you want to use
  • You can plan the costs of enhancements more precisely than in the past
  • You can use the test cases provided by SAP to speed up your projects and make them more efficient.

 

 

Components of SOA, created and used by SAP

 

As already mentioned, SAP applications use SAP's own infrastructure for creating their own Enterprise Services.

A service-oriented architecture is a software architecture that supports the design, creation, classification, and use of standardized services. The following are key components of such an architecture:


Key Components of a Service-Oriented Architecture

 

  • Tools for creating services
  • Tools for storing metadata and managing enterprise services (repository/registry)
  • An infrastructure for distributing messages
  • Tools for consuming services
  • Tools in business process management


SAP NetWeaver Process Integration has two approaches in this context:


SAP Process Integration as Middleware for SOA


  1. Design timeThe metadata for Enterprise Services is saved in the Enterprise Services Repository (ESR).
  2. RuntimeThe runtime components of SAP NetWeaver Process Integration are used to call Enterprise Services.

 

The ESR is a further enhancement of the Integration Repository in SAP NetWeaver Process Integration 7.0.

In the service registry, customers and partners can search for services that they later call in applications (composite applications). In SAP's service-oriented architecture, the service call can use the messaging infrastructure of SAP NW PI. However, it can also call the service in the corresponding back end directly (point-to-point) from the client application.


The administration of SAP Process Integration takes place using SAP NetWeaver Administrator.

 

bpm5.JPG

Interaction between SOA and the Business Process Platform

 

The complete view of SOA still requires the creation of applications that are based on the use of services, like the familiar Composite Applications (xApps). To achieve this, the ABAP and Java stacks provide options for development: Visual Composer, Web Dynpro for ABAP and Java, native Java programming options, programs in SE80.

 

This entire architecture is represented by the Business Process Platform (BPP). On the one hand, the Business Process Platform comprises SAP's business suite, in which the applications make their functions available as Enterprise Services. However, the Business Process Platform also includes the SAP NetWeaver components because the business suite uses SAP NetWeaver as its platform. These components deliver a messaging infrastructure (SAP NetWeaver Process Integration) as well as UI-oriented components (SAP NetWeaver Portal), components for Business Intelligence and tools for Business Process Management.


Therefore, to fulfill the requirements of customers and partners, all of the functions and capabilities of the SAP NetWeaver components are available in addition to the enterprise services. Each Enterprise SOA project checks which of the resources available are best suited to resolving queries that arise.


Example: A project that has to integrate other IT systems into merger & acquisition processes essentially accesses the functions of the SAP NetWeaver Process Integration. Another project that wants to provide users with information about customers everywhere and at any time in very specialized customer-specific user interfaces may write a WebDynpro application that consumes those enterprise services that already exist. Finally, a third project that must dynamically adjust processes every second month within a one-year period accesses the orchestration options of enterprise services (business functions) within SAP NetWeaver.


To make the development of composite applications even quicker and more comfortable, SAP provides the Composition Environment, which is a development environment that bundles all the necessary functions and tools in one platform.

 

Use the Composite Environment for an optimized development process of composite applications.

bpm6.JPG


Composite Applications

 

From a business perspective composite applications (xApps) are used as an opportunity for bridging function silos of SAP applications or creating customized applications that enable you to respond to changes faster and in a more flexible way or that enable you to set yourself apart from your competitors by offering different functions.

The composite application architecture comprises several layers:

Components of Composite Applications

 

  • Enterprise services level
  • Local services level with local persistence
  • User interface level
  • Process modelling level

 

In the process view, you define which processes are to be executed and thus determine the roles of the relevant users. You also use the process view to define the objects required by the application as well as the possible functions (services) for these objects. The systems you are using indicate where objects and their data are to be found. These are maintained in defined user interfaces.

Depending on requirements, a composite application contains some or all layers. Not every application works with local services, and not every application uses a special process logic. It is entirely possible that "only" one WebDynpro application (layer user interface) uses enterprise services to read data from back-end systems and then displays this data or makes it available to be changed.

In general, you can imagine the development process according to the following graphic.

The starting point is that a new application is to be built, which supports a desired new process flow from the software perspective. It was probably triggered by the departments who are struggling with certain process flows and want to improve them. The business requirements are collected in a specification and then used in an application design that wants to use services.

To do so, IT works with the departments to determine which services are required. If services are missing, they have to be created. SAP recommends creating customer services according to SAP-internal rules. (Modelling phase)

Once the interfaces have been modeled, you create them in the Enterprise Services Repository or generate them there. You can then generate proxies and implement the service. (Implementation phase)

The final step is to build the composite application that can integrate existing services from SAP, services from third parties, and customer services.

 

bpm7.JPG

 

Enterprise Services used to enhance SAP Applications in the Business Suite

 

Enterprise services cannot just be used for customer use by building customer applications. The SAP applications of the Business Suite also use Enterprise Services to enhance their functions.

Before SAP ERP became available, SAP standard software could be adapted to meet customer-specific requirements as follows:

 

  • Customer-specific Customizing in IMG
  • Programming of user exits or BADIs

With SAP ERP and the Enhancement Packages concept, SAP delivers the Switch Framework.

At first, the Switch Framework was designed to simplify an ABAP-based system landscape by including one or more industry solutions in a standard system.

With the Switch Framework (SFW), you can externally control the visibility of repository objects or their components by using switches. By using the Switch Framework, all industry solutions and a restricted list of repository objects are delivered together with the system in an inactive state. With a few exceptions, you no longer need to install industry solutions. You can activate them as required.

If a package is assigned a switch, you can use the switch to activate or hide the package functionality. Switches can also be activated or deactivated by higher-level switches.

Transaction SFW5 enables you to activate business functions and also to go to the documentation.

 

bpm8.JPG


Documentation for Business Functions

 

The documentation for a business function lists the dependencies with other business functions and the software components that are used.

 

Enterprise Services can also be activated via business functions. The documentation of a business function lists the Enterprise Services that are used.

 

You can use Enterprise Services in business functions to add additional functions to existing transactions. This applies in the contract account application - submit for collection for transaction FP03E (release item for collection), FP03D (submit item for collection) and FP03 (edit collection items).

 

Enterprise Services can also enable new transactions. In the same application, this includes FKKCOL_MONI (monitor collection services), FP03I (process collection office information), and FP03P (post receivables for collection).

 

New transactions (such as transaction FP03I) become visible with the activation of the business function. When called, they terminate with an error message 'Enterprise Services not activate, function cannot be used' if the corresponding service has not been activated and set up in the system.

 

Enhanced transactions (such as FP03E) show their additional scope of functions after configuration in Customizing. They can be called and only return error messages, if a new function that is processed using Enterprise Services is called within the transaction.

 

bpm9.JPG

Business Process Management in SAP

$
0
0

Introduction to Business Process Management


These days, innovation and strategic changes to the business life of a company demand new approaches to make it possible to stand out from the competition. Requirements in this context are:

 

  1. Enable an end-to-end view of company processes along the value chain
  2. Standardize functions within a process, making them stable and, as trend, unchangeable
  3. At the same time, make it possible to flexibly compile new processes that allow you to stand out from the competition
  4. Become necessary in the company after buying or selling company shares
  5. Implement legal requirements
  6. Use transactions in a system to extend the process context to entire process scenarios that also include end-to-end monitoring.


Traditionally, Business Process Management (BPM) can be divided into two different functions:

  • BPM as a management discipline.
  • BPM as a technology or a software product.


BPM as a management discipline helps companies standardize operational processes and continuously work on improving them. Particular importance is always placed on those processes that are decisive for the success of the company.BPM as a software product supplies IT departments with a set of tools for:


  • Modeling processes
  • Creating versions of processes that can run
  • Executing processes with a runtime component


These BPM processes can include actions in different systems and applications and consist of a wide variety of process steps.

 

Business Process Management in SAP NetWeaver

 

SAP NetWeaver basically provides three components with which you can control the processes in and between systems. The components are in different areas of SAP NetWeaver and can roughly be described as follows

Business Process Management in SAP NetWeaver - Components

 

  • SAP NetWeaver Business WorkflowSAP Business Workflow supports the modeling and execution of processes locally within a system. During the execution of a process, users are assigned and perform tasks.
  • SAP NetWeaver cross-Component BPM (ccBPM)ccBPM enables you to control complex processes beyond system, application, and even company boundaries. It entails stateful processing of messages without user dialogs.As of SAP NW PI 7.1 you can involve users in processing if errors have occurred
  • Guided ProcedureGuided Procedure is the tool used to create the process logic in composite applications in SAP NetWeaver 7.0. Guided procedures are integrated into SAP NetWeaver Portal and provide a design and runtime environment.SAP NetWeaver Business Process Management (SAP NW BPM)The Guided Procedure tool will be replaced by the new process layer in SOA applications. SAP NW BPM controls processes across system and application boundaries, but unlike ccBPM it also integrates users. SAP NW BPM is embedded into the development environment for SOA applications, the Composition Environment (CE), Version 7.1.

In the following sections, we will introduce you to the Business Workflow and ccBPM process control tools in SAP Process Integration.

 

User-Oriented Processes with Business Workflow Locally in SAP Systems

 

SAP Business Workflow is part of SAP Web Application Server and is therefore available in every SAP system. Business Workflow ensures that within processes that run locally in an SAP system, work steps are guaranteed to be sent in realtime to the responsible colleagues.

 

Workflows are often started by a workflow event, which in this case is the creation of a business trip request. A workflow-controlled process is started: In the first step, the supervisor of the requester must approve the request.

 

The figure below is a simplified representation of the process description. Although not shown, there must also be an additional process step in another branch in case the supervisor does not approve the request.

 

bpm10.JPG

 

Depending on the request of the process, the workflow creates work items for different users or systems because process steps can also run in the background without user involvement.

 

The description of how Business Workflow controls the process can be short and to-the-point: the right work at the right time for the responsible people (agent).

 

The "right work" is represented as a Work Item. When a workflow-controlled business process is running, users find work items in their inbox (Business Workplace). Each work item represents a process step that is to be executed by the user. Process steps can also be executed in the background by the system.

 

To ensure the right time a Workflow will be started by using an Event.Events are triggered by defined actions in the system, for example, when a new customer is created. The workflow event in turns triggers a Business Workflow which, for example, checks whether the customer already exists in the system (see SAP MDM). It can also terminate process steps. Events can either belong to BOR object types or ABAP classes (as of SAP NetWeaver AS 6.40).

 

You define who the “right” agents are when you design and model a workflow. In the example, a rule is used to determine the supervisor of the person who created the business trip request. When you model the workflow, you must ensure that it starts at the “right” time and that the process steps are modelled in the “right” order. In the example, this means that when you create a travel request, a workflow event will be triggered in the system and an approval workflow will be started. At workflow level, the “right” work in a process step is the execution of an object type method in the Business Object Repository or an ABAP class method (as of SAP NetWeaver AS 6.40). In the course example, we execute the APPROVE method of the TRAVELREQ object type.

 

For more information about modelling and starting workflows, finding the relevant agents (for example, the requester, supervisor of the requester, or the system), or defining work items (approving and displaying a travel request), attend courses BIT600, BIT601, and BIT610.


Business Workflow below can be described as the right work, at the right time, to the right person.

bpm11.JPG

 

Business Workflow in Use

 

SAP components ship standard workflows for pre-defined business scenarios. In human resources, this includes workflows for travel cost management and recruitment management, for example. In the area of finance, there is a workflow for editing pre-defined invoices, while in logistics, there are workflows for approving purchase requisitions. In fact, one of the most common applications of workflow is in approval procedures.

 

A workflow template represents a business process in the system. The template references a workflow definition that describes the steps of the business process.

 

You can use deadline monitoring to monitor workflow-controlled processes, in other words, you determine a time and date by which a process step must be completed. When the deadline passes, subsequent actions are triggered automatically.

 

SAP Business Workflow provides you with high-performance reporting functions that enable you to identify and then analyze “bottlenecks” in the process, in other words, process steps that are regularly delayed.

 

A new approach is the Ad-hoc Workflow (AWF). This is a new component that is available in the Universal Worklist (UWL) in SAP NetWeaver Portal. Users can assign work items to colleagues and use the ad-hoc workflow wizard to define their own ad-hoc workflows.

 

So how are processes controlled between systems?

bpm12.JPG

Business Process Management with ccBPM

 

RosettaNet is a nonprofit consortium of IT, electronics, telecommunications, and logistics companies that are working together to create, introduce, and establish open standards for e-business processes that apply across their industries. These standards help to develop a common e-business language that connects processes between supply chain partners across the globe.

 

Unlike the “classic” Business Workflow explained previously, you can use ccBPM to model cross-system processes.

 

ccBPM is used in SAP NetWeaver Process Integration to model, execute, and monitor automatic processes that extend beyond system and application boundaries. ccBPM comprises a graphical process editor for modeling purposes, and the Business Process Engine for runtime. Monitoring in SAP PI is done by the technical monitor. Modelling complies with the BPEL4WS 1.1 open standard. You can also use ccBPM to model processes that are built using the RosettaNet standard.

 

For more information about RosettaNet and its members, go to www.rosettanet.org.

 

bpm13.JPG

ccBPM: Architecture and PI Integration

 

Unlike simply processing an inbound message by means of a receiver determination followed by a mapping to the target format, in ccBPM, the message is processed statefully. The status of the integration process is persisted on the Integration Server to await the arrival of further messages. This enables messages to be collected together and sent in a defined sequence. Messages that belong together are put in correlations so that messages that arrive later can be assigned to the same integration process.

 

For example, you could correlate a purchase order and the corresponding invoice by means of the purchase order number. You have the option of collecting together multiple messages that belong together and bundling them into one message. An example would be a collection of different purchase order items that you bundle into one purchase order. Inversely, you can also divide up a message into multiple messages; for example, you could divide a purchase order into the various different purchase order items.


You can then send the messages that you have created from all the actions to different receivers. Besides the send, receive, and transformation steps, you also have numerous ways of influencing the control flow of a process. For example, you can define loops, forks, deadlines for processing, and exception handlers, all of which enable you to define complex processes. Lastly, an integration process can trigger another integration process by means of a relevant message. This is a mechanism that enables you to join integration processes to process chains.

 

ccBPM is integrated into all components of the SAP NetWeaver Process Infrastructure: You define both business processes ( integration processes) and a business scenario (integration scenario) at design time in the Enterprise Services Repository. An integration scenario can contain an integration process. You configure the BPM parameters in the Integration Directory.


At runtime, the Integration Engine determines whether the message needs to be saved so that the correlation can be used later to process the message further. On the Integration Server, the Business Process Engine processes the BPM messages; it uses the defined BPM process flow to bundle those messages that have the same correlation parameters into one message, for example.

 

Note that the Business Process Engine only uses messages to communicate with applications that are located on back-end systems. It cannot access processes within applications, nor can it access user- or organizational-management functions on back-end systems.

 

In the same way that it is possible to import external definitions of data structures, XML structures, and Web service description language files (WSDL files) to the Enterprise Services Repository, it is possible to import (and export) external definitions of integration processes. The only prerequisite is that the definitions comply with the BPEL4WS 1.1 or RosettaNet standards.

 

bpm14.JPG


Business Process Management: Process Editor

 

You define processes by using the Process Editor, which is a graphical editor in the Integration Builder for defining integration processes. You use this block-oriented tool to define and edit integration processes in the Enterprise Services Repository.


The processes you define in the Enterprise Services Repository are used later in the Integration Directory as configurable objects. The Process Editor is an integral part of integration processes and of other objects and tools in the Enterprise Services Repository.

 

The integration process is included in the integration scenario during modeling: In the same way that the vertical columns symbolize the systems involved in the scenario, a further vertical column represents the integration process that is being processed on the Integration Server, as well as the interfaces used ( message interfaces), and any required mappings.

bpm15.JPG

The Path to SAP NetWeaver Business Process Management

 

As you have seen, you can implement system-centric processes, without user integration, that run between systems or applications with ccBPM in SAP Process Integration.

 

 

But what is today's tool of choice for building human-centric processes that work across systems and applications? And how do you implement the process rule within a composite application?

 

 

The answer is SAP NetWeaver Business Process Management (SAP NW BPM).

 

SAP NetWeaver Business Process Management (SAP NW BPM)

 

SAP NetWeaver Business Process Management (SAP NW BPM) is a new function in SAP NetWeaver, which enables the modeling and creation of executable processes, and the flow of the processes. Processes are embedded in SOA applications and composites. The SAP NW BPM tool is part of CE 7.1.1.

 

You model the process in the Process Composer of SAP NW BPM. You administer and monitor the running processes in the Process Desk. As administrator, you can also manage processes using the SAP NetWeaver Administrator tool.

 

SAP NW BPM Consists of Three Components:

  • Process Composer is integrated into the SAP NetWeaver Developer Studio in the context of CE 7.1.1. (Design Time)
  • Process Desk as the interface to the employee
  • Process Server (Run Time)

 

Process Composer is integrated into SAP NetWeaver Developer Studio as a separate view and uses BPMN (Business Process Modeling Notation) as the basis for process models. BPMN is based on a specification from the Object Management Group (OMG). The notation facilitates easy and intuitive process modeling for process experts and developers in your company in a joint environment.

 

bpm16.JPG

NWDS 7.31 SP10 PAT4 doesn´t connect to ESR

$
0
0

Hi All,

 

wie changed our NWDS SP10 from PAT2 to PAT4. But despite the same configuration the NWDS doesn´t connect to the ESR. Does anybody know this problem?

 

 

Thank you!

How to find out what is causing an error in a BPM process

$
0
0

I have a very basic question and I can't figure it out from help.sap.com

 

I have a BPM process deployed to a SAP NW Java BPM 7.40 system. It can be triggered with a web service call.

 

It goes into error immediately. I go to NW Administrator > Operations > Process and Tasks > Manage Processes and see the process with status  "Error". But the "Error log" tab below is grayed out. I can't see any error message anywhere.

 

How do I find out what is wrong?

Equivalent to sxi_monitor / srt_moni on NW Java BPM?

$
0
0

A web service call to a NW Java BPM is shown as successful in the PI (black-white flag), but it didn't trigger the BPM process (not showing as either in erorr, either). Some services were not started. We have restarted the NW Java BPM server. Is there an equivalent of sxi_monitor / srt_moni where I can see failed or queued web service calls / messages on the NW Java server?


Triggering BPM end gives lock error

$
0
0

We created an SAPUI5 application that uses BPM via the BPM API.

 

Sometimes at the completion of the last BPM process step we receive the following exception:

        "caused by: com.sap.glx.core.kernel.api.TransitionLockingException: Unable to upgrade lock "

 

followed by the line :

        "Lock owner is com.sap.glx.core.kernel.execution.TransitionManagerImpl$BoundPrimaryTransaction@64e476a3[startTime=1396776105960, persistent=false, internal=false, interactive=true, commited=false, completed=false, closed=false, ended=false, endtime=0],"

 

If it occurs then it is always at the last process step which should finalize the process. Rejecting the process step (go one process step back) works properly and from that going back to the last process step works also properly but finalizing the process causes the same issue.

 

How can this be solved?

Dummy PI serviceinterfaces can be used in BPM scenarios and how?

$
0
0

Hi Experts,

 

We have a requirement where SAP ECC(Async system) is sending the file to HSM tool(sync system) through PI and sends the response from HSM tool to bank system(Async system) through PI. Entire flow is the passthrough interface.

 

Firstly we thought of developing the Adapter module to send the received HSM response to bank and it's very complex to implement. We are planning to implement the BPM here.

 

But the question is how we can use the dummy interfaces in BPM. Is it possible to implement in such a way.

 

Suggestions are welcome.

 

Thanks in advance.

 

Regards,

Jaya

Trial balance in error

$
0
0

I have run the TB using S_PLO_86000030 but my TB is not balancing: Can someone assist on how to identify what is causing the difference.

 

Thanks.

 

Dr $3,704,812,081

 

Cr  $3,705,297,120

How to get Processor ID for a task claimed.

$
0
0

Hi Experts,

 

In our process flow we have two human activity  Validate & Confirm.

 

Each human activity has task (Validate & Confirm) associated with it.

 

Role is assigned as Potential owner in task level.

 

Now my requirement is to get the actual owner name/id when someone claim the task from UWL  form both the human activity.

 

I tried to map the TaskOutput-->TaskAttributes-->actualOwner  data to a reporting activity with a data source; but only getting the ROLE ID not the particular user. Is there any way I can get the task owner name/id ?

 

Untitled.png

 

Moreover when a user just open the task from UWL and then close the window; then it treated as the user claimed the task, and its ID assigned as current processor. How do I get that info ? Because TaskOutput node will only generate when a task in completed (as per my knowledge)

 

Is it possible we can add TaskAttributes node to  TaskInput of a human activity Input mapping like below

Task_initiator (1).PNG

 

Please let me know your valuable input. Any kind of suggestion is highly appreciated.

 

Thanks & Regards,

Sambaran Chakraborty

Cannot Assign UI components to BPM tasks

$
0
0

I am at NWDS 7.31 EHp1 SP6.

 

Iam not able to assign UI webdynpro components to tasks in BPM.

 

iam getting following error. please help

 

"BPM.bp.000003" BC-BMT-BPM-SRV com.sap.tc.glx.BpemTask  execute() - Exception during constraint check of tasks. Check Your model for problems.caused by nullat com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:521)

at com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:459)

at com.sap.tc.glx.BpemTask.execute(BpemTask.java:205)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:357)

at org.apache.tools.ant.Target.performTasks(Target.java:385)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)

at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

at com.sap.tc.buildplugin.ant.util.AntRunner.run(AntRunner.java:115)

at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:53)

at com.sap.tc.buildplugin.DefaultPlugin.processSequence(DefaultPlugin.java:235)

at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:174)

at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:165)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)

at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:276)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1459)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1441)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3927)

at com.sap.ide.dii08.internal.commandz.BuildDcsCommand.build(BuildDcsCommand.java:337)

at com.sap.ide.dii08.internal.commandz.BuildDcsCommand.execute(BuildDcsCommand.java:179)

at com.sap.ide.dii08.internal.service.CommandExecutor$2.run(CommandExecutor.java:77)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)

at com.sap.ide.dii05.util.internal.lock.DiiConsistencyServiceImpl.executeConsistentWorkspaceRunnable(DiiConsistencyServiceImpl.java:90)

at com.sap.ide.dii05.util.internal.lock.DiiConsistencyServiceImpl.executeConsistentWorkspaceRunnable(DiiConsistencyServiceImpl.java:52)

at com.sap.ide.dii08.internal.service.CommandExecutor.executeInWorkspaceAndDevConfLocks(CommandExecutor.java:90)

at com.sap.ide.dii08.internal.service.InternalDiiCommandService.buildDcs(InternalDiiCommandService.java:179)

at com.sap.ide.dii08.internal.service.InternalDiiCommandService.buildDcs(InternalDiiCommandService.java:986)

at com.sap.ide.dii05.ui.internal.actions.dc.BuildAction$2.run(BuildAction.java:193)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

[Error: com.sap.tc.buildplugin.DefaultPlugin  Thread[Worker-6,5,main]]

BADI_BUILD_MESSAGE Alet email notification

$
0
0

Hi All,

 

 

We are implementing the BADI_BUILD_MESSAGE according to the instructions provided on SAP OSS note 0001609090. As per now call to the monitored systems always comes with the message No IDOCS Found. Any advice or guidance would be appreciated? Related with that topic=> Has somebody developed something to attach PDF’s into the alert email?

 

Thanks and Regards,

 

Abraham

SAP NW BPM with Loop (Time Trigger)

$
0
0

Hello SDN,

 

I have modelled a small BPM with an EJB function and a time trigger. The first time it works fine. After it, the process changes to the status "Error / Stopped" and will not executed.

 

I try to model a loop which triggers an event (Bean execution) every 5 minutes.

 

 

EJB Bean Code:

 

package xxxxxxxx;

 

import javax.ejb.Stateless;

import commonj.sdo.DataObject;

 

 

/**

* Session Bean implementation class Sample

*/

@Stateless

public class Sample implements SampleLocal {

 

  private static final com.sap.tc.logging.Location logger = com.sap.tc.logging.Location  .getLocation(Sample.class);

 

  public Sample() {

  }

 

 

  @Override

  public DataObject invokeSdo(DataObject dataObject, InvocationContext invocationContext) {

     logger.errorT("This message is pushed by a SAP NetWeaver BPM");

     DataObject output = invocationContext.createOutputDataObject();

     return output;

  }

 

}

 

 

Please see attached JPEGs for the process flow.

 

Thanks a lot, Cheers

Cengiz


Cannot modify Consumer Proxy configuration

$
0
0

Hi,

 

We have developed a BPM process in NWDS on SAP NetWeaver 7.3

One of the tasks in the process can take quite some time before it receives a response from the backend. Since the 'Max waiting time for HTTP response in milliseconds' is set to 60,000 it will throw a socket read timeout exception after 60 seconds.

 

I would like to increase this value, but I was not able to modify the settings in the Consumer Proxy's 'Configuration' tab since the edit buttons are disabled:

 

WPI_Consumer_Proxy.PNG

Is a deployed BPM process simply not modifiable fro NWA, or should I change this timeout somewhere else?

 

Any help is highly appreciated!

How to reimport a changed Interface / Message Type to NW BPM

$
0
0

Hi,

 

I m developing a NW BPM process (NWDS SP 09) to be used with SAP PO 7.31.

The process is using 15 different imported Interfaces, all of them depending on an External Definition, which unfortunately need to be changed. In PI so far no pretty easy, adapting some mappings, no problem.

 

But how can i update the process?

Just importing an existing Interface again leads to error message:

Could not import WSDL document:

Could not import WSDL document:

Cannot change XsdSimpleTypeDefinitionWrapper {http://www.namespaceDef.com}

LocationIdent by importing the document http://www.namespaceDef.com/::src/wsdl/SI_OUT_ASYNC_Interface01.wsdl,

because it is already defined in the document  in this project.

Importing into another project might be possible

SI_OUT_ASYNC_Interface01.wsdl

/LocalDevelopment~bpm_product~pr~pm~company.com/src/wsdl

Unknown Document Import Marker

 

 

Unknown Document Import Marker

 

Is it possible. that i have to start from the scratch?

 

/Udo

Collecting Messages from Multiple systems

$
0
0

In NWBPM is there an way to connect messages from different systems?

 

In that case can we have many start conditons.

 

And how to correlate based on the condition(similar to the Fork and correlation Step)

 

Please help me on this

BPM task for multiple persons

$
0
0

Dear experts,

 

is there a standard way of assigning a human task to multiple persons, where every person has to complete the task?

 

Regards,

Markus

Integrating SAP UI5 Screen as a BPM Task (Open UI Integration) in 5 Easy Steps NW 7.3 EHP 1

$
0
0

Hello Everyone,

 

This blog, as the title suggests, sheds some light on integrating a UI developed in SAP UI5 as a BPM task. Not necessarily UI5, it can be a UI developed in any other technology which is not predefined in BPM at design-time like, WD Java, WD ABAP, Visual Composer or Adobe Offline Forms.

Other UI technologies like JSP, HTML etc. can also be integrated in this fashion.

 

Applies to:

 

NetWeaver 7.3 EHP1 (7.31) onwards.

 

How to:

 

1. Double-click on the Human Activity in your BPM Process to open its Properties :

 

     Task1.jpg

2. In the 'Task' property of the Human Activity, click on the 'Task' link as shown to open the Task Properties :

 

task2.jpg

 

3. In the User Interface Property of the Task, click on 'Choose':

 

task3.png

 

4. Now select on 'Custom Technologies' and clcik on 'OK':

 

task3.png

 

5. In the next dialog box that opens up, enter the relative URL* of the UI, define the input and output types (mandatory) and define the Fault Types for exception Handling (not mandatory) and click on 'Finish' :

 

task3.png

*Relative URL: If the UI Application is deployed on the same AS Server, eliminating the server details from the URL of the UI will give you the Relative URL.

                        For example: URL of UI : http://<hostname>:<port>/POC_SecondView/index.html, then Relative URL : /POC_SecondView/index.html

 

Now, the Relative URL of the UI should be seen in the UI property of the task now, which was blank earlier:

 

task3.png

 

The input and putput parameters we defined earlier should be available in the Input and Output mapping of the Human Activity:

 

Input Mapping:

 

task3.png

 

Output Mapping:

 

task3.png

 

That's it! You're Done!

 

Note:

 

As SAP UI5 and other custom technologies do not have a context of their own, we will have to use the BPM "oData Service" to bind the UI data to the BPM Process Context Data.

 

For more details on the BPM oData service, please refer this article by Vitaly Yarmolik.

 

For exclusive blog series  on  'Custom UIs with the BPM oData Service', please refer this excellent blog by Andre Backofen.

 

Hope this blog helps in some way.  Please let me know  in case I have mentioned anything wrong.

 

Regards,

Sid.

Viewing all 887 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>