Skip to Content
avatar image
Former Member

How to retain the values in the screen fields in SE51

Hi Experts,

I added term begin date to the sales order item addiitonal data tab B, which is SAPMV45A screen 8459 and I did the module for validation.

But when I enter selceted the date and press enter the validation code is working fine but the date from this field is disappearing, how to retain this value.

Please help me out on this.

Thanks in Advance,

Praveen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 17, 2008 at 07:33 PM

    Praveen,

    You should first link this screen field to a variable in your program. If you use the same name you dont have to worry. It will automatically be passed to the screen back.

    if the program variable name is different from the screen field name, then you have to do the following

    In PAI - pass the value from the screen to the program vairbale.

    In PBO - pass the value from the program variable back to the screen

    MGS.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2008 at 07:25 PM

    Hello,

    Did you create a variable to store it in the program? You need to create an variable with the same name of the screen field to retain the value in the program.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded