Quantcast
Channel: SCN : All Content - Output Management
Viewing all 1353 articles
Browse latest View live

Dynamically determine the paper type

$
0
0

Hi All,

We have made a adobe form on letter format and its working fine.However when tried to trigger output for A4 size paper its not working.
Can some one please help me with this,its not that I can change the paper size in my form from letter size to A4.
I want the adobeform to be in letter format but I should be able to take the printout in A4 also along with letter format.

Regards
Keerthi


MAIN WINDOW IN SAP SCRIPT

$
0
0

HOW MANY MAIN WINDOW WE CAN CREATE IN SAP SCRIPT , I THINK ONLY ONE , SO HOW THE FLOW OF DATA TAKE PLACE??

 

THE DATA ON  MAIN WINDOW IS CONTINOUS TEXT AND THE DATA ON OTHER WINDOW IS CONSTANT ???

 

WHAT VARIABLE WINDOW DO ???

 

AND CAN WE DEFINE TEXT ELEMENT OTHER THAN MAIN WINDOW??

 

PLS RESOVE ASAP..

sappdfprint print immediate problem

$
0
0

Hi;

 

We try to print a pdf document to Datamax DMX W-6308 printer by using SAPPDFPRINT.

 

 

After upgrade the sapgui to 7.30 we have problem with it. We have installed SAPGUI 7.30, SAPPDFPRINT 7.30 and SAPSPRINT 7.30 again. We use G acces type. 

 

We can see the result in SP01 as OK. If we try to print the document from SP01, its OK too. But we cannot print it by using print immediate option.

 

We have applied the notes ,

 

1444342 - Device type-independent printing of ADS forms

685571 - Printing SAP Interactive Forms by Adobe,

1672781 - Additional functions for ADS printing, and also

1712549 - ADS print to color printer does not work

 

But the result is still same.

 

Could you please advise us about the issue?


Best regards

Zebra ZM400 SAPScript barcode and text too big for label

$
0
0
Short Text
Zebra ZM400 SAPScript barcode and text too big for label
Long Text

Hello Team,

 

We are having Zebra ZM400 label printer in SAP.
On Zebra Z4M printer the text and barcode fit on the label.

 

When printing the label with same script on ZM400 200dpi or 300 dpi the
text and barcode are too big to fit.

 

Have tried various SAP drivers always same result. When printing with
SAP Frontend (default Zebra installed on Windows 7) same result as with
SAP drivers.
Setting the width and height off the label within the printer settings
(windows) or in the SAPscript there is no effect. Even when selecting
for inverted image (180 degrees) in printer preferences(windows) there
is no change.

 

The whole image is 20% larger then it should. Tried to install 200 and
300 dpi driver (sap and windows) but didnt help.

 

​we have a mismatch in the printer resolution between the
printers used in ID-Testing and our printer for Packaging Analytics. ID testing has
300 dpi printers, but our one only has 200 dpi.

It seams to me like that the labels in SAP
are configured for a 300 dpi printout, but as our printer only has 200
dpi, the labels look magnified

 

Any suggestion on how to fix this?

Not to display 0.00 value isAdobe form instead it shoud be blank.

$
0
0

Dear Experts,

 

I am developing print form using Adobe.

my form is working perfectly as per the requiement  excet one issue.  In my print form I dont want to display the 0.00 value instead it shuld be display as plak.   If any values is that in the cell then only it should display the value.

 

I saw few threads in SDN before posting this question.

 

Some one suggested that we need to change the filed to text fiel and write java.script to get this.

I followd tha same but did not get the requried result.

 

01.10.2014.JPG

I want my output to look like.

 

                             01.10.2014_1.JPG

 

Thanks and Regards

Anees Ahmed Jawad

How to display the Footer on Last Page.

$
0
0

Hi,

 

Their are only 2 windows on my Smartform - MAIN Window and FOOTER Window.

 

I have a requirement where I need to display the FOOTER window only on the last page after the MAIN Window. But all other pages except the last page should not contain the FOOTER Window.

 

Now the size of the the MAIN Window should be like it should cover full page on all pages except the Last page. And on Last Page the size of the MAIN Window should be reduced so that it also accommodate the FOOTER Window on Last Page.

 

I do not know how to reduce the size of the Main Window dynamically only on Last page.

 

I have tried to use the logic of firing the new Page using the COMMAND node but the problems I have faced here is:

1.) I am not able to determine which is second Last page as the Last Page is determined by SAP only after it writes all the data in the form. In fact SAP itself does not know which is the last page until it writes all the data. So at runtime I am unable to determine the second last page.

2.) Smartform fires the New page as soon as it encounters the COMMAND node. But my requirement is that the New PAge should only be fired after the Processing of the second last page finishes.

 

If someone has done this earlier, Please tell me how to achieve this.

 

