Is it possible to get direct print without preview of the Smart Form?

Hi,
I developed a custom report where line items are coming with a check-box in front of each item. User can select single/multiple line-items by checking those check-boxes. The report also has a PRINT button in application tool bar by clicking which a Smart Form will be printing for each item. Thats mean, for 10 selected line items, 10 forms will be printed.
But, after clicking the PRINT button, print preview of the form is coming and from there I can go for a print/printer. I do not need the print preview and want to have the direct print option while clicking the PRINT button. How can I have this functionality?
Thanks in Advance
Roy

Hi,
Initially I get the Form Name by calling FM: SSF_FUNCTION_MODULE_NAME and I store it in l_fm_name. now calling the FM: l_fm_name like below:
LOOP AT i_item INTO wa_item.
CALL FUNCTION l_fm_name
          EXPORTING
            wa_item                    = wa_item
         EXCEPTIONS
           formatting_error           = 1
           internal_error             = 2
           send_error                 = 3
           user_canceled              = 4
           OTHERS                     = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
ENDLOOP.
As I have multiple form need to print, I am calling the smartform in loop.

Similar Messages

  • Possible to get iMac repaired without going to the apple store?

    i recently purchased a 24" imac and called apple to request a repair due to a stuck pixel in the middle of my screen, very distracting, and i got a case number but was told that i need to take it to an apple store to have it looked at first and then the store would send it out to apple. not a big deal except for the fact that the closest apple store is nearly a hour away. so my question is, has anyone been successful in getting a prepaid box sent to their house for a non-portable instead of having to drive it to the apple store first? Thanks
    Ty

    Could the apple store still decide differently?
    They could, yes, once they examine the situation. A tech on the phone can only guess based on your description, so the tech at the store may come up with a different determination once he/she sees the system.
    Also, there are also some "authorized service centers" that come up when i do a search on apples website... should i try one of those or just stick with the apple store?
    Whether the case you've opened will authorize a service center to go ahead and replace the screen, or whether they'd be required to consult with Apple, I don't know. My guess is that the latter case is the one that would be correct; that the service center would have to examine the system and then contact Apple to see if Apple would authorize replacement of the screen. And as I said, it's very unusual for Apple (or any other manufacturer) to replace a screen for a single bad pixel.
    So it's your call. If there's a service center near you and you want to try them, it might be worth the time, at least to call them and discuss the situation and see what they think.

  • Pdf image good in preview but distorted when printing without preview

    Hi all, I have added a graphic to my adobe form and it looks good when I view the pdf. It also prints fine when I open the pdf and then print it. The problem is when the pdf is sent directly to the printer without previewing it, the image will print but the colors will be distorted.
    The image was saved as 256 colors bmp and uploaded using SE78.
    Any help is appreciated:). Thanks.

    HI friend,
    I think it might be the problem with the printer settings just check that else what it must have happened is some code gets trigerred during the print preview which makes the color to print correctly.
    But while sending directly that part of code might not have been executed. Try to debug if possible and see whether its because of this else see the printer settings.
    I think this might be the issue there might not be any error from smartform.
    Just check the driver program print settings also.
    If you still face issues please revert back to me i will help you.
    Thanks,
    Sri Hari.

  • HT204023 How do I set up to print from my iPad directly to a wi-fi direct printer WITHOUT going through my household  wi-fi network/modem?

    How do I set up to print from my iPad directly to a "wi-fi direct" printer WITHOUT going through my household wi-fi network/modem? I want to get rid of my household internet service/modem and only use my iPad, but need to be able to print. Please help! Thank you!

    Depending on the printer, you may be able to connect/print by creating an ad-hoc (Wi-Fi direct with no router) connection. Check with your printer manufacturer to see if this is supported.
    There's a ton of info out there. You could google "ipad print ad-hoc" for some useful info. But the number one thing for you right now is to verify that your printer model supports an ad-hoc connection.

  • Is it possible to get 15 minute appointment times on the calender without them all bunching up and being unable to follow?

    Is it possible to get 15 minute appointment times on the calender without them all bunching up and being unable to follow?
    I am wanting to replace all my PC's with Macs, ipads and iphones for my business.
    I love the whole system but as a small Physio business, I need to be able to add 15min & 20min appointments to the callendar and share with my colleagues.
    The problem I have is that they just bunch up and overlap and it becomes impossible to follow. There is no way of telling if you have any appointment spaces as it no longer shows the gaps. Also, are you able to set a default time for the appointments as it currently defaults to 1 hour (small pain in the arse but thought i'd ask while i'm here)
    If there is a way to do this or if there is any other apps out there, I'm sure it would become a very useful business tool and many more small businesses would invest in Apple systems, I've talked it through with friends with other businesses and they agree.
    Anybody have any solutions, or do Apple fancy making some simple upgrades to the software?
    Thanks
    Mark

    Yep, that's basically what I'm trying to to detect JJ; which layers overlap the blue area would be the ideal result.  Which objects overlap the blue layer's bounds is an ok method, but not 100% accurate (as demonstrated by your example).  The bounds method does narrow down what layers I need to check it against, but it still returns 2 layers I need to then take extra time to check against for the actual overlap, which wouldn't be necessary if we can get the check more detailed.
    Since a more detailed way of getting the overlaps is still being looked into, I'm thinking of using EnsilZah's and/or c.pfaffenbichler's suggestions in tandem with some code they helped me with previously (here: http://forums.adobe.com/message/6256651#6256651 ) to get the actual overlaps by process of elimination on a narrowed return result using current suggestions; at least until a better/more efficient solution comes along.  I am still open to other ideas, on this topic, though.

  • Hi I can not get my printer to connect to the internet.

    Hi
    I can not get my printer to connect to the internet. it is connected to my network according to wifi test printout but my computer can not find it.
    When I try to download apps directly from the printer it says that it is not connected to the internet.
    I have an airport extreme + 3 airport express a macbook pro and printer is an HP 7510e
    I see the printer on the first page in the airport utility when I click on my airport extreme.so it is online but nothing happens when I try to print.
    Please help me

    Hi all,
    Guess I understand what is going on as I'm also experiencing the problem.
    Basically the issue is about the iPhone 4's personal hotspot.
    I'm trying to hook on personal hotspot to my toshiba laptop but it couldnt work as the connection is limited to local only without Internet access.
    The hotspot works well on other laptop and I-devices, but not my toshiba...
    Hope to get assistance here. Thanks

  • How to get the PO no in the smart form and in the print program from ME23N

    hello all,
                     I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program  from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
    Subhabrata.

    Hello Everyone,
    I am new to the forum and also to abap.
    Excuse me if it is a basic question.
    I am taking care of the output types.
    This is 1st time SAP will be implemented .
    For purchase order , I go to NACE ---EF----NEU---Processing routines
    print output---SAPFM06P---ENTRY_NEU----MEDRUCK
    FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
    EDI------------RANASTED--EDI_PROCESSING
    DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
    Are the above settings fine ?
    What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
    I searched and found that IN ECC 6 , we have to install OSS notes .
    Gurus, please help  me . Let me know what all oss notes be implemented and how to proceed from here .
    Any help will be greatly appreciated ,
    Monalisa

  • I have a Mac pro. A mini disc has got into the disc drive. Eject won't work. How do I get it out without damage to the disc drive?

    I Have a MacBook pro laptop. A mini-disc has got into the disc drive. The eject won't work. How do I get it out without damage to the disc drive?

    Alternatively, you could try some of these suggestions (at your own risk of course):
    https://www.ifixit.com/Discuss/thread/4563

  • Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Well first you need to sync your iPhone 4 with your Mac/PC so that it will transfer all your music, apps, podcasts, etc. Then sync your iPod Touch and the media you selected during the sync should be there on your iPhone. If you have difficulty in transferring media from iPhone to your computer, try softwares like TransCopy. They will help in transferring data from your iphone to your computer. Dont forget to check that all the transferred data is in the iTunes media folder so that the iTunes can locate the files. Link to Transcopy software :
    http://www.copytrans.net/copytrans.php

  • Adobe Reader X: Print without previewing is unreadable.

    Adobe ReaderX: Preview and print is fine, Print without previewing is unreadable.  What's the issue?  They are basic fonts, Courier, Helvetica, Times.

    I have just found this post and am still experiencing this problem, still, even after updating to 10.1, and still trying the disabling of Protected Mode at startup. I am running Windows 7, 32bit version. I am trying to print to an HP 4500 series plotter, on ARCH size D (24x36). Once I set all of my settings and hit print, I receive two dialogue boxes. One says "The document could not be printed." Once you click "OK", a second box pops up that says, "There were no pages selected to print." However, under "Print Range", I had "All" selected.
    All worked fine before updating to Acrobat X.
    Thank you in advance for your help.
    Nick

  • How to print BAR CODE in SAP SMART FORMS

    Hi,
    I want to print inspection lot's BAR CODE in the smart form, but i dont know the way how to print this into the smartform.
    if anyone have any idea, please suggest me how to print this as it is urgent for me to complete the object.
    Thanks in advance.
    Best Regards,
    Abnish Jain

    Hello Abnish,
    Welcome to SDN.
    We are able to print barcodes from smartforms. Doing this way, we print barcodes on laser printers.
    We are also printing from sap to zebra printers using two ways:
    1. Download the data to an excel sheet, then creating a macro that opens the printer port and sending the commands to the printer through this "file". All this is done via vb script provided with excel)..
    2. The second way is creating a vbscript (an ascii file from sap) with the printer commands and then runing it using ws_execute.
    You need a barcode reader to read the barcodes, and this scanner acts like a keyboard, it sends the data scanned to the active field on screen. (which might be a notepad, word, excel or an input field or ... ).
    From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a smartstyle -> character format with the desired barcode font (defined within sap). Then in the smartform, create a window, put the field and associate it the character format. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way.
    3. If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
    To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
    We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards
    Naren

  • Inventory Management- Printing Physical Inventory Document using Smart Form

    Scenario: Inventory Management- Printing Physical Inventory Document using Smart Forms
    I could found out that there is no standard smart form linked to Transaction MI21(Program-RM07IDRU). There is a sapscript ((INVNET) assigned to this transaction, but my requirement is to assign customized smartform to this transaction.If it is not possible to assign smart form to pgm then is it possible to through enhancement.If yes then let me know the enhancement as there are lot of enhancement in the pgm RM07IDRU.
    If you have any solution then kindly mentioned it.
    Looking forward for kind help.
    Regards
    Amit

    Check out with your SD guy if the items in billing doc have correct pricing conditions triggered.
    From the description it looks like some customizing issue.
    Otherwise revert back with the logic how are you trying to get the net value of item.

  • Print program name for the dunning form F150_FR_DUNN_01 in sapscript

    Hi,
          I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
    Kindly help me.
    Thanking you.
    Pujarini Patra

    Hi,
    Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
    and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP  0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
    The corresponding SAP sample Forms are:
    - F150_DUNN_SF for Smartform; and
    - F150_DUNN_SF for pdf Form (don't let the name confuse you )
    I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that  myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
    There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
    - FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
    - FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
    So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
    As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
    The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd  try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for  view Cluster VC_T047_F... That would save the whole effort to try to detect the type for  form assigned...
    Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
    The selected entry is the one you are looking for to assing your custom forms, I believe.
    cheers
    Janis

  • Problem in multiple printing in the Smart Forms

    Hi Experts,
    From the driver program I am passing Internal table with multiple records for employee,
    But the smart forms is printing only single form for the employee.
    Could you please suggest what need to be done in order to print multiple forms for employee.
    Regards,
    IFF

    IF sy-tabix EQ 1 .------>only for first loop it will give dialog box
          CALL FUNCTION fm_name
            EXPORTING
              user_settings      = 'X'
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ELSE.
               c_par-no_dialog = 'X'.----
    > if u set this then u will not get dialog box again and again
           out_opt-tdnoprev = 'X'.
            out_opt-tddest = job_out-tddest.
            out_opt-tdprinter = job_out-tdprinter.
          CALL FUNCTION fm_name
            EXPORTING
              control_parameters = c_par
              output_options     = out_opt
              user_settings      = space
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ENDIF.

  • Getting error while activating the smart form

    hi guys,
    i am getting the following run time error while activating the smart-form.
    'SQL error in the database when accessing a table'.
    can anyone tell why this error is coming

    Refer to the below link, it may help you to close the thread.
    [SQL error in the database when accessing a table|SQL error in the database when accessing a table.;
    Regards,
    saiRam

Maybe you are looking for

  • How to retreive data from alv when using CL_GUI_ALV_GRID

    Hi All,   I am using two subscreens to display 2 ALV grids in a screen using the OOPs concept and the class CL_GUI_ALV_GRID. I would like to download data from these two alv grids into an excel after any changes, i.e sort, filter or summation. I was

  • Ipod does not appear in My Computer or Itunes

    I copy many files to my 60Gb's Ipod yesterday(In the "Notes" folder-Around 13Gb). Then I ejected it and it worked as usuall(Plays Music and I could see the files on "Notes" ). But today I connected it to the computer and it does not appear. I have un

  • Removing & Copying My G4's Hard Drive

    My old G4 died in a thunderstorm. I think the power supply is fried but the drive may still be good. I'd like to find out. I know how to pull the drive but not sure what's involved in putting it on a sled and copying it to an external drive. Help gra

  • Losing data on a tabular form when submitting a page with validation errors

    I have a window that has a regular HTML form at the top that has several items. Then on the bottom of the page, I have a tabular form where the user can enter multiple rows of information. Unfortunately, when the page is submitted, if there are any v

  • Rounding of qty from sale order to planned order

    Hi , There is sale order for 'X' material with qty 94,861meters, but when a planned order is generated the qty is rounding to 94,870 meters. can any one give the reason, what are the things should be changed. Regards, somiraghu