Workflow - SRM Shopping Cart
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 you
Check if the following helps...
SRM 7.0 BADI Define Agents--> How to use type /sapsrm/t_wf_area_entity
Regards,
PR.
Similar Messages
-
Query on SRM Shopping Cart ,plz help its very very urgent
Hi Friends,
I have a query on workflow.
Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart.
SRM Shopping Cart>Business Object>Workflow-->Mail
Here my problem is.
The bususinees object generally holds the data for cart number and cart description, but when i am checking the workflow it does not contain any cart number or cart description,so that the mail that is going to user inbox also does not contain any cart number and cart description value.
Recenly our client upgrade from 4.6c to Ecc 6.0 and this problem is happening after the upgradation.
Please suggest if anyone face this kind of problem or anyone having any idea on this.
Pls give me some suggestion.
Thanks a lot
Mrutyun^Hi,
Your condition is puzzling... the workflow in SRM for SC is triggered after the SC is saved.
The PO is a follow-on document after the SC is approved. As such it has no relationship to the backend upgrade since the workflow engine is in the SRM server. Your worflow is triggered from the SC or PO?
Regards. -
Hi Experts
i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
i am doing below steps for this.
1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by using append structure.
2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
then click on "Metadata for Fields of Substructures and Table-Like Enhancements"
add the below entry
Bus. Object Set Type : I am trying 7 and 29
Structure Field Name : ZZfield
Bus. Object Type : BUS2121/BUS2201
Set Level : Item
Field Visible : Check box should be checked
Field Enable : check box should be checked
Can anyone has the idea of this?
Thanks
RohitHello Rohit,
Please create a enchancement for component /SAPSRM/WDC_UI_DO_SHIPTO.
Add new input field and label in view V_DODC_SHIPTO.
Bind the input field value with field ZZfield from structure /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
Regards,
Neelima -
Validate GL Account at SRM shopping cart at account assignment level
Hi,
In the SRM shopping cart system, at Account Assignment Overview level, is there any BADI or user exit or enhancement options to validate the GL Account when the account is selected/key-in?
I try BADI for BBP_DETERMINE_ACCT, BBP_MESSAGES_BADI and BBP_ACC_CHECK_ICC. All is not trigger at Account Assignment level.
Please advice.Hi,
I have a similar requirement apart from all the validations done by BBP_DOC_CHECK_BADI ,
we have to add one more validation (check the asset acquisition date if it is less than the current fiscal year give error message).
This has to done in R/3 .
I checked for the exits in the FM BBP4X_CODINGBLOCK_CHECK_47A and found that there are no exits for this FM.
PLEASE SUGGEST.Any help is appreciated.
Regards,
Rhea. -
SRM shopping cart attachment to SAP not transferring
Hi SRM Experts,
I have an issue with document attachment which is not coming to SAP R/3 Backend.
Scenario 1
1.Create shopping Cart in SRM system with One attachment,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
Scenario 2
1.Create shopping Cart in SRM system with TWO attachments,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
Scenario 3
1.Create shopping Cart in SRM system with FOUR attachments,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
Note - I have posted the same issue in DMS thread as well
Cheers...GopinathHi Guru's,
I am using SRM 7.0 and while i create an attachment in shopping cart and try to send it in ECC, the attachment is not reflecting .
Since we are using the latest version of SRM, we have used BADI BBP_CREATE_BE_RQ_NEW
(Method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE.).
I have also gone through the below link and tried the implementation :
http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend
Also, all ECC configuration are in place. However things are not come in place. Only the details are reflected but the attachment is not reflected in ECC.
If anyone can guide the correct way in SRM BADI along with ECC configuration (just to verify) will be a great help.
Kind Regards,
Kunal. -
SRM shopping cart attachment to SAP not transfering
Hi DMS Experts,
I have an issue with document attachment which is not coming to SAP R/3 Backend.
Scenario 1
1.Create shopping Cart in SRM system with One attachment,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
Scenario 2
1.Create shopping Cart in SRM system with TWO attachments,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
Scenario 3
1.Create shopping Cart in SRM system with FOUR attachments,
2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
Cheers...GopinathIssue found with enhancement made by us in Class(SRM System). Same has been fixed. now its working, Thanks to all.
Cheers...Gopi
Edited by: Gopinath A.R on Mar 11, 2010 9:04 PM -
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 -
Returning OCI hook_url to SRM shopping cart in Webdynpro ABAP
Hi Friends,
We are planning to use OCI external catalog for adding items to the shopping cart. I am creating WDA application which will act as the external catalog.
In my application I am able to read the Hook_url and other parameters of the OCI configured. I got stuck in returning the hook_url by posting the html page back to SRM shopping cart which should be like below.
<HTML>
<HEAD>
SAP Open Catalog Interface: HTML - Example
<BODY bgcolor="#DED6C2">
<FORM action="<%=Request.QueryString("HOOK_URL")%>" method=post target=_top>
<input type="hidden" name="NEW_ITEM-VENDOR[1]" value = "1768">
<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value = "648570">
<input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value = "4711">
<input type="hidden" name="NEW_ITEM-MANUFACTMAT[1]" value = "4712">
<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ITEM[2]" value = "">
<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[2]" value = "">
</FORM>
</BODY>
</HTML>
Is this acheivable using webdynpro ABAP? If so how we can do this?
Thanks in advance.
Regards,
PrabhurajRe: Creating OCI in Webdynpro ABAP
-
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. -
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. -
SRM Shopping Cart Approval on mobile
Hi,
We have a requirement to enable approval of shopping carts from the mobile inbox of approver. The workflow under consideration is the Item-Based Approval Process (WS145000015). The workflow works perfectly well within SRM portal for single as well as multilevel approval.
We are presently testing the simplest approval scenario comprising of single level approval for the mobile requirement. All the items in the shopping cart should get approved/rejected in one shot. This is the sequence of FMu2019s our mobile app will be calling:
1. SAP_WAPI_CREATE_WORKLIST u2013 to create the work list for specific user. Input: sap user id. Output: List of all work-items assigned to user
2. SAP_WAPI_GET_OBJECTS u2013 Input: work item id. Output: object id (shopping cart no.)
3. BBP_PD_SC_GETDETAIL - Input: object id obtained in step 2. Output: shopping cart header GUID from table e_header
4. BBP_PD_SC_STATUS_CHANGE_WF u2013 to approve/reject the shopping cart. Input: shopping cart header GUID from table e_header in step 3, status = 0001 for approve and 0002 for reject. Output: status = RELS in the export parameter
5. SAP_WAPI_WORKITEM_COMPLETE u2013 to complete the work-item and remove it from the useru2019s worklist. Input u2013 work item id. Output : Status completed
The issue is that, once the above FMu2019s are executed in sequence, the shopping cart gets approved and the work item is removed from the approveru2019s worklist but the workflow doesnu2019t complete. The workflow log indicates that the subworkflow - N-step parallel approval of shopping cart (WS14000014) is looping for second time looking for next level of approval. The subsequent PO is also not being created.
This issue occurs only when we are approving the SC using the BAPI. The workflow completes smoothly along with successful creation of the PO when the SC approval is done via the approvers UWL in portal.
Can someone help us identify whatu2019s wrong and fix the issue?Hi Vishal,
Try this:
Execute SAP_WAPI_WORKITEM_COMPLETE to complete the work-item and remove it from the users worklist. Input - work item id
Output - Status completed
Thanks
Punit -
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 -
SRM – Shopping Cart approvers in parallel
Hi all,
I’m looking for a function to get all approvers of my shopping cart during the creation. I want to get them all for a WorkFlow approval in parallel and not in sequential.
Actually, I implemented a Badi (/SAPSRM/BD_WF_RESP_RESOLVER) for agent determination in the WF. It works fine to determine the good agent but … only one. If I add others agents, they’ll be in sequential approval.
Do you know how I can change the level of approval from sequential to parallel? And during the creation of a shopping cart, how get all approvers?
Thanks by advance and sorry for my EnglishHi,
From SRM 701 it is possible to have parallel approval process with the feature Parallel Approval with Overlapping Responsibility
activate the Customizing switch Parallel Approval with Overlapping Responsibility (SRM_701_APF_IN_PARALLEL) in Customizing for SAP Supplier Relationship Management under:SRM Server -Cross-Application Basic Settings-Business Workflow -Activate Parallel Approval with Overlapping Responsibility
Regards,
kiran
Maybe you are looking for
-
Save output report as .pdf file in a folder
Hi, I have to create a report which has output in .pdf format, and then save that .pdf in a particular folder, which is already there.. Can anybody help ?
-
Disk Utility and Repair Disk Permissions
Using Yosemite 10.10.3 , an this is what I see every time I run the Disk Utility. Then I select 'Repair Disk Permissions' but nothing ever gets fixed. Whats the point of the 'Repair' button if nothing ever gets repaired?? Should I not believe the r
-
can anyone tell what will happen in production support means what the activities has to perform which type of errors will come. Thnks
-
Decimal Notation in SU3 keeps on reverting after I changed
Hi all, I am changing the decimal notation in the DEFAULT TAB at SU3 (user maintenance). the problem : the decimal notation always revert back to old selection despite i selected a new one, saved it, log out and login to get refresh. How do i stop th
-
hI, What is error stag in BI 7 Today unfortunatly I had checked option error stag when some data is posted, but unfortunatly I was not able findout the option to disable to see error data, The activation button has chaged to green with 0 records.. Pl