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

Select tray when printing

$
0
0

Hi,

 

I'm printing smartform with SSF_FUNCTION_MODULE_NAME but I would like to select the tray . My printer is a kyocera and I print by the tray 1 but I would like to  print by the multi purpose.

 

I've change some ssfcompop settings but the same.

 

Can anybody help me?

 

Thanks a lot.

Regards.


Smartforms: Only include text if it available in the specific language

$
0
0

Hello,

 

I have an include text in the smartform for the position footer text: texname is invoicenumber+position, object is VBBP and id is ZR02 (our footer text id). Language is empty.

 

Standard language of the smartform is German.

 

The position in the invoice has only a German text. When I printout the smartform in English it outputs the German text (beauce English is not available).

 

I read about, that this i because system checks if prefered language (English output) is available, if not than in logon language and if also not the original form language is taken. So the system finds the German text and puts it on the smartform.

 

I don't want that handling so I implemented a little bit of code:

 

clear: GV_TEXT_AVAILABLE.

select single * from STXH

  into ls_stxh

  where

   TDNAME = G_TEXT_KEY " invoice + position

   AND TDOBJECT = 'VBBP'

   AND TDID = 'ZR02'

   AND TDSPRAS = IS_NAST-SPRAS.

 

if sy-subrc = 0.

  gv_text_available = 'X'.

endif.

 

And the Include text got the condition gv_text_available IS 'X'.

 

So now it works and only the English text is printed (if available). But this is a bit messy to put this code befor all include-texts if I want a strict handling for texts.

 

Also tried to put IS_NAST-SPRAS in the language of the include text - but then also the standard logic is taken and the German text is found.

 

So what can I do?

Inconsistencies in Determination of output in VA01, but no issue in VA02

$
0
0

Hello Experts,

 

I've a strange situation in the production system where the message output does not get automatically determined for all orders in VA01. But when i open the order in VA02, the determination happens. This issue does not happen to all orders of the same order type but occurs randomly, which means there is no trend that can be seen.

 

To give a brief idea, i've checked the condition type is maintained correctly, the condition record is maintained correctly, the determination is linked to procedure in V/43.

 

Some background information on this order: This sales order gets created from the processing of an output in the STO created prior, using the standard BAPI call. There are no conditions maintained anywhere which clearly differentiates the orders from success to the ones not determined.

 

Can anyone please help me in finding out why this inconsistency in determination of the output at the time of creation of Sales Order.

 

regards.

Zebra printing S_LZPL_SETUP = ^FWR & ^LRY

$
0
0

We are trying to design zebra labels, using SAP smartforms. Due to the label orientation in printer, I have to use S_LZPL_SETUP as 'FWR', in my smartform, as per the documentation available at Zebra.com. In the documentation, it is also told, to use 'LRY', for text reversing. But, when I try to include another command window and include '^LRY', smartform throws me an error saying "Value of spool attribute S_LZPL_SETUP cannot be changed.". In such a situation, how can we put in more than one command, for S_LZPL_SETUP attribute?

 

Requirement is to change the orientation of the output, which I am able to do, using ^FWR; and to reverse only <b>one</b> window, in the output.

 

Thanks,

Juwin.

new-page in table (smartforms)

$
0
0

hi all,

my smartform has only one page.

inside the main window there's a table node which will loop thru an internal table.

 

my task is to call a new page after each item.

i tried to put a coding note inside one of the cells.

NEW-PAGE.

but not successful, the main window still displays all the records in one page. i want to separate them, if there's 3 item, 3 pages.

 

how do i do that??

 

thanks! points will be awarded.

 

Message was edited by:

        Yew Wing Chen

Digital Signature for Invoice

$
0
0

Please let me know, is it possible to do the digital signature for SAP invoice?.

If yes please let know the setup.

 

Thanks in advance

BR0105E 1 free backup volume found, 2 required

$
0
0

Hi,

When I try to take the online backup , i am faced with the error

 

BR0105E 1 free backup volume found, 2 required

 

Can you please let me know what needs to be done as i have already initialized the tapes that are needed.

Is there anything else that needs to be changed...in BR*Tools

 

Regards,

Radeesh V

Zebra label printing using smartform

$
0
0

Hi Experts,

 

Can anyone help me out with a sample code to test zebra label printing using smartforms.

Are we supposed to create any smartstyles or something?

I assume creating a standard text using ZPL commands and including the same in the smartform would serve the purpose.

I tried using the same but I am getting the same code in the print preview.

Therefore I would need a small sample code with commands as I need to test if this works with the printer given.

The device type used is LZEB2: Zebra label printer 203 dpi.


smartform template frame

$
0
0

hi

ive a prob.wen i choose frame for template it turns black...

in print preview also the whole block is black...

can ny1 suggest wat da problem is

Internal Error in Smartform

$
0
0

I get the following error when going into display or change mode into one of our custom smartforms.

 

Internal error (RC = CM, FORM = CONVERT_METRIC, NR = 9)

 

Just before I got this message I added another line to a template, however now I can't go into the template node to change this back.  I have increased the size of the window in case that was the issue but it made no difference.

 

I've searched on Google, this website and on OSS and have found nothing.

 

Any suggestions very welcome.

 

Thanks,

 

Gill

Show window only in last page

$
0
0

Hello guys,

 

I have a problem, I have an smartform an I want to show a window only in last page, I have read what for do this I need implement the follow instruction :

SFSY-PAGEBREAK ne 'X'.

 

But as you can see on the image below I have an error:

window.PNG

 

Could Anyone can help me?

Problem with IF statement in SAP Script

$
0
0

Hi all,

 

in my SAP Script form two IF statments are evaluated in different ways. Please see the image below.

SSSS2.jpg

Both LV_PSP_LEN and LV_HLTST_LEN are calculated in one ABAP subroutine via PERFORM ... ENDPERFORM call.

Seems like the second comparison uses only the first digit of LV_HLTST_LEN.

I tried this values:

LV_HLTST_LEN = 3 => processor evaluates IF &LV_HLTST_LEN& LE '3' to true

LV_HLTST_LEN = 9 => processor evaluates ELSEIF &LV_HLTST_LEN& LE '9' to true

LV_HLTST_LEN = 16 => processor evaluates IF &LV_HLTST_LEN& LE '3' to true

LV_HLTST_LEN = 44 => processor evaluates ELSEIF &LV_HLTST_LEN& LE '9' to true

 

Please give me some hints to solve my problem.

 

Regards,

Hubert

Blank space instead of Polish character on the printout

$
0
0

Welcome everyone.

 

I haven't found a solution to the problem in other discussions, so I make a new one.

I encountered a small error with printing one Polish character.

In place of Polish sign on printout there is a blank space.

 

Strange thing is that the issue appears only:

- on one printer model: HP LJ 400 M401

- on one printout type: invoice

- with one character: ż / Ż

 

 

Other printouts are fine on this type of printer - all Polish letters are printed correctly.

Also when an invoice is previewed in SAP GUI this character is visible, but on printout is missing - instead there is a blank space.

 

For example - the word should look like that:

 

Sprzedaży

 

But on printout you see:

 

Sprzeda y

 

On other printer models the problem doesn't appear.

All printers have device type set on I2HPPS.

 

In the attachments You will find examples of good and bad printouts.

 

Thank You in advance for every suggestion how to solve this problem.

 

Best Regards.

Dominik Zapart

Viewing all 1353 articles
Browse latest View live


Latest Images

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