Which ZPL2 code is generated by smartforms.

Hi experts,
SAP has made some arrangements in smartforms to make it possible to create a regular Smartform which will printed normal on an normal printer. However if this same smartforms sends output to a zebraprinter the output is converted to ZPL2 code which the zebra printer needs to work.
Does anyone know how to check which ZPL2 code is sent to the printer.
Waiting for your answer.
Gr., Frank

Hi Frank,
In general you can capture the print data being sent to the printer from SAP using Method 2 of SAP Note:
   5799 - How can you view prepared print data?
First you need to increase the trace level for the output device used to print:
  SPAD -> <Output Device> -> Edit -> Test tool
        Data: Logging the first 100K
         x    Level 2 trace
         x    Function Trace
Then a log will always be produced in sp01 for the spool:
   SP01 -> Spool Request Number -> Output requests -> Double click on Log -> All information
Here you can view the print data being sent to the printer.
To print from a Smartform to a Zebra printer, you must use a device type like LZEB2 as pre the SAP Notes:
750772 - Information about the ZPL-II printer driver for Smart Forms
750002 - Smart Forms: Support for Zebra label printer (ZPL2)
Regards,
Aidan

Similar Messages

  • 'Unable to generate forms Smartform name '

    Hi ,
    I am facing. In Dev & Test it is working fine but in Production it is giving me error: 'Unable to generate forms <Smartform name>'
    Please inform me how u solved ur issue. If I will solve ds issue i will inform u.
    Helpfull answere will be rewarded
    regards,
    Mehul.

    hi,
       plz make sure that code is completely transferred from development > quality>production.
    Also check for necessary tables and others which will be used by Smart form.
    Is it possible you to check the variables used in the smart form are properly populated in the print program or not.
    Plz make sure above mention issues, it may solve your problem.
    Reward if useful.
    pradeep

  • How to edit the contents of spools generated by smartforms

    Hi All,
    I am developing a print form using print work bench & smartforms.
    There is a requirement to generate both preprinted forms (contains only datas) and Non-preprinted forms (contains u2026 data + layout + colors + picturesu2026etc) using a single smartform.In which the non-preprinted part should only get converted into pdf & preprinted should only be get printed.
    For this I am making a replica of the first two pages of non-preprinted into preprinted format in the same smartform(total 4 pages).
    Here I am able to extract & save the non-preprinted part from the spool into PDF.
    After the above process, I want to edit the spool content, & then sent to printer.
    But clueless about editing the spool content...
    ( for eg:- delete the first two pages of content in the spool & print the rest)
    So my question is u2026.
    -Is it possible to edit the contents of spool generated by smartforms u2026 ?
    (Is it possible to copy the content of existing spool ,edit, save it into new spool  and delete the old one. )
    Any solutions / suggestions u2026 ?
    Thank you for your attention.
    With Regards,
    santh

    Hi Niki,
    Thank you for your time & suggestions....
    >
    Niki wrote:
    >
    > try to control it in smartform itself.....(above idea will not work).
    >
    > try this ...
    >  from ur driver program pass a variable to identify o/p is preprinted forms or non-preprinted forms
    Yes, I got your point... I even tried this option also.
    First of all the user want both(preprinted-hardcopy & non-preprinted pdf) form in a single process, so that data integrity is maintained both in hardcopy & soft copy.
    Even if I negotiate tha above requirement....
    The problem is , I am using Print WorkBench , not an user-defined driver program.Inside printworkbench , the smartform is mentioned.
    The process is as follows...
    ea40/ea60(isu billing transaction) -> Printworkbench ->smartforms -> spool -> printer(preprint part) / pdf(non - preprint).
    Hope u understand my limitations....
    Still expecting a solution...
    Regards,
    santh

  • Printing QR-Code barcodes in SAP smartforms

    Hi,
    Is it possible to print QR-Code barcodes in SAP smartforms using system barcode font? Can anybody please let me know the font settings for QR-Code in SE73 font maintenance?
    A sample QR-Code lablel can be found [here|http://images.orkut.com/orkut/albums2/ATUAAADhaahG5MxsqQ66lcSO9oHRWD3X8zh7yv1kEakKwMtVHchChN1WfZlM__2D0_o8H7AS4_UaTTCymQQtvXHb9-q3AJtU9VCWnzkZ4gC1sVnCekVuQ90qmhzeMw.jpg].
    Regards,
    Milan

    Hi Milan,
    I'll blog in SDN about my research that I presented at TechEd during session CD119 (blog) but I'll begin sharing with you some ideas.
    Basically, without relay on any printer specific driver I would propose to follow the following steps:
    1.Generate the QR Code image file (.PNG) with one of the methods presented in the following pages
    2.Upload the image into the SAP system
    2.1 Convert the generated file (file.png) to TIFF using SAP IGS class CL_IGS_IMAGE_CONVERTER (see GRAPHICS_IGS_IMGCONV_DEMO)
    2.2.Upload. Use report RSTXLDMC to upload the image into SE78
    3.Include the image into the Form:
    3.1.SAPScript/:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST
    If everything is clear, the missing point should now be the first one. To generate the PNG from ABAP I found some options if you like, the better I think is presented in my open source project called abap2qrcode published here http://code.google.com/p/abap2qrcode/.
    I know it's not trivial and I'm curious to know what do you think about it.
    Sergio

  • Need Code to generate Inbound Idocs

    Hi friends
    i have a flat file consists of delivery confirmation data
    by using this i need to generate inbound idocs
    i filled all the segments in idoc type /afs/delvry03 and message type whscon
    can any one have the code to generate inbound idocs
    please remember that here i am not using XI
    thanks
    Anil

    Hi this is for Stand alone Programs, I hope it is useful to you.
    Program Flow 
    The program logic contains the following blocks: 
      1.  Provide a selection screen to allow a user to specify the various objects for which IDocs are to be generated. 
      2.  Determine the key of the application document from the object specified in step 1. 
      3.  Select application data from the database using the object key identified in step 2. 
      4.  Populate control record information. 
      5.  Populate an internal table of type EDIDD with data records for the various segments. 
      6.  Call the ALE service layer (MASTER_IDOC_DISTRIBUTE) to create the IDocs in the database. 
      7.  Commit work. 
    The program in Listing 32-2 generates the monthly report IDoc ZMREPT01, which illustrates a stand-alone outbound process. 
    Listing 32-2 
    REPORT ZARNEDI1 MESSAGE-ID ZE. 
    Parameters 
    object key (Social security number for the employee) 
      PARAMETERS: P_SSN LIKE ZEMPDETAIL-SSN. 
    message type 
      PARAMETERS: P_MESTYP LIKE EDMSG-MSGTYP OBLIGATORY. 
    destination system 
      PARAMETERS: P_LOGSYS LIKE TBDLST-LOGSYS. 
    Constants 
      DATA: 
        segment names 
            C_HEADER_SEGMENT           LIKE EDIDD-SEGNAM VALUE 'Z1EMHDR', 
            C_WEEKLY_DETAILS_SEGMENT   LIKE EDIDD-SEGNAM VALUE 'Z1WKDET', 
            C_CLIENT_DETAILS_SEGMENT   LIKE EDIDD-SEGNAM VALUE 'Z1CLDET', 
            C_SUMMARY_SEGMENT          LIKE EDIDD-SEGNAM VALUE 'Z1SUMRY', 
        idoc type 
            C_MONTHLY_REPORT_IDOC_TYPE LIKE EDIDC-IDOCTP VALUE 'ZMREPT01'. 
    Data declarations 
    idoc control record 
      data: control_record_out like edidc. 
    employee header data 
      DATA: FS_EMPHDR_DATA LIKE Z1EMHDR. 
    employee weekly details data 
      DATA: FS_WEEKDET_DATA LIKE Z1WKDET. 
    client details data 
      DATA: FS_CLIENTDET_DATA LIKE Z1CLDET. 
    employee monthly summary data 
      DATA: FS_SUMMARY_DATA LIKE Z1SUMRY. 
    total hours and amount for the summary segment 
      DATA: TOTAL_HRS_MONTH TYPE I, 
            TOTAL_AMT_MONTH TYPE I. 
    Database Tables 
    Application data tables 
      TABLES: ZEMPDETAIL, ZEMPWKDET. 
    Internal tables 
      DATA: 
        weekly details - appplication data 
            IT_WKDET LIKE ZEMPWKDET OCCURS 0 WITH HEADER LINE, 
        data records 
            INT_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE, 
        communication idocs geneerated 
            IT_COMM_IDOCS LIKE EDIDC OCCURS 0 WITH HEADER LINE. 
    Program logic 
      ********************Select Application Data*************************** 
      SELECT SINGLE * FROM ZEMPDETAIL WHERE SSN = P_SSN. 
      IF SY-SUBRC NE 0. 
         MESSAGE E001 WITH P_SSN. 
         EXIT. 
      ENDIF. 
      SELECT * FROM ZEMPWKDET INTO TABLE IT_WKDET WHERE SSN = P_SSN. 
      IF SY-SUBRC NE 0. 
         MESSAGE E002 WITH P_SSN. 
         EXIT. 
      ENDIF. 
      ********************Build Control Record****************************** 
    Fill control record information 
      CONTROL_RECORD_OUT-MESTYP = P_MESTYP. 
      control_record_out-idoctp = c_monthly_report_idoc_type. 
      control_record_out-rcvprt = 'LS'. 
      control_record_out-rcvprn = p_logsys. 
      ********************Build Data Records******************************** 
      *--Employee header--
    fill the employee header information 
      FS_EMPHDR_DATA-LNAME = ZEMPDETAIL-LNAME. 
      FS_EMPHDR_DATA-FNAME = ZEMPDETAIL-FNAME. 
      FS_EMPHDR_DATA-SSN   = ZEMPDETAIL-SSN. 
      FS_EMPHDR_DATA-DOB   = ZEMPDETAIL-DOB. 
    fill the administrative section of the data record 
      INT_EDIDD-SEGNAM = C_HEADER_SEGMENT. 
      INT_EDIDD-SDATA = FS_EMPHDR_DATA. 
    append the employee header data record to the IDoc data 
      APPEND INT_EDIDD. 
      *--Employee weekly details--
      LOOP AT IT_WKDET. 
    fill the weekly details for each week 
        FS_WEEKDET_DATA-WEEKNO = IT_WKDET-WEEKNO. 
        FS_WEEKDET_DATA-TOTHOURS = IT_WKDET-TOTHOURS. 
        FS_WEEKDET_DATA-HRLYRATE = IT_WKDET-HRLYRATE. 
    add administrative information to the data record 
        INT_EDIDD-SEGNAM = C_WEEKLY_DETAILS_SEGMENT. 
        INT_EDIDD-SDATA = FS_WEEKDET_DATA. 
    append the data for the week to the IDoc data 
        APPEND INT_EDIDD. 
    Client details of each week 
        FS_CLIENTDET_DATA-CLSITE = IT_WKDET-CLSITE. 
        FS_CLIENTDET_DATA-WORKDESC = IT_WKDET-WORKDESC. 
    add administrative information to the data record 
        INT_EDIDD-SEGNAM = C_CLIENT_DETAILS_SEGMENT. 
        INT_EDIDD-SDATA = FS_CLIENTDET_DATA. 
    append the client details for the week to the IDoc data 
        APPEND INT_EDIDD. 
      ENDLOOP. 
      *--Employee monthly summary--
    compute total hours and amount for the month 
      LOOP AT IT_WKDET. 
        TOTAL_HRS_MONTH = TOTAL_HRS_MONTH + IT_WKDET-TOTHOURS. 
        TOTAL_AMT_MONTH = TOTAL_AMT_MONTH + ( IT_WKDET-TOTHOURS * 
                                              IT_WKDET-HRLYRATE ). 
      ENDLOOP. 
    fill the summary information 
      FS_SUMMARY_DATA-TOTHRS = TOTAL_HRS_MONTH. 
      FS_SUMMARY_DATA-TOTAMT = TOTAL_AMT_MONTH. 
    condense the summary record fields to remove spaces 
      CONDENSE FS_SUMMARY_DATA-TOTHRS. 
      CONDENSE FS_SUMMARY_DATA-TOTAMT. 
    add administrative information to the data record 
      INT_EDIDD-SEGNAM = C_SUMMARY_SEGMENT. 
      INT_EDIDD-SDATA = FS_SUMMARY_DATA. 
    append summary data to the IDoc data 
      APPEND INT_EDIDD. 
      *************Pass control to the ALE layer**************************** 
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' 
           EXPORTING 
                master_idoc_control            = control_record_out 
           TABLES 
                COMMUNICATION_IDOC_CONTROL     = IT_COMM_IDOCS 
                MASTER_IDOC_DATA               = INT_EDIDD 
           EXCEPTIONS 
                ERROR_IN_IDOC_CONTROL          = 1 
                ERROR_WRITING_IDOC_STATUS      = 2 
                ERROR_IN_IDOC_DATA             = 3 
                SENDING_LOGICAL_SYSTEM_UNKNOWN = 4 
                OTHERS                         = 5. 
      IF SY-SUBRC NE 0. 
         MESSAGE E003 WITH P_SSN. 
      ELSE. 
         LOOP AT IT_COMM_IDOCS. 
           WRITE: / 'IDoc generated', IT_COMM_IDOCS-DOCNUM. 
         ENDLOOP. 
         COMMIT WORK. 
      ENDIF.

  • Code to generate incremental ip address

    Hi,
    I want some help in writing a code for the following task.
    Task - given an input ip address, generate an incremental(next) ip address from the input ip address considering that the subnet mask is 255.255.255.0
    For example i have something like :
    Input IP Address Generated value should be
    1) 10.10.11.1 10.10.11.2
    2) 10.10.11.254 10.10.12.1
    3) 192.168.12.5 192.168.12.6
    4) 10.254.254.254 11.0.0.1
    5) 192.253.254.254 192.254.0.1
    code sample :-
    this code sample is not complete implementation, so i need help to write code to generate the next IP Address
    Class IpAddress is a foundation Class used, which has methods to get the IP Address in String, bytes...
    code is as follows : -
    IpAddress ipAddr = new IpAddress(new String("10.10.11.1"));
    IpAddress newIPAddr= null;
    byte []ipAddrByte = ipAddr.getAddress();
    byte []newBytes= new byte[4];
    newBytes[0]= ipAddrByte[0];
    newBytes[1]= ipAddrByte[1];
    newBytes[2]= ipAddrByte[2];
    newBytes[3]= ipAddrByte[3];
    use the input Ip Address(ipAddr) to generate the next Ip Address..
    the input IP Address will be passed to this function(module), consider the subnet mask to be 255.255.255.0(last byte has the host id).
    please help..
    regards,
    rohan

    public String incAddr(String ip)
      int i;
      int addr[] = new int[4];
      StringTokenizer st = new StringTokenizer(ip, ".");
      for (i = 0; i < addr.length; ++i)
        addr[i] = (Integer.valueOf(st.nextToken())).intValue();
      for (i = 3; i > 0; ++i)
        if (addr[i] >= 254)
          addr[i] = 0;
          ++addr[i - 1];
        else
          ++addr;
    if (addr[0] >= 254)
    System.out.println("Illegal IP Generated");
    addr[0] = addr[1] = addr[2] = addr[3] = 0;
    else
    ++addr[0];
    return addr[0] + "." + addr[1] + "." + addr[2] + "." + addr[3];
    } // incAddr
    This is UNTESTED.. but should be close... needs some saftey stuff put in.. but
    there U go.
    Might I suggest that if you could not come up with the simple logic,
    CHANGE MAJORS!

  • How find out which user is using which company code?

    Hi Gurus,
    I am having more than 500 users in Production System.I need to find out which user is using which company code?I can get the roles and users separately from two different SAP tables.
    Is it possible to get it from a single table or Tcode?
    Best Regards,
    Rahman

    Hi,
    Thanks for the update.Yes I tried with SUIM.But I was unable to find any clue.
    Regards,
    Rahman

  • Is there any software in Adobe Creative Cloud which will let me generate barcodes?

    Hi
    Is there any software in Adobe Creative Cloud which will let me generate barcodes?

    - Do I have 40 10-second clips each with 1.9 GB of unwanted video behind it??
    Not to worry. When we Copy and Paste within a project, iMovie HD creates a new clip thumbnail for the Timeline/Clips pane, then simply adds a new pointer to the source video. The source material is not duplicated.
    When you Copy a clip and Paste a clip to a DIFFERENT project then Yes, the clip's entire source video file is duplicated. (When Copying between projects, be sure to Copy and Paste all the clips together so iMovie duplicates the source files just one time.)
    Next time, you might consider setting your iMovie 6 preferences to limit the length of imported clips to 3 minutes — or whatever duration you want. Then each imported clip will have its own source file. When you discard an entire clip its file will be discarded too, shrinking the size of the project.
    If you have no need to preserve the clips as clips you could export the project to a Full Quality movie that you import to a new project. Everything will arrive as a single clip, which may be okay here. Then discard your old project. The project will be smaller, containing just the stuff on the Timeline.
    If the Timeline contains most of the source material — just split into small clips — there may not be a lot of "extra" material in the project. To get an estimate of how large the Timeline really is, open the "Timeline Movie.mov" that's inside the Cache folder of the project in QuickTime Player. QT Player's Show Movie Info window will show the size of the material it represents.
    Karl

  • How do I report on which release code released a Requisition?

    I need to create a report that shows all the requisitions created last month and which release code approved them.  I know I can join EBAN and T16FS to see the codes that CAN approve, but I need to know which one DID approve.  We only require one of the codes on a release strategy to do the approving. When you look at a purchase requisition in ME52N that has been approved, on the Release Strategy tab it shows a checkmark next to the Code that approved it.  Where is that kept?  That's what I need to report.
    From some other postings I read that it may be in CDHDR or CDPOS, but, if so, how do I get from EBAN to CDPOS to see the Approver Code?

    Thanks for the info.  However, I’m not seeing that behavior.  In SQVI using EBAN table every “X” is in position 1 for FRGZU.
    However, for example, purchase req 10018345 was approved by the SECOND approver code.
    Using the M2 Strategy:
    But the last Req above, 20004578, was approved by the 3rd approver in the sorted list:
    Which is the first name in the Strategy W1:
    You can see above where the X is in the same place for both of these Reqs when viewed in SQVI (EBAN).  Is there another way to view this and create a report that reflects the functionality you're talking about? Or maybe I'm just missing something.   

  • Which Tax Code has been used in Freight Charges Dialog Box ?

    Sir ,
    Plz tell me that when we Click on any Document of Sales / Purchase Module or Purchase Order like open
    and than u add the Items and Click on the Freight Drill Down Arrow Give the Freight as 10% , than u give Tax Code also.
    But I am asking that only , which Tax Code will be choose for Freight.?

    Hello jyotasna,
    If you want to select tax code then you should be tick as a freight tax code in tax code setup form(Administrator>Setup>Financial>tax code) otherwise tax code will not be listed on freight window.
    Generally in india some state have tax on freight. it shoud be better to ask your client account person because he is single person who give you proper answer.
    If he said that we dont any use tax code on freight then make a new Exempted (Rate 0) tax code and select whenever you want to select freight window on marketing document(SAles And Purchase) because this you can not add freight window.
    Service tax only a tax whcih will dedect on freight amount .if applicable in your company profile.
    Thanks
    Mnavendra Singh Niranjan

  • Hi I need this asap... "Java code to generate XML File from XML Schema"

    Hi all....
    I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...
    PS: I already posted in the afternoon... this is the second posting.

    take look at :
    http://sourceforge.net/projects/jaxme/
    this might help...

  • Java code to generate XML File from XML Schema

    Hi I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...

    JAXB has been available as an early release download for some time. There are also XML Binding packages available from Borland (JBuilder) and Castor. These tools create Java classes from a source document, xml,dtd etc. You can use these classes to marshal-unmarshal XML documents.
    Dave

  • How do see which t-codes users have been accessing ?

    Hi folks
    I have been asked to run a report by user name showing which t-codes have been used, say in the last 90 days.
    Is this possible?  Or is this information available in a table somewhere, If so what is the table name and key fields needed.
    Layout would need to be something like:
    User name
    T-code     Date Accessed    Time Accessed
    xxxx       xx.xx.xxxx           xx.xx.xx
    Thanks for any advise.
    Points awarded for helpful answers !
    Regards
    Steve
    Edited by: Steven Lawrence on Jun 27, 2008 12:08 PM

    Hi folks
    Hi,
    Transaction execution is histroy is not stored in any table, but it is only stored at server level in binary format. This file gets formatted when ever application server is Restarted.
    You can access execution histroy data using STAT (upto 4.7) /STAD (above 4.7)

  • Which t code use before pre sale order

    gud morng to all
          pls tell me. which t. code use before pre sale order (va21) and why this function use and how
    regards,
    gaurav pabreja

    T.Code: VA11
    to create Inquiry
    The document flow is
    IN > QT > OR > LF > F2
    The Inquiry is done in order to get to know the price that the customer is going to get. It can be done over the phone, e-mail or a walk-in.
    Regards
    AK
    reward points if helpful

  • Please advice which T-code can I use

    hi experts,
    I need a report to display the entire PO created by Company code xxxx from July to Sept 08.
    Please advice which T-code can I use.
    thanks in advance,
    mohammad

    Use ME2N Report on Purchase Orders and Input Document Date From Date and To Date Field and Select the scope of List as ALLES_ALV / as per your Requirement and Execute.
    Else Go to SE11 and Input Table EKKO and then Click on Display / F7 then Execute / CtrlShiftF10 and Input Document Date and Execute.

Maybe you are looking for

  • Measure current and voltage in Elvis and labview

    Hi!  We're setting up a control system setup for class where we need to monitor the current and voltage that we are supplying/drawing from the ELVIS hardware within a LABVIEW setup.  So far, we can accurately display voltage input and outputs from th

  • Restore a database in a new instance with different name

    Hello, I need restore a database in a different server. I have a backup of 01-Jan-2008 on tape on DataProtector and I need to restore in another server in order to extract some information for a datawarehouse, I need restore with a name different bec

  • Report Column alignment

    Hello, i have a report with over 100 columns and wish to set the alignment of the data to right. at present the only way to do this would be to use the combo box to select the alignment value. could anyone advise if there is a way to do i through the

  • How do I change the default App Store from us to uk?

    My iPad mini is from the USA but I live in uk and want to change default App Store and iTunes Store to uk

  • QBE filtering using "OR" conjunction

    I would like to allow filtering on my table but set the criteria so that one or more specific rows always show up in the search regardless of the criteria entered in the table search headers. Any idea how to accomplish this? It seems that the Filter