Order Object
Actually When an Order object is created in atg White Running the Project
The creation of order object happens when ShoppingCart.current from JSP or OrderHolder.getCurrent() is called from java class.
If you first page in the jsp is referring the shoppingcart.current then OrderHolder.getCurrent() check if there is order is session otherwise it will create one.
Or it could be pipelineableServlets or your customized code would call this method, in that case order object is created.
Refer this post for more discussions on this:
Re: Order Object Creation
Peace
Shaik
Similar Messages
-
Creation of Order Object through DAF pipeline
Hi all,
Like how a transient profile object is created through DAF pipeline in the ProfileRequestServlet, i know there is an order object also created like profile, but i want to know which RequestPipeline is creating it????Hi,
Transient orders are not created by the servlet pipeline. The closest analog in the servlet pipeline is that CommerceProfileRequestServlet for an auto-login only, will load an existing order on the profile, thereby creating an OrderImpl object in the session for that order.
Transient, new orders are created by any reference in your page code to ShoppingCart.current (OrderHolder.getCurrent() call in the code). For a registered user, this will only happen if that user has no current order from a previous visit, but for anonymous users (if anonymous users and orders are not being persisted), this will tend to happen with any new visit (after the previous anonymous session has timed out) as most pages on a commerce site do reference ShoppingCart.current.
Both of these behaviors are perfectly correct and necessary for ATG Commerce to function. No attempt should be made to prevent them. If you believe any of this is causing a problem for your site, you should post a thread about that problem itself, and I'm sure there will be suggestions as to how to avoid it.
Thanks.
Nick Glover
Oracle Support for ATG Products -
Problem with document_lines in the sales order object
Hey all,
i have a question refering to the document lines object from a sales order, or an invoice! When i add a line to the document, is there a possibility to get information if the line is correct or not? now its only possible, when posting the sales order or invoice, but that is to late! when i now post a sales order i get for example the error that the item number is missing! but i have add the correct line with itemCode etc.
thanx for your help:)
MaggieHi Maggie,
Unfortunately there is no way of getting information about the correctness of the line until you add the sales order.
If you create the sales order object one line is always present, so for the first line you must NOT do an add, only before the next lines.
Regards
Ad -
ABAP OO sales order object - how to attach link to VA03
I'm trying to build workflow using ABAP Objects instead of BOR. I created custom object for sales order according to blog "Getting started with ABAP OO for Workflow using the IF_WORKFLOW interface". It works correctly in my workflow but I would like to attach link to "browse sales order" (VA03) to workflow step. When using BOR I can attach link my binding BOR objest to AdhocObjest step container element. The same way does not work for ABAP OO object. The error message is "The object categories 'CL' (source) and 'BO' (target) are not compatible".
Is there any way to add this link to attachments when sales order object is OO not BOR?At least make sure that you have a default method 'browse' in your class. I mean that make a method for "displaying" or "browsing" or whatever you want to happen when you click the object, and make it default. OR actually if I remember correctly there is a default method existing already, but put your code to there.
Also try this:
-Create a container element of type 'sales order' into your task
-Bind the sales order object from workflow to the the task
Regards,
Karri -
Create Notification Navigation Button not working in Order Objects Tab
Hi Gurus,
I am having an issue in Order --> Objects tab. I want to create notification for additional technical objects for the order. When I enter the technical object details and press enter, a "Create Notification" navigation button gets activated for that line item. But when I press that button, nothing happens. On the other hand if a select multiple line items and then press "Create Notification" button at the bottom of the line items, I am able to create notifications for the selected line items.
Can someone help me suggest what can be the problem or suggest a Note which might restore the functionality of the "Create Notification" navigation button at the line item level.
Thanks in advance for the help.
Best Regards
Vikas HaliVishal,
I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
Regards,
Usman -
ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method
Simple interface between two schemas in the same oracle database (10g)
I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
Integration task fails on
ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
I just can't find anything about this error.
I'm stuck :-(I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
Is there any way to learn ODI to not to compare by XMLType field? -
Internal Order , object class related issue
hi
when i created internal order with the object class (Assignment Tab) :- Investment and not specified any assignment like (cost center ) i am able to view line items posted to internal order by transaction KOB1
but if i am selecting object class as Overhead and not specified any other assignment like (cost center )i am not able to see actual posted line items . so How we will get this line items ?
is there any other transaction available ?
Thanks in advance
sachinHI,
I can view real actual postings for order object classes "Overhead costs, Investment, Production" using KOB1.
Check your postings (value type!) and your KOB1 selection screen.
Best regards, Christian -
ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)
Hi
I have created a function
create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
create type att_con.ind_field_value_table as table of att_con.ind_field_value;
create or replace function fn_find_field_entries
(s_entry IN varchar2)
return ind_field_value_table
IS
found_count integer;
t_return ind_field_value_table := ind_field_value_table();
begin
for cur in (select owner, table_name, column_name
from all_tab_columns
where owner 'SYS'
and owner 'SYSTEM')
loop
execute immediate
'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
into found_count;
if found_count 0 then
t_return.extend;
t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
end if;
end loop;
return t_return;
end;
and i am getting the above error when i try and run it with
select * from table(att_con.fn_find_field_entries('NDUNNE'))
anyone know what this error might mean?
thanks in advance22950, 00000, "cannot ORDER objects without MAP or ORDER method"
// *Cause: an object type must have a MAP or ORDER method defined for
// all comparisons other than equality and inequality comparisons.
// *Action: Define a MAP or ORDER method for the object type
// -
Copying a 1 order object programmatically
Hi All,
I need to copy a 1 order object ( service order ) into another programmatically . Any idea on how to do that . I realize that we can use copy control function modules to do this . Any idea how this can be accomplished .
Regards,
RadhaI figured it out on my own.
I deleted the device (phone) from iSync. Added it back, then when it asked me if I wanted to merge the phones data with my mac or erase phone data and sync, I chose the erase phone & sync option.
It is all better now.
I would still like to know why this happened with the #1's being added though...
Paul -
Error handling in CRM One Order Object
We have done some enhancements in the CRM One Order Object standard process. We need to raise some custom error messages under certain error conditions from our code. For that, we are using the standard function module CRM_MESSAGE_COLLECT. The caller_name that we currently pass to it is a standard object (CONFIG) maintained in CRMC_OBJECTS table.
Now, we also want to delete "our" error messages (and not the ones coming from the standard process) when a certain state has been reached. I found function module CRM_MESSAGES_DELETE which could be used for this purpose. But, the problem is that if we pass object 'CONFIG' to it, it would delete all the messages (even the ones that were not raised by our code) belonging to that object.
I also tried passing a key (a random string) to CRM_MESSAGE_COLLECT's import parameter IV_LOGICAL_KEY and then using the same key while calling CRM_MESSAGES_DELETE but it did not work.
One possible solution I see is that we add a custom object to CRMC_OBJECTS and then use that as a handle to "our" error messages. But I don't know what is the standard way of maintaing data in this table. It doesn't have a maintenance view for it and neither could I find any links to it in IMG.
Can anyone help with a solution?
Thanks in advance.Yes creating a new Object may not be a solution for you as it might have some downstream impact.
Reading your problem again, if you want to delete only the custom messages, why don't you pass the message-id and message number you want to delete to the function module - CRM_MESSAGES_DELETE. I assume, since these messages are custom, so you might get a Z-message id along with the message number.
Regards,
Shyamak -
Meaning of field GUID of a CRM Order object in Datasource 0CRM_CONTACT_OUT
Dear Sirs,
The standard datasource Customer Contact: Outbound (0CRM_CONTACT_OUT) delivers a field Guid of a CRM Order object (0CRM_0HGUID).
What does this field acctually give you?
Is it a GUID of a acctual order created in CRM for the given BP (in a given marketing element, targetggroup)
best regards,
Jørgenif you search in the SAP Help you find technical information of the extractor with table & field name of each extracted field... copying the link won't work as it's not completely "shown", but this is what's I found:
Field in Extract Structure
Description of Field in the Extract Structure
Table of Origin
Field in Table of Origin
PARTNER
Business partner number
CRMD_IM_ML_ITEM
PARTNER_GUID
CAMPAIGN_ELEMENT
Project planning: 16 character GUID for tasks
CRM_IM_ML_HEAD
ELEMENT_GUID
EXTERNAL_ID
Project planning: external ID for an element
CGPL
PROJECT or TASK
CHANNEL
CRM marketing planning communication channel
CRMD_IM_ML_ITEM
CHANNEL
SURVEYID
CRM surveys: survey ID
CRM_MKTPL_ATTR
OBJECTIVE
SURVEYVERSION
CRM surveys: survey version
CRM_MKTPL_ATTR
OBJECTIVE
TARGETGRP_GUID
CRM marketing: GUID for a target group
CRMD_IM_ML_ITEM
TARGETGRP_GUID
ORDER_GUID
GUID of a CRM order object
CRMD_IM_ML_ITEM
ORDER_GUID
OBJECT_TYPE
Business transaction category
Function module: CRM_ORDER_READ
PROCESS_TYPE
Business transaction type
Function module: CRM_ORDER_READ
ELM_ITEM_GUID
CRM marketing:
line GUID for a BP
list item
CRMD_IM_ML_ITEM
ELM_ITEM_GUID
CREATED_AT
Transaction was created at this time
CRMD_IM_ML_ITEM
CREATED_AT
CHANGED_AT
Time of last change to the transaction
CRMD_IM_ML_ITEM
CHANGED_AT
SUM_ACCESS
Number of times link accessed
CRMD_IM_ML_ITEM
SUM_ACCESS
SUM_REPLIES
Number of e-mail answers
CRMD_IM_ML_ITEM
SUM_REPLIES -
How to obtain GUID of a CRM Order Object
Hello, I want to retrieve an external reference number of a CRM Order. First I should obtain the GUID of a CRM Order Object(component type CRMT_OBJECT_GUID). My problem is, which FM should I use?
Thanks.Hello sasi,
thanx for your help, with which I go a step further. What I need is to obtain a service order GUID(at last the external reference number) according to a notification number in SAP Support Desk. In CRM_JCDS, CRM_JEST I got a lot of infos but not the notification number, so that I could not establish a relationship between them. And I'm not quite clear what you mean by FM STATUS_TEXT_EDIT(why I should edit the status text)? Can you explain more?
Greetings.
Nuno. -
One-order object / one-order framework
Hi all,
What exactly is a one-order object or one-order framework?
Does it refer to a single concept or group of concepts?
Consider the following:
1. customizing your own document or transaction types.
2. entire sales cycle for e.g. opportunity -> quotation -> contract -> order
3. life-cycle status of a single document type say, order: create -> confirm -> delivery (in ECC) -> billing
Which of the above concepts come under one-order object or framework?
Or is it a different concept all-together?Hi Bappaditya,
One-order concept or framework is nothing but what you have defined.
Actually One-Order framework is using the One-Order like Sales/Service Orders etc..and the flow hw an Order takes ..in ur business scenario.
The path you defined opportunity -> quotation -> contract -> order is nothing but the processing of one-order at various stages of the business.
Each one in this paths refers to one order and also a business object in CRM and has its own business processing logic and definition.
Its not at all a altogether different concept...
its exactly what ur referring..
Oppurtunity will have the status or process flow like : Newly created->opened->Won/Lost/Cancelled..
Once its processing is done
Suppose its Won.., then Quotation process flow starts like : New->Open->Approvals->Released/Rejected.
Suppose its Released..then either Contract or Sales Order flow starts :
Order->Newly Created->Approved/rejected->completed.
This whole flow is a Sales cycle which is quite the same day-day sales cycle ...jus imagine a sales situation and co relate.
This entire flow is called One-Order flow or framework and this defines the flow in whch an Order flows.....
Siva -
Hi,
I have some confusions about Order object in ATG. Please see -
When actually ATG creates an Order object and how?
Is there any scenario where we should use synchronize on Order object?
An ItemPricingEngine invoked through a price droplet. How/when an OrderPricingEngine gets invoked?
Thanks.Hi,
Don't get confused that we need to synchronize only those things which are shared between multiple users.
We should synchronize order because there should not be more than one thread/process updating it , else you will get inconsistencies and invalid version exceptions as already pointed by gurvinder.
About your 3rd point :
pricing can be invoked in many ways from many places , like droplet , formhandlers , pipelines etc.
Enable loggingdebug on important components like OrderPricingEngine , ItemPricingEngine , Pricing tools and various Pricing calculators and study the logs then you will be clear on what is invoked and when is invoked. -
Time series objects and order objects on what condtion we need to use
Dear Experts ,
I have question regarding Time series objects and order objects
from my understanding
TIme series objects the data is stored in time buckets without
reference to orders.
Order objects the data is stored as orders. Key figure data is
then saved as orders if semantic 000 is entered in the detail view of the key
figures in the planning area.
my question is when to use the option 1 and when should not use
same for option 2
Many thanks
Regards
RajHi,
This depends on the requirement you have also the application you are using.Like DP key figures are generally time series since in DP you do not need order numbers for example for history sales the requirement is the quantity period wise but not the order numbers.
Again in SNP the distribution and planned quantities are required order wisecoz you need the order numbers you execute the same in ECC system or for Pegging purposes.
Now the safety stock requirement can not be at order series since this is with relevent to some periods.
So overall i can say this depends on the requirement of the kay figure.
Hope this can help.
regards,
kaushik
Maybe you are looking for
-
Snow Leopard has made my computer unusable
Please advise: Upgraded to Snow Leopard last week. After the install and software update (10.6.1), my iMac (24-inch : 2.66GHz,2.66GHz Intel Core 2 Duo) totally freaked out: freezes during start up leaving the wallpaper but no menu bar or dock; apps l
-
Could not complete the define custom shape command because of program error
I am using the pen tool to draw a shape and then select it to create a custom shape. I use path: edit - define custom shape = "could not complete the define custom shape command because of program error" The error message appears once I click the def
-
Issue Install SQL Developer - Windows 7 64 Bit
I am trying to install SQL Developer 3.2 on my Windows 7 - 64 bit laptop. When I attempt to install and put in the Java path I get the following error: "Cannot find a J2SE SDK installed at path: ;C:\Program Files\Java\jdk1.7.0\bin." I tried using the
-
HD version of TV show and my mac won't play
I accidently purchased the HD version of TV show and my mac won't play them so I paused the download. Anyway to cancel and download the SD instead?
-
AADC Shown on .PQR report but Not within mailstream's endorsement line
We are mailing 1st class letters, palletized mail that qualifies for Full Service discounts. An interesting thing happened recently. on a job of 853 pieces, the PQR report listed 3 trays of 597 pieces that qualified for the auto 3-digit rate, 1 tray