In ABAP, you may find search helps defined to make it easy for the end user to select values from a list. This is highly useful in avoiding typographical errors, and also doesn't need the user to remember any specific value. Another advantage is in the speed of filling the form. These savings in time will be compounded if there are a significant number of fields on the form.
You might often encounter such situations while filling fields in the NetWeaver BPM task UI forms. If these values could be filled in from a backend then BPM Value Help is a very handy feature available in SAP Process Orchestration as of SAP NetWeaver 7.3 EhP1 SP10. This would significantly facilitate the entry of these form fields.
Before you can use the search help defined within the ABAP backend(thereby promoting re-use and hence reducing the TCO), you need to configure the NW BPM Value Help in NetWeaver Administrator. The steps involved in this configuration are:
A Value Help Alias is an indirection that allows you to decouple the development of the BPM Task UI from the configuration of the Value Help. It also allows you fine-grained access control of the help values.
The Alias needs to be bound to the ABAP Search Help by providing the necessary details that resolve the Search Help at runtime. One of the parameters that needs to be provided during alias creation is an NWA Destination of type RFC. I will refrain from going into too many details of creating an alias as you can refer to those on a related blog[2] or the help documentation[3]. The focus of this blog is using SSO as authentication mechanism.
In order to connect to the backend, you need to create a destination of type RFC in NWA.
Navigate to the Destinations application in NWA as follows:
Now you are ready to create a destination.
1.1 Create a Destination
1.2 Provide connection details
1.3 Configure user details
SSO communication is based on a trust relationship between two systems. To achieve this two systems exchange certificates before communication can be initiated using SSO. As in case of NW BPM Value Help, the request is only one way i.e., from J2EE to ABAP system, which means that only the ABAP System needs to import the certificates of J2EE server. Here's the procedure to do that.
2.1 Prerequisite
2.2 Export the J2EE cerificate
Now, we export the SAPLogonTicketKeypair-cert
2.3 Import the certificate to the ABAP System
Once the ABAP system has been configured to accept the certificate of the J2EE server, you will be able to configure the NWA destination using SSO as described above. After this using this destination, you can look up the values of Search Help.
Both approaches give you control over who can access the backend data. But the SSO option is more flexibile. In case of a technical user, the user accessing the Value Help utilizes the technical user's authorization provided by the ABAP backend to access the value. This means in terms of connecting and accessing the backend, all users accessing Value Help (beyond alias level authorization) have the same level of authorization. This is good enough when the level of complexity is not too high.
In case you want more sophisticated control over the specific Value Helps in the ABAP backend, then SSO should be your choice. You can define different levels of authorization within the backend for the different users(the login user should also exist in ABAP) accessing the Value Helps.
[1] Value Help in Process Orchestration
[2] ABAP Value Help in Process Orchestration
[3] SAP Help documentation for BPM Value Help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
38 | |
19 | |
13 | |
13 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 |