cancel
Showing results for 
Search instead for 
Did you mean: 

Expression for SC Process level

former_member252154
Active Participant
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member252154
Active Participant
0 Kudos

Very impressive!

Will try this tomorrow and will let you know.

Thx again.

Answers (0)