2008 Nov 24 10:35 AM
I am designing a report to change sales order. After execution of the report and if I press a specific button then the requirement is to show the selection screen retaining the selection criteria and also it will show the value of the last changed sales order number in VA03 screen. Please suggest some solution.
I am designing a report to change sales order. After execution of the report and if I press a specific button then the requirement is to show the selection screen retaining the selection criteria and also it will show the value of the last changed sales order number in VA03 screen. Please suggest some solution.
2008 Nov 24 10:39 AM
hi,
try not to clear the work area and also ttry leave to screen 0 in the routine of the click button
shiva
2008 Nov 24 10:41 AM
HI Sudipto,
Use module pool programing for this. Create a selection screen with your required inputs.
on execution of the screen the subsequent screen should have two container.
One will contain a screen with same parameters as yours initial screen, second will be a outpur screen.
Thanks and regards
Sourabh
2008 Nov 24 11:21 AM
Hi,
Selection screen is created by you? i assume that its customized one so just take the selection screen values in Global variables and once you press that particular button call this Selection screen and its PBO fill the fields with these Global variables and i think to get the last changed Sales order number will not be a problem and then use
CALL TRANSACTION...(here you can call VA03).
Since you are doing it in the report you to use export /import to retain the value at the selection-screen.
and inorder to pass the value of the last changed sales order you have to use
Set parameter id with call transaction VA03.
Regards
Neha
Edited by: Neha Shukla on Nov 24, 2008 12:21 PM
Edited by: Neha Shukla on Nov 24, 2008 6:20 PM
2008 Nov 24 11:33 AM
Hi,
U can use EXPORT TO MEMORY-ID ..." option in start of selection event to store the selec screen values then in intialization event use EXPORT FROM MEMORY-ID.. for Retaining the values.
Then call transaction VA03, it will solve ur problem.
Amresh.
2008 Nov 24 11:45 AM
HI,
In the user-command
Assign the PID's of the fields on screen VA03 to the selection screen variables
and thten submit the prog via selection-screen.
Hiope this will help. Let me know if you need any further information
-Thanks,
Rajat
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |