Create quotation through cost of service activities in cj20n?
Dear PS Experts,
Can anybody please guide how to use DP 81 for creating the quotation? We have service activities in cj20n.We have PR generated and planned cost through these activities.No matarials are there in Project. WBS has allredy been assigned to the Inquiry. Now my question is how to Link these services in DIP profile? In material Determination TAB of the DIP when i put this service no. it throws the message that it dosent find it in "MARA' Table.
Thanks in Advance,
Ramakrishna
Hi Sanjeev,
Can you please elaborate meaning of service code.Is it the service no. what we have created in AC01 or something else. why because this no. is not accepting by the system in material determination TAB of the DIP.
An assistance in this regard is Highly appreciated.
Thanks
Ramakrishna
Similar Messages
-
Creating quotation through bapi
hi all,
I have created a Quotation using a bapi using 'BAPI_QUOTATION_CREATEFROMDATA2'.
It is giving me the quotation number but when i put that number in VA22 a message is displayed stating that there exits no that quotation number.
I am also getting a warning in the return that the quotation is not complete.
Please help me in this context.
Regards,
nandamHi Kiran,
There are certain BAPIs where the numbers are alloted even in without_commit mode.
Chk if the without_commit mode is set to false.
If yu get a warning that quotation is incomplete it is obvious that your quotation has not been created. a number allotment isnt a guarantee that the quotation has been created.
Regards
MK -
Create Attachment through Generic Object Services (BC-SRV-GBT)
Hello experts,
I have one question about a storing of document in this functionality. As you know there are several ways of storing a document to some object.
1. Using the menu: "Create - Create Attachment"
2. Using the menu: "Create - Store Business Document"
In the first case the document will be saved in SAP Database (Please correct me if I mistake). In the second case an optical archive must be connected to the SAP System. Can I use an optical archive in the first case?
PS. When I use the second way I don't see the name of document in the Attachment List. If use "Create - Create Attachment" - it is OK.
Thanks advance for any help.
Your faithfully,
Alekseev Aleksandr
Edited by: Aleksandr Alekseev on May 5, 2008 6:05 AMHi Friend,
You have posted your query in wrong forum.
Pls post your query in BPM and Workflow Forum. -
Project Costing for Creating Quotations and Man power planning
Hi All,
I need advice about the following issues:
1.I need to do costing for projects so that i can create quotations.
Some times i have Sales Enquiry and some times there is no enquiry.Also sometimes they create PRs rest they are directly issuing POs.
Pls suggust which cost planning i should do.if i am doing Network costing by assging the material componnets to various activitites,but if they dont prefer PR generation then what should i do.
2.The project are turnkey so lot of departments are involved so how i plan manower as lot of cost centers are involved but they want to plan the total manpower seperately,
MuzamilHi,
1. Costing for the Quotation: For you I recommend to go for the Easy cost planning option.
Please go through the following link:
http://help.sap.com/saphelp_47x200/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
2. For the workforce planning: you can carry out in SAP via capacity planning and if you wish to do it outside SAP then only the cost can be captured for the labour cost via activities in Project System.
Please see the link below:
http://help.sap.com/saphelp_47x200/helpdata/en/ed/b7853488601e33e10000009b38f83b/frameset.htm
For the configuration purpose:
http://help.sap.com/saphelp_46c/helpdata/en/3d/72369adc56d11195100060b03c6b76/frameset.htm
Reward points if found useful.
Revert back for any other questions.
Thanks! -
Hi,
We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
Regards,
SandeepHi Ajay,
Thank you for the quick update.
The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
Regards,
Sandeep Kulkarni -
Authorization for "Accept Quotation" Business Transaction in Service Order
Hello All,
I need of Authorization Control for doing "Accept Quotation" business transaction in Service Order.
Process goes as follows.
Service Order created with Planned cost components with DIP Profile
Service Quotation got created through DP80
Then, Accept Quotation will be done in Service Order
Release of Service Order
Execution, Billing, etc.,
Here, I want to control of doing "Accept Quotation" by only authorized people.
I couldn't find any suitable Authorization Object under I_VORG_ORD under field BETRVORG.
We can control that business transaction through User status. Is there any other standard object available to achieve this??
Hope I am clear in my query & looking forward your suggestions.
Thanks in advance.Maheswaran KD
Sorry, but I can't check at this client as we are not using CS processes.
Try popping into debug mode using "/H" and put a break-point on "authority-check" before continuing.
The program should now stop at all authorisation checks. See if any of these are suitable.
If not, then you may need to use a user-exit or BADI.
PeteA -
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 -
Raising Quotation through t-code dp81.
Hi Guys,
I am trying to create a Quotation through t-code DP81with reference to an Inquiry. I have configured the dip profile, given the wbs element in the Account assignment tab and given the DIP profile in the sales B tab of item and in the project profile.
My problem is: when I create the quotation with reference of the Inquiry it is taking the first material given in the Materiel determination of the DIP profile. It is not taking the material given in the Inquiry. I have even given the material in the Inquiry as a line item in the Materiel determination of DIP but I'm facing the same problem.
Please help me.
Thanks & Regards
SagarHi Srinivas,
The characteristics in the DIP Profile are:
Accounting Indicator - Character Relevant
Activity type - Character Relevant
Cost Element - Character Relevant and Material Determination
Material - Character Relevant
Object Number - Character Relevant.
Transaction Currency - Character Relevant
Unit Of Measure - Character Relevant.
Each Material has only cost element set and I have given different sets for each material.
The source is "Planned costs - Total Records.
I have given 2 materials A & B in the material determination. I have raised separate Inquiries for both the materials and assigned each inquiry to different WBS elements.
When I try to crate quotation with the inquiry of material A I have no problem. When I try to create quotation with the inquiry of material B, the quotation is taking the material as A in the quotation.
Please Help
Thanks & regards
Sagar -
Hello Experts,
I run DP81for creating quotation from the sales pricing which comes from the planned cost of my project.
Dynamic items are created based on the activity type. Eg: Junior consultant - 100 hrs - $10000,
Senior Consultant-100hrs-$20000
When I convert the dynamic items to quotation, each dynamic items are converted to each quotation line item.
I dont want this to happen because I am going to send quotation to my customer as services. Eg: Line item 1 - Implementation service - $30,000. I want all the dynamic items aggregated to one quotation line item.
How to do this? I have tried with "individual quantity not checked". I have selected Activity type as the characteristics.
Any thoughts would be great for me.
Regards
Srinivasan DesinghHello all,
To achieve this,
1. Check the check box - 'Product' in the DIP profile characteristics.
2. Configure the pricing in the item category of the service level material as statistical.
This will aggregate all the dynamic items into your Service level material in the sales order/contract and shows the value in the service level material.
Regards
Srinivasan Desingh -
How can i create a new usb connection (service) on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
but not the usb iPhone i used to have.
And when i try to add a new one i dont get a USB option.
can some one help me please??
this is how it looks (after the bluetooth PAN i used to have USB iPhone option)The question would be more appropriate in the Mac forums as it is not really related to the iPhone.
-
G/L account 59500140 cannot be created as a cost element
Hi Viewers,
When I try to do the KO88 Process order settlement i am getting the below error:
G/L account 59500140 cannot be created as a cost element
Message no. KQ119
Diagnosis
When maintaining the posting rules for passing on results analysis data to Financial Accounting, you entered a G/L account that is defined as a primary cost element in cost and revenue element accounting. This is not allowed. You must enter a G/L account in the posting rules that is not defined as a cost element.
System Response
The entry invalid.
Procedure
You have the following options:
Enter a G/L account for which no cost element is specified in Cost and Revenue Element Accounting.
You can change the message type with user-defined error management (transaction OPR4_KKA). What should be observed when you enter a G/L account in a posting rule that is defined as a primary cost element in Cost and Revenue Element Accounting? You need to define a CO account assignment so that the posting defined in the posting rule can be executed. You do this with transaction OKB9 (default account assignment) or OKC9 (substitution), or using the default account assignment in the cost element master.
I would like to know the GL Account 59500140 is a P&L Account. Is it correct?.
Please help me to overcome from this issue.
Thanks & Regards,
AswinExecute transaction code FSP0 and check whether the account is a P&L or a Balance Sheet. Nevertheless, you can only enter accounts that are not created as cost elements in customizing transaction OKG8. If you enter an account that is also a cost element, then you need to configure default CO account assignment using OKB9 or a substitution using OKC9. Please refer to the following SAP Notes.
https://service.sap.com/sap/support/notes/581296 -
How do I create a "document-centric" Web Service?
By document-centric I'm talking about receiving a SOAP message on the server-side, where the initial parsing and security processing (this aspect is very important) is performed but then allowing the developer to access the delivered "payload", i.e. the XML, and perform whatever mapping/processing that is required without automatically mapping to the "standard" auto-generated Java objects.
It is important that the client receives the "full" complex WSDL and can therefore generate their proxy classes with whatever tool (or language) that is appropriate.
On the server side we do not want to create hundreds (if not thousands) of Java Bean clases as we already have the legacy code to map XML to Java. The idea is that JAX-RPC only instantiates the SOAPElements that represent the "raw" message, or, if possible, doesn't instantiate any objects whatsoever.
I've spent many days now trying to find a single well-worked example for this type of Web Service without success - many, many references of the style "..and you can then create a document style web service.." but without the all important "how".
From what I've read a custom type-mapping and/or serializer/deserializer could be the answer but again no good, solid examples are forthcoming.
Another alternative seems to be to create the server side stub-classes using a "dummy" WSDL with the elements set to "anyType" but then distribute the "genuine" WSDL to the clients - we've got a simple example of the kind working but I don't like the idea of "tricking" the system in this way.
I'm working with WASD 5.1, which in theory conforms with JAX-RPC so any ideas offered here should also apply in that environment.
Has ANYONE successfully created a service of this type?
Any help with this issue would be very much appreciated and rewarded (with Duke Dollars of course).
Chris.Chris,
I too noticed that most vendors take the RPC centric approach. Its because most of the industry examples of how WSs were used were simple enough to implement using RPC and anything more (document literal) would add to the complexity of implementation. This is something that is feared by many developers, especialy the .Net crowd who seem to want everything done through a wizard menu interface and don't care about other WS implementations at all.
This is sort of changing. J2EE 1.4 is WS-I compliant, so when you compile server side ties from WSDL you can specify a document literal option and WS-I compliance. This gives you access to the SOAPElement objects. There's still issues with going between W3C DOM and SOAP elements but that's just API inconvenience, not a show stopper. As the inudustry develops more complex WSs we will see the vendors change their tools to better support this...
Anyway, some more help...
I use the the following wscompile options to build from WSDL for document literal WSs.
wscompile.bat -d . -nd . -s . -f:documentliteral -f:wsi -keep -model model.gz -import config.xml
wscompile.bat -d . -nd . -s . -f:documentliteral -f:wsi -keep -model model.gz -gen:server config.xml
My "wrapper" elements look like this...
<xs:element name="AComplexXMLResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="myNS:MYComplexXMLType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
If I do this:
<xs:element name="ASimpleXMLResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="AName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
I still get the JAXRPC language bindings to a string, but in my case I don't really care. This may well be different for you.
What I do to manage these elements is to split up the WSDL, WS wrapper element definitions and actual data XML schema definitions into separate documents. This means I have a WSDL which IMPORTS my message schema (this is where I define wrappers for in and out XML) which INCLUDES the actual DATA XML schema that I have.
The WSDL import looks like this:
<types>
<xs:schema>
<xs:import namespace="http://schemaURI" schemaLocation="./relativePath/WrapperElementSchema.xsd"/>
</xs:schema>
</types>
The wrapper element schema has:
<xs:include schemaLocation="./ActualDataSchema.xsd"/>
This way I can easily replace the wrapper documents with just anyType references if something doesn want to play nice. The data schema file and the WSDL stay the same. This minimises the impact on what you have to change in your distribution. This is important as the WSDL is often generated on the fly by your WS environment and so can not be easily changed once you build your WSs, but the schema files it references are easily changed without affecting your code.
Another reason for the wrapper elements was a JWSDP 1.2 issue (I don't know if this has been fixed in 1.3), where if you had the same method parameter signature in a web service (the parameters it took were the same XML types, for instance if you have an add and update methods for the same document input) JWSDP would get confused at runtime. It did not take account of the SOAP action that came along with the request to determine which operation to call. It just took the incoming XML, saw that it was of a certain type and it passed it to the first operation that took this element, which is VERY wrong. By using the wrapper elements, I could give all my input and output elements for each method different names (I used a naming stragegy that appended a 'request' or 'response' string to the method name to form a method parameter element name. This is a pain in the ass, but works and does wonders for interoperability with other WS vendors. Like I said before, I've got this working with JWSDP, BEA and .Net servers and clients.
Hope this helps,
If you think there is a real need for a public HOWTO on this, I could write one with a full step by step guideline that shows where I broke my legs getting this stuff to work. But this would eat into my sleep time :-/ TO JUDGE INTEREST I call on all people interested in a tutorial to respond to this thread (esp people involved with the JWSDP WS tutorial documentation). If I get 5 or more different people responding I will loose some sleep for the good of this community. Otherwise, I will just try to help you when I have time to read the forums.
Kuba -
"Create quotation for order" is not allowed (ORD 80000119 )
Hi,
After creation of service order I want to create quotation then system gives error massage as below,
"Create quotation for order" is not allowed (ORD 80000119 )
Message no. BS002
Diagnosis
The transaction 'Create quotation for order' is not allowed for ORD 80000119, because no status is set to permit it.
System response
You cannot carry out the transaction 'Create quotation for order'.
Procedure
You can carry out this transaction if you set a user status, which permits 'Create quotation for order'.
Thanks & Regards
kapilKapil,
Check the System status and user status of the order. Quotation can be created only before releasing the order (REL). or Any user status that may prevent creation of Quotation.
Babu -
i want to create org data profile in service scenario, with price determination from sales org, distribution centre , can any one help me with these
IF I CREATE SERVICE ORG WITH SERVICE SCENARIO ORG DATA PROFILE,
MY PRICING IS NOT GETTING DETERMINED AS IT IS LINKED TO SALES ORG AND DISTRIBUTION CHANNEL THROUGH PRICING DETERMINATION SO HOW TO DO THE CUSTOMIZATION FOR THIS SITUATION
WITH REGARDS,
SATHISHHi Satish,
Please assign the org det. rules to org det. profile with Sales and Service scenarios and then assign the org. det. profile to transaction type. The below screenshot is just for your reference.
Hope it would fix your issue.
Regards, -
Create Asset through WBS/Network
Dear All,
when we create a Asset PR through WBS or Network it is not Updating in Commitment cost, against PR i created PO and then did GRN, but it is not Updating in Actual cost also for the given WBS
So how to create Asset through WBS kindly suggest
Thank you,
Regards,
NaveendraHi
For commitment ans Actual Cost Updation please check you cutomization settings.
AUC (Asset Under Construction) gets created once WBSE Element is Released provided that Investment Profile is defined in Project Profile configuration.
Asset number get created after Full settlement of WBSE and Asset Completed.
Please check.
Swapnil Kharul
Maybe you are looking for
-
Before the recent updates to Firefox, when I would go to another page in the same window and then clickon the back button, Firefox used to bring me back to the same place on the page where I had been, but now it brings me to the top of the page, mean
-
Should the Edit in Browser link appear when Office Web Apps is read only?
Hi, We have deployed an Office Web Apps farm in read only mode for licensing reasons. There is a binding between SharePoint 2013 and the Office Web Apps farm, everything is working well, except the option to Edit Office documents using Office Web App
-
How to call different managed bean methods on a page template button
Dear All, Use Case: I have a Page Template and inside this page template is a popup screen which is common to all my pages. My popup has OK and Cancel button only. My question is this, there are lots of pages that uses this template. How is it possib
-
Designjet T790 color printing poor line quality
Good Morning, We have the HP Designjet T790 printer. Line quality is poor when printing color images (stepped and jagged). Line quality is ok when printing black only. I tried to change the settings to improve line quality and end up with a compresse
-
Web Dispatcher does not connect to J2EE..
Hi, The web dispatcher is not connecting to the J2EE anymore. This was working fine until i installed the SSL certificate on the J2EE engine. The dev_webdisp log file shows messages as below [Thr 4880] Tue Aug 28 14:56:48 2007 [Thr 4880] *** ERROR =>