Skip to Content
author's profile photo
Former Member

DISPLAYING VALUES ON SCREEN

HOW TO WRITE BACK THE VALUES IN THE SCREEN WHEN WE ARE IN MODULE POOL,LIKE IF AFTER EXECTUING SOME FUNCTION AND I WANT TO DISPLAY THE VALUE FROM THAT FUNCTION ON THE SCREEN BACK WHAT SHOULD BE DONE.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Feb 11, 2005 at 09:42 AM

    Hi Nandan,

    Please explain your question properly.

    As i understood your question, I think you want to display value returned by any function module in any textbox on the screen.

    Is it right???

    You can set value of that screen field value in one PBO module. Also define the variable with the same name as the name of the screen field in the TOP include.

    I hope it works.

    Please reward this and close this thread it it solves your problem.

    Regards,

    Bhavik

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Feb 11, 2005 at 02:08 PM

    Hi Nandhan,

    To write back the values in the screen follow these steps.

    1) Declare the variable in which u r going to get the value rerurned by the function.

    2)In the screen have the text field with the same name as of that variable.(Do this by using 'Get from Dictionary/Program Fields' option.)

    This will do.

    Regards

    Immanuel

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Feb 11, 2005 at 05:35 PM

    What the other posters are trying to tell you is that SAP automatically provides the transport from your program to the screen and from the screen back to your program, as long as the field names match. Transport from the program to the screen occurs at the end of PBO, and transport from the screen to the program happens at the beginning of PAI.

    Of course as with most features of SAP, there are some exceptions like processing events from an ALV Grid, but these are the basics. You can also alter the transport sequence from the screen back to the program via the FIELD command in the PAI logic.

    Is this the information you were looking for?

    Add comment
    10|10000 characters needed characters exceeded