I need to enter a material number in the selection screen. Ans when I execute I get the list from MVKE table as below -
<b>material number - sales org - dist channel - Material status (VMSTA)</b>
And now when I select a line, then the screen should direct to tcode CO09. I wrote the code for this.
But the problem is every time when I enter a new material in the selection screen, and when I select a line from the display, it goes to CO09 tcode with a default material (first material I use in the select screen).
Please help me to avoid this and each time I select a line from the display, it should go to tcode CO09 with th ematerial selected.