12-23-2010 1:05 PM
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!
12-23-2010 1:17 PM
12-23-2010 1:17 PM
12-23-2010 1:21 PM
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.
12-27-2010 10:41 AM
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
12-27-2010 11:24 AM
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!!!
03-30-2011 1:30 PM
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?