on 12-01-2007 10:27 AM
hi Friends,
i have created a custom screen. form this screen i have to call different transactions(mb21,mb22). this is done. From the same screen i have following fields,
Order number _________ to _________
the above field shold be decalred as select-options with multiple selections. is it possibel to do so in the custom screen. below this i have following fields
no.of
copies Form Printer
__ picking list ____
__ deliverynote ____
__ driving plan ____
PUSHBUTTON PRINT.
now my requirement is, When the user enter a desired number inthe number of copies field against the desired form and clicks on the PRINT push button the given no.of copies should be printed.
For example the user enters 2 for picking list, 4 for delivery note and 3 for driving plan enters the printer name and click on PRINT, respective number of forms should be printed.
All the print programs of these three layout has a selection screen where the input is either reservation number or purchsing document number
all these forms and print programs were developed.
Please provide me with suitable solution. Any help will be highly appreciated and rewarded.
To create a selection screen you can use this:
SELECTION-SCREEN: BEGIN OF SCREEN '0100'.
SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN: END OF SECREEN '0100'.
And whenever you want to call this screen, you can call it like:
CALL SELECTION-SCREEN 0100.
Now, when user presses the button for the print, you can submit the programs which are printing the different output.
Like:
SUBMIT ZPRINT_PICK WITH P_VBELN = ITAB-VBELN.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.