Skip to Content

SAPWIN% printed on form

Hi Experts,

We have developped a smartform and 'SAPWIN%' is being printed on the top left corner of the form. We have not included tis text in the form.

Can you please advise how to avoid that from bein printed?

Thanks,

Vitish.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 13, 2016 at 11:40 AM

    Hi,

    you seem to be using a device type like SAPWIN,SWIN,SWINCF for your printer, but the printer is not connected to SAP via a Windows Printserver running SAPSprint or using frontend printing via SAPgui for Windows (LOCL etc).

    Those device types are only useful when you have a SAP software in between which converts the data stream to Windows GDI calls for the Windows printer driver.

    Regards

    Alex

    Add comment
    10|10000 characters needed characters exceeded

    • As explained by Raymond Giuseppi, the "OTF driver" of the device type of your output device (SPAD) is probably defined with both a "SWIN-like" value, and the access method of the output device is not "G" (or "F").

      Details: setting a "SWIN-like" OTF driver means that the OTF format of your smart form is converted into SAPWIN format (something like #%SAPWIN%#...) but it won't be interpreted correctly if you don't pass it to a front-end printer (i.e. access method G/F) via SAP GUI (using SAPsprint/SAPlpd).

  • Oct 12, 2016 at 05:54 AM

    Declare a correct driver for your printer device in transaction SPAD.

    Hint: Read first OSS note 1097990 - List of Printer Vendor Wizard Notes

    Regards,

    Raymond


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2016 at 06:05 AM

    USE window conditions

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 18, 2016 at 06:58 PM
    -1

    Hi, check the program that calls that smartforms, the data in the header of the function of the smartform has something that triggers that code.

    Regards

    Add comment
    10|10000 characters needed characters exceeded