Barcode pritner issue in smartform printing

Dear Experts,
I have problem with barcode printing. I have only one page in my smartform and there is table in that. I need to print delivery number as barcode. I have writtern logic for that and its working fine. But when I print my output in BARCODING printer, the delivery number is printing as barcode properly but rest of all characters also printing as barcode. Every thing in the output is appearing as all barcodes. I can not see any data in the output all are barcodes only.
Could you please help me on this issues.
Thanks for your time,
Regards,
J.P

Solved myself

Similar Messages

  • Issue in Smartform printing

    Hi
    After upgrade from 4.6 C to ECC6, we are facing a problem. A form printout displays the character ~ above the actual text.
    for ex the  0 ~ 25 is getting printed as the sign ~ coming a bit above both 0 and 25.
    Kindly advice if anyone is having idea about the reason and possible solution.
    Thanks in advance.
    Regards
    Dinesh

    Hi
    I checked smartstyle, but it was ok, superscript not checked. Also I checked in internal table while debugging, data was coming correctly as  0 ~ 25. In printout and print preview the sign ~ appeared above 0 and 25 instead of in middle.
    Kindly advice.
    Regards
    Dinesh

  • Smartform Printing on both sides

    Hi.
    I am fasing an issue in smartform printing.
    we are printing the Invoice.this invoice data is dynamically comming on the front side of the page.
    and printing normally.
    but back side of the page they want to print the comapany rules(on every page back side).(these rules are comming with in one page only).
    so on the front side this invoice data and back side Comapany rules shouls come.(we don't know how many pages of invoice data will come).
    Plesae help me to solve this issue.
    Thanks in advance,
    Regards,
    Eswar

    HI Eswar,
    If you have only one page made in your smartform you can make one more page with just the main wiindow.This window will have all the rules of the company.Now make the first page point to this page and make this page point to the first page.
    Select duplex printing in the page attributes and print.This will solve the issue.
    Reward if useful.
    Thanks,
    Dishant

  • Total pages printed issue in Smartforms

    Hi,
    I have small issues in Smartforms,
    I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
    If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
    In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
    Please guide me about this issue.
    Thanks.
    VJ.

    Hi Florian,
    Thanks for your response and O/P management info.
    My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
    Code Ref:
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname_s
        IMPORTING
          fm_name            = lf_fm_name_s
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.
      CALL FUNCTION lf_fm_name_s
        EXPORTING
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          user_settings      = ' '
          v_file_name        = v_smart_name
         t_t_processed      = t_t_processed                             " for total processed
          t_check_amount     = t_check_amount_t
          t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
    IMPORTING
          job_output_options = v_output_options
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
    Thanks in advance,..

  • I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for

    I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for the HP driver when i boot up. It also will not save in any print or postscript format. Does anyone know how to fix?
    Currently use a Mac with the latest Mavericks 10.9.4

        Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
    What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
    It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • Open port issues with Direct Print functionality

    Hi, I have been fighting with HP call support about the Photosmart 7525 printer.
    Originally I setup and had performed all the functions to enable both web support and WIFI.
    Within an hour the printer would not respond to wireless communication, though it had its wireless indecator showing it was connected.
    I was told by HP support that the issue will be resolved in March, as there will be a firmware update to fix the issue.
    Now that I had the printer install the new firmware I still get the issue.
    Though I found through some sniffing, that there are a number of ports enabled and open that are over and beyond print requirements.
    Funny thing I can send my printer into instant lockup with all lights flashing with a simple UDP ping sniff. I would think I can do this with other new HP printers using Eprint functions. I will find HP web based printers that are open for public printing and test my theory that HP Eprinters are open to hacking and denyal of service attempts.  My Hp print app on andriod list three in my area, and one is at my local Walmart. This would be cool to find this, as I am usually not the first to point such matters out.
    I assume some are for Apple devices to print.
    Here is my sniffing report:
    Starting Nmap 6.40 ( http://nmap.org ) at 2014-03-21 07:57 Central Daylight TimeNSE: Loaded 110 scripts for scanning.NSE: Script Pre-scanning.Initiating ARP Ping Scan at 07:57Scanning 192.168.223.1 [1 port]Completed ARP Ping Scan at 07:57, 0.23s elapsed (1 total hosts)Initiating Parallel DNS resolution of 1 host. at 07:57Completed Parallel DNS resolution of 1 host. at 07:58, 16.50s elapsedInitiating SYN Stealth Scan at 07:58Scanning 192.168.223.1 [1000 ports]Discovered open port 445/tcp on 192.168.223.1Discovered open port 139/tcp on 192.168.223.1Discovered open port 80/tcp on 192.168.223.1Discovered open port 443/tcp on 192.168.223.1Discovered open port 8080/tcp on 192.168.223.1Discovered open port 9220/tcp on 192.168.223.1Discovered open port 6839/tcp on 192.168.223.1Discovered open port 631/tcp on 192.168.223.1Discovered open port 7435/tcp on 192.168.223.1Discovered open port 8089/tcp on 192.168.223.1Discovered open port 9100/tcp on 192.168.223.1Completed SYN Stealth Scan at 07:58, 1.71s elapsed (1000 total ports)Initiating UDP Scan at 07:58Scanning 192.168.223.1 [1000 ports]Discovered open port 5353/udp on 192.168.223.1Completed UDP Scan at 07:58, 1.82s elapsed (1000 total ports)Initiating Service scan at 07:58Scanning 20 services on 192.168.223.1Discovered open port 161/udp on 192.168.223.1Discovered open|filtered port 161/udp on 192.168.223.1 is actually open
    Starting Nmap 6.40 ( http://nmap.org ) at 2014-03-21 07:51 Central Daylight TimeNmap scan report for 192.168.223.1Host is up (0.0025s latency).Not shown: 93 closed portsPORT     STATE SERVICE     VERSION80/tcp   open  http        HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)139/tcp  open  tcpwrapped443/tcp  open  ssl/http    HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)445/tcp  open  netbios-ssn631/tcp  open  http        HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)8080/tcp open  http        HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)9100/tcp open  jetdirect?MAC Address: A03:C1:BD:C8:34 (Unknown)Device type: printer|general purposeRunning: HP embedded, Wind River VxWorksOS CPE: cpe:/h:hp:laserjet_cm1415fnw cpe:/h:hp:laserjet_cp1525nw cpe:/h:hp:laserjet_1536dnf cpe:/o:windriver:vxworksOS details: HP LaserJet CM1415fnw, CP1525nw, or 1536dnf printer, VxWorksNetwork Distance: 1 hopService Info: Device: printer; CPE: cpe:/h:hphotosmart_7520OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .Nmap done: 1 IP address (1 host up) scanned in 34.11 seconds

    OK now I am able to run a full scan on TCP ports without causing a lock up of the printer.
    I found that having the printer connect to a router that has been setup to use channel 5, 6 or 7 will cause port scanning issues with the printer.
    It is obvious that there are 18 ports that are seen as open, whether they are used or not. Two of which are active but have no service connected to them. Some are just dead like port 25, but over half are active enough to recieve data and lock network connectivity within the printer.
    As the firmware states some other laser jets may be affected depending on how the configuration can be set.
    I moved my routers channel to channel 1 as it is the only other option I have in a highly congested location. It is not as good as channel 6, but the printer seems to have channel 6 locked in for direct printing.
    Here is the latest full scan with UDP enabled, it is the furthest and most complete scan I am able to complete, with UDP ports enabled. The TCP port scan has a bit more and I have placed a simple list below the information given here:
    Starting Nmap 6.40 ( http://nmap.org ) at 2014-03-21 13:27 Central Daylight Time
    NSE: Loaded 110 scripts for scanning.
    NSE: Script Pre-scanning.
    Initiating ARP Ping Scan at 13:27
    Scanning 192.168.1.211 [1 port]
    Completed ARP Ping Scan at 13:27, 0.44s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 13:27
    Completed Parallel DNS resolution of 1 host. at 13:27, 0.03s elapsed
    Initiating SYN Stealth Scan at 13:27
    Scanning 192.168.1.211 [1000 ports]
    Discovered open port 443/tcp on 192.168.1.211
    Discovered open port 80/tcp on 192.168.1.211
    Discovered open port 139/tcp on 192.168.1.211
    Discovered open port 8080/tcp on 192.168.1.211
    Discovered open port 445/tcp on 192.168.1.211
    Discovered open port 631/tcp on 192.168.1.211
    Discovered open port 9100/tcp on 192.168.1.211
    Discovered open port 7435/tcp on 192.168.1.211
    Discovered open port 9220/tcp on 192.168.1.211
    Discovered open port 6839/tcp on 192.168.1.211
    Completed SYN Stealth Scan at 13:27, 5.25s elapsed (1000 total ports)
    Initiating UDP Scan at 13:27
    Scanning 192.168.1.211 [1000 ports]
    Discovered open port 137/udp on 192.168.1.211
    Completed UDP Scan at 13:27, 4.46s elapsed (1000 total ports)
    Initiating Service scan at 13:27
    Scanning 16 services on 192.168.1.211
    Discovered open port 161/udp on 192.168.1.211
    Discovered open|filtered port 161/udp on 192.168.1.211 is actually open
    Completed Service scan at 13:29, 82.51s elapsed (17 services on 1 host)
    Initiating OS detection (try #1) against 192.168.1.211
    NSE: Script scanning 192.168.1.211.
    Initiating NSE at 13:29
    Completed NSE at 13:30, 82.29s elapsed
    Nmap scan report for 192.168.1.211
    Host is up (0.023s latency).
    Not shown: 1983 closed ports
    PORT     STATE         SERVICE      VERSION
    80/tcp   open          http         HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)
    |_http-favicon: Unknown favicon MD5: 76C6E492CB8CC73A2A50D62176F205C9
    | http-methods: GET POST PUT DELETE
    | Potentially risky methods: PUT DELETE
    |_See http://nmap.org/nsedoc/scripts/http-methods.html
    |_http-title: Site doesn't have a title (text/html).
    139/tcp  open          tcpwrapped
    443/tcp  open          ssl/http     HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)
    |_http-favicon: Unknown favicon MD5: 76C6E492CB8CC73A2A50D62176F205C9
    | http-methods: GET POST PUT DELETE
    | Potentially risky methods: PUT DELETE
    |_See http://nmap.org/nsedoc/scripts/http-methods.html
    |_http-title: Site doesn't have a title (text/html).
    | ssl-cert: Subject: commonName=HPPS7525/organizationName=HP/stateOrProvinceName=Washington/countryName=US
    | Issuer: commonName=HPPS7525/organizationName=HP/stateOrProvinceName=Washington/countryName=US
    | Public Key type: rsa
    | Public Key bits: 1024
    | Not valid before: 2014-02-25T10:12:24+00:00
    | Not valid after:  2034-02-20T10:12:24+00:00
    | MD5:   9144 ca3b 557e 09cc aba0 8387 2732 2375
    |_SHA-1: a6b2 95c0 b72a 7201 578c 32de 662a e6fe b082 48ca
    |_ssl-date: 2014-03-21T13:30:09+00:00; -4h59m12s from local time.
    445/tcp  open          netbios-ssn
    631/tcp  open          http         HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)
    | http-methods: GET POST PUT DELETE
    | Potentially risky methods: PUT DELETE
    |_See http://nmap.org/nsedoc/scripts/http-methods.html
    6839/tcp open          tcpwrapped
    7435/tcp open          tcpwrapped
    8080/tcp open          http         HP Photosmart 7520 series printer http config (Serial TH3AS711XZ05YZ)
    |_http-favicon: Unknown favicon MD5: 76C6E492CB8CC73A2A50D62176F205C9
    | http-methods: GET POST PUT DELETE
    | Potentially risky methods: PUT DELETE
    |_See http://nmap.org/nsedoc/scripts/http-methods.html
    |_http-title: Site doesn't have a title (text/html).
    9100/tcp open          jetdirect?
    9220/tcp open          hp-gsg       HP Generic Scan Gateway 1.0
    137/udp  open          netbios-ns   Samba nmbd (workgroup: HPPS7525)
    138/udp  open|filtered netbios-dgm
    161/udp  open          snmp         SNMPv1 server (public)
    | snmp-hh3c-logins:
    |_  baseoid: 1.3.6.1.4.1.25506.2.12.1.1.1
    | snmp-interfaces:
    |   Wifi0
    |     IP address: 192.168.1.211  Netmask: 255.255.255.0
    |     MAC address: a0:d3:c1:bd:c8:32 (Unknown)
    |     Type: ethernetCsmacd  Speed: 10 Mbps
    |     Status: up
    |_    Traffic stats: 6.16 Mb sent, 3.43 Mb received
    | snmp-netstat:
    |   TCP  0.0.0.0:7435         0.0.0.0:0
    |   TCP  192.168.1.211:56076  15.201.145.52:5222
    |   UDP  0.0.0.0:3702         *:*
    |   UDP  127.0.0.1:666        *:*
    |_  UDP  192.168.223.1:67     *:*
    | snmp-sysdescr: HP ETHERNET MULTI-ENVIRONMENT
    |_  System uptime: 0 days, 3:34:23.28 (1286328 timeticks)
    | snmp-win32-shares:
    |_  baseoid: 1.3.6.1.4.1.77.1.2.27
    1022/udp open|filtered exp2
    1023/udp open|filtered unknown
    3702/udp open|filtered ws-discovery
    5355/udp open|filtered llmnr
    MAC Address: A03:C1:BD:C8:32 (Unknown)
    Device type: general purpose
    Running: Wind River VxWorks
    OS CPE: cpe:/o:windriver:vxworks
    OS details: VxWorks
    Uptime guess: 0.150 days (since Fri Mar 21 09:55:04 2014)
    Network Distance: 1 hop
    TCP Sequence Prediction: Difficulty=255 (Good luck!)
    IP ID Sequence Generation: Busy server or unknown class
    Service Info: Hosts: HPA0D3C1BDC832, HPPS7525; Device: printer; CPE: cpe:/h:hphotosmart_7520
    Host script results:
    | nbstat:
    |   NetBIOS name: HPA0D3C1BDC832, NetBIOS user: <unknown>, NetBIOS MAC: <unknown>
    |   Names
    |     HPA0D3C1BDC832<00>   Flags: <unique><active><permanent>
    |     MSHOME<00>           Flags: <group><active><permanent>
    |     HPA0D3C1BDC832<20>   Flags: <unique><active><permanent>
    |     HPPS7525<00>         Flags: <unique><active><permanent>
    |_    HPPS7525<20>         Flags: <unique><active><permanent>
    | smb-security-mode:
    |   Account that was used for smb scripts: guest
    |   User-level authentication
    |   SMB Security: Challenge/response passwords supported
    |_  Message signing disabled (dangerous, but default)
    TRACEROUTE
    HOP RTT      ADDRESS
    1   23.26 ms 192.168.1.211
    NSE: Script Post-scanning.
    Read data files from: F:\Progs\Nmap
    OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 180.90 seconds
               Raw packets sent: 2030 (74.829KB) | Rcvd: 2921 (149.377KB)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++===
    Full TCP port scan without UDP scanning of all ports, showing up as open... * designates open and active.
    192.168.223.1Discovered open port 25/tcp on
    *192.168.223.1Discovered open port 80/tcp on
    *192.168.223.1Discovered open port 110/tcp on
    *192.168.223.1Discovered open port 119/tcp on
    *192.168.223.1Discovered open port 139/tcp on
    192.168.223.1Discovered open port 143/tcp on
    *192.168.223.1Discovered open port 443/tcp on
    *192.168.223.1Discovered open port 445/tcp on
    192.168.223.1Discovered open port 465/tcp on
    192.168.223.1Discovered open port 563/tcp on
    192.168.223.1Discovered open port 587/tcp on
    *192.168.223.1Discovered open port 631/tcp on
    192.168.223.1Discovered open port 993/tcp on
    192.168.223.1Discovered open port 995/tcp on
    *192.168.223.1Discovered open port 7435/tcp on
    *192.168.223.1Discovered open port 6839/tcp on
    *192.168.223.1Discovered open port 8080/tcp on
    192.168.223.1Discovered open port 8089/tcp on
    *192.168.223.1Discovered open port 9100/tcp on
    *192.168.223.1Discovered open port 9220/tcp on

  • Issues with Form printing using a 3rd party software!!!!!!!!!!!!!!!11

    Hi All,
    We are printing our month end AR statements using Xerox DP100 printers. We are using a SAP Script as the layout form. Everything works perfectly alright when a direct print is issued to the printer. But the scenario here is the statements are sent to a 3rd party software so that the statements can be saved in their repository and made available to be viewed and printed whenever necessary. Now the issue is when this 3rd Party Software(TPS) reads the SAP generated PCL from its report store on the unix host and generates a PDF File that it presents to the web client user for (re)printing via his/her PC it appears that the TPS or Websphere or Adobe is performing a font substituion - replacing the Univers font(used in R/3) which is not loaded on the unix host with a different font(with different sizing and/or behavior).
    As a result the horizontal and vertical positioning generated by SAP(which is correct for the Univers font) is 'wrong' for the substituted font. The fixed size fields print OK but gradually move to the right. The varying size amount columns do not align correctly and fall off the right side of the page.
    Can anyone give me pointers on what can be done to arrest this error.
    Does the font need to be loaded on the unix host or the font used in the form be changed?
    Regards,
    Karthik

    Karthik,
              Sap script behaves differently for different printers. You will have to change margins when you change your printer/software accordingly.

  • Performance issues -- related to printing

    Hi All,
    I am haviing production system performance issues related to printing. endusers are telling the printing is slow for almost printers. We are having more that 40 to 50 printers in landscape.
    As per my primary investigation I didnt find any issues in TSP01 & TSP02 tables. But I can see the table TST01 and TST03 table having many number of entries (more that lakh). I dont have idead about this table. Is ther eany thing related to this table where the print causes slowness or any other factors also makes this printing issue .. Please advice ..
    thanks in advance

    Hai,
    Check the below link...
    http://help.sap.com/saphelp_nw70/helpdata/en/c1/1cca3bdcd73743e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/04ca3bb6f8c21de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/86/1ccb3b560f194ce10000000a114084/content.htm
    TemSe cannot administer objects that require more than two gigabytes of storage space, regardless of whether the objects are stored in the database or in the file system. Spool requests of a size greater than two gigabytes must therefore be split into several smaller requests.
    It is enough if you perform the regular background jobs and Temse consistency checks for the tables.
    This will help in controlling the capacity problems.
    If you change the profile parameter rspo/store_location parameter value to 'G' this will make the performance better. The disadvantages are TemSe data must be backed up and restored separately from the database using operating system tools, In the event of problems, it can be difficult to restore consistency between the data held in files and the TemSeu2019s object management in the database. Also you have take care of the Hard disk requirements because in some cases, spool data may occupy several hundred megabytes of disk storage. If you use the G option, you must ensure that enough free disk space is available for spool data.
    Regards,
    Yoganand.V

  • Hyperlink issue in Smartform PDF

    Hi  All,
               I am facing below issue with Smartform after it converted to PDF. The PDF file has below link
    (http://www.vocakiri.co.uk/_assets/media/StandardTC3_(including_REG_31_Requirements).pdf) in footer window.
    But when i am selecting the hyperlink it is getting truncated as "http://www.vocakiri.co.uk/_assets/media/StandardTC3_" .it opens window with truncated
    web address which leads to error.
    could you please let me know what is the problem or is there any note need to be applied.
    Thanks and Regards,
    Prasanna B

    Hi Prasanna B,
    See thread http://scn.sap.com/thread/1819587.
    You can try using the callback method described in the following Notes:
    622718 - SF Web Forms: Callback for the URL format
    707931 - Web Forms: Incorrect URL address with the HTML output
    You can get a different title of the link by using a kind of user exit for the URL processing, which is described in Note 622718.
    You must create your own function module with the following interface:
    *"  CHANGING
    *"     REFERENCE(DATA) TYPE  TTXCTOKEN
    Data: i_data type STXCTOKEN,
    (see note 622718; TTXCTOKEN is an internal table of type STXCTOKEN)
    Now when you call the function module of the Smart Form, you should fill the parameter OUTPUT_OPTIONS-URLCALL with the name of the new function module. As a result your function module is called, when the URL is processed by the Smart Forms composer.
    This method allows you to use a shorter alias for a longer URL link.
    Regards,
    Aidan

  • Issue in Duplex Printing in Acrobat 9 Pro

    Hi,
    I have issues in duplex printing it comes out inverted. 1 side is correct and the other side is in the other direction.
    Im using windows 7 and an HP 8500 wireless. Microsoft word is working fine so im assuming the printer driver is working ok.
    Any ideas will really help.
    Thanks
    george mark

  • Smartform printing on Dot Matrix printer for continuous stationery

    Hi Friends,
    I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
    Settings in SPAD are as follows:
    Output device : Lp01
    Device type : SWIN
    and page format : LINE_21
    Format Type : LINE_21
    What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is  : wipro WEP 800 DX)
    Thanks and Regards,
    Sachin Soni

    Hi,
    Change the page settings in the form
    -> under the form attributes you can find the page format there you can set up your required format
    Thanks,
    Nethaji.

  • Smartform print program for order confirmation

    Hi experts.
    I am looking for a smartform print program for order confirmation.
    The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
    If any body written the program already please provide me or provide the link to check.
    Thanks in advance
    Sai

    this is the processing form.
    form processing.
      data: lf_fm_name            type rs38l_fnam.
      data: ls_control_param      type ssfctrlop.
      data: ls_composer_param     type ssfcompop.
      data: ls_recipient          type swotobjid.
      data: ls_sender             type swotobjid.
      data: lf_formname           type tdsfname.
      data: ls_addr_key           like addr_key.
      data: document_output_info type  ssfcrespd,
            job_output_info type ssfcrescl,
            job_output_options type ssfcresop.
      perform get_data.
      check retcode = 0.
      perform set_print_param using      addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         retcode.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        message e001(/smb40/ssfcomposer).
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname           = lf_formname
        importing
          fm_name            = lf_fm_name
        exceptions
          no_form            = 1
          no_function_module = 2
          others             = 3.
      if sy-subrc <> 0.
      error handling
        retcode = sy-subrc.
        if sy-subrc = 1.
          message e001(/smb40/ssfcomposer).
        endif.
        if sy-subrc = 2.
          message e002(/smb40/ssfcomposer) with lf_formname.
        endif.
        perform protocol_update.
      endif.
      call function lf_fm_name
        exporting
          archive_index        = toa_dara
          archive_parameters   = arc_params
          control_parameters   = ls_control_param
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          output_options       = ls_composer_param
          user_settings        = ' '
          is_nast              = nast
          is_vbdka             = vbdka
          is_addres            = addr_key
        importing
          document_output_info = document_output_info
          job_output_info      = job_output_info
          job_output_options   = job_output_options
        tables
          it_vbdpa             = tvbdpa    "Item information
          it_vbdpau            = tvbdpau   "Subitem numbers
          it_vedpa             = tkomservp  "Contract Item Validity
          it_vedka             = tkomservh  "Contract Header Validity
          it_vedpn             = tkomservpn "Contract Item Cancellation Data
          it_vedkn             = tkomservhn "Contract Header Cancellation DA
        exceptions
          formatting_error     = 1
          internal_error       = 2
          send_error           = 3
          user_canceled        = 4
          others               = 5.
      if sy-subrc <> 0.
        retcode = sy-subrc.
        perform protocol_update.
    get SmartForm protocoll and store it in the NAST protocoll
        perform add_smfrm_prot.
      endif.
    endform.                    "processing

  • How to Handle BARCODE related issues in WebDynpro ABAP

    Hi All,
    How to handle barcode related issues in WDA?
    is it possible in WDA or not?
    please provide information or any links related..
    Thanks,
    raj.

    Hi ,
    You just need to install the software comes with the barcode scanner in the local PC and while reading you have to put the cursor on the field like inputfield . a barcode when interpreted by scanner is nothing but alphanumeric words.
    Regards
    Yash

  • Smartform Printing through Batch Job

    Hi
    Please help in the following issue :
    We have a report thourgh which say 10 pages needs to be printed.
    On eachpage we have page numbers like 1 of 10, 2 of 10 etc. and on the last page 10 of 10 will be printed.
    when the report is executed in foreground, the rints are perfect s expected. But when the same report is executed through Batch Job, the pages are being printed as 1 of &&, 2 of && etc, when it come to last page the print is 10 of 10.
    So, thr Batch job the last page of the print is OK, except all other pages, the issue is only printing this page nos.
    Please advise.
    Regards
    Shankar

    hi ,
    make sure that u declared that page no printing window as final window.try it.
    Regards,
    karthikeyan k s,

  • Smartform printing & sending multyple table data

    Hi All..
    I designed a smartform & print Pgm.( for Invoice not SAP standard)
    How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? & how can i declare that internal table in smart form & in print pgm?
    And it is also not printing.even i set it in NACE.
    Plz any one can help me asap..
    Thanks & Regards
    Raj

    Hi Raj,
    You must have to create a new Structure and a new TABLE TYPE in program to send multiple data.
    Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.
    TYPES: BEGIN OF ty_cus,
              F1,
              F2,
              F3,
              F4,
           END OF ty_cus.
    so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.
    Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).
    Now, in your print program, create internal table with the type of Z_CUS as below.
    DATA: it_cus TYPE TABLE TYPE z_cus,
          wa_cus TYPE z_cus.
    And in the Layout, Form interface - Tables section give it as below
    IS_CUS    TYPE   ZT_CUS.
    In your print program, assign your internal table to IS_CUS for generated function module.
    CALL FUNCTION fm_module.
    EXPORTING
    IMPORTING
    TABLES
       IS_CUS   = it_cus
    EXCEPTIONS
    Let me know if you hav any quesions

Maybe you are looking for

  • How to set up a link between sap fica transaction and cic front office

    Hi Guys, How to configure between SAP FICA transaction (FPR1 for create installation plan) to CIC front office. I did some changes in FPR1 transaction, same changes which are not reflecting on CIC screen, when i log on to CIC0 and select the create i

  • Suddenly Cannot Uninstall/Install iTunes :( please help!

    After a recent necessary restore, I went to the iTunes shortcut on my desktop to open the application and I receive the error message "that action is only available for products that are currently installed". So I attempted to re-download iTunes, how

  • Importing tables in paralell sessions

    Hi I am doing a import of tablelevel its big table around 3 gb with indexes.Th export dump is compressed.I want to start another import session for another big table for saving time.Whether its possible to start 2 sessions of import for different tab

  • Print PDF - Add image to page header

    Using APEX 3.2.1.00 Oracle 11g FOP printing support I need to include a logo on my PDF reports. I know I can put text on the heading of the report but how do I add a logo or image to the report header? Thank you in advance!

  • Making finder open in column view?

    I really like the OS X Finder's "Column View". Unfortunately, Finder windows always seem to open in icon view, even though I've checked the "Open New Windows in Column View" option in Finder preferences. Any idea why this option might not be working