Insert Activity in OSB
Hi,
I couldn't able to use insert activity in appending some xml node to my out varaible. It is more confusing between Expression and XPath.
Any inputs on this really appreciated
Thanks & Regards
Venkata Madhu
From the doc -
Insert the result of an XQuery expression at an identified place relative to nodes selected by an XPath expression.Please refer section "22.19 Adding Insert Actions" at -
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/proxy_actions.htm#i1238526
Suppose you have a variable "var" which has content like -
<name>
<firstName>Anuj</firstName>
</name>
Now if you want to add another node after <firstName>, say <lastName> then use insert action like -
Insert <lastName>dwivedi</lastName> as last child of . in var
Remember there is a dot (.) in place of Xpath which refers the top node of variable $var
So after insert action content of var will be like -
<name>
<firstName>Anuj</firstName>
<lastName>dwivedi</lastName>
</name>>
Regards,
Anuj
Edited by: Anuj Dwivedi on Mar 21, 2011 7:45 PM
Similar Messages
-
Trying to do a insert activity and fire a skill buildmodal window on butt
I am trying to do insert activity on my form..so for that button action type is ..submit form... withdatabase action as insert..
While i also need to execute a modal window trigger.. so then the button type action needs to be redirect to url ..
How can i get it accomplished on same button....
I also tried the following
made the button ..as redirect to url..
and wrote dynamic action ..
1 Plsql code .. insert into table_x (a,b.c) from (:a,:b,:c) page submit (:a,:b,:c)
but after i close the plsql cod e the page submit fields become a,b,c
and then this part of code donot exist
while the second dynamic aciton is on
modal window..
When i do this buttacion acction type is redirect to url..
I tried this method and it fails..
How can we get a button to do .. Both submit a form for insert activity and also ...redirect a url to execute a skill builder modal window
Edited by: susf on Jun 22, 2012 7:15 PMjust got it sorted..it was issue of me adding :empno , etc in sumbit..
I should not be adding ':'...
page submit (:a,:b,:c)
it should have been page submit (a,b,c)
Edited by: susf on Jun 22, 2012 7:51 PM -
hi,
there is a catch and catch all activity in BPEL.
is there any catch or catch all activity iin OSB??There is nothing like catch/catch all in OSB. OSB uses Error Handler's at various levels (System, Service, pipeline and stage) in message flow to handle error's. Error's which can not be handled at lower level error handler's, get propogated to higher level error handlers.
The error handler at the stage level is invoked for handling an error in stage; If the stage-level error handler is not able to handle a given type of error, the pipeline error handler is invoked. If the pipeline-level error handler also fails to handle the error, the service-level error handler is invoked. If the service-level error handler also fails, the error is handled by the system.
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1040161
Regards,
Anuj -
Adding alert activity in OSB message flow urgent
hi,
i added an alert activity in my OSB proj message flow to monitor the process . after deploying the proj in console, i gave inputs. but i am not able to see the alert in operations>dashboard>pipeline alerts . no alert has been written in dashboard.
i have mentioned the alert destination, for alert logging option i have selected yes. can anyone pls hlep he in this issue.
thanksDid you enable Pipeline Alerts in the Operational Settings tab of the Proxy? If yes, also select the appropriate level based on the Alert level you had set within the message flow.
Also check the in the SB Console > Operations > Global Settings , that the Enable Pipeline Alerting is selected.
Thanks,
Patrick -
Unable to insert Activity record
Hi, I am using the webservice to insert a new Activity record.
Step 1: I created a insert object with "ActivityNWS_Activity_Insert_Input",
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
WSOD_Activity.ActivityNWS_Activity_Insert_Input insActObj = new WSOD_Activity.ActivityNWS_Activity_Insert_Input();
WSOD_Activity.ActivityNWS_Activity_Insert_Output outputActObj = new WSOD_Activity.ActivityNWS_Activity_Insert_Output();
insActObj.ListOfActivity = new WSOD_Activity.Activity1[1];
insActObj.ListOfActivity[0] = new WSOD_Activity.Activity1();
..... assigning values to the fields .......
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Step 2: I call the function "Activity_Insert", it returns an "ActivityNWS_Activity_InsertChild_Output" object.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
WSOD_Activity.Activity prxySrvcActivity = new WSOD_Activity.Activity();
prxySrvcActivity.Url = GlobalVariables.mSession.GetURL();
prxySrvcActivity.CookieContainer = GlobalVariables.mSession.GetCookieContainer();
outputActObj = prxySrvcActivity.Activity_Insert(insActObj);
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
When I check the output object, most of attributes are empty, (include the end time, start time, status & type), but the ActivityID and Created By is filled with content.
Next I checked the webservice utilization from the SoD page, there is a insert record showing the transaction has no error.
But when I search the Activity module, I could not find any records.
When I tried using WSDL 2.0 and do the above again, I got the same result.
What's wrong with that ? Could anyone please help me ?I wounder if I should assign "" to the "ActivityId" when doing insertion or what else............
Has anyone tried this before ? -
Hi Guys,
What I know on Publish activity is that it will not wait for the end service reply and the code in proxy service will go ahead after publish activity.
Scenario I tested:
I created an FTP business service (binary format) and an FTP proxy service (polling file in a directory)
Inside the proxy there are only 3 activities:
1. Log message: Service Started
2. Publish to Business Service
3. Log Message: Service Completed
Now as I put a 50 KB file in the polling directory the time difference in 2 log messages is a few seconds.
It goes to more than 60 secs for a 16 MB file and more than 240 sec for a 50 MB file.
If the publish activity is a no wait activity, why the second log message not written with minimum time difference.
Thanks in AdvanceHi
Your understanding is correct that Publish works as fire and forget mode but you have to understand the threading model as well.
As per my understanding thread which you are using from your publish activity to write a file will not get terminated suddenly until it is completing its work. Publish activity will complete its work and then immediately it will terminate the thread, it is a single threaded model and that too the thread does not wait for any further instruction.
Your requirement is not clear as you want to write a file and at the same time you don't want your proxy to complete the work. Is it something you want your file to be written at the back end and you want your process to complete, then you have to find some means to generate an event which will be taken care separately. -
How to read message from Active MQ using OSB
Hi All
I want to read from Active MQ ( situated on another server) using OSB (11g). My condition is
Active MQ---> OSB---> DB Tables
I know how to use BPEL to do this but I need to use OSB to do this. Client which puts data to Active MQ also puts data ( like eventtype)to its header and on basis of header(eventtype) I need to route the message to proper tables. Please let me know how can I do this and if any step by step info is available for this ( I checked on many blogs but couldn't find any).
Thanks very much
Regards
GauravDid you try creating a MQ transport proxy service in OSB -
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/mq.htm#BGEFJHAF
Regards,
Anuj -
How to pass parameters to servlet with POST with Business Service OSB
Hi all.
I am newby in OSB. I am trying to send some values through a POST call to a servlet. I know how to call the servlet with Business Service of type "Messaging Service". I send the parameters of type Text.
I have tried several ways, but I don`t find the proper way yo do it. I have tried to insert the param into the body and into the header.
The problem is that I don`t know exactly where to put them, I don`t know if it must be done in the header or in the boy. I neither don`t know if there is a common way to do this.
Please, could you give me a good example of an insert activity to isert a post parameter inside the call?
For example: now I am using this one:
Expression => "accountType=test"
Location => as first child of"
XPATH => empty.
In variable => body.
Where do I have to insert this, in the body or in the outbounds?
I have followed this posts:
https://blogs.oracle.com/jeffdavies/entry/enhanced_rest_support_in_oracl
http://www.yenlo.nl/en/using-osb-with-rest/
Thanks a lot.Hi,
Please be carefull about passing values such as Strings or number that contains ',' .
using the way described above.
the best way is to pass an ID and then use a select Statement to get the other Values in the target page.
regards
MDK. -
How can I insert data in the request body of a proxyService ?
I have the following xq query, I have defined a variable called context and assign the value of the xquery bellow.
<ns:Kontekst xmlns:ns20="http://skat.dk/etil/2011/02/11/">
<TransaktionsID>{fn-bea: uuid()}</TransaktionsID>
<TransaktionsTid>{fn:current-dateTime()}</TransaktionsTid>
</ns:Kontekst>
Question. is it possible to include this as part of the request body ?You can do this using the "Insert" action of OSB.Try and let us know.
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/tutorial/tutTransform.html#wp1068641 -
Creating Activity object for a Service Request object...
<b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
drangineni
New Contributor
Ho do we use Activity object of a Service Request object. I am trying to
create an Activity object for a existing Service Request object.
I am looking for some sample code.
I greatly appreciate your help.
Product: CRM OnDemand
11-26-2006 12:40 PM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
drangineni, What programming language are you using?
BS
12-04-2006 10:56 AM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Hi, I am using C# .
12-04-2006 07:40 PM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
drangineni, assuming you know the service requestid or externalId of the
Sr you are dealin gwith you would first set that value.
ServiceRequest1[] objSRList =new ServiceRequest1[1];
objSRList[0] = new ServiceRequest1();
objSRList[0].ServiceRequestId = <YourSRId>;
Then you create an array of activities and initialize the first one:
objSRList[0].ListOfActivity = new Activity[1];
objSRList[0].ListOfActivity[0] = new Activity();
Now set the data fields
objSRList[0].ListOfActivity[0].Subject ="My Subject";
objSRList[0].ListOfActivity[0].Description ="My Description";
objSRList[0].ListOfActivity[0].Display = "Task"; //valid values are either
"Task" or "Appointment"
Then call the ServiceREquestInsertOrUpdate method on the ServiceRequest
WebService and pass in the above variable.
BS
12-06-2006 12:36 PM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Thank you BigSlick.
The following error is thrown when I use the
ServiceRequestInsertOrUpdate(objInput)
"No user key can be used for the Integration Component instance 'Service <br/>
Request_Action'.(SBL-EAI-04397)"
When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
thrown and the Activity gets added, but a new Service Request object is
created, but the Activity gets added to an existing Service Request
object. I greatly appreciate your help.
The following is the code:
int ActivityLength = 0;
WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
WSOD_ServiceRequest.ServiceRequest1[1];
ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
ServiceRequest[0].ListOfActivity = new
WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
ServiceRequest[0].ListOfActivity[ActivityLength].Description =
this.txtDescription.Text;
ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
WebSelfService.WSOD_ServiceRequest.ServiceRequest();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
objInput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
objOutput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
objInput.ListOfServiceRequest = ServiceRequest;
Session objSession;
objSession = (Session) Application["Session"];
prxySrvcRequest.Url = objSession.GetURL();
try
objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
catch(Exception e)
12-09-2006 09:53 AM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Thank you BigSlick.
The following error is thrown when I use the
ServiceRequestInsertOrUpdate(objInput)
"No user key can be used for the Integration Component instance 'Service <br/>
Request_Action'.(SBL-EAI-04397)"
When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
thrown and the Activity gets added, but a new Service Request object is
created, but the Activity gets added to an existing Service Request
object. I greatly appreciate your help.
The following is the code:
int ActivityLength = 0;
WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
WSOD_ServiceRequest.ServiceRequest1[1];
ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
ServiceRequest[0].ListOfActivity = new
WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
ServiceRequest[0].ListOfActivity[ActivityLength].Description =
this.txtDescription.Text;
ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
WebSelfService.WSOD_ServiceRequest.ServiceRequest();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
objInput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
objOutput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
objInput.ListOfServiceRequest = ServiceRequest;
Session objSession;
objSession = (Session) Application["Session"];
prxySrvcRequest.Url = objSession.GetURL();
try
objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
catch(Exception e)
12-10-2006 08:49 AM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
Ah yes, I forgot you also need to specify a unquie Id for the activity.
It's kinda strange.
Try adding this:
ServiceRequest[0].ListOfActivity[ActivityLength].ActivityId = "DummyId";
//OD will overwrite this with a real Id
Or if you have a unquie ID for your Activities you can use:
ServiceRequest[0].ListOfActivity[ActivityLength].ExternalSystemId = <Your
Unique Value>;
Hope that helps,
BS
12-11-2006 10:52 AM
Re: Creating Activity object for a Service Request object...
surgientweb
New Contributor
Hi all,
I have a similar problem, but mine is returning a message that field
"Display" is required. Looking at this post and the documentation it is
obvious that Display is a required field, but my WSDL did not include a
field called "Display", so my proxy did not generate one.
I tried adding a field called Display to the WSDL and the proxy class, but
I get a different error... I figure I maybe cannot add it manually like
that - but I think the bigger problem is it is not part of the WSDL that
Siebel OD generates for me in my admin account.
On top of that Display is not shown in the list of fields for Activity
through the admin interface.. is it possible my account is bugged? Am I
missing something simple here? BigSlick, I see you mention a .Display in
your code sample so I thought you might understand what is wrong. Here is
my code (I am trying to add a activity to a lead).
Thanks for any insight into this!
private void InsertLeadActivity(Session session, NameValueCollection data,
string leadID)
try
if (blnDebug)
Response.Write("Setting up Activity<br>";
// instantiate the proxy service
Activity_Service.Activity activityProxy = new Activity_Service.Activity();
// set up the target URL
activityProxy.Url = session.GetURL();
activityProxy.CookieContainer = session.GetCookieContainer();
// set up input argument
ActivityNWS_Activity_Insert_Input input = new
ActivityNWS_Activity_Insert_Input();
input.ListOfActivity = new Activity1[1];
input.ListOfActivity[0] = new Activity1();
if (blnDebug)
Response.Write("Getting Data<br>";
// dg note: name value
// input.ListOfActivity[0].MrMrs = data["MrMrs"];
input.ListOfActivity[0].LeadId = leadID.ToString();
input.ListOfActivity[0].Description = DataToString(data);
input.ListOfActivity[0].Subject = "Website Submission Activity";
input.ListOfActivity[0].Priority = "3-Low";
//input.ListOfActivity[0].DueDate =
DateTime.Now.AddDays(7).ToShortDateString();
input.ListOfActivity[0].Owner = this.defaultLeadOwner;
input.ListOfActivity[0].Type = "Call";
//input.ListOfActivity[0].Display = "Task";
input.ListOfActivity[0].ActivityId = "DummyId";
input.ListOfActivity[0].ExternalSystemId = "web";
activityProxy.Activity_Insert(input);
catch (Exception exInsertActivity1)
if (blnDebug)
Response.Write("<br>Error inserting activity.<br><br>" +
exInsertActivity1.ToString() + "<br>";
01-06-2007 05:05 PM
Re: Creating Activity object for a Service Request object...
surgientweb
New Contributor
Figured it out.. the field "Display" is also known as "Activity"........
Here are some notes for other people.. good luck and feel free to write me
at raskawa-at-gmail-com if you want a code sample.
Some unpublished nice to knows for Siebel On Demand Activities....
In summary:
- .Activity is also known as Display in documentation and on the error
messages coming back from the WS. Also, it appears based on these boards
some people actually have a .Display field. Maybe different accounts
generate different WSDL's.... buggy.
- If a error message is thrown saying "Description is required" it really
means "Subject is required" (make sure .Subject has a value)
- If a error message is thrown complaining that ActionType is not right..
that is really .Type.. make sure it's lookup value is valid for the
dropdown values in your CRM OD system.
My code/values that worked..
input.ListOfActivity[0].LeadId = leadID.ToString();
input.ListOfActivity[0].Description = DataToString(data);
input.ListOfActivity[0].Subject = "Website Submission Activity";
input.ListOfActivity[0].Priority = "3-Low";
//input.ListOfActivity[0].DueDate =
DateTime.Now.AddDays(7).ToShortDateString();
input.ListOfActivity[0].Owner = this.defaultLeadOwner;
input.ListOfActivity[0].Type = "Call";
input.ListOfActivity[0].ActivityId = "DummyId";
input.ListOfActivity[0].ExternalSystemId = "web";
//input.ListOfActivity[0].Display = "Task"; //doesn't work
input.ListOfActivity[0].Activity = "Task"; //does work.
01-06-2007 05:17 PM
Re: Creating Activity object for a Service Request object...
raskawa
First Time Contributor
Hi,
This is surgientweb (under my own login now..)
Anyway, I wanted to add that I figured out that there are two ways to add
a Activity to a Lead. Via the Lead object (by getting a ListOfActivities)
OR by creating a Activity directly and just adding your "LeadID" to it (or
you can also add a "ContactID" to relate the activity to a Contact.)
Feel free to email me for a code example (raskawa....at....gmail)
-David
01-09-2007 02:58 PMHi Stephane,
You can definitely read the categories using Tables in CRM. The logic is a bit complicated though.
Use the following steps to retrieve Categories using Std. CRM Tables:
1. Pass transaction GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
2. Now you need to concatenate these 3 fields values carefully like this:
CONCATENATE lv_catelog lv_codegrp ' ' lv_code into lv_category1.
Remember there are 4 spaces between lv_codegrp and lv_code.
3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
4. Pass this lv_objguid in field OBJ_GUID and LNK_TYPE = 'IS_CODE' in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
Remember this lv_cat_text is the text value of your last level of category of transaction.
6. To get its upper cateogry level value, simply use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
Hope this helps.
Thanks
Vishal -
I have an old iPhone 3S, that was used with Bell. My friend lost her phone and I lend her this one, which she unlock to use with Rogers. I got it back and want to use as an iPod not the phone, but when I connected to iTunes I am getting this message: "There is no SIM card installed in the iPhone you are attempting to activate. Please diconnect and insert a SIM card".
I went to Bell and Rogers where we tried inserting active cards but message never changed.
On the phone itself I am able to get wifi but finish with "Your phone could not be activated because the activation server is temporary anavailable."
I run diagnostic from iTunes:everything is working properly, only message out of normal is "iTunes is not running in safe mode"
How can I sinc this phone with iTunes, so I can use it to lisen to music?
Any help will be apriacietedI can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
Yes, my friend unlock the phone to use with Rogers but I don't know where -
Hi,
Recently I got my Iphone unlocked. Earlier I was using it on ATT n/w. After unlock i am using it in India with a service provider here.
The problem that I am getting is, the phone was able to pick up the network and am able to make calls and messages. Data plan is still to be activated so cant confirm on that, but all the apps that were there on my phone got wiped out on its own. Since I wasnt sure as to what happend, so I reinstalled the apps today morning. I saw the apps getting installed and then left to get ready for my office. after nearly 30 mins I saw nothing was getting syncronized so disconnected the phone and left for Office. On reaching office when I checked for my usual Apps, I could see only the apple apps and none other available there. Need to know whats the issue and how to resolve it. Please can someone help me on this?I can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
Yes, my friend unlock the phone to use with Rogers but I don't know where -
How to use For Each execution in OSB
hi all,
I'm confused about the 'For Each' action in OSB. Now, I have a variable('max') which equals to 3 , and I wanna to use For Each action to perform a loop execution, something like for(1 to 3)--
The code is like below:
For Each variable 'value' of variable 'max' ,
Do{
Assign value to variable tempMsg;
Service Callout to PS with tempMsg
What I think is the 'value' should be increased from 1 to 3 itself, and the service callout should be performed by 3 times with '1', '2', '3'. However, it's not, the service callout action was performed once with the value of 3, just like the 1 and 2 were overwritten.
Any idea?Using 'For Each' activity in OSB
Thanks,
Vijay -
Activity Type ENGINE not set up for cost center
Hi all,
Currently, we have set up a work center in our system, which has the following intergration:
- Controlling Area --> TECH
- Cost Center --> TECH001
- Activity Type --> ENGINE
- Plant --> PN01
- Work Center --> PL01
Based on the above, the work center PL01 has the relationship of where Activity Type ENGINE and Cost Center TECH001 are linked together, where Cost Center is tied to Controlling Area TECH.
However, when a user tried to create General Task List (Trxn IA05), under Work Center PL01 and Plant PN01, and inserted Activity Type ENGINE in Operation item. It gives the following error:
Activity Type ENGINE not set up for cost center
I have also checked KP26 that everything is setup correctly.
Please can someone shed some light on the above?
Many thanks and regards,
Patrick
PS: Full point guaranteed for helpful answer.Hi all,
I have solved the issue by changing the Start Date of the Work Center. Now everything works well.
cheers,
Patrick -
How to validate data in proxy service of OSB ?
Hi,
I am in a situation like I have a proxy service with Request data and I want to validate it. If like email fields is not having @ sign character the service doesn't call business service. If validated then call the business service .
Thanksyou can use the validate activity in osb to validate the input message
http://biemond.blogspot.com/2009/04/xsd-validation-and-exception-handling.html
in your xsd add a regular expression for the email field
for example something like this :
http://agilior.pt/blogs/rodrigo.guerreiro/archive/2008/11/14/5965.aspx
Maybe you are looking for
-
Not getting empty tags in XML output
Hello, I am using DBMS_XMLQuery.getXML function and cusor function in my select statement to generate XML documents. If the column value is null, the XML document is not generating a empty tag. How do I generate empty tags? My query is :- SELECT MSG_
-
Iphone 5 doesnt display contacts when connected to car
My Car doesnt display my contacts in my phonebook when connected via blutooth to my car??
-
Hi All, Is there any FM/BAPI for creating a sub-order(IW36) for a work order. Regards, Sasi
-
Using iPhoto on external HD- bootable copy
I've used super duper to make a bootable copy of 10.6.4 on an external HD. If I want to delete my iPhoto library on my MBP to free up some space, can I just use the iPhoto on the bootable copy as my iPhoto Library? I launch iPhoto and press option an
-
Hi all, I have a RAC database 11GR2 with 2 nodes. I backup database via RMAN and catalog. My catalog is stored in this database. Could you explain me how to create a second RMAN catalog on another database (on another host) ? Thanks !