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

smartform from a custom screen

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 02, 2007 at 07:27 PM

    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

    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.