cancel
Showing results for 
Search instead for 
Did you mean: 

Contract Mass Change - Enhancement error

Former Member
0 Kudos

Hi all

We're implementing SRM 7.02 EC

We have implemeted BadI /SAPSRM/CTR_MC_BADI and created new change method (added new entry in Table BBPV_CTR_MASSOP) in order to add a custom View for custom parameters.

We have followed the steps detailed in SAP Help:

http://help.sap.com/saphelp_srm701/helpdata/en/8d/3a9442bf2d1031e10000000a1550b0/content.htm


And we are having the same errors as these ones:

http://scn.sap.com/thread/1941246

http://scn.sap.com/thread/3308666

We have configured the view as a plug and everything, but it keeps giving dumps.

ERROR: Controller MAIN Does Not Exist (termination: RABAX_STATE)

Any ideas are welcome.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

preeti_negi
Explorer
0 Kudos

Hello Martin,

I have worked on these issues for various customers and have also tested this in internal SAP

systems

The parameter you need to pass is window name that you have to copy from your wd component

eg class 'ZCL_CTR_HEADER_MASS_CHANGE' method:

/SAPSRM/IF_EX_CTR_MASS_BADI~CTR_DEFINE_UI,

i.e. ls_params-value = 'I_V_PURCH_DATA' with:-

ls_params-value = 'ZWDC_UI_AO_CT_MC_HDR'.

( The parameter you are passing is inbound plug, which is wrong and you

need to pass window name ZWDC_UI_AO_CT_MC_HDR instead ).

This will definitely solve the dump and functionality will work.

In case if you are using multiple z components then to navigate from one view to another

you need to implement note 1875269.

Best Regards,

Preeti

Former Member
0 Kudos

Preeti, you have just saved me. I got really stuck with this.

I was passing plug value instead of window name as parameter name is /sapsrm/if_pdo_ctr_mc_c=>gc_abap_wd_plug

And that note will definitely help too.

Thanks a lot!

Best regards,

Martin

preeti_negi
Explorer
0 Kudos

You are welcome Martin

preeti_negi
Explorer
0 Kudos

Hi Martin,

For the benefit of customers and colleagues who get stuck while Configuring Customer Specific Mass Change Parameters in Contract Management, I have created a new detailed document

Link is

https://scn.sap.com/docs/DOC-46357

...

Regards,

Preeti


Answers (0)