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: 

ENHANCEMENT FOR COR2 TCODE

Former Member
0 Kudos

Hello All,

I have a Requirement on COR2 TCODE.

When user enters process order in cor2 tcode which is a change mode and press enter, one screen will be get opened.. In that screen one button is there by name Materials ( Materials List (F7) ) . when user clicks on that button the displayed screen with the table control Material List should be displayed InActive which means user cannot do any actions on that table control.

Please help me with the right solution.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Could you explain further about that purpose of the requirement?  It is very hard to design code well without fully understanding the purpose of the change.

Neal

4 REPLIES 4

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Could you explain further about that purpose of the requirement?  It is very hard to design code well without fully understanding the purpose of the change.

Neal

0 Kudos

Hello Neal,

Only for particular user able to change that material list in COR2 and should be restricted for other users.

Thanks,

vijay.

0 Kudos

I myself found the solution.

i wrote like this

if sy-uname ne 'xxxxx'.

if rc27s-aktyp_pic = 'V'.

     rc27s-aktyp_pic = 'A'.

endif.

endif.

My requirement is fullfilled with that line of code.

Thank you all.