Regards,

Nitin

Smartform multiple copies

$
0
0

Hi everyone,

 

I was wondering if it's possible to print several copies of my Smartform, but mark some page as single copy.

Is it possible, for example, print 3 copies of every page but only 1 of the last page?

 

Thanks!

 

MaryM

Download a barcode as bitmap '.BMP' (new technology barcode)

$
0
0

Hi all, I have a problem. ;-}

 

I want to download an barcode bitmap into a .BMP file.

 

I have created a barcode in transaction /nse73 (new technology, independed of printer) .

I use the external procedure(renderbarcode) from modul pool SAPMSSCO to render the barcode.

This procedure provides the barcode in a bitmap like this

'FFF03F000FFFFC003F03FFC003FFFF000FC0000FC0FFF00003FFFF00003F03FFC0FFF000000FC0F

C003FFC0FFFFFF03FFC0FC003FFFFFC003F03FFC0000FFFFC0FC0FFF0FFF03F000FFFFC003F03

FFC003FFFF000FC0000FC0FFF00003FFFF00003F03FFC0FFF000000FC0FC003FFC0FFFFFF03FF

C0FC003FFFFFC003F03FFC.....'.

 

I want to convert and download this as an bitmap (.BMP). Do anyone know what to do with this internal bitmap to bring it in the right form ? Or do you have another idea to bring the barcode into an image format?

 

There is also a possibility to test the standard system barcode in transaction se73. The barcode bitmap will be converted there into the OTF format and then it will be displayed (PREVIEW) in a SMARFORM. I don't want the barcode in SMARTFORM but as a binary file like '.BMP' or with  other image extensions (JPEG, TIFF,...) !

 

Thanks so lot

Anne


Print translated SAP SCRIPT depending on WERKS

$
0
0

Hi All,

 

I've translated a SAP SCRIPT (production order - CO02/CO03) from Italian to Serbian using SE76.

 

I need to print in IT (italian) or in SH (serbian) depending on the WERKS of the production order (1100 -> IT, 2000 -> SH). I can't use system language 'cause users may log on in IT, SH or EN depending on what they prefers.

 

I read in other discussions about the FM OPEN_FORM; at the moment i have this setup:

 

call function 'OPEN_FORM'

     exporting

       device   = 'PRINTER'

       dialog   = space

       form     = print_co-forml

       language = print_co-spras

       options  = print_opts

     exceptions

       canceled = 01

       device   = 02

       form     = 03

       options  = 04

       unclosed = 05.

   call function 'START_FORM'

     exporting

       startpage = startpage.


How can I do this?

PRINTER TRAY CONTROL/SELECTION WITH SAPSCRIPT USING ZTROYMIC DEVICE TYPE

$
0
0

We are printing checks using SAPscript in which we specify TRY02 for the overflow/invoice detail pages of  a check and TRY03 for the check itself, this is in order to use check stock only for actual checks and plain paper for the invoice detail pages.  As indicated above the device type to which we are printing is ZTROYMIC.  The device type was downloaded from note 94233, and is printing the MICR characters successfully however there was no Control Character Sequence provided for TRY03 in SPAD print controls.  The tray selection is not working correctly, I was given the following escape sequence, escape character & l 5 H, for TRY03 by TROY but not sure how to implement this in SPAD.  Should we pose this question directly to SAP?  Is tray selection supported for this device type?  If not how can we direct pages to correct tray otherwise?

 

Your help is much appreciated,

Doug

 

Edited by: Lisa Platt on Dec 3, 2008 11:02 PM

How to mark unprinted correspondences in DFKKCOH printed?

$
0
0

Hi,

 

We have a growing number of correspondences sitting in DFKKCOH correspondence container table that we cannot and don’t want to print. We’ve been excluding them in our daily FPCOPARA run but we soon get to the limit of how many entries can be added for exclusion and we want to mark these records as printed so that future runs will not pick them up for processing. Can you suggest a way to accomplish this?

 

In case we don’t find any other way, we could develop an abap to “manually” record print date/run date/run id to mimic how FPCOPARA updates the DFKKCOH table for successfully printed entries. What standard FM should be used for this update?

 

Thanks for your help, Marta

Background Image SAPSCRIPT Overlapping Boxes and Main Text

$
0
0

Hi Folks,

 

I need to insert a full A4 Background(with logo, watermark and details) in my sapscript form, the thing is my image is overlapping SAPSCRIPT Box's and MAIN WINDOW text. Here is an example:

 

This is how the form looked before inserting the background:

 

before.jpg

 

 

This is how it looks after:

 

after.jpg

 

As u can see the Gray Box's disapeared aswell any text it would appear on main window. I know that instead of inserting the full A4 background, the solution would be inserting each element manually and the watermark with 2xMainWindow trick but that would be too much work since i have to modify near 50 forms.

 

