cancel
Showing results for 
Search instead for 
Did you mean: 

MD04 Change Element button (pencil) grayed out

Former Member
0 Kudos

I am new to this so if this is not the appropriate place to ask this please direct me to the appropriate forum.

When I use CM02 and then select an item to get the Stock/Requirements list MD04 is started but the Change Element button (the pencil) is grayed out.

If I start MD04 directly the Change Element button is active.  This is for the same material and the same user id.

Is there a setting or some other way to make the button active when going to MD04 via CM02?

Thank You.

Accepted Solutions (1)

Accepted Solutions (1)

former_member208398
Active Contributor
0 Kudos

Dear Andrew,

In standard SAP, system calls MD04 in display mode when you access by CM02.

Your question was interesting and I tried to analyse the method SAP is following while calling MD04 from CM02 Detailed Overview. I went through debugging.

Before calling the transaction MD04, it is setting check-box AM61R - ANMOD = 'X', that part is hard-coded.

Inside the debugger, I manually changed the value of AM61R - ANMOD = ' ' ( I removed the value)

Then pressed F8 to execute the rest part of the code.

The change button will be active after that.

You may take the help from an ABAPer to move you through this debugging.

Hope I could be helpful.

Best Regards.

Rajen

Former Member
0 Kudos

Thanks Rajen.  Looks like it's time to learn how to create a "Z" version of CM02.

former_member208398
Active Contributor
0 Kudos

Hi Andrew,

Yes you got it right.

Regards.

Rajen

Answers (0)