Skip to Content
author's profile photo Former Member
Former Member

Regarding alv grid dynamic change

Hi my requirement is as follows

i need to show the user some fields in dispaly mode in alv table contol and two fields for user input enable .

when user enter and press execute i should run a process(in back ground) then give him document number on the same screen dynamicaly with out changing the screen .

pls let me know how to show him dynamically result ont he same screen .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 10:46 AM

    Hi Siva,

    If you are displaying an ALV with Controls, you can put some columns in edit mode by just setting the attribute EDIT = 'X' in the field catalogue for that column.

    And when the user presses save, You can do the code in PAI and generate a number or whatever logic you want. Then you can add this no. to the ITAB which you are using to display in SET_TABLE_FOR_FIRST_DISPLAY.

    Then you can call the same method again or you can use REFRESH_TABLE_DISPLAY and pass the new ITAB which contains the no.

    If this answer helps you, pls reward with points.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 10:48 AM

    Can you pls send me a small sample code for this it will be very helpfull

    Thanks in advance......

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.