Cannot use DSUB function in Business Logic Callable Object
Hi sdners! I am trying to create a Business Logic Callable Object, that compares a date and actual date. I used DSUB like this:
DSUB(DVAL(DSTR(NOW(),'DATE')),DVAL(DSTR(@beginning_date,'DATE')),'D')
@beginning_date is of type Date. DSUB should return how many days passed between actual date and @beginning_date. However, when I test it using Test tab, it returns 0 (zero). I tried using this also with same result:
DSUB(NOW(),@beginning_date,'D')
DSUB(NOW(),@beginning_date,'DD')
DSUB(@beginning_date,NOW(),'D')
DSUB(DVAL(DSTR(NOW(),'DATE')),DVAL(DSTR(@beginning_date,'DATE')),'DD')
DSUB('5/05/2009','1/20/2009','D')
DSUB(5/05/2009,1/20/2009,'D')
Does anyone know what should I do to get it solved??
Any help is highly appreciated!
Regards,
Fede
Hi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik
Similar Messages
-
Problem in Business Logic Callable Object execution
Hi All,
We are working on a workflow scenario where 2 approvals are present. Second approval is optional.
Second approval is required or not is decided by a business logic callable object.
This callable object is assigned (user role0 to initiator.
Issue is, when first approval is completed, flow goes to business logic callable object. A UWL entry comes in initiators inbox. And from there, flow doesn't move forward. It simply shows message 'The next activity is not yet available: try again later using the "Refresh" button".
I have tested this business logic callable object individually, and it works fine.
But in process, it doesn't move further.
What can be the solution to this?
Thanks,
DeeptiHi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik -
Unable to create Business logic Callable Object
Hi All,
We are working on CE 7.1 SDN trial version.
while creating Business Logic Callble object, it is giving an error: Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
Waht is the problem?.
Thanks
SampathHi All,
when i try to create business logic CO, in Default Trace files it is giving following errrors:
This callable object type is not deployed on the system: sap.com/cafeueruico~bi
This callable object type is not deployed on the system: sap.com/cafcoregpuibackgroundco~admin
This callable object type is not deployed on the system: sap.com/cafcoregpuivisibleco~admin
This callable object type is not deployed on the system: sap.com/cafeueruico~r3transaction
This callable object type is not deployed on the system: sap.com/cafeueruico~km
Do we need to deploy any extra DCs.
Sampath -
Business logic callable object and Dynamic User assignment
hi all,
I have to design scenario using VC and GP
using VC i designed a form that consist of some input parameters value,product..
i integrated the designs created in VC to CO's
My workflow should be like this
now if the value<500
it should go for approval to user1->user3
if 500<value<1000 means it should go for approval to user1->user2->user3
i tried this by using a businesslogic callable object
the input ot this businesslogic CO is "value" parameter
reult state
continue BOOL(@value<500)
break Bool(500<@value<1000)
process
sequential block1
Altenateblock block
Action
result state:
continue->target->seqblock2
break->target->seqblock3
business logic CO
seqblock2
Action1
Action3
seqblock3
Action1
Action2
Action3
i designed the workflow like this
but the problem is that during runtime its directly jumping to seqblock3 with out asking the input value for business callable object
and its not exiting from that block3.its going like infinite loop(action1->action2->action3->action1->action2->Action3)
pls suggest me the way to achieve this task
Thanks
kiran
Edited by: kiran_mareedu on Aug 26, 2009 3:48 AMHi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik -
Accessing LCDS Persistence Layer for use in Server-Side Business Logic
Within server-side business logic, I want to be able to get a persisted object from LCDS, manipulate that object, and then use LCDS to persist those changes to the database as well as send those changes to the client.
Is it possible to access LCDS' persistence layer (Hibernate) to be used by server-side business logic?
I have attempted to use DataServiceTransaction.getItem(...). However, for objects that contain a collection of other objects I get this error:
[LCDS] Runtime exception while trying to fetch a property from hibernate: flex.data.DataServiceException: There is no current message broker to return.
When calling DataServiceTransaction.updateItem(...) for objects that contain a collection of other objects, I get this error:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.sd.pojo.Book.chapters, no session or session was closed
Also, it appears that DataServiceTransaction.updateItem does NOT update the database?
I have resorted to building my own Hibernate SessionFactory, but that seems unnecessary.
One other piece of information is that I am using the Fiber modeling tool to build and deploy the model to the server. I am generating the Java classes with Fiber and making them available to be used on the server.
Thanks,
CollinThanks for the help guys.
I guess what I'm really trying to get straight in my own mind is whether supporting interraction and control of eJB database interraction is still using the same functionality as having a stand alone app interracting with a db.
I'm thinking about; the implications of using eJBs specific query language and the different way in which eJBs use db connections (either for the period of their lifetime or just for the duration of one interaction) compared with a stand alone app, which would maintain a connection to the database(s) while it is open.
Connection pooling and caching of DB objects is often quoted as being a middle tier activity, but what does this mean when all 3 tiers reside on the same machine?
Once again thanks for your comments and advice.
Mark -
Can we use WHO columns in Business Logic implementation
Hi,
Can we use WHO columns for business logic implementation..?
From one table I need to pick up the latest record. I have a ActionDate column in the table which stores the date of the action.
But on the same day there can be multiple action records. ie Multiple records have same ActionDate.
Select * from action_table where action_date=(maximum action_date)
The above query will return more than 1 record.
Now can I use the Creation_Date which is a WHO column to identify the latest record..?
Will it introduce any issues if I use creation_date WHO column?
Usage of WHO column in application logic, Is it against the Standards ?
Thanks a lot.I guess you are talking about populating the value using the history column creation_dt from EO.
If so, you can use then. We are using them in all our applications to populate WHO columns of our table.
Infact as far as I know, even Oracle application uses them.
They generally populate the timestamp, so you may need to format them when doing date comparisons.
Hope that helps.
Amit -
Why I cannot use search function in my apple store? I use Ipad 3 and it is the latest software
Why I cannot use search function in the apple store on my ipad?
Nobody here could possibly answer your question as presented. Have you tried any troubleshooting steps at all?
Quit the app store completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
If that doesn't work ... A few more details from you might help you get your problem resolved. -
How can I use JTA in my business logic and execute process with PAPI?
HI All,
How can I use JTA in my business logic and execute process with PAPI?
When my business logic has exception, the process will rollback.
or the process has some exceptions, my business logic also will rollback.
I don't know how to do it.
Does anyone know how to do it?Thank you for your reply, Daniel.
But I think I did not express my mind clearly.
There is a scene that I have 2 Application Server.
My business code is deployed in one Server.
The BPM is deployed in another Server.
I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
In my business code, I will do something before execute Task.
I need my business logic and Task in same transaction.
To ensure them "all-or-nothing" .
As you say, if The transactions are managed by Oracle BPM.
then can I retrieve OBPM transcaction in my business code? -
Suddently I cannot use the functions of my magic mouse
Suddently I cannot use the functions of my magic mouse (scroll, etc). I have a iMac user Yosemite. Thanks for the support.
<Re-Titled By Host>Hi PietralataKK,
I understand your mouse was working fine but now you have lost the multitouch features of the mouse. You don't mention if you can click or move the cursor with it.
For this please start with this article to troubleshoot,
Desktop computers: Troubleshooting wireless keyboard and mouse issues in Mac OS X v10.5 - Apple Support
Then for the "trackpad" functionality check out,
Trackpad or Magic Trackpad is jumpy or erratic - Apple Support
Yes, it talks about Magic Trackpad, but the top of the Magic Mouse is like that.
Thank you for visiting Apple Support Communities.
Nubz -
Exposing an RFC-Enabled Function Module as a Callable Object
Hi All,
I'm creating a GP Process based on the Exposing an RFC-Enabled Function Module as a Callable Object Tutorial. I'm using the error handling through a structure, the RFC works perfectly when I run it in test mode and the RFC doesn't retrieves exceptions at the structure, but when an error/exception must be returned at the structure, the test is showing this message (and also is not returning any error at the structure):
"Process exception occurred" and "Callable object implementation did not return output parameters".
What can be happening?
I'll appreciate a lot your help, regards,
María Margarita MonteverdeHi,
Thanks a lot for your answer. My scenario is very simple :
1) the first callable object contains a web dynpro form where user can enter an ID, a name, and other informations
2) the second gets the output parameters of the first step and execute the BAPI_FLCUST_CREATEFROMDATA to add the row into the SCUSTOMER table
The problem is that no row is added. I can integrate BAPI wich allows to read data, but when I try to write (create or change) I cannot see any change.
Do you see my problem now ?
Regards,
Michael. -
Future support for using PL/SQL core business logic with ADF BC
We want to migrate our large Forms client/server (6i) application to ADF, possibly using a migration tool like Ciphersoft Exodus.
One scenario could be to use ADF BC and ADF-Faces or a different JSF-Implementation for presentation and business layer but keep our heavy PL/SQL-businesslogic inside the Oracle database in packages, triggers, functions and procedures.
This scenario could be chosen due to the huge amount of interconnected logic inside the database (10 years of development; no technical components; any package may access any table and more of this kind of dependencies). The business logic nowadays held in Forms client will be moved mainly into the database as a prerequisite to this scenario.
Choosing this "keep-logic-in-DB"-scenario we need a good support by ADF BC to do so. We know and prototyped that it is possible to call some PL/SQL via JDBC from ADF BC and it is possible to use stored procedure calls for standard business entity data access (ins, del, upd, ..). But this does not solve our problems. We want to reuse core business logic coded in PL/SQL. This is much more than change the ADF standard behavior for an update with an own PL/SQL-call.
Now my question:
Will there be a kind of sophisticated support to use ADF BC in combination with database-kept logic?
If so, when will this happen and how will the common problems of transactional state inside the database and inside the ADF BC be solved? Any plans or ideas yet?
Many other clients do have similar applications built in Forms and PL/SQL and would be glad to hear about a path of direction.
I've read the technical article 'understanding the ADF BC state management feature' which you have contributed to. One current limitation is pointed out there: Using PL/SQL with ADF BC limits ADF AM pooling to 'restricted level' which reduces scalability.
Are you aware of additional main problems/tasks to solve when using PL/SQL heavily with ADF BC, which we have to think about?
Thank you for any response.
IngmarMy main problem is two 'concurrent' areas holding state in an application system based on DB-stored PL/SQL-logic in combination with ADF BC.
For a new System everything can be made ok:
Sure, it is possible to build a new system with the business logic included in ADF BC only. All long-living state will be handled in the BC layer ( including support for UnitsOfWork longer than the webside short HTTP-requests and HTTP-sessions and longer than the database transactions.
For an old system these problems arise:
1. DB data changes not reflected in BC layer:
Our PL/SQL-logic changes data in tables without notifying the ADF BC layer (and its cache). To keep the data in ADF BC entity objects identical to the changed database content a synchronization is needed. BC does not know which part of the application data has been changed because it has not initiated the changes through its entity objects. Therefore a full refresh is needed. In a Forms4GL environment the behavior is similar: We do frequently requeries of all relevant (base)tables after calling database stored logic to be sure to get the changed data to display and to operate on it.
-> Reengineering of the PL/SQL-logic to make the ADF BC layer aware of the changes is a big effort (notifying BC about any change)
2. longer living database transactions
Our PL/SQL-logic in some areas makes use of lengthy database transactions. The technical DB-transaction is similar to the UnitOfWork. If we call this existing logic from ADF BC, database state is produced which will not be DB-committed in the same cycle.
This reduces scalability of ADF BC AM pooling.
Example:
a) Call a DB-stored logic to check if some business data is consistent and prepare some data for versioning. This starts a DB-transaction but does not commit it.
b) Control is handed back to the user interface. Successful result of step a) is displayed
c) User now executes the versioning operation
d) Call another DB-stored logic to execute the versioning. DB-transaction is still open
e) Business layer commits the transaction automatically after successful finishing step d). Otherwise everything from a) to e) is rolled back.
-> redesign of this behavior (= cutting the 1to1 relation between LogicalUnitOfWork and the technicalDatabaseTransaction is a big effort due to the big amount of code. -
Cannot use QuickTime functions in a plain C++ application
Hi,
Im new to QuickTime.Now i need to use quicktime7.1 SDK functionalities in my plain C++ application.Hence I started with a plain C++ application just to check whether i can access the quick time functions there.Im currently using Dev-cpp IDE for developing my application.
Given the sample code.
#include<iostream>
#include<conio.h>
#include<QuickTime.h>
using namespace std;
main()
int ver=0;
ver=quicktime_major(void);
cout<<"VERSION"<<ver;
getch();
The given program uses the quicktime function quicktime__major to get the version information.The function returns an integer value,which is the version of the quicktime installed.The function is declared with in the header quicktime.h.Hence i added the header file.
On Compiling,I am getting some errors in the main function as listed :-
main.cpp: In function `int main()':
main.cpp:9: error: expected primary-expression before "void"
main.cpp:9: error: `quicktime_major' undeclared (first use this function)
main.cpp:9: error: (Each undeclared identifier is reported only once for each function it appears in.)make.exe: * [main.o]
Error 1Execution terminated
I am getting so many other errors in the quicktime header files which i am not able to get resolved.Some sample errors are listed below.
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicting declaration 'kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: 'kATSULineWidthTag' has a previous declaration as
`<anonymous enum> kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: declaration of `kATSULineWidthTag'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicts with previous declaration `<anonymous enum>
kATSULineWidthTag'
[this same error is repeating for all the enum members in the header file ATSUnicode.h ]
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: redefinition of `OSStatus (*
NewATSQuadraticLineUPP(OSStatus (*)(const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const
Float32Point*, void*)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
Float32Point*, void*)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: redefinition of `OSStatus (*
NewATSQuadraticCurveUPP(OSStatus (*)(const Float32Point*, const Float32Point*, const Float32Point*, void*)))(const
Float32Point*, const Float32Point*, const Float32Point*, void*)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
Float32Point*, void*)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: redefinition of `OSStatus (*
NewATSQuadraticNewPathUPP(OSStatus ()(void*)))(void)'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: `OSStatus (* NewATSQuadraticNewPathUPP(OSStatus
()(void*)))(void)' previously defined here
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: At global scope:C:/Program Files/QuickTime
SDK/CIncludes/ATSUnicode.h:2578: error: conflicting declaration 'uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: 'uppATSQuadraticClosePathProcInfo' has a previous
declaration as `<anonymous enum> uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: declaration of `uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: conflicts with previous declaration `<anonymous enum>
uppATSQuadraticClosePathProcInfo'
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticClosePathUPP(OSStatus
()(void*)))(void)':
C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2580: error: redefinition of `OSStatus (*
NewATSQuadraticClosePathUPP(OSStatus ()(void*)))(void)'
Can anyone help me to resolve the above issues?
Thanks in advance,
SansAntoine;
There is a good KnowledgeBase at NI home page talking about that issue.
If you go to www.ni.com and type +ni-daq +run +borland at the search engine of the page, the second result is the link to the KB I'm referring to.
Hope this helps.
Filipe -
Cannot Use Rollover Functions With Templates
I'm surprised that you do not hear anything about this, but
if you create a template in Dreamweaver 8, your buttons will work
but you cannot use rollover effects. That stinks! Does anyone know
of a hack, plug in, etc. to get around this bug? It seems like i
always find the bugs for some reason.
Thanks for any help.They have always worked in every version from DW2 through the
current CS3,
which is what I am using.
Show me a child page where they are not working, please, by
posting a link
to one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"dsmflash" <[email protected]> wrote in
message
news:fakq86$6a$[email protected]..
> Well, something must be up with my version of Dream 8
because mine do not
> work
> and I have created my temps to the letter. So what
version of Dream are
> you
> using and how do you get rollovers to work? How can a
rollover effect
> work
> when the template is locked?
> -
Web Dynpro Component cannot be found in list when Creating Callable Object
Hi All,
I have created a web dynpro component and implemented the IGPWebDynproCO interface, after that I deployed it into the J2EE engine.
But in the step of choosing the web dynpro component as a callable object, I cannot find the one I created.
Any suggestion or idea?
Thanks,
YiNingHi,
Check out these links :
-> Composite Application Framework Tutorial Center
SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
->Creating a Callable Object: Composite Application Web Dynpro Component https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ac4c81d1-0c01-0010-adb0-bb14220343c2
Regards,
Indu
Edited by: Indu Garg on Feb 28, 2008 12:33 PM -
Our users are experiencing a problem where they cannot bring up the find/search bar. We do use a customized installation using a MST file, but there is no option that we are aware that disables the find/search function.
We have tried pressing CTRL+F or going to menu>edit>find, but do not get a search bar.
Was wondering if anyone out there is having the same problem or has a fix?
We are currently running the latest version of Adobe Reader X 10.1.1.Just a bit of more information, not sure if its related, but our users are all running Windows 7 64bit desktops. I'm attaching screenshots of the transform/MST file with the customization we have set.
Here is also the command line we use to deploy: "msiexec.exe /i "AcroRead.msi" ALLUSERS=1 /q /norestart TRANSFORMS=acroread.mst"
Maybe you are looking for
-
Cannot send email using mac mail and yahoo att
I recently was hacked and changed my att yahoo password and security questions. I got a confirmation email about this but not about changing the password. I can receive mail, but not send any. All my settings in preferences seem to be correct. The TL
-
How do you install OS X on new harddrive????
I am considering upgrading my 250 GB harddrive to a 500 GB harddrive. This is the first time I'll be changing out a HD on a laptop. All my previous macs have been desktops and was easier to install a new internal HD. I know that I should back up all
-
Unable to install SDK Navigator at the developer portal
Hello, When I click on SDK Download, and select the recommended SDK Navigator nothing happens. I can download the SDK contents zip fortunately but I liked the navigator. The SDK Navigator is essential because it has the Room Console.
-
Hi Gurus, my company manufacturing based on ETO (Engineering to Order). we have created Production order now in work shop the start to build.but suddenly my client request to change few changes in assembly parts. so my engineers created new Assembly
-
Encore authored DVD displaying wrong audio track language info
Authored a number of DVDs using Encore CS6. Some play fine and some show incorrect audio track language info when played back on a DVD player even though they are programmed correctly and the same as the ones playing correctly. Has anyone else encoun