Workflow and Shopping Cart
Hi Colleagues,
I want to know how do we relate a shopping carts to the workflows created for it.
Example: When i create a shopping cart, an entry is created in CRMD_ORDERADM_H and workflows are created. Can you tell me which table to check the workflow and how. (Table links).
Regards,
Rishav Surana
Hi,
You can get WF details..
How to Get WorkItem ID
Saravanan
Similar Messages
-
How to create new starting conditions for a workflow of shopping cart
Hi all,
How to create new starting conditions for a workflow of shopping cart
SATYAExcecute SWB_COND
Creating New:
Click on Create button. If you cannot see that it could be a authorization issue
then Business Object: BUS2121
Double Click the event linkage for one step workflow
Define the expressions, Check Consistency and click on Traansfer
Start Condition is created. If it is not Active click on the Red Button to make it Active
Editing Already existing:
Click on Edit Button If you cannot see that it could be a authorization issue
then select Business Object: BUS2121
Click on the condition part (White area) of the start condtion needing editing
Change the expressions, Check Consistency) and click on Traansfer.If it is not Active click on the Red Button to make it Active -
N-step approval workflow for Shopping Cart-WS14000133
Hi Experts,
We have 5-6 levels of approvals for Shoppoing carts.All the SC needs to be approved by 5-6 managers based on their approval limits.All the approval limits are assigned at the Role level .(We have created Z roles)
Please let me know how and where to define the roles in BADI to activate the N-step approval workflow for Shopping Cart-WS14000133
Thanks,
VenkyTo add to Masa's reply.
This Badi is well documented by the online help and it even comes with example implementations AND it is mentioned in full detail at help.sap.com
Kind regards, Rob Dielemans -
Issue in Process Controlled workflow for Shopping cart in Quality system.
Hello All,
I ahve configured a Process controlled workflow in SRM 7.0 with custom resolver, and I am facing an issue taht the Workflow works well in Development but in Quality the approvers are dropped after SC is ordered in Quality system.
The SC Workflow drops the approvers picked up from the Interface method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP and IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID of BADI /SAPSRM/BD_WF_RESP_RESOLVER. The approvers can be seen in the shopping cart Approval preview Tab until the SC is ordered.
I have compared the OSS notes relevant for Workflow, all of them have been transported, Also I compared and checked general Workflow settings, BRF Config and Process level settings in Dev and Quality, everything is same.
Also while debugging; the approvers can be seen in the decision set table in the create_process_forecast method of class /SAPSRM/CL_WF_PROCESS_MANAGER.
Kindly let me know what else i can check to find the root cause.
Thank you in advance for help!
Regards
Prasuna.Hello Vinita;
Thanks for the input and sorry for the not so "ASAP" reply;
From what I'm seeing in from your 2 screenshot, i strongly believe that the problem is even before the Z implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID (in which the FM i ZSRM_GET_USER_FROM_PGRP is called. I think the problem could be in the process level determination ZSRM_WF_BRF_0EXP000_SC_APP100. Let me explain:
In your cases where not buyer is determined, in the approval tab there is not even a process level for buyer approval. If the problem were indeed in the implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID then the process level would be there, but the system will display, instead of the name of the buyer(if the buyer determination fails) a red label with the message: "With the strategy "Buyer determination" an approver could not be determined (or something like that..please check the image at the end of the text)".
I can propose a way to discard this: Implement the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS of class ZCL_BADI_SC_WC (in case you didn't know, in this method you can specify an "default" approver in case that the determination of approver in GET_APPROVERS_BY_AREA_GUID fails). The idea is to specify an default approval and see how it behaves:
If the user you indicated in the method GET_FALLBACK_AGENTS appears as approver, then yes, the problem is arises from implementation GET_APPROVERS_BY_AREA_GUID, in which case it could be a data problem (peharps in pposa_bbp?). You could also check in TX SU53 with the users with this problem to see if there's a missing authorization objetc.
If, in the other hand, the "default" approver is not shown, it means that the process level buyer determination is not even called, so you should check in more detail ZSRM_WF_BRF_0EXP000_SC_APP100 and /SAPSRM/CL_WF_PROCESS_MANAGER > Determine process restart –method ----- (i have never used this method, so i could not tell if it could be the source of the problem).
Also, you could implement the method GET_FALLBACK_AGENTS in this way so the default approver would be the WF administrator indicated in the customizing (or you could just append directly any user you want):
METHOD /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS.
DATA: lv_admin_expr TYPE swd_shead-admin_expr,
lv_admin TYPE swd_shead-wfi_admin,
lv_admin_type TYPE sy-input,
ls_agent TYPE /sapsrm/s_wf_approver.
CALL FUNCTION 'SWD_WF_DEFINITION_ADMIN_GET'
IMPORTING
default_admin_expr = lv_admin_expr
default_admin = lv_admin
default_admin_type = lv_admin_type.
ls_agent-approver_id = lv_admin.
APPEND ls_agent TO rt_agent.
ENDMETHOD.
Error of agent determination:
Please let me know the result of the test with the implementation of method GET_FALLBACK_AGENT. By doing this we could ensure if really the problem is in method GET_APPROVERS_BY_AREA_GUID or before. I just made the test in our system and I'm almost sure that you wont get the default approver, but i could be wrong.
Any question please let me know.
Best regards
Cristian R. -
Multiple users and shopping carts, one searchable index?
Hi all,
I've got an idea but I would like to know if it possible with Business Catalyst. I'll try and explain as simply as possible:
I have multiple users (let's say 10). They all need separate shopping carts as they are all selling different products. They all need their own admin areas that keep track of their incomes, workflows, shopping carts, etc. They are essentially 10 independent users. Will the WebCommerce10 plan satisfy their needs, or will 10 separate WebCommerce single plans need to be sold?
Taking the above into account, is there anyway to have 10 independent shopping carts, but they can all be searchable simultaneously? e.g. think eBay, lots of users with their own independent admin areas and products, but one search field returning many results from all the user's shopping carts? Is there anyway to achieve something like this with BC? Can subdomains do this? Any other ideas how to achieve this if none of the above is possible?
My plan B is having a landing page where a link for each of the 10 users will take them to their relevant shopping carts, but this experience isn't quite as integrated as I would like, from a web surfer's point of view.
Thanks.
Clint,
Komma MediaHi Robbie,
Yes, this would require significant modification to the shopping cart functionality. As it is now, it's very dependent the ShoppingCart being associated with the session and therefore the user. To change that would be significant work.
Additionally, if you had two people logging in to the same account and editing the same order around the same time, this would tend to not to work well. This is because two users would be two sessions and they would often get routed to different app server instances. Because the way orders are managed, there's no way to immediately sync up the changes between multiple instances, and if you managed to do it would likely slow things down drastically. I would not recommend trying this with ATG.
Thanks.
Nick Glover
Oracle Support for ATG Products -
Workflow for shopping cart ordering not triggered
Hi Gurus,
we are running SRM 7.0 and we are facing a big issue in handling the shopping carts when created by interfaces.
basically, when we create a shopping cart via interfaces and not manually on the SRM, the shopping cart remains in status "Open" and it is not ordered. We can also see in the shopping cart (in the tab Approval Process Overview we can see that the Approval Status is Open - No Decision Made).
Can anybody give a hint on how having the worlflow to "order" the shopping cart executed also whenever a shopping cart is created by the interface and not manually?
Thanks a lot in advance (lot of points promised...)Hi Masa, thanks a lot for answring!
- It is a new implementation
- We are using the new Processed-Controlled workflow
- it works if I manually create a SC from the standard webdynpro UI and I click the Order button.
- How can I check the receiving interface?
thanks! -
Hi experts
I am in SRM 7.0 and triing to use Process controled workflow, I have done some configurations for shopping cart aproval but no workflow is started and in shopping cart appear as in aproval.
What cold be missing?
Thanks
NilsonHi Guys
Urgent
In Sourcing cockpit field having morethan 1000 line item Shopping cart. Could anyone help me to get the sourcing cockpit shopping cart entire report in a single report.
We use to download the report morethan on hour on a daily basis.If anyone help me out for this really appriciated. -
Issue in N level workflow of shopping cart
Hi all,
SRM5.0 and ECC5, using ECS scenario
We are using the N level workflow ( SC approval workflow and not item level workflow) with the BADI for determining the approvers of the shopping cart.
The following are issues faced during rejection:
1. When the 1st approver rejects some of the line items and approves others, The SC is sent back to the requester or. the requester accepts the changes, the SC instead of going to the next level of approvers gets approved.
I have debugged and found that the actual index is set to 2 and the next level of approvers are determined correctly in the BADI, once it is out of the BADI, something happens and the SC is approved and it doesn't go for approval.
2. When the 1st approver approves all the line items and the 2nd approver does a partial rejection, the SC is sent back to the requester and once the requester accepts the changes, the workflow restarts and the approvers are redetermined again.
For the 2nd issue, if its a standard process, Can onyone provide me with a document or a OSS note which can be used for substantiating it. Does this behavior correspond to the back and forth process of N level workflow?
Thanks and Regards
KishanHi Munna,
The code just determines the approvers for each level, this works fine when I debug but it changes after the control comes out of the N level BADI.
Is there any other check which I need to do?
Regards
Kishan -
How to re-start the workflow for Shopping carts in WAITING status
Hi
We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
Workflow Item:
Workitem-ID 000000714642
Task WS10000276
Text One-Step Approval: Value limit: Shopping Cart
1000114698
Status WAITING
Statustext Waiting
Date 13.06.2008
Time 10:41:22
So may I ask how to re-trigger the workflow?Hi,
Thx for that. I need to trigger the Approval workflow to go the the approval manager.
Can u give me the document on this? thx, kerry.liu [at] ap.effem.com.
Thx very much
Kerry -
Need to query workflow for Shopping Carts for a report
Hello,
I am not familar enough with SAP's workflow to know if there are tables or function modules that I can use. I am requested to develop a report to allow selection of a user's id and find all shopping carts where that person is in the workflow. Can this be done without re-inventing the world?
Thank you in advance and points will be assigned accordingly.
Regards, Dean.Hi
<u>Which SRM version are you using ? What's the detailed business requirement ?</u>
Please refer to existing transactions on SRM workflow
like starting with SWW*
SWWL
SWWI
Also check the standard tables used in these transactions like , SWWIHEAD (for all workflow inbox items of any user)...
Do let me know.
Regards
- Atul -
Org management (integration with SAP ECC 6) and shopping cart approval
Background:
We currently use EBP 3.0 - Classic Scenario.
Our current Organisational plan was manually created in EBP, and is not the same as the HR hierarchy in SAP ECC 6
Shopping cart approvals use the workflow WS10000276 u2013 Approval Single Level over Limit, which utilises the SLAPPROVER attribute. The user name assigned to the SLAPPROVER attribute does not have to be the manager of the user. To meet our Business requirements, a fairly flat structure was created at the time we implemented EBP 3.0. The approval level an approver is allowed to approve up to is controlled with the use of roles assigned to a user. Each of the approval roles has an appropriate value set against the BBP_APPROVAL_LIMIT attribute under Personalisation.
Moving onu2026
We are just about to move from EBP 3.0 to SRM 7.0 u2013 Classic Scenario - by carrying out a new installation.
Our Business requirement has changed, in that they want the approval of shopping carts to be carried out by the line manager, if that person can approve the value of the shopping cart. If not, for the approval to go up the HR hierarch until a manager with a suitable level of approval is found.
I believe it is possible to create the Organisational structure in SRM from the HR hierarchy in SAP ECC 6. I have tried to do this in our play/test system using - Integration Business Partner-Organizational Management, without much success as yet!
I have a few questions in this area:
1. Not all of the users in the SAP ECC 6 HR hierarchy will be SRM users. E.g. In the SAP
hierarchy there are 3 users u2013 User A, User B and User C. User B is the manager of User
A and User C is the manager of user B. In SRM only User A and User C are users. That
being the case, is it still possible to initially create the organisational in SRM from SAP ECC6?
2. If it is possible to create the organisational structure as described, then using Process
Controlled Workflow we could use the Shopping Cart BC Set One-step manager approval.
If we did this, what would be the best way to incorporate the approval limit of a manager?
Can this be simply achieved by setting the BBP_APPROVAL_LIMIT attribute in conjunction
with the One step manager approval?
We want to avoid having to use the SLAPPROVER attribute due to the high level of
maintenance we currently experience.
Thanks to anyone who can advise me.
ClaireHello Clarie,
this might help
HR Data Synchronization (Org Unit, Position and Employee) to SRM
Arshad -
DIfferent screen search fields in Purchase Order and Shopping Cart
Hi,
I created a field in MDM and associated it in OCI , in order to appear in SRM , in the Catalog Search screen in the Purchase Order.
But, the field also appears in the search screen in Shopping Cart. Do you know if there is any way of limiting the field to appear only in Purchase Order catalog search?
Thanks in advance,
Lígia Moreira
Edited by: Lígia Moreira on Feb 28, 2011 9:45 AMHello Xavier,
If partner "Requester" and/or "Goods Recipient" is different between PO items and there was previously a "Requester" and/or a "Goods Recipient" at PO header, after your update, partner at header level should have field CRMD_PARTNER-DISABLED set: "Requester" and /or "Goods Recipient" is active at header level only if the same partner is populated for all PO items.
Concerning SC, there is no "Requester" and/or "Goods Recipient" at header level.
Be that as it may, if you use function modules BBP_PD_PO_UPDATE, BBP_PD_PO_SAVE and BAPI_TRANSACTION_COMMIT, modifications will be OK (do not forget to not populate table I_PARTNER for partner at header level if partners are different at item level).
Regards.
Laurent. -
Hi,
Am new at Workflow. Is there a way to have different WF per line item of the Shopping Cart? As per standard transaction, the WF approval is according to the total amount of the Ordered items.
thank youCheck if the following helps...
SRM 7.0 BADI Define Agents--> How to use type /sapsrm/t_wf_area_entity
Regards,
PR. -
Using Paypal and shopping cart on iweb site
I am currently designing a website using iweb, is it possible to run shopping cart and pay pal payment software alongside, if so can anybody recommend providers, i am uk based.
Thanks
Glenn
AKA HighcameraHi,
I simply use a shopping cart provided by an ISP, and use paypal to process payments. Not very glamourus, but get's the job done well, and accurately... and at a low cost. Feel free to check it out at:
http://www.sight2bseen.com
Good Luck! -
Table for PO and Shopping cart combination in SRM
Hi Guys,
Can any one help me out with a table which gets updated with PO and Shopping numbers in SRM.?
Regards
SrujankHi Srujan.
The table CRMD_ORDERADM_H will store the document numbers. But it wont be storing both the shopping cart as well as PO number for a record.
To find out the SC number from PO or vice versa use the following method:
You can use pass the PO number in function module BBP_PD_PO_GETDETAIL.
From here you will get the Shopping cart Item Guid in E_ITEM-SRC_GUID. You can again pass this guid in the table CRMD_ORDERADM_I and get the parent guid.
Pass this parent guid in table CRMD_ORDERADM_H to get the shopping cart number. Its stored in the OBJECT_ID field.
There is another way to find out the shopping cart number:
Pass the PO number in FM BBP_PD_PO_GETDETAIL
Check the E_HEADER_REL, when the value of the field OBJTYPE_A = BUS2121 then the field GUID_A will contain the header guid of the shopping cart.
Use this guid to get the SC number from table CRMD_ORDERADM_H.
Hope this helps.
Thanks,
Pradeep
Maybe you are looking for
-
What's wrong with my plist file?
Here's my plist file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > <plist version="1.0"> <dict> <key>Label</key> <string
-
Some basic PL/SQL quesions
Hi, I am new to Oracle world and I need some helps: I need to run a lengthly ctx_ddl.sync_index procedure in our 10g R2 production environment, and I want to start the procedure at night and kill the session early in the morning next day. I am having
-
How can I disable the system feature which automatically restarts applications i had open during a previous session ?
-
NameNotFoundException for DataSource lookup
Hi, I have a requirement where i need to push message from a client code (deployed in oc4j 10.1.3) to a remote queue which is deployed on weblogic server. i have used Context.INITIAL_CONTEXT_FACTORY = "weblogic.jndi.WLInitialContextFactory". I could
-
HotNews Inbox - system not seen
Hello, There is no system visible in HotNews Inbox, but for support package stack the system is visible for that solution. For other solutions systems in HotNews Inbox are visible. Any hints please. Solution Manager 4.0 and SPS09. best regards, Micha