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
kiran
Hi 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
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 -
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 AMThx 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 -
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 -
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 -
RM07DOCS Layout for background execution
Hi,
I'm executing RM07DOCS, in foreground execution, the layout can either be graphical(detailed) or List(overview list of mat docs). In background execution, the only display available is the graphical(detailed list of Matdocs).
Is there a way to setup the program to output in list (overview list of mat docs) view in background execution?
please advise if this can be done and how can it be done.
thanks,
NCDear expert
this link might be help you
http://www.****************/Tutorials/ALV/ALVLayout/Variant.htm
http://help.sap.com/saphelp_470/helpdata/en/6b/2f13439c9f11d194da00a0c930328a/content.htm
Regards
Ajeesh.s -
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 -
Excludes for Background Execution...?
Hi All,
What are the things that doesn't work in background mode of execution of a program and the
reasons for this type of technical behaviour...?
For example, the function module 'GUI_DOWNLOAD' can't run in background mode. One of the
reason is 'Codepage can not be selected'.Anything that requires either User intervention or Presentation Server access will not be able to run in the background
User Interaction - Since in background mode, the program cannot be stopped to ask for user input
(this includes calling RFC FMs remotely using an RFC destination which doesn't have the password saved)
Presentation Server access - since a background job runs on the application server and has no access to your presentation server -
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.." -
"cannot find this class" erro while creating Background Callable Object.
Hi All,
I am facing "cannot find this class" while creating Background Callable Object.
I followed the following document for Creating Background Callable Object.
[Creating Callable Objects for Background Execution|http://help.sap.com/saphelp_nwce10/helpdata/en/53/cde385301f4aa3b8e77a92cd46bff3/frameset.htm]
After giving the fully qualified java class name in the Implementation Class Name when i press next i am getting the error.
Please suggets me in solving this issue.
Regards,
S.V.Satish Kumar
Edited by: Sathish Kumar SV on Apr 4, 2009 10:34 AMHi, kavita.
First, make sure you choosed the correct container when you created the background CO.
Second, make sure your package name was "com.examples.bckgco" and class name was "UserDetailsCallableObject". The exception which you got just means you entered incorrect name.
It doesn`t relate to your program.
Best Regards.
Louis Huang. -
Can't add GP Component Interfaces to WebDynpro Callable Object
Hi, I've just installed the IDE for Composition Environment 7.1 SP3 and I'm following the tutorial to create a WebDynpro Callable Object for a Guided Procedures that I'm working for a demo. It seems that there is something wrong with my NWDS, 'cause once I add the the required DCs dependencies to my project for caf/eu/gp/api and caf/eu/gp/api/wd and mark them for Design time, I cant add the to any new component as implemented component interfaces 'cause the list for adding them is empty. I really don't understand why this is happening, 'cause that's the way the tutorial explains it to work. I've already try to reinstall the NWDS, without success. Has any of you face the same problem?
Thanks for you answer.Hi,
You should not create Design Time dependency. It is not required.
Ensure only that you have created a Build Time dependency on the public of "caf/eu/gp/api and caf/eu/gp/api/wd".
After creation of dependency ensure that you have build WD DC.
Check if it works now ?
Regards,
Ashwani Kr Sharma -
Unable to craete ABAP Webdynpro callable object
Hi all,
I am not able to create a callable object for a ABAP Webdynpro application.
The SAP system has been configured properly in Endpoint Aliases and the Test Connection is successfull.
The problem is that whenever I search any ABAP WebDynpro application it says "Application with this name not found". There are many ABAP Webdynpro applications on the SAP server and even if I search for * it gives me the same message.
Please help.
Thanks,
VivekHi,
Is your EAR having gp/api in tis dependency. It should be added with dependency at runtime and deploy time. It should also have run time,deploy time dependencies towards your DC having the java class(Background object).
Hope it helps.
Regards,
Srinivasan Subbiah -
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.
Maybe you are looking for
-
Why can't i download or install firefox on a windows 7 computer?
each time I download, i am informed that I need to be an administrator. I am, and i am running the machine as administrator. firefox downloads, but then does not install, download disappears!
-
Import/Export Log of workflows
Hi all, I have one very simple doubt. When I import/export any workflow, a message gets displayed that w/f is successfully imported/exported. Now say I want to know the exact date/time of when a particular workflow is imported in the studio. Can I kn
-
Value date while posting from FRFT_B
Hi When I am posting from FRFT_B (Bank to Bank transfer) value is date is displaying in this transaction(FRFT_B) but when we posted document , value date is not updating in FI document hence we are not able to see value date. Can some one hlpe is the
-
How I block out the pictures in web pages
I use very slow internet connection, that reason I do not want pictures in firefox 24.0 to show.
-
Combining closed paths in Illustrator CS3
Dunno how simple this one is, but I have two closed paths of the same colour that overlap to appear as one object when printed. I'm trying to combine these two paths into one object so that if I apply a stroke weight to it, it outlines the whole obje