SMARTFORMS and Zebra 105SL Barcode Printer
Dear All,
We are trying to print barcodes using SMARTFORMS. We have Zebra 105SL printer. SAP version installed is 4.7C. Help required on the issue: How to install LZPL Printer drivers for SAP.
Thanks,
Anu.
Hi Anu,
You can start by downloading the Zebra Smart Forms Technical guide from the Zebra Web Site. Below is the URL.
http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.html
This document has step by step instructions on creating bar code labels with Smart Forms.
If you have any further questions please email me at [email protected]
Regards,
Andy
Integration Architect
Zebra Technologies
Similar Messages
-
Problem printing horizontal text in smartform with zebra Z6M label printer
hello,
The situation is this:
There is a Z smartform wich prints a label to a zebra Z6M label printer with the text and barcodes vertically.
The form have a command in the main windows with the parameter: S_LZPL_SETUP '^FWR'
This label works fine, but the client want to change the form, they have told me to create a new smartform and print the info horizontally, using the same printer.
The tests i have done are the following:
create a smartform from ground and write a template text and a barcode with a new font of system barcodes. the bardoce is shown ok(it is shown horizontally), the problem is that the template text is shown vertically, as in the original smartform.
then i tried on another zebra ZM600 label printer, similar model, but not the same, and the smartform printed was ok (text and barcodes shown horizontally). So i think is a configuration setting problem, but i dont know where to search.
i have checked the label printer parameters in SPAD, but didnt find anything souspicios.
have you any idea?
thanks in advance.See these if they be of any help.....
BARCODE:
goto smartform styles-> create a style-->
create a character format.
under standard settings give the bar code name
use this style in ur smartform. select the data field which u want to barcode print and assign the character format
Similarly
SAPSCRIPT
open the form and click the character format button and
repeat the step as above....
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/frameset.htm
Go to Character formate in your form.
create a new char formate with enable BAR code AND
you can give its type too.
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
go through these links and cose u r previous threads,
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
smartform - barcode
http://www.erpgenie.com/abap/smartforms.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
Detailed information about SAP Barcodes
A barcode solution consists of the following:
a barcode printer
a barcode reader
a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
Creating Bar code:
) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Check this thread for detail information.
How to print Barcode in te SAP SCRIPTS? -
Label printing at Goods Receipt using SMARTFORMS and Zebra software
Hi Experts,
Upon designing a functional design for the printing of labels upon goods receipt and a re-print through MB90 I would like to understand the procedure on how the label gets printed. From what I understand the following steps are done:
A label is designed in the Zebra application tool.
The file is downloaded from the application and uploaded into SAP
A SMARTFORM is created in SAP and assifned to a new output type.
The new output type is assigned to the Zebra Printer.
Is there any need for an abap program to be written, if so when and what is its purpose?Output Type WEE1 uses sap print program SAPM07DR.
Can the following data fields be retrieved from this program:
Material Number (MSEG-MATNR)
Bin Number (MSEG-LGPLA)
Material Description (Feed (MAKT-MATNR) Get (MAKT-MAKTX))
Supplier Name: Feed (MSEG-MBLNR) get (MSEG-EMLIF)
MSEG-EMLIF=LFA1-LIFNR
Feed (LFA1-LIFNR) get (LFA1-NAME1)
Supplier Material Number: Feed (EKPO-EBELN) get (EKPO-IDNLF)
PO number and Item: Feed (MSEG-MBLNR) get (MSEG-EBELN) and (MSEG-EBELP)
GRN Date: Feed (MKPF-MBLNR) get (MKPF-BLDAT) -
Performance issue of Barcode printing
Hi Experts,
I had designed a smartform using the new barcode printing technology. It works fine. The only problem is speed. I'm using se30 to analyze the performance of this smartform. If I remove the barcode, it takes less than 2 seconds for ABAP execution of this smartform. But if I enable barcode printing, the ABAP execution time is increased to 4.3 seconds. May I know if it's normal to take about 2 seconds to generate the barcode in smartform? Is there anyway I can improve the performance?
Thanks in advance.
Best Regards,
Wu XueHi Sripal,
Thanks for your reply. Did you encounter the speed problem only when you try to print the form or you encounter the same problem even during previewing? For me, the barcode generation takes more than 2 seconds during previewing. I think it will take more time during real printing.
Best Regards,
Wu Xue -
Need to print SCC-14 and UCC-128 barcodes through SAP Smartforms
Hi all,
I have Two labels to be printed using smart forms.
But in one label the barcode should be of SCC-14 type
and in other the barcode should be of UCC-128 type.
<b>How to print SCC-14 and UCC-128 barcodes through SAP Smartforms?</b>
As standard barcodes do not meet my requirement i have created custom barcodes in transaction se73 of required height and width .
This is as:Se73>System Barcodes>change>Create>New-->:
I have given bar code and short text.
Narrow Module Width &Linear Height&Code128 Mode given default values.
But in this process where can i set the barcode should be of SCC-14.
> I have known that if we give Code128 Mode =
> 'U'-->It is like UCC-128.Is it correct ?
>
> But how can i know for SCC-14 barcode.
>And How many inches is euqal to 1 unit of Narrow Module Width &
How many inches is euqal 1 unit of Linear Height?
Please help me in this regard.It is urgent.
All solutions from you will be fully rewarded.
Thank you in advance.Hi Rama,
We are working to print Bar codes using Smart forms.
Barcode is printing in label (4*6 Inchs) using printer (Zebra Z4 M PLUS (300 DPI)) (TLP-3842) which supports ZPL Language and Device type is ZLZEB3 (300 DPI).
We are printing bar codes successfully.
But After testing bar code using bar code tester (BC TESTER 4.4) software tool.
The results are failed.
We are expecting results: Like bellow.
Value formatted type is: EAN
Value is [C142007470
Total Description: 420. Ship To-Deliver to Postal Code a Single Postal Authority 07470
Current Situation:
Here we are Created Bar code (Ship to Post) in SE73 with
Bar code type is: Code 128
Width is: 08
Height: 300
Mode is: A (Even I tried with N and U)
UCC check: Empty.
I added this to character format in my Smart forms.
Text in smart form is: ,,,,<C2>&W_POSTAL_CODE&</> for P1 Paragraph.
Using this functionality we are able to print a Bar code in Label.
But while testing using BC Tester
Values are showing:
Value formatted type is: EAN
Value is 42007470
Total Description Values: Empty
The Type is EAN is when we select the Manually EAN Radio button (but this not capturing automatically this is problem we are facing).
Even I tried with some changes like bellow:
But Forcefully writing some code in Program lines Smartform:
concatenate '420' fs_zediu017-pstlz into w_postal_code
After this forcefully adding this Value [C1 in Before W_postal_code Element text :
Text in smart form is: ,,,,<C2>[C1&W_POSTAL_CODE&</> for P1 Paragraph.
After this we are tested using BC tester
Every thing is displaying correct Vales which mention above when we manually select the Value formatted type radio button EAN but this Wrong.
Client need when testing bar code using BC TESTER 4.4 it should be display to take EAN radio button and showing all the Values.
Please let me know if you get any idea on this ?
Thanks,
Bathini. -
Barcode Printing in Smartforms
Hi all,
I have created a barcode via SE73 and attached it in the Smartstyles via a character Format. I have also added this character format in my Smartforms.
When I click the preview I'm able to see the Barcode getting displayed (Zebra Printer). But when it gets printed in the Zebra Printer it does not get displayed.
Kindly let me know if anyone has faced a similar issue related to this. It would be of great help.
Thanks
Ramky.GHi
check this
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
go through these links and cose u r previous threads,
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
smartform - barcode
http://www.erpgenie.com/abap/smartforms.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
Detailed information about SAP Barcodes
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
Regards
Anji -
Hello All,
I have two questions on this topic:
Has anyone use Adobe forms and print a label using zebra printer? Currently we are using smartforms and we have to send command to rotate the text in the label. Will the Adobe forms works without the need of sending rotate command?
Also, would like to check on how to utilize different printer fonts that is available in zebra printer. In smartforms, only Helvetica font is supported and if you need additional fonts, you need to create a print control for it. By using Adobe forms, I'm hoping there is an easy way to do this. I read some documentation that in order to add the fonts, we need to put the font file in a certain directory and that's it. I'm not sure if this also valid for zebra printer.
Any info would be appreciated. I'm trying to make a case that by going to Adobe form at least for printing solution/non interactive forms, will help the form programmer to expedite the form design compared to smartforms especially when dealing with zebra printer.
Thanks in AdvanceHi Bill,
yes it works - we use it productive for half an year to print barcodes and so on...it works good, if you have configured it well...i will try to give you some helpful hints:
1. If ADS is not configured yet in your installation use the guide "Adobe Document Services Configuration for SAP NetWeaver 7.0"
2. read SAP Note 685571 - it describes how to install the xdc file for Zebra Printers into the sap system (you have to install it on the system your sap runs - not the ads system). The appropriate device type is the AZPL203 (we tried a little bit to find this out)
3. in SPAD define a Printer, use devicetype AZPL203, if your Zebra Printer is connected via LAN (i recommend this) use the host spool access method "C - direct operating system call"
4. be sure to have a zebra printer supporting ZPL2 - for example first we tried it with Zebra TPL 282x series - it doesn´t worked - then we found out that the printer model must support ZPL2.0 for Adobe Printing, now we use a newer model the Zebra TPL 2824 PLUS with integrated LAN interface.
5. and last but not least !!! if you are using a windows printserver, you have to use the driver "ZPL TLP 2824 Plus (ZPL)"
(6. try to use the most recent patches for your ads system)
good luck - i would be glad to hear from you.
best regards
Winfried -
SmartForms w/ Printronix SL4M RFID printer in Zebra emulation mode
Trying to get a basic Smartform to print using a new printer. It is a Printronix SL4M RFID printer that emulates several printer modes, including Zebra.
The printer was changed to Zebra mode, device type in SAP is LZEB2. Configuration printout on the printer shows it in Zebra mode and using a 203 dpi printer head. Configuration is all defaults (command prefix, label prefix, etc).
Output generates in SAP. Spool is ok. Print preview is ok. Completes with no errors in SAP. Physical printer is giving intermittent results. Usually, no output at all. One time, we got half a label that actually contained valid data. Sometimes we get "invalid data" messages on the printer. Last test spit out two blank labels.
Unfortunately the printer is in Germany and I am in the US. Going to try to change the printer to "ZGL QUIET". This is supposed to print out the ZPL code as text. Want to see if any control characters are getting changed. Also checking settings that are code page/language specific.
Looking for any suggestions. Thanks.
NormGave up with SmartForms using the Zebra device type LZEB2. It was going to a Printronix printer that emulates a Zebra. Was not sure if it would work and had to move on. Will go back later and attempt.
Also, Printronix provides SAP device types for use through SmartForms. Others have used successfully. We had problems installing at our current release level.
Switched to SAPscript. Had issues with ZPL control characters being substituted in the default European configuration on the physical printer. Made changes and had some success.
Using one of the international character sets seems to be working.
European character set #300 - Latin 2 8859-2.
It does not replace the Zebra control characters for caret and tilda.
It also does not seem to replace the Printronix control characters caret, left and right curly brackets.
Added commands to the SAPscript layout set. Still need to perform some additional testing, but last tests were successful.
ZPL II command
^CI300
Printronix PGL command
^i300^- -
ZEBRA - customize BARCODE not Printing
HI All,
I have created a label using Bar-One, everything works and prints out fine using the Zebra printer, however I've added a barcode in my label and it doesn't printout at all.
This barcode is uses Code 128 and passes in Material Number from the print program I've created.
I've also tried added a fixed barcode to print, and this time it prints out.
Is there anything i missed out when i need the barcode to be printing using a customized identifier that passes value from my print program?
Please help
Thanks in advance.
CWHi Rich,
I am not sure which part of the code that prints the barcode because its encripted code from Bar-One.
but it goes:
NEW-PAGE
^XFKPM_DE-2.ZPL
FN999FD&ZD_BARCODE&^FS
FN998FD&ZD_BRGEW&^FS
which &ZD_BARCODE& is the material number to pass in for the barcode.
If its not the right place to search please tell me what code i am suppose to provide you.
Thanks
Lim -
Problem with smartforms barcode printing
Hi,
In my smartforms i use a simply standard barcode (CD39__00)
for delivery number; but when i print there is no barcode, there is the dlivery number as number.
I'm in SAP ECC 6.0 so with the new barcode printing.
Where is the problem?
Thanks a lot.
MatteoHi - Sometimes if the height of bar code is small, then it prints the number instead of barcode. So please try to copy tht barcode into "Z" from se73 transaction and increase the height and then assign the new barcode to ur smartform. Doing this you will be getting the barcode printed on it.
Thanks
Arun Kumar
Ok, i create a new bar code bigger than the first one and now it's printed.
Thanks lot.
Matteo Vernile. -
thanks to all. i have created a barcode in SE73 in new format. but i did not see any option to specify width and height for that barcode. i have to use a width of 40mm and height of 10mm. but i am getting 50/10 mm as default. please advise me how to specify width and height for barcode in new format of SE73.
Hi
check this
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
Detailed information about SAP Barcodes
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
<b>Reward points for useful Answers</b>
Regards
Anji -
Problem with Barcode printing in smartforms
Hi Gurus,
I have made changes to the system barcode height in SE73 from say 1.3 to 0.7 cm. But when I take the printout from the barcode printer I am getting the barcode with old height.
My concern is do we need to do change anything with the printer settings. If so, where and how? who has to do that?
-B S B.Hi,
But how do we reduce the height.
I changed the height of the system barcode (device independent).
Print preview looks fine. But when actual printing takes place still the barcode retains original height.
Could you please explain me in simple steps?
SAPHelp is more confusing.
-B S B -
Standrad smartform and standard print program not available in ECC 6.0
Hi gurus,
I have a requirement like, I need to change the logo of the standrad smartform based on the company code.
The standard smartform name is '/SMBUSE/US_MMGR3'.
I have searched for the above form in ECC 6.0 and could not find one.
is the issue because of installation or configuration?
Please let me know what need to be installed or configured. so that I can give directions to the respective basis / functional guys.
please let me know the standard print program for the above smartform and how can I find the same.
Thanks & Regards
Kiran Kumar KHi ,
No standard smartform's were available because SAP Best Practises was not installed in the system.
If standard smarforms are not installed then in this case we need to need to download the forms and upload them in our system.
We need to copy paste the standard print program's as well.
Thanks & Regards,
Kiran Kumar K -
Regarding Smartforms and Print Programs in MM
HI
ALL
I need to customise the all the standard smartforms Purchase Requisition , Purchase Order,Goods receipt,Goods issue,Goods return in MM .For this I need the standard smartforms and driven programs(Print Programs) for these . send me the smartforms and printprograms for these.
Regards
VenkatHi,
You can goto 'NACE' transaction and select the Required Application then Click on OUTPUT TYPES and select the required Output type and click on PROCESSING ROUTINES.
In this way you can get the standard Smartforms.
Hope this may be helpful,
Regards,
Sravanthi -
Attaching smartform and print prog to invoice
hi
ive developed a smartform and a print program.
da program has a selection screen dat asks user for doc number(vbeln).
it den displays data in da smartform.
now ive to attach it to va02.
wen i attach it using v/40 output type(RD000) program name : zinvoice and pdf/smartform: zinv .and try to get print preview using vf03 da preview doesnt appear.also wen i click on print it shows message "output cannot be issued".
can ny1 suggest wat da problem is and how to resolve it...
points 'll b rewarded.
rgdsfirst call the function module name using ssf_function module _name
and then inluce ur fm.
as below.
Reading the NAST and DOC structures
CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
EXPORTING
ix_nast = nast
ix_screen = ent_screen
IMPORTING
ex_retco = ent_retco
ex_nast = l_nast
doc = l_doc
CHANGING
cx_druvo = l_druvo
cx_from_memory = l_from_memory.
CHECK ent_retco EQ 0.
SmartForm from customizing table TNAPR
gv_formname = tnapr-sform.
Calling the layout set
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = gv_formname
IMPORTING
fm_name = gv_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
PERFORM protocol_update.
ENDIF.
For Print output:
IF nast-nacha = '1'. " Print output
ls_control_param-preview = 'X'.
ls_control_param-no_dialog = 'X'.
ENDIF.
For fax output.
IF nast-nacha = '2'. " Fax
Create the Recipient Object
CALL FUNCTION 'CREATE_RECIPIENT_OBJ_PPF'
EXPORTING
ip_country = gv_land1
ip_faxno = gv_telfx
ip_type_id = lv_fax_tp
IMPORTING
ep_recipient_id = ls_recipient_id
EXCEPTIONS
invalid_recipient = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-004.
ENDIF.
RAISE other.
ENDIF.
Create The Sender Object
CALL FUNCTION 'CREATE_SENDER_OBJECT_PPF'
EXPORTING
ip_sender = sy-uname
IMPORTING
ep_sender_id = ls_sender_id
EXCEPTIONS
invalid_sender = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-003.
ENDIF.
RAISE other.
ENDIF.
Output options
ls_output_options-tdteleland = gv_land1.
ls_output_options-tdtelenum = gv_telfx.
ls_output_options-tdfaxuser = sy-uname.
Control parameters
ls_control_param-device = lc_fax.
ls_control_param-no_dialog = 'X'.
ls_control_param-langu = nast-tdspras.
ENDIF.
IF gv_fm_name IS NOT INITIAL.
Below function module is used to show the Smart form
CALL FUNCTION gv_fm_name
EXPORTING
is_nast = l_nast
doc = l_doc
control_parameters = ls_control_param
output_options = ls_output_options
user_settings = ' '
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
Error handling
cf_retcode = sy-subrc.
PERFORM protocol_update.
ELSE.
ENDIF.
ENDIF.
Maybe you are looking for
-
How to change default font in Numbers?
Is it possible to somehow change the default font when creating new documents in Numbers from "Helvetica Neue" to just "Helvetica", size 11? Changing the font and saving the document as new template simply does not work since the font in newly create
-
Lenovo yoga 2 13 downgrade to win7 drivers
Hi everyone, I bought this notebook for my father, but he really can't deal with win8.1 so, I thought about downgrade it to win7. Unfortunately I can't find the drivers for this laptop that are compatible with win7, I only found the ones compatible w
-
Can I install Safari 1.2 on OS X 10.3?
I am using a G4 PowerBook3,5 with OS X 10.3 and got the unhelpful message "Unable to install Safari 1.2 on this computer". There was no other explanation. According to the Safari download page, I should be able to install 1.2. Any ideas? Jolyon
-
A data DVD burned on MAC won't load in PC.
-
Referencing the script folder when launching via LNK
I have been using ".\ blah blah" to reference files stored in the same folder as the script, but I ran into a situation where this actually referenced the user's home folder, not the script folder. I then found this code, which has worked well when l