on 07-14-2009 3:53 PM
Hi,
I have to know if a shopping cart was created from a Free text item or from catalog before the WF starts (in a check funtion module).
Is there any way to know if the shopping cart was created from free text or catalog?
Thanks
Matias,
We have a business requirement not to allow shoppers to mix Free Text and catalog items in the same shopping cart.
We achieve this using the Doc_Check and Change BADI's to check the table Field BBP_PDIGP-CATLOGID.
If the entry is blank the item did not originate form a catalog otherwise the field contains the Catalog ID of the source catalog.
Hope this helps
Allen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Masa, but what if I have a a SC with 2 items....one based on free text and one based on catalog.
That attribute will be with 'X'. And I need to know if every item is based on free text.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But how to know if all items inside the SC are free text based?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per my understanding, you want to make decision, if it is Free text you need to start one work flow, else another workflow.
This check you can do it in Starting conditions of the workflow. SWB_COND (Transaction).
Go to SWB_COND, choose business object BUS2121, it will display all work flows which are event linkage activated.
Now go to specific workflow which you need to start if it is Free text Shopping cart, if the condition is true workflow will start.
If starting conditions are complex, suggest you to create new attribute and use the same in starting conditions.
Hope this will be helpful, all the best.
Regards,
Mohan Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use some of attributes in BUS2121.
RequirementRequestEC.ExistFreeTextLineItem An item exists from a free entry
RequirementRequestEC.CatalogId Catalog ID if the same for all items
RequirementRequestEC.ExistNoVendorLineItem Item Exists w.out Vendor
RequirementRequestEC.ExistNoPriceLineItem Item Exists w.out Price
Regards,
Masa
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.