on 2015 Jul 08 10:21 AM
Dear,
client is on SAP BPC NW 10 , SP12 .
They have two datamanager packages which execute a script logic, from within the currency conversion is called in both logics.
Both packages are scheduled to run in a process chain, using the ZUJD_TEST_PACKAGE program to execute the packages.
When the package is executed from the scheduled process chain, it gives an invalid error related to work status - but the user executing
the package should be able to change the data.
When the package is scheduled from BPC, it succeeds and data is changed. When the process chain is executed synchronously , the package also succeeds. It seem only to give the work status error when it is launched with a job.
Anyone encountered this issue ?
Request clarification before answering.
First of all, what changes did you make to standard program UJD_TEST_PACKAGE?
Second, take a look at OSS Note 2151113 which says that sometimes user who is executing that program can be mixed up with user listed in in program parameter. Please also check what is the user ID listed in the job and user ID in that particular step.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Vadim, but that does not make any sense to me.
First of all , we were able to write data to the 'locked' region with script logic when executing the package from the front end.
Secondly, what do you mean with "locked". Because when configuring a work state, you will specify for the permitted data entry methods for data manager, journals, manual entry, comments and documents. When the "data manager' does not apply to script logic, when is a region then locked for script logic ? Manual entry ?
This is very confusing 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, may be I have concentrated too much on "locked" and not on manager/owner.
About methods:
If we are talking about DM package with the chain to launch script logic - then yes, DM "locked" will prevent any writing by script logic in DM package to the locked region.
By the way, default.lgf script logic executed after data send by input form or journal will be treated as MAN or JRN
Vadim
Hi Wouter,
"two datamanager packages which execute a script logic"
Packages executing script logic are unable to write data to the regions locked by work status! No way! The different results you have may be due to different parameters (scope, etc...) for script logic packages launched in different ways.
Please investigate the issue and provide logs and screenshots!
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure,
but that's the problem. The data region is not locked for the user executing the package. So the user should be able to write data to the data region.
It indeed does write data to the data region when the package is executed through the process chain synchronously. But it does not when the process chain is executed as a job.
"So what you are saying is the the permitted data entry method for data manager does not apply to script logic ?"
Looks like you are mixing 2 things - access control by security settings per user and work status settings! In order to set work status for some region the user has to be properly configured (as manager/owner). But after work status is set then write result is independent of user performing write!
"But again I have to repeat , the package writes data when it is executed from the front end on this data region." - you have to demonstrate it in details using logs and screenshots!
Vadim
Hi,
I think we should consider two possibilities why the behavior is different when the package is submitted from BPC DM and when from backend.
For most packages, when submitting from DM there is an option to ignore work status. Could you confirm if that option is used? This option may not be available from server side or not set the same way.
The second thing to consider is as one of the other posters said is the user account that is used to run the package. In you screen prints you have BPC_Admin running the package from DM. I am assuming that BPC_Admin is dialog user, set up to execute BPC from the front end. Does this same user run the package from the backend?
I think the answer could be either one. I hope this helps.
Best Regards,
Leila
HI Vadim,
After think a little about this I think user has relevance because if work state allows only owner or manager update the data. In that case if user who is running the package is in the right role (owner or manager) then update can proceed otherwise it will get rejected.
Regards,
Leila
"I think user has relevance because if work state allows only owner or manager update the data. In that case if user who is running the package is in the right role (owner or manager) then update can proceed otherwise it will get rejected." - sorry, but absolutely incorrect!
Just to repeat my previous answers: if some region of data is "locked" by work status then nobody can write to this region using script logic.
Vadim
Hi Wouter,
Are those data been locked via work status?
Maybe your username have access to modify/access data in a locked state.
Check whose username is used in the process chain when running the packages.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.