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
Similar Messages
-
Procedure of creation of Authorization Object through SU21
Hi All,
Please tell me how can i creta object class and object for Authorization Object by SU21.
I want to know this step by step.
Please Help me.
Thanks.Use this SAP documentation (or close the thread if already solved) : [Programming Authorization Checks|http://help.sap.com/saphelp_nw04/helpdata/EN/52/6712ac439b11d1896f0000e8322d00/frameset.htm] with links to SU20 [Creating Authorization Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/52/67168c439b11d1896f0000e8322d00/frameset.htm] and SU21 [Assigning an Authorization Object to an Object Class|http://help.sap.com/saphelp_nw04/helpdata/EN/52/6716a6439b11d1896f0000e8322d00/frameset.htm]
For SE16 and SM30 check [Authorization Object S_TABU_DIS (Table Maintenance)|http://help.sap.com/saphelp_nw04/helpdata/en/1e/e867408cd59b0ae10000000a155106/frameset.htm]
Regards,
Raymond -
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 -
Creation of maintenance order directly through project.
Hi,
Is it possible to create maintenance order directly through project while creating network activity?
Please let me know if it is possible and how.
Thanks,
NileshHi Abdul,
Thanks for your reply.
Can you please elaborate few details on DIPM.
Thanks,
Nilesh. -
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. -
Dear Cons
I want to create a P.O by giving acct. assignment F ( order). For this order no. is necessary. pl. tell me the menu path or T-code for creation of order.
nrkThanks DB for your reply !!
But My requirement is a bit different from your imagination.
Once the order is delivered in R/3 system. The intransits will be created in SCM. we can see the In transits in RRP3 TCode. once the shipment is done I will get a file from the Customer and I need to delete the Intransits according to the data in the file.
Once I got he file from the customer its will pass though XI (Exchange Infrastructure). later XI will call a BAPI of SCM system to delete Intransits in SCM,
This is the process we are following as of now. Now we need to change this interface depending on SHIP to Data.
If we got the file from the customer whose ship to is from VMI ship to then Instead of deleting intransits we need to create an order under the category "XX" created especially for this "Receipt " category type ("1" is of type Receipt). using the same order data which we are getting in the file.
I went through the function module Using to change INtransits. But there is no field in the BAPI structure which can carry ATPCategory. So I am thinking to make use of different BAPI to Create orders under this new Category .
Hope you understand my problem. Please help me....
Thanks & Regards,
Ramana -
Creation of login object failed
Hi all,
I've got a problem with the mobile client development.
We are using the mobile client for many years and we even develop a lot with it, but now i have a problem never seen.
After extending a bDoc and start testing the application, after the generation and login, system states "Creation of login object failed".
So i did a full generation. Result the same.
I debugged the ValidateLogin class and found out, that in the following statement is failing
BOLOGIN = BusinessRootObject.BusinessFactory.LoadBusinessObject("LOGIN", determineUser)
BOLOGIN is Nothing at the end. I tried out to create the Object via BOLOGIN = BusinessRootObject.BusinessFactory.CreateBusinessObject("LOGIN")
same result. Next i tried to create the BOACTIVITY and it failed as well. One day before everything was fine, even with changing business documents.
The error in the VB.ERR object says:
- err {Microsoft.VisualBasic.ErrObject} Microsoft.VisualBasic.ErrObject
Description "In der Methode BusinessFactoryCore.LoadBusinessObject ist eine System-Exception aufgetreten" String
Erl 0 Integer
HelpContext 0 Integer
HelpFile "" String
LastDllError 3 Integer
Number 5 Integer
Source "MTBLLFW" String
Can anybody please give a hint.
We are using CRM 5.0 SP7 and MSA SP7 on MS 2003 Server with local repository. DB is SQL2000.
Yesterday i was releasing a changelist and now its no longer working at all, what a mess.
Thanks to all,
Andreas RoseHi Andreas,
The problem may be incorrect or corrupt ARSREP.DAT file.
The reason may be that the BDOCs are not synched from MAS. Once you sync this through MAS you will find the *.bdoc files at the location
mentioned under the registry key HKLM\SOFTWARE\SAP\MSA\MW\TL\BDocPath
Usually this would be default as C:\Program Files\SAP\Mobile\tpsfiles.
After this when you generate the BusinessLibrary the Arsrep.dat file
will have the *.bdocs incorporated in the Arsrep.dat file.
Hope this helps.
Regards, Gervase
ps. For synching the BDocs refer to SAP Note 942942 -
BAPI for creation of Authorization Objects in BI 7.0
Hi BW Gurus,
Greetings!!!
Is there any BAPI Available for creation of Authorization Objects in BI 7.0.
The data will be transferred through flatfiles.
Kindly provide me the info as earliest as possible.
Best Regards,
PriyaGot the Workaround...
Priya -
" Automatic creation of Cost object owners"
Hello Experts,
I am working on a rollout project, for "Inter Company Service Invoicing (ICSI)"
Presently my client requirement is " Automatic creation of Cost object owners"
First of all i will explain the process
In ICSI there are two parties one is Service Requestor(SREQ) and other one is Service Provider(SPROV)
Depending on SREQ requirement SPROV will create a SO and send it to SPROV
It will reach SREQ contact person, he will updates Cost objects, and send it to SREQ reviewer person, he will check the cost objects and send it to Cost object owner of the SREQ.
He will approve the SO, once all approvals hasbeen done, then system automatically converts SO to IV, and post entries on both sides automatically ata the same time.
Here my requirement is on SREQ side the Cost Object Owner should find automatically.
And we done this proces in Portal itself.
Your suggestions will be great help to me, and are appreciated.
Thanks in advance
Any inputs please...............
Regards,
Satya.Hello Ajay,
Thank you for the response.
But my requirement is not to populate cost objest.
It is the approval flow. The reviewer person will check and add the cost objects to the service order and send that Service Order for the final approval i.e.. Cost Object Owner.
So here my requirement is the System has to create that Cost Object Owners Automaticlly
How can i achieve this?
Regards,
Satya -
Auto Creation of Order from Notification
Hi all,
As all of us are aware we can create notification automatically on creation of order, through Order/Notification integration setting in SPRO.
Is it possible to create Order automatically on creation of Notification in standard SAP ?? Pls confirm.
Thanks in advance,
TalankiHi
Option given in ECC6.0 cration of order from notificaton automatically by direct and background
With this option you can create the order from notification provided you need to update all the data in notificatin like funcitnal location/equipment/workcentre( so that it will fetch all the data from this master data while creating)
then if you select the PM notification>function>order >create direct or create backgroup option then order will be created but it will throw in pop up saying details of order type and planning plant.. if you say ok...then order will be created in foreground. if you select backgroud also it will throw popup if you say ok it will create the order in back ground.
For this you need to do the customization setting assigining the order type to notifiction so that it will automatically fetch the order type aganit the notification while creating the order.
regards
Krishna -
Creation of order information profile for COID Transaction
Hi PP Friends,
Could anybody tell me the procedure to creation a Order iformation profile to use in COID tranaction, I need to create a profile for the object Material.
I have created but not showing in drop dowin of COID transaction. It look I missed some where.
Pl give me the solution for my issue of any body knows.
regards,
PurnaYou can use transaction COISN
(Following taken from IDES help )
Define Profile for Order Information System
In this step you can define overall profiles for the order information
system.
The overall profile controls
o what information is displayed in the order information system
o the layout of the information.
An overall profile contains a number of individual profiles. Each
individual profile contains parameters for the object overview list and
the object detail list.
In the overall profile you define the following:
o which objects are to be read from the database
o which objects are to be displayed in the list
o up to which object the objects are to be expanded in the overview.
Activities
Define which objects you want to display in the object overview.
Using Production Order Information System Profiles
The objects selected and the layout of the screen can be determined by an overall profile defined in the initial screen of the production order information system. The overall profile embodies various subordinated single profiles.
An overall profile can be assigned the following specifications:
u2022 A variant which can be used to suppress selection criteria
u2022 Which objects to read from the database
u2022 Which of these objects are to be displayed in the list
u2022 The object up to which objects are to be expanded on the object overview
u2022 Single profiles for all objects
A single profile is made up of sets of parameters. The first set of parameters applies to both the object overview and the object detail list. The other sets of parameters are subprofiles that apply only to the object detail lists. A profile controls the following aspects of the information system display:
u2022 Fields displayed in both object overview and object detail list
u2022 Subprofile defining the fields to be displayed in the object detail list
u2022 Specifications on how the list is formatted with respect to column width, field grouping,
format of the values displayed
u2022 Sort criteria
u2022 Subprofile sort specification for the object detail list
u2022 Grouping criteria
u2022 Subprofile field grouping for the object detail list
u2022 User filters
u2022 Filter criteria to be used for selecting objectsu2014defined as a report variant for each set
of criteria
u2022 Status filtersu2014objects that are status controlled can be filtered according to a selection
profile -
Need BAPI for Purchasing Order Reject through Workflow
Hi All.
I need a bapi to reject Purchase Order(PO) through Workflow. i've found some to release but not to reject, ('08' status Code). Can anybody hlp me please.
Thanks & Regards,
Mani.You can check standard Wflow Template WS65400030
I think you can use Method ResetRelease of businress Object BUS2012 -
HI
how an order object is created in atg after adding an item to cart
please give me clear picturebelow threads will be helpful :
Order Object Creation
Order Creation for Anonymous and Registered/Loggedin User -
Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)
Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)
From SCM ICH system Supplier creates ASN on the WEBUI & sends it ECC 6.0 using XI.
This is Proxy (DespatchedDeliveryNotification) to IDOC (DELVRY03.DESAV) scenario
But at the receiver end i.e. ECC6.0 its giving me error at Tcode WE02 as action is not supported.
Can you suggest me how to tackle this issue.
Thanks in Advance.
Regards,
N>B.Shanmukhahi,
>>>giving me error at Tcode WE02 as action is not supported.
there are many segments in delvry03 with a first field - action (like, delete, create, 001,002, etc)
check all of them as probably you're using one which is not supported
and this is the real cause of the error
you can check it like this:
open this IDOC in We19
then open action field and F4 and see if the one you use in the idoc is in F4
change the wrong one and it will work :for 100%
Regards,
Michal Krawczyk -
What are the major scenarios to customize DAF pipeline ?
Hi,
In which purpose DAF pipeline need to be customized.
Please tell me what are scenarios to customize the DAF pipeline.
Thanks In Advance.Some of the probable scenarios where we might want to customize the DAF pipeline: autologin based on a custom logic; implementing SSO; to set some request attributes based on request URI and/or parameters which can be used by the subsequent servlets/filters or other components; detect device type based on user-agent and other parameters/attributes; trigger a custom event on some action like page view etc.
Maybe you are looking for
-
Fieldes planned delivery date and actual good recipt date for SAP QUERY
Hi Gurus I am changing sap query. I need to find two fieldes : planned delivery date and actual goods recipt date I dont know MM tables, do you know wrhere are? in table EKPO i don't find the fieldes. Thanks in advance
-
TS5316 Airplay and dropped/freezed connections
I have had trouble with Airplay stopping or breaking up when playing movies over my Apple TV and Macbook Pro (2011). Network is 82.11n. Airplay will then "catch up" briefly but contines to break up.
-
CS3 PPixHandleUtilities.cpp-114 error
I am running Windows Vista 32 bit and Adobe Premiere Pro CS3. I have been working in HD video for over 6 months now and haven't had any troubles exporting footage from Canon T2i or T3i. However, now when I export it will render out about 30-45% and
-
How to read and write XML in java
I have a code that reads a large XML file, splits it into smaller files, filters and then writes it into a new XML file. My problem is that I had coded the input file name into the code, so that only the specified file can be read. How can I rewrite
-
I install OS X 10.7 lion and now my quicken 2007 is no longer accessible now what should I do
I install OS X 10.7 lion and now my quicken 2007 is no longer accessible now what should I do to get it on ibank I can't import my finance. Should I uninstall lion and if so how?