Re: Callable object for display
Hi all,
I would like to know how a can create a web dynpro component with GP interface so that i can set config (display mode or exceution mode) of CO in GP.
after deploy the WDPro component , I had tried to create a CO in GP, but i can not set the configuration properties of the CO.(It is default to callable object for execution)
And in the help of the NW Studio, it said some coding is needed.
So could anyone give me some guide in doing so.
Thanks In Advance
David
Edited by: David Tai on Jun 20, 2008 4:13 AM
Edited by: David Tai on Jun 20, 2008 4:55 AM
Thx for your reply first.
However I had already have a look on this tutorial, no hints about how to work on CO that is for display.
For example, in that tutorial when creating CO, there is a step for setting configuration initially, but after defining the input or output, that step disappear and the CO is automatically set as "callable object for execution"
In GP, there is an example Time Off Process, in which at each action we can see a CO for execution and CO for display.
So I would like to know how to implement it.
Regards,
David
Similar Messages
-
Difference between Callable Object for execution and Display
Hi,
I am new to Guided Procedures.When i am creating a callable object under an Action ,i find callable object for execution and callable object for display in the dropdown.What is the difference between the two types of callable objects.
Thanks,
BalaHi Bala,
GP comes with a set of registered callable object types that define which applications you can directly expose as callable objects and enable their handling in the context of GP processes.
So the different COs can handle your specific application requirements or process flow requirements appropriately at runtime.
You refer those COs in actions. To make the action functional, you attach at least one callable object to it. In addition to the object that is executed when the action is called, you can attach a callable object that is displayed after the execution. The first one is mandatory. You must attach a callable object for execution. It can be either a callable object with a visible part, such as a Web Dynpro or BSP callable object, or one for background execution.
Optionally, you can attach a callable object for display. It is required to have a visible part for example, you cannot select a callable object for background execution.
At runtime, this object is displayed if the processor wants to open the process step after it has been completed, or if a process contributor has view permissions on the action.
To make it easier, I will give you an example with submitting and approving a composite form. Say, the employee fills in an order for something, submits it and the manager then approves or rejects it.
First, in order for the employee to view the form, you can use a Form Display callable object as a display callable object for actions where the execution object is a form. It displays the name and description of the form and provides a link for download. If the user has view permissions on the step, he or she can view the display object and download the form itself. So, this CO is connected basically with the user experience and what he/she sees displayed on the screen, no matter what happens in the background (e.g. you can have a pre-filling service in the background that prefills some fields of the form, but what the user sees is only the form fields with certain info already prefilled in them).
Next, for the manager to approve or reject the form of the employee, you need a CO that is only for execution, for example a Process Control CO for File Approval For forms, you can use it in a process in which a form is sent by e-mail. As soon as the form is submitted back to the system, the receiver can view it, save a copy of the form, and depending on his or her decision, can approve or reject it.
This really is a very simplified example, but I hope it helped a little in some way or another
Here is a link to the Callable Objects in GP documenatation, hope it also clears up some questions:
http://help.sap.com/saphelp_nw70/helpdata/en/d2/d174413aff5458e10000000a1550b0/frameset.htm
Also, a link to the documentation for exposing COs:
http://help.sap.com/saphelp_nw70/helpdata/en/08/d88041a17e060de10000000a1550b0/frameset.htm
HTH:)
Greets,
Petra -
Hi Experts,
I am new to GP, and i need your help to design my GP.I am a web dynpro developer . I want very basic process to be implemented through GP as follows
1) Employee gets a UI screen for filling some requisition form (in WD java) which wud hit R3
2) Employee's supervisor can Approve / Reject requisition . (UI in WD JAVA)
3) Employee should get a summary of whole process (Again UI in WD JAVA).
When i am creating calling object for above process and under UI category there are two different type of callable object for wd java
1 ) Web dynpro component (GP interface)
2) Web dynpro application
when i am creating ( Web dynpro application ) callable object , its giving me error , maybe some config problem .
can anyone just guide me how to implement above process or give me some material through GP (WD java UI) and whats diff between two kinds of callable object.Thanks in advance.
Regards,
AbhayHi Abhay,
You can design your process by this way:
1) Employee gets a UI screen for filling some requisition form (in WD java) which wud hit R3
If you need to update R3 at this time, you can create a custom WD Java calling a RFC. To do that, you may use WD with GP API (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59 ) or you may call your RFC directly by External Service Callable Object (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7c313ada-0c01-0010-dfba-9ac88b353a47). It depends of how you will design your process.
IE:
Custom WD Screen that will have input fields and will update R3 -> use GP API
Standard input screen -> use Data Input Form and to update R3 use External Service CO
2) Employee's supervisor can Approve / Reject requisition . (UI in WD JAVA)
You can use Visual Approval standard Callable Object to do that. If you need to update R3 according with approval results, you can insert the External Service CO as next step according with result. To accomplish that you must set Result States.
3) Employee should get a summary of whole process (Again UI in WD JAVA).
Data Display Form standard Callable Object give you exactly what you want.
Scenario 1: WD Custom UI that update R3 -> Visual Approval CO -> Data Display Form
Scenario 2: Data Input Form -> Visual Approval CO -> External Service CO -> Data Display Form
Reward points if itu2019s helpful. -
Callable Object for Webdynpro Application
Hello,
I have a Webdynpro for Java Application where I am importing a model from R/3 and displaying certain records......and want to include it in GP Framework....so which is the Callable Object I should use.....i tried using Webdynpro application type but it gives me the error at runtime while execution as :
Application error occurred during request processing.
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/home~<webdynpro component name>
Any help would be highly appreciated.
Regards,
AnilHi Anil,
I am also facing a similar problem . Can you please guide how to solve it.
Thanks and Regards,
Anurag -
Implementation callable object for background execution
Hi experts,
I am Using NWDS 7.0
while i am trying to create background execution callable object , i didnt find the DC :caf/eu/gp/api.
so i followed the pdf "How to Get NW04s SP7 Guided Procedure APIs for Local Development" and added the required DC's.
The problem is that while i am selecting the dc "caf/eu/gp/api" the following message is displaying
"illegal dependency: Acess list does not allow use of sap.com/caf/eu/gp/api for sap.com/bckg_co(MyComponents
Is there any other way to add DC's ?
pls help me out
Thanks in advance
kiranHi Kiran,
1. go to development Infrastructure --> select ur Software component --> in the component properties Tab > select dependencies Tab->click on Add Button.
2. in the pop up window , select the Software component (Gp - Core) which has the caf/eu/gp/api component and give the dependency details and click Finish.
3. Ensure that Unrestricted acesss is granted for this component. this u can check, by selecting caf/eu/gp/api and select permissions tab in component properties.
hope it helps,
Thanks and Regards -
BOR object for Displaying the Spool
I am trying to create work item that will display spool output.I have thought of using FM "SWW_WI_START_SIMPLE" to create a work item and will take to the display of the spool file .Can any body suggest the BOR object which I can use for displaying the spool output??
(Background of the issue-I am executing a report in background and taking out put of that on spool. After executing this I want to send that spool number in the work item to the user and from that work item a link should be generated that will take the user to the spool display.)Hi raz
i think it will help you
Firstly go to Transaction of event trace SWE4 on the event trace
Secondly go to your transaction create one invoce
then go to SWEL it will display the BOR Triggered during the Invoice creation
In case of any issue please revert back
Donot forgot to reward points
Regards
hitesh -
Info Callable Object for reduced circle
Hi,
Is it possible to make an <info callabale object> accessible only for a reduced user circle.
I found no a way to implement this
ThanksHi,
You can assign dedicated permissions to GP Callable Objects (CO):
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/7f55429c0fab53e10000000a1550b0/frameset.htm">Grant Permissions</a>
Do this for your CO and use it as Info CO.
Regards,
Jan -
Basic authorisation objects for display/execute
Hi Team,
For a start .....I need to create a basic user role for BEX (7.0)with Display and execution of the queries .
Down the lane another role with restricted access to only certain cubes
What is the authorisation objects needed to be given in that role?
Is there a std role which solves my purpose.?
I was playing with auth objects like S_RS_COMP, S_RS_COMP1,S_RFC....but coudn't get much farther.
Thanks for your time.
/AndyHi Nicco,
we evaluated ACE for two projects now and always found that customers are not very excited about administration of a)EP-roles b) CRM-roles and additonally c)ACE user groups which is furthermore a very new topic for all of us and therefore it seems there is little know-how existing. We are also not sure about the future of ACE if there are new development with BP-roles in 6.40? But for my personal opinion in the field of CRM and sensible data there is no way around ACE or something similar ...
Regarding performance we always had the felling that response time of PCUI-apps decreases when we activated ACE - maybe because there is some overhead with collecting ACE-data in different tables additionally to the other process of controllers and subcontrollers ... but this was only a personal experience, we never did any measurements which confirmed this "feeling".
Regards
Michael -
System crash while using Callable objects for SAP transaction !!
Hi all,
i have created a CO to use SAP transaction, i have created a system, its connection test is successfull.when i create the CO and specify the system and Tcode, and Test it, its giving a Short dump saying its crashed, do anyone knows the rerason??please guide me
Thanx in advanceHi Audrey
The Help for SAP Transactional iView can be found here - but although I have followed these steps and an associated blog it still does not work for me. Perhaps you will have more luck. See below for my particular error (if your able to help me ;-).)
SAP Help for SAP Transactional iView
http://help.sap.com/saphelp_nw04/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
SAP Blog for the same
Create SAP Transaction iView using SAPGUI for Windows
NOTE : Sadly I cannot get mine to work !! ****
I'm also trying to create a SAP Transaction iView. Following these steps.
I can preview the iView OK. So it seems that System and Alias are OK.
BUT when I logon as a user on the Portal with that iVew it fails with the same type of error you had.
"Unable to lookup System 'SAPDBEAlias'. Please check the system object and the alias.." -
Query Object for Displaying Portlets
Hello,
Is there any view or table where I can query the portlets from different page groups to display the portlets where I can display a list of portlets available for users to select.
Mick, could you kindly help me with this?
Thanks in advance.I posted this in the ABAP dev forum and it got answered there.
-
Linking of Service to Callable object for execution
Hi,
I've created a process and an action . In action I've inserted few fields which are mapped to an Interactive adobe form.
Once the user submits the Adobe interactive form I have to process the values and update the R/3 database with a service.
Where can I find the list of available services and how & where should I map the input field to that of an existing service?
Regards
RavikumarHi,
I've created a process and an action . In action I've inserted few fields which are mapped to an Interactive adobe form.
Once the user submits the Adobe interactive form I have to process the values and update the R/3 database with a service.
Where can I find the list of available services and how & where should I map the input field to that of an existing service?
Regards
Ravikumar -
Background callable object for BAPI
Hi Everyone,
I have a requirement wherein a BAPI call should be an intermediate action in a GP process.
I need to fill in some fields in an interactive form which is in the preceding action, the fields on being mapped to bapi input will be passed on to this bapi, after the bapi call a notification (third action) will be sent out to all process contributors . All these three actions are done by the same role. I am able to use BAPI external service CO successfully when its the beginner action in any process. But on being an intermediate action it doesnt execute. I am new to GP and I dont know of any alternative methods.
Experts plz guide.
Thanks,
LishaHi Lisha,
please refer to the following link:
[Tasks|http://help.sap.com/saphelp_nwce10/helpdata/en/71/f0944279c0c66ae10000000a155106/content.htm]
following the sublink:
[Integrating offline and form based activities|http://help.sap.com/saphelp_nwce10/helpdata/en/44/d44bea51103ee1e10000000a114a6b/content.htm]
You should focus on the topic "Creating and configuring forms" in special:
"Building a Form Context"
"Dynamic Forms".
Please be aware that in NetWeaver 7.0 (2004s up to SP13) the CO Composite Form were called CO Interactive Form. But basically the functionality "Building a form Context" remained the same, although named a bit different.
As I don't know which SPS you are working with and whether it is NetWeaver 7.0 or CE, please come back to me if you need further explanations.
Hope this will help to proceed your work.
Kind regards
Berndt -
Cannot load callable object container: null
My application is webdynprojava application with GP process.
One of my scenaio was to create a popup window with ok button after completed the action.
First I tried from code where i was written to completd the action
but it did not work because the popcode i was writing before the complete method but it always talking after
completeso results i was getting error .
Then for the same action i created one callable object for display.
That time my application was working after some time I again check
then its showing Cannot load callable object container: <null>
this error for the callable object which I created for popup window with ok button.
(once RM will approve ,popup window will come with ok button ).
Reporting Manager CO Callable Object for Execution
Resignationmanpowerlink Callable Object for Display --I am getting error here
can u please help me why i am getting Cannot load callable object container: <null>
error
Thanks for your time.
Thanks & Regards.
Abhishekh SinghLast time I checked contexts and lookups could return null values. And your code is not checking for a null value return.
-
Prevent auto display/assignment of next callable object
Hi everybody,
I have the following scenario for a GP process:
fist step: maintain data
second step: approve data
The callable objects are WD4J.
I need to route the workflow to a role/group of users. It may happen, that the processor of step 1 is also a member of the role, that is responsible for step 2. Because of SOX compliance, he is not allowed to approve his own data. But if GP identifies the current user as the processor of the next callable object, the callable object is displayed directly and assigned to the user.
This results to the following question:
1) How can I avoid, that the callable object is called directly and force the users to go always to the uwl first, even if several following steps are assigned to the same user
2) How can I prevent that a user is not able to take a task if he was the predecessor of the first step, evenif he belogs to the role that is responsible for the task
I would like to avoid a workaround based on custom code.
Any hints are welcome.
Best regards,
RenéHi Fahad,
I tried same as you said but its not worked.
public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )
this.executionContext=executionContext;
public void Complete( )
IUser usr =UMFactory.getUserFactory().getUserByLogonID("logonid");
IGPProcessRoleInstance role = executionContext.getProcessRoleInstance() ;
role.addRuntimeDefinedUser(usr) ;
I changedthe roleInitiator of next action is runtime defined.
but its not worked.
Regards,
Naga -
Problem with dc navigation through callable object
Hi
I have used a DC in my webdynpro component and DC navigation works fine when the DC is run independently. But when I created a callable object for it and test it from there, I am unable to navigate and it gives me an like the navigation link is not found.
How do I resolve this?
I am working on CE7.1
ThanksSolved the issue
Maybe you are looking for
-
Hi Friends, When I run my application i have got the following Exception while executing it: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null What might be the problem. Is it that the JC
-
Firefox prevented this page from automatically reloading
As of June 25 2013 In Firefox version 22.0 the ALLOW button fails to work when presented the message "Firefox prevented this page from automatically reloading". The WORKAROUND is to UNCHECK "Warn me when websites try to redirect or reload the page".
-
Application Development using Jdeveloper using Oracle Lite
Hi all, I need to develop an application that works with the oracle database lite technology. Ritght now I am working on some 10 tables .The Scenario is like the application developed is deployed on the middle tier and the user downloads it and goes
-
Finder crashes at System Startup
Hi, my Finder is crashing after the system has booted. After force-quitting Finder.app it works just fine. This is what Console.app is telling me: kernel[0]: Data/Stack execution not permitted: Finder[pid 269] at virtual address 0x10e51d000, protecti
-
APEX Export using command line utility....
Hi All, Just a question about the command line export utility for HTMLDB. It works great for exporting the application itself, is there any way to get it to export the application's CSS as well as any files such as javascript files etc...? Cheers, He