Application Development and Automation 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: 
Read only

ENHANCEMENT FOR COR2 TCODE

Former Member
0 Likes
1,271

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
Read only

Former Member
0 Likes
1,005

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
Read only

Former Member
0 Likes
1,005

This message was moderated.

Read only

Former Member
0 Likes
1,006

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

Read only

0 Likes
1,005

Hello Neal,

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

Thanks,

vijay.

Read only

0 Likes
1,005

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.