cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Current action in SC change badi in SAP S.R.M

0 Kudos
377

Hello Gurus,

I have a requirement to implement some logic in SC changes badi that needs to be executed only when user clicks on Order button.

Can some one please help me...how to get current action where user clicked on.

Any code snippet or method or F.M will be much appreciated.

Best Regards,

Prashanth S.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey Prashanth

Can you please check the SPRO Path

Supplier relationship Management > Cross Application Basic Settings > Extensions and Field Control (Personalization) > Control Actions and there you could do your coding

Pass that action as an import, export parameter wheerever you need it

Hope that helps let me know,.

Regards

Vinita

laurent_burtaire
Active Contributor
0 Kudos

Hello,

use CALLSTACK functionality to check if method /SAPSRM/IF_PDO_BO_SC~ORDER from class /SAPSRM/CL_PDO_BO_SC was called.

Regards.

Laurent.