09-02-2008 8:37 PM
hi all
i am using the SUBMIT option to submit a std report in my Z program. The std report generates a list. My requirement is to SUBMIT the report but to supress the list. I dont want the list of the submitted program to be displayed to the user. Is there any option in SUBMIT to supress the list?
09-02-2008 8:45 PM
You can use the Option "EXPORTING LIST TO MEMORY". In this option, user will not be able to see the list.
See more online help on the SUBMIT... list_options
Regards,
Naimesh Patel
09-02-2008 8:47 PM
hi naimseh
i have done that but still i am seeing the list
here is my code
SUBMIT wspodlist4
WITH datum = sy-datum
WITH zeit = sy-uzeit
WITH i_vbeln IN r_vbeln
WITH lf_pdneu = 'X'
WITH lf_offra = space
EXPORTING LIST TO MEMORY
AND RETURN.
still i am seeing the list output of program WSPODLIST4. I dont need the list. I just want that the program does POD on the delivery.
09-02-2008 9:00 PM
It should not bring the list.
I tried with this code and I don't get the list from SM50.
REPORT ZTEST_NP LINE-COUNT 10(2) NO STANDARD PAGE HEADING.
START-OF-SELECTION.
SUBMIT RSMON000_ALV "SM50
EXPORTING LIST TO MEMORY
AND RETURN.
WRITE: 'bye'.
Regards,
Naimesh Patel
09-02-2008 9:08 PM
yep tried ur code at my end and its working fine. Not sure whats wrong with my code. anyways thanks for the inputs much appreciated.
09-02-2008 9:16 PM
Actually after looking carefully in the program WSPODLIST4, I found some wiered things.
It doesn't have the START-OF-SELECTION event. It is generating the list in the AT SELECTION-SCREEN event. I guess, this is preventing the SUBMIT .. LIST TO MEMORY to suppress the List.
Try to find out some other program which acts as same or Copy to Z and move the code to START-OF-SELECTION.
Regards,
Naimesh Patel
09-02-2008 8:46 PM