SOS:Booking the course with activity allocation error
hi,everyone:
when we booking the course with activity allocation appear error message:
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 2007.07.04 09:39:57
Short text
The ABAP/4 Open SQL array insert results in duplicate database records.
错误分析
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "LSO_REFDOC_DBASE" "(FUNCTION)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
Missing RAISING Clause in Interface of:
Program Name SAPLLSO_HRTEM00REFDOC
Include LLSO_HRTEM00REFDOCU07
Row 1
Module type (FUNCTION)
Module Name LSO_REFDOC_DBASE
Trigger Location of Exception:
Program Name SAPLLSO_HRTEM00REFDOC
Include LLSO_HRTEM00REFDOCU07
Row 55
Module type (FUNCTION)
Module Name LSO_REFDOC_DBASE
Who can help resolve this problem,thanks'
Hi Paolo,
Thank you for answering.
I have indicated a sender cost centre + sender activity and receiver I 've tried a cost center and also an internal order.
I have the same data and I fill the same fields in the other client (the copy source) and it is working fine.
I am not sure that I understood what you mean by "the activation of activty type as cost object in your controlling area". Are you reffering to checkbox "Account Assignment: Activity Type Active" in OKKP? If so, the check box is not checked on the other client either. Also, I have never used this checkbox, but always have been able to allocate activities.
Lavinia
Similar Messages
-
I am facing some problems with ADE when tried to download my e-books and eventhen out of 30 e-books from "sample books" provided in ADE I tried all books but only 4 nos were downloaded correctly while I checked the working of ADE in my machine and I couldn't download the e-books of my study material is still pending, whenever I am downloading the books the ADE portal showing that (Error getting License, Line Server Communication Problem E_AUTH_BAD_DEVICE_KEY_OR_PKCS12). please help me and waiting for somebody's valuable suggestions
do you have a compatible os for the ade version you're trying to use?
ie, what os/what ade version? -
out of 30 e-books from "sample books" provided in ADE I tried all books but only 4 nos were downloaded correctly while I checked the working of ADE in my machine and I couldn't download the e-books of my study material is still pending, whenever I am downloading the books the ADE portal showing that (Error getting License, Line Server Communication Problem E_AUTH_BAD_DEVICE_KEY_OR_PKCS12). please help me and waiting for somebody's valuable suggestions
What I did was deauthorized and reauthorized my ADE, both the device and computer. It worked. I was able to download my books onto my e-reader. Here is a link to what I did Deauthorizing and reauthorizing Adobe Digital Editions 2.0 on your computer and your reader | Washington County Coopera…
I would think that it shouldn't matter if the ADE is 2.0 or 3.0. -
Hi ,
I have booked and followed up 10 participants but when i tried to do carry out LSO_PV18 activity allocation 5 participatns are missing , pleae let me know the cause for this issue.
Thanks
KumarHi,
Thanks for the response. We are not using Billing ,even it is not coming in lso_pv17.
The issue seems to be very strange , can some one please let me know if we have any authorization object's used for activity allocation.
Thanks
Kumar -
The question about activity allocation
business scenario:
1, The sole purpose is to capture costs, use KB21N for activity allocation.
Question: in WBS or netwok activity. there is no relevant work time.
Please explain me all the steps to be required.
Thanks in advanceHi,
I under stood as follows.
You want to capture actual cost in PS. For this you need to have Work centers.
Assign the same to internal actvities. Release the activity and confirm the same.
In SAP, Standard report, you get No hours Actuals, Planed... etc. Check in CN41, CN71 and execute the Project. Check the field selection, there you get the details you required.
Hope my understanding is correct.
Regards
N.Raju -
SAP LSO course date while booking the courses
Hi All,
We have a requirement as follows.
We have a course name as SAP HR Training , course date as 01.08.2014, no of participants as 25 and course sign on date(last date till which courses can be booked) as 23.07.2014.
The booking for a course can be done till the course sign on date and not afterwards.
Do we have any standard configuration settings in SPRO where we can find the course sign on date or any date which we can use to prevent the booking of courses after a certain date.
Thanks,
AditiHi Aditi
Please check if BADI LSO_CHECK_BOOKING can be of your help in this case.
Regards
Chetan -
Transferring the Cube with activation of some Nav Attribute
Hi , In Production system, I have a sales multicube which has data coming in from sales overview and sales history cube. Data is loaded from mARCH 2006 to Till date every day in 2 basic cubes "sales overview" and "sales history"
Question 1:I need to now avtivate "ship to party - postal code" which is there in two basic cubes but not checked so I now select the check mark in nav attribute "ship to party - postal code" for both the cube in development system. and same in mULTICUBE should I Transport 2 basic Cubes, and Multicube and All effected Queries or just the query in which change is requested.
Question #2 : How to reload all the data which is right now there in Production, If I transport the cube with changes from DevLOPMENT to Production will the data be deleted in Production. All Data is feeding in Cube from ODS so Can I just Transport the cubes in Production and Use Update data to data target in ods. will the data be reloaded in cubes by doing that. Data loaded is delta so please let me know asap what will be best way to make the change and also save the data that is right now there in cubes in Production. since i have to transport it from dev no changes allowed in production.Hope you will reply back soon. Thanks
alot
seerajHardeep,
You need to transport the Sales Overview cube, Slaes History, Multicube cube and modified Queries.
when ever you make changes like Making Navigational there is no need to delete the data. you just do one transport.
All the best.
Regards,
Nagesh Ganisetti. -
Problems with sending the Job_ID with activity EMAIL from a processflow
Hello everybody,
i have a problem with a simple process flow.
I want to send an EMail that contains in the MESSAGE_BODY the Job_ID from the started workflow. For that reason i wrote a function with a select statement that gives back the number.
Code:
l_owb_id VARCHAR2(20);
BEGIN
select to_char(top_level_execution_audit_id)
into l_owb_id
from ALL_RT_AUDIT_EXECUTIONS
where task_name = 'XYZ'
and created_on like sysdate;
return (l_owb_id);
END;
The function works fine. So i placed it into my workflow. Now i wanted to bind the MESSAGE_BODY from the activity EMAIL with the parameter of the function. But when i click validate it shows following error:
VLD-10042: Parameter MESSAGE_BODY of EMAIL is incorrectly bound. Output of cannot be converted into a constant value.
VLD-10042: Activity MESSAGE_BODY of EMAIL is currently bound to parameter GET_OWB_ID of .Activities must be bound through an intermediate variable
Can anyone help me how to fix that proplem. How can i send the Process ID per activity EMAIL in a Workflow. On the internet i didn't found anything helpful, so any help would be appreiciated.
Kind regards,
DanielYou need to create Variable and then bind the value from your function to that variable and than use that variable as parameter for email MESSAGE_BODY.
So you will have:
Variable: p_id
Return parameter of your function will be bind to p_id and message_body of your email will be bind to p_id. -
What the hell with activation?
I have just bought and downloaded an Adobe Editions ebook and install the ADE which wants me to activate my computer.
I enter the same user name and password I used to log onto this forum but all I get is this error:
E_ADEPT_REQUEST_EXPIRED http://adeactivate.adobe.com/adept/Activate
This is driving me crazy as I now have a book I have bought and cannot get this Adobe thing to open it!!!!
Please someone help....It means the clock is off on your computer. See http://kb2.adobe.com/cps/403/kb403936.html for details.
-
A short dump in the program with a certain error message...
Hi all,
I'd run a program to do an insertion into a customized table.
During the run, it popped up a short dump error messages below :
value larger than specified precision allows for this column#TC020 %M
I've search for that column #TCO20 .... and i couldn't find it in my custom table...
Why SAP gave such a hard description on the error found? I can't determine which field/column in my table that is causing the error dump during INSERT event in my program.
Is there any explanation on that message that could help me?
Thanks
William WilstrothHi,
Better u seee again where u r getting error i the code . still if u r not getting see in dump analysys(ST22) and select
no:8 -- which is source code extract where u can get correct error inf.
Plz reply me.
Regards
Durgaprasad. -
How to fix the Problem with activating the Software?
Hi Guys
I hav bought the new version of photoshop cs 6 und installed it. Now i have to put in the Product-Key, but it dosent works i tried many times but it didnt work
what i have to do now, because i have bought ther programm allready?Error "The serial number is not valid for this product" | Creative Suite
-
Clicking UWL opening page with "Activation Cancelled" Error
Hi ,
Im trying to click the UWL links, and its opening a seperate page with
Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
Can someone please reply what and where to do proper configurations to get the page displayed ??
Thanks
Souravhi gurus,
Can anyone pelase help me out !!
This is very urgent........
regards,
pinki -
How to restrict who can book a course in LSO 600?
We are using LSO 600. Is there a way to restrict only certain employees within an org to be able to book a course? I was thinking there may be a relationship that I can add at the course type or course so only one org can book the course. The desired end result will display an error message if someone outside of the org tries to book the course. Thanks.
Our requirement was to restrict employees based on employee group,.i.e., management, non management, external/contractor, affiliated etc... we created relationship(033) in hrp1001 between target group otype = 91 id = different id's for each group that i mentioned above.. to discipline/subdiscipline/coursetype etc.. In the login we classify these employees and in the initialization event of navigation/trainingtype.. call an RFC function module which will return all the discipline,subdiscipline, coursetypes etc... then just filter the discipline,subdiscipline returned by standard LSO function modules . It works perfectly fine.. if a contractor logs in and we navigate thru pages .. it will not display courses that they have no access based on relationship that we set in the backend.. for employees we gave full access etc..
sample code..
IF application->learnertype = 'P' OR application->learnertype = 'PT'.
*==get from cookie course type
CALL METHOD application->get_server_cookie
EXPORTING
im_relax = 'X'
im_name = 'LSO_RESTRICT_D'
IMPORTING
ex_data = d_restrict[].
*== if no restriction found, expired cookie.
IF d_restrict[] IS INITIAL.
*== Get restriction for course group/type.
CALL FUNCTION 'ZLEARNER_RESTRICTION'
DESTINATION application->rfc_destination
EXPORTING
learner_attuid = sy-uname
TABLES
d_restrict = d_restrict ( Coursetype)
l_restrict = l_restrict ( Course group)
EXCEPTIONS
not_found = 1
OTHERS = 2.
*==Set restrictions to cookie coursetype.
CALL METHOD application->set_server_cookie
EXPORTING
im_relax = 'X'
im_name = 'LSO_RESTRICT_D'
im_data = d_restrict[].
ENDIF.
*== IF no restriction found for coursetypes, should not display coursestypes
SORT d_restrict BY objid.
IF d_restrict[] IS NOT INITIAL.
*==Get restriction for affiliate employee.
READ TABLE d_restrict TRANSPORTING NO FIELDS
WITH KEY objid = trainingtype-objid
BINARY SEARCH.
IF sy-subrc <> 0.
CLEAR ls_return.
CALL FUNCTION 'ZBALW_BAPIRETURN_GET2'
DESTINATION application->rfc_destination
EXPORTING
type = 'E'
cl = 'ZP'
number = '945'
IMPORTING
return = ls_return.
APPEND ls_return TO err_message.
ENDIF.
ENDIF.
ENDIF. -
I have an orchestration published as a web service. It was working fine on our test environment, we deployed to production, and now getting this error. The website wouldn't go in the BizTalk MSI, so we copied the files. We reset the Authentication
to match the test system (we are using Basic Auth).
When we try to browse the webservice in the browser, it prompt for userid/password, we enter it, then it gives the following error.
I'm not even sure what it means by "base address", if URL was https://prod.mydomain.com/myapp/myservice.svc, would https://prod.mydomain.com be the based address? In the test environment, the URL is https://test.mydomain.com/myapp/myservice.svc.
In both environments, we have a customer calling this webservice.
Also, I don't know what it means "scheme http". We are using https:... on the URL.
I'm thinking this is either security related, something to do with the app pool being different, or maybe something to do with bindings.
Thanks,
Neal Walter
http://MyLifeIsMyMessage.net
Web.config:
<services>
<!-- Note: the service name must match the configuration name for the service implementation. -->
<service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
<endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
<!--<endpoint name="HttpsMexEndpoint" address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />-->
</service>
</services>
</system.serviceModel>
<system.webServer>
<security>
<authorization>
<remove users="*" roles="" verbs="" />
<add accessType="Allow" users="myCustomer" />
</authorization>
</security>
</system.webServer>
Server Error in '/eSecuritelIn' Application.
Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered
base address schemes are [https].
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the
code. Exception Details: System.InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https].
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using
the exception stack trace below.
Stack Trace:
[InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes
are [https].]
System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16582113
System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1
addBaseAddress) +1082
System.ServiceModel.ServiceHostBase.ApplyConfiguration() +156
System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +215
System.ServiceModel.ServiceHost..ctor(Object singletonInstance, Uri[] baseAddresses) +400
Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHost`3..ctor(IsolatedReceiverType isolatedReceiver, BizTalkServiceInstance serviceInstance, Uri[] baseAddresses)
+36
Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +533
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413
System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
[ServiceActivationException: The service '/eSecuritelIn/eSecuritelIn_OrchPublished_RepairEquipmentService.svc' cannot be activated due to an exception during compilation.
The exception message is: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]..]
System.Runtime.AsyncResult.End(IAsyncResult result) +901424
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.272When you want to migrate Web Applications from one environment to other there are multiple ways to achieve it.
1) Migrate in MSI- Export MSI and select the option for your Web Application, however I don't recommend this option
2) Is to browse the folder for Web Application(Right click on web app and browse). Copy this folder(normally within inetpub folder) and take it to the inetpub folder of other environment. Later from the IISManager create application.
Are you not using the same Binding file?
Check you web.config file and see if the endpoint is configured for mexHTTpBinding.
Old: binding="mexHttpBinding"
New: binding="mexHttpsBinding"
web.config snippet:
<services>
<service behaviorConfiguration="ServiceBehavior" name="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService">
<endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding"
contract="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService" />
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
Also look into the below article- How to fix: "Could not find a base
address that matches scheme http for the endpoint with binding WebHttpBinding" Errors
Moving to https = Could not find a base address that matches scheme
Thanks,
Prashant
Please mark this post accordingly if it answers your query or is helpful. -
LDAP realm with Active Directory
Hello,
In the sun one app server admin console i have set the security role to LDAP.
I have set up security roles in my web.xml such as this:
<security-role>
<description>This role represents administrators of the system, see actor administrators</description>
<role-name>administrators</role-name>
</security-role>
..and mapped the roles to groups in sun-application as follows:
<security-role-mapping>
<role-name>administrators</role-name>
<group-name>CMS_PM</group-name>
<principal-name>rlancett</principal-name>
</security-role-mapping>
My user and group information is stored in Active Directory so I have tried to configure the ldap realm in the admin console to get it working. These are the settings i have put in:
directory: ldap://earth.tier2consulting.com:389
base-dn: cn=Users,dc=tier2consulting,dc=com
jaas-context: ldapRealm
search-bind-dn: cn=administrator,cn=Users,dc=domain,dc=com
search-bind-password: ******
search-filter: sAMAccountName=%s
I get the error message :javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893
WARNING: va:850)
FINEST: JAAS authentication aborted.
INFO: SEC5046: Audit: Authentication refused for [administrator].
I am pretty stuck on this having looked arounds all the forums:
Has anyone got sun one app server using Active Directory to get user/group information for security roles?
Thanks.Howdy,
I don't have a solution to your problem, but maybe this tid-bit will help in debugging with Active Directory error messages. I'm new to AD, so excuse me if everyone already knows this, but...
The error message you get back from the directory contains an error code in hexidecimal:
LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893
If you translate '525' from hex to decimal you get '1317' which is the error message you can look up here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp
1317 - ERROR_NO_SUCH_USER - The specified user does not exist.
It took me a while to find this tip, so I thought I'd share it. Oh, and the easy way to get decimal from hexidecimal is:
System.out.println( "Here is 525 in decimal: " + Integer.parseInt("525", 16));
Okay, hope this helps somebody.
Now it's up to you to find out why it can't find the administrator!
Craig
Maybe you are looking for
-
Why doesn't my iPhone 4S take hi-res pics and HD video?
I have noticed that the pics that come out of my iPhone are onely about 115Kb in size and therefore very low resolution - it's suposed to be a 5Megapixel camera. The same goes for the video - supposed to HD, right? I only get 420 X 320 (or something)
-
Different button press behavior in Java 5 and 6
Hi, I upgraded the Java version from 5 to 6 and recompile my GUI application. All things look good except when I press a button that I set the ContentAreaFilled as false, the behavior is different. I have pasted my code of creating the button below.
-
Auto numbering Column id and filter this lookup id in another list based on status="active"
Hi, I am trying to autonumbeirng the column id with default column ID. But it is not reset if i delete the list item. Also i want this id in another column which have status="Active". How i will do this? Thanks in Advance. Roopesh
-
Captivate 7 Help for creating Variables and Results
Hi there, I'm currently trying to create a results page from the collection of the users selections in a survey that consists of radio buttons that would rate the users skills from 5 different levels starting from "unsatisfactory" to "Outstanding". W
-
Removing zeros from data stream
Hi I have incoming data (plz see attached diagram which shows the 2 states of the for loop '0' and default) which is a 1-D array of 64 bit real data .....it goes through the loop which removes zeros from the array. As I have 3 elements in the 1-D arr