Any help or tip would be great!

storage Location delivery address

$
0
0

Hello,

We have a custom print program for PO's.

Also the sapscript form has been customized.

It contains however window 'consgnee' and element 'HEADER_DELADDRESS'  like original(medruck).

I have setup a strage location with a specific address.

While trying to print a PO with this storage location at line level, PO shows the correct address in tab delivery address.

When calling PO-Preview it will show a blank window 'consgnee'-

I have been looking into almost every forum and didn't get an answer on this,

Please advice. Thanks in advance.

Raf

Runtime error in SmartForm

$
0
0

I am having a problem with an error message in a SmartForm.  I have tracked the error down to the following function call:

 

  CALL FUNCTION 'SSFCOMP_PROCESS_DOCUMENT'       EXPORTING  HEADER           = %HEADER                  DOCSTRUC         = %DOCSTRUC                  STARTPAGE        = CONTROL_PARAMETERS-STARTPAGE                  ARCHIV_INDEX_TAB = %ARCTAB                  MAIL_APPL_OBJECT = MAIL_APPL_OBJ       IMPORTING  RESULT           = %RESULT_PD       EXCEPTIONS OTHERS           = 1.  IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.

 

It is returning with a value, in sy-subrc, of 1.  This function call is after an included text is displayed.  I have the checkbox "No error if no text exists" checked so I am not sure why I am getting an error.  The error message is as follows:

 

Field ULINE does not exist in form.

 

I am not using ULINE at all in the form (as the error message states) but I don't understand why/where it is looking for ULINE.

 

Regards,

Davis

Smartform printing error

$
0
0

Hi ,

 

I'm trying to print a smartform but there is a problem when I try it from the spool(SP01).

The message is : incorrect (Reason unknown);

Log :

      SAP spool error log

      =====================

 

Print request processing log

 

Errors occurred processing this print request

 

 

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

OTF module: Page buffer (80*1000 entries) is too small

...

 

Did you already have this problem?

 

Thanks a lot

Karim


Purchase Order Check BAdi

$
0
0

Dear all,

 

is there a way in ME_PROCESS_PO_CUST BAdi Method Check to access the NAST entries which will be written before a Purchase Order is saved?

 

Best regards

R.K.

Unicode Printing without UPE

$
0
0

I promise to give credit to anyone who can help me here. I've read more than 25 threads, wikis, etc. on this and can't find the solution.

 

In this case, I'm trying to print Vietnamese characters to a printer. I've printed a sample directly to the printer from a UTF-8 Notepad with Consolas font, so if the printer can do that, then I'm certain it has the necessary fonts installed. This particular printer is an HP LaserJet 5000 model.

 

I have made a copy of our SAPScript form to a test copy with multiple lines of the same text, but with different Character Formats using the following fonts: A_SIMP, TWSONG, COURIER, TIMES, HELVE, and ZARIAL. Only the first three display the correct text in the Print Preview, but none of them actually print correctly.

 

I'm using the Device Type recommended by the wizard (in 7.31 Level 3, Kernel 720) which is HPUTF8 (i.e. "HP LaserJet UTF-8  1.1"). This Device Type uses Character Sets 4110 ("Unicode UTF-8") and 4210 ("UTF-8 for PCL Printers").

 

No matter what I do, I can't get the characters to print correctly. I've tried at least 30 or 40 variations. Please help!

 

Currently, my two best theories are:

  1. Missing Print Controls for the Device Type
  2. System Font to Printer Font conversions failing

 

Again, I will most certainly give all the cred I am able to all who can help.

SAP script allignment

$
0
0

Hi Group,

 

I have one issue with SAP script, when I am executing f.25 ,some times allignment coming correctly ,some times first line overlapping as shown in the fig.

 

can any body suggest.

 

cap_item.jpg

Emailing PO pdf ad attachment to multiple IDs in same mail

$
0
0

Hi,

We need to send the Purchase Order copy as PDF to multiple mail Ids (the vendor, the PO creator and the PR creator) in the same mail.

We have managed to trigger 3 different mails containing the PDF to 3 mail Ids.

How can the PDF be sent to all "3 IDs in a single mail" so that all 3 can see to whom all the mail is sent to.

 

Thanks & Regards

Print output coming different in quality from development.

$
0
0

Hi Experts,

 

I have made changes in a sapscript, it is working fine in development, but not working in quality/

Capture.JPG

Capture.JPG

Paragraph formats are same in both environments.

Error comes after &PAGE& of &SAPSCRIPT-FORMPAGES(C4)&. please see screen shot 1. it doesn't display value it shows value as ' . ' for all characters.

 

The same taken PRINTOUT shows proper output.

 

Thanks,

Anil

Viewing all 1353 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>