cancel
Showing results for 
Search instead for 
Did you mean: 

Strategy In SAP TM

Former Member
0 Kudos

Hi all,

1)can we call standard strategy in custom  code  is it possible ?

ex DSO_DEF want to call in another strategy method is it possible ..

2) In Strategy after execution of one method can we stop next method to not execute based on some condition

is it possible ...

please reply.

Thanks,

kanchan

Accepted Solutions (1)

Accepted Solutions (1)

former_member186731
Active Contributor
0 Kudos

Hello,

1) of course you can: Check class /SCMTMS/CL_PC_CONTROLLER and method /SCMTMS/IF_PC_CONTROLLER~EXECUTE_STRATEGY to see how. The supplied request object must contain the to-be-execute strategy in attribute mv_strategy and of course all required data to execute the strategy.

2) of course you can: I think when setting the request attribute MV_INTERRUPT to true the processing should stop. Try it out.

Regards,

Marcus

Answers (1)

Answers (1)

bharath_k6
Active Participant
0 Kudos

Dear Keser,

I hope you can get the required help from below links for process controller strategy.

http://scn.sap.com/community/scm/transportation-management/blog/2013/02/12/quick-and-dirty-qad--02-i...

You can also find some helpful information from SAP TM Enhancement guide. Page no- 55 to 60.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50ebd249-2e03-3010-c981-b19031d9e...

Thanks,

Bharath.K