Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

adding code in formula 9XX

Former Member
0 Kudos
208

Hi all,

I have to define a routine in MC1D, but after creating a routine 9xx with access key, I can't modify and activate the code in FMCV29xx.

What's wrong is there ?

Thanks.

4 REPLIES 4

Peter_Inotai
Active Contributor
0 Kudos
116

It's normal that you have ask for an Object key. It's still an old way of implementing enhancement.

You can register this object in OSS, modify it with the Modification Assistant, so during next upgrade it will be adjusted automatically, you only have to confirm it.

Peter

Former Member
0 Kudos
116

Hello Macy,

Did u activate from the menu? in MC1D trx in menu EDIT->Activate

0 Kudos
116

Yes, I've activated it.

But the generated code FORM Fxxx, ENDFORM are not editable and are in grey color.

I can only add my code by clicking the "Insert" button in between.

Can I remove the grey codes and rewrite myself(with same routine name)?

0 Kudos
116

Hi Macy!

Open your formula in edit mode. Then goto into menu Edit-Modification Operations-Switch off Assistant. Then you can code normally. You don't need the assistant here - SAP will never touch 9xx routines.

If you don't like to switch this off, you still can use the 'insert' from the modification functions.

Regards,

Christian