on 01-18-2011 6:52 PM
Hello,
We are using BRF WF for Shopping cart in SRM 7 and we need to set up a new event for SC WF.
What would be the expression to say : " All SC items have to be catalogs item AND SC global amount must be greater then 500 USD"? What type of expression do we have to set up to get this?
Many thanks in advance. That is all new for us!
Hi,
Create a Z event and Create a Z function module expression.. Copy the FM '/SAPSRM/WF_BRF_0EXP001' into 'Z'. remove the code from 54th line ( CASE lv_document_type )...
call FM 'BBP_PD_SC_GETDETAIL' get the item details and header details..
data all_item type c.
loop through the ltem internal table and check all the items are catalog items.. if true the update a all_item flag 'X'.
if all_item = 'X'.
check the total value GT 500.
if the check is true then
ev_value = 'X'.
endif.
Please let us know if you need more details
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.