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:
Go to “Data Area” tab and add entries like below snap:
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.
Now, to run the BPA Script press “Ctrl + Shift + S” or click on BPA Script icon as shown in below image:
Below pop up window will open, where you can search your BPA script and run it.
Leave a Reply