Create BPA Script in Oracle Utilities to invoke UI Map

Author posted by Jitendra on Posted on under category Categories JAVA, Oracle and tagged as Tags with 3 Comments on Create BPA Script in Oracle Utilities to invoke UI Map

This is the fourth article in series And we will see how to Create BPA Script in Oracle Utilities to invoke UI Map.

In this post, i will discuss on creating the BPA Script to invoke the UI Map.

Navigate to “Admin Menu | S | Script +” and the details as per below image:

 

Creating BPA Script in Oracle Utilities / ORMB / CC&B
Creating BPA Script in Oracle Utilities

Go to “Data Area” tab and add entries like below snap:

Add Data Area for BPA Script in Oracle Utilities / CC&B / ORMB
Add Data Area for BPA Script in Oracle Utilities

In this section, we have to add the references of all the “UI Map, Business Service and Data Area” which we have used in this application.
Now, go to Step tab and add below line in “Edit Text area” where the step Type is”Edit Data”.

invokeMap ‘CM_PERINPUT’ using “PersonDataA” target page;

Description: invokeMap command is used to invoke the UI Map using Data Area Name. “target page” argument specifies that the Map should be open as a new page.

Edit Data Step in BPA Script of Oracle Utilities / ORMB / CC&B
Edit Data Step in BPA Script of Oracle Utilities

Now, to run the BPA Script press “Ctrl + Shift + S” or click on BPA Script icon as shown in below image:

Run BPA Script from Toolbar in Oracle Utilities / ORMB / CC&B
Run BPA Script from Toolbar in Oracle Utilities

Below pop up window will open, where you can search your BPA script and run it.

popup window to run the BPA Script / ORMB / CC&B
popup window to run the BPA Script

Related posts

3 thoughts on “Create BPA Script in Oracle Utilities to invoke UI Map”

  1. Hi
    thanks for the tutorial. but I have a problem when i try to copy data from my BPA script data area to a customized hidden input field that I added on a page (I invoke the BPA script via a user exit) The page keeps reloading infinitely. Is it a bug related to the framework or it’s something I can’t do.
    how i declared my input field into the jsp user exit code.

    Am I missing something?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.