Order Object in ATG
HI
how an order object is created in atg after adding an item to cart
please give me clear picture
below threads will be helpful :
Order Object Creation
Order Creation for Anonymous and Registered/Loggedin User
Similar Messages
-
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. -
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 -
Saved order management in ATG.
Hi All,
Please help me understanding in processing the saved order management in ATG.below threads will be helpful :
Order Object Creation
Order Creation for Anonymous and Registered/Loggedin User -
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 -
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.
Maybe you are looking for
-
Excise base amount for Import PO in MIGO
Dear All, I have create the Import Po and maintain all conditions i.e.JCDB,JCV1,JECV,J1CV,JEDB,JSDB,JADC and assign the custom vendor to conditions and make the custom payment through MIRO for planned delivery cost. Then while doing the MIGO with ref
-
Smc fan control or let the apple decides to control the fan?
intel core 2 duo mac book goes about the temperature of 54-60 C...hmm is that normal or should i use a third party application , just to minimized the heat? 1. does it wear out the fan fast if i run about 2,838 rpm or 3,500 rpm? let me know guys!!..t
-
Include html pages with various langs in a jsp page
Hi I build an internationalized web site with struts... it works great. My problem is that i think it is not practical to use <bean:message ...> for large text pages (like "Terms of Use" page) - think of the problematic text value size of the attribu
-
K8D Master 3-133 FA4R: deactivate VGA
Hi, is it possible to deactivate the onboard-VGA on a K8D Master 3-133 FA4R? I've a PCI-VGA Card wich works like an IP-Extender so i can view&control the Computer over the Internet. Best Regards, Erwin Preuner
-
IPod touch 2010 and Sony MEX-BT3800U
Pairing worked once, as did playing. After turning both the radio and the iPod off and on again, it never worked again. How can I return the faulty iPod touch?