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 in ME22N

Former Member
0 Kudos

Hello guys!

Using an enhancement point I enabled the fields "MEPO1326-J_1BMATUSE" and "MEPO1326-J_1BMATORG" for editing

in "Brasil" tab. (using loop at screen...)

But when I press enter or click in the SAVE button the original value turns back in those fields.

I need to know how to make the changes in this fields make effect when the user saves the purchase order.

I am searching for user exits or more enhancement points but it's not working.

Thanks for helping and Merry Xmas for all!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Add the screen modification under PBO of perticlar TAB screen.

5 REPLIES 5

Former Member
0 Kudos

Add the screen modification under PBO of perticlar TAB screen.

0 Kudos

The screen modification is working, the two fields are enabled for input, but the new values that the user set in this fields

don't make effect, the program brings the original values back when I press Enter or the Save button.

0 Kudos

You need to handle this programmatically to avoid 'the program brings the original values back when I press Enter or the Save button'

In PAI of your screen

what ever activities you do, Example, Enter, Save , or press any button, mark a flag as shown below

data V_FLag is type c . " Declare in Global Defination

CONSTANTS : C_X TYPE C VALUE 'X'.

MODULE USER_COMMAND_0100 INPUT.

CLEAR V_FLAG.

WHEN 'SAVE'.

V_FLAG = C_X.

    • Activies you perfrom

WHEN 'ENTR'.

V_FLAG = C_X.

ENDMODULE.

MODULE STATUS_0100 OUTPUT.

IF V_FLAG NE C_X.

  • Fill your table control or any input fields.

ENDIF.

*This will avoid the program to bring the orignal values back.

ENDMODULE.

Belated Christmas wishes

0 Kudos

Thanks for your help guys!

I am developing the solution for this problem right now, I need to codify this solution, in the standard programa there's some routines that I have to implement enhancement points to avoid this problem.

I debugged the standard program, and now I know what to do.

Thank you!!!

0 Kudos

What enhancement did you find to modify SAPLMEGUI 1326 and set the fields editable?

I'm trying to find this but unsuccessful.

I debugged the PBO and can't find exit or enhancement for this screen.

And when I find this, how did you fix the "original values turn back" problem?