SapScript in ECC 6.0

Hello,
Guys I'm having a doubt, I created a form SapScript in ECC 6.0 for direct printing of Tickets for F110, with a copy of the standard did J_1B_BOLETO_ITAU. But do not print the bar code. I tell you that the SapScript no longer works in version ECC 6.0 is this true?
Thanks,

Hi,
Does your printer have barcode DIMM module installed? In general, if you want to print a barcode, somebody must draw the bars
of the barcode to get a correct print. One way is with a barcode DIMM installed in the printer as per SAP note #45643.
Another possibility is to print via windows and device type SAPWIN, with a barcode.dll installed in the windows. See SAP note 14561.
If your printer doesn't have a barcode DIMM and you don't want to use a barcode.dll, you can use the new barcode technology, which is described in SAP Notes #645158 and #430887. However this is only possible via Smartforms.
Regards,
Aidan

Similar Messages

  • SAPScript to PDF in Webdynpro for Java

    Hi All,
    I have to display Form16 for an employee in pdf format in portal. Form16 is available as SAPscript.
    ECC 6.0
    Report Program:HINCF160
    We can run transaction 'HRESSIN_F16' in se93 to see Form16, How can we get the same to Webdynpro,
    If we use an RFC which Function module to be called to get the data in pdf format
    Regards
    Sarath

    Hi,
    maybe this could help you:
    Regarding Copying of Data From Excel file to Web Dynpro Java Table
    Import data from excel/csv file in web dynpro
    Regards, Bernd

  • Printing multiple pages on a single sheet with SAPScript

    Hello,
    I am using SAPScript on ECC 6.0. We currently have a form which occupies the top half of an A4 sheet of paper. The form is printed on pre-printed stationary provided by the government. The government has now issued a new version of the pre-printed stationary which allows a single page to contain the form twice. The form is a with-holding tax receipt that we issue to a vendor.
    We now wish to use this stationary to print 2 different instances of the form to a single sheet. The different instances will be for different vendors and have different contents. The stationary is provided perforated so we can split them apart after printing.
    Does anyone know how to make SAPScript print 2 instances of a form to a single sheet of paper using a laser printer?
    Thanks in advance,
    Ben

    Hi Ben,
       Use this control command in the sap script main window and split the main window into two parts. This will solve your problem. If you require further info please let me know.
    /: NEW-WINDOW
    Use of this command is as described below.
    Each page can consist of up to 99 main windows. Each main window is assigned a consecutive identifying number (0..98), and the windows are filled in this order. This feature enables SAPscript to print labels and to output multi-column text. When one main window fills up, the next main window on that page is taken, if there is a next one. A page break is inserted after the last main window.
    You can use the NEW-WINDOW command to call the next main window explicitly, even if the current main window is not yet full.
    OR****************************************
    You can call this script control command through your printprogram after filling your first instance of main window using function module CONTROL_FORM.
    reward if helpful.
    Thanks & Regards,
    Kalyan.
    Edited by: Kalyan on Jan 4, 2008 9:50 AM

  • Company Names in delivery address

    Hello,
    We are using SRM 5 in classic mode.
    When a purchase order is created in ECC from SRM, the delivery address is passed across from the shopping cart. We maintain a set of commonly used delivery addresses in SRM or the user can change the delivery address on the shopping cart.
    We find that NAME1 and NAME2 on the delivery address are being filled with the short and long name for the organsiational unit in SRM that represents the company code.
    The short name can only be 12 characters maximum and we don't want either of these to print. Can anyone advise how to stop this happening?
    It is not possible to change the Sapscript in ECC because on some purchase orders in ECC we want to output the NAME1 or NAME2 fields. What we require is to stop SRM populating those fields - ideally by configuration.
    Thanks

    Hello Paul,
    As you are in Classic scenario, implement BAdI name BBP_CREATE_BE_PO_NEW, using either method FILL_PO_INTERFACE or FILL_PO_INTERFACE1 .
    Method used will depend on which BAPI you call in R/3 to create the Purchase Order:
    - BAPI_PO_CREATE
    - BAPI_PO_CREATE1 for enjoy PO.
    According to your need, you should clear fieds NAME1 and NAME2 from table IT_POADDRDELIVERY being a componant from method changing parameter CS_PO_DOCUMENT (or CS_PO1_DOCUMENT ).
    Regards.
    Laurent

  • Migration of Smartforms / SAPScript forms from SAP R/3 4.7 to SAP ECC 6.0

    Dear Members,
    We are in process of re-implementing SAP with SAP ECC 6.0 from SAP R/3 version 4.7
    We have created many layouts using SAPScripts & SAP Smartforms in SAP R/3.
    My question is, are there any migration tools available in SAP ECC 6.0 in the form of function modules, BAPI etc to convert existing forms of Smartforms / SAPScripts created in SAP R/3 4.7 to SAP ECC 6.0 ?
    Or do we have to design all existing forms created in R/3 once agin in SAP ECC 6.0 ?
    We request our dear members to share their views on the above mentioned problems faced by us in the re-implementation project
    Thanking you,
    With best regards,
    K. Rangarajan
    ABAP Programmer
    Strides Arcolab Limited
    Bangalore, INDIA

    Dear Friend,
    As per our consultant's view, we are not upgrading from SAP R/3 4.7 to SAP ECC. We are re-implementing; that is, we are going to implement SAP ECC as if we are doing it for the first time ever in our company. This is due to drastic organizational changes happend in our company. So, upgrading from R/3 is not feasible solution, according to our consultants.
    So, we have to re-configure all settings in SPRO manually in ECC based on our new business scenario. There will be new company codes, plants, business area etc., which will be totally different from existing R/3 system.
    But the template definitions of the existing forms maintained in SAPScript / Smartforms will remain same.
    There are 50+ forms (boith SAPScript / Smartforms put together) and manual re-designing of all those forms will be tedious within the scheduled date of GO Live.
    In that case, to avoid re-designing, what is the best method that can prevent manual re-design of Smartforms?
    For SAPscripts, I got some good news from our some of our dear forum members.
    Thanking you,
    With best regards,
    K. Rangarajan

  • Sapscript upload from 4.6 to ECC 6.0

    Hi friends,
    I have download the Sapscript from 4.6 and upload into ECC 6.0 server using RSTXSCRP.
    I am getting dump when opening the from windows in ECC 6.0. Is there any way to upload the form in ECC 6.0.
    Thanks
    Sabu

    what that Dump is saying ? Check in ST22.
    may be probs with Unicode checks
    Regards
    Peram

  • What SAP recommends in ECC 6. Either SAPSCRIPT or SMARTFORMS?

    Hi all,
    I want to know, what is the SAP's recommendation in ECC 6.0, whether to use sapscripts or smartforms for the important form print outs like purchase order, quotation, GR, GI, invoice, delivery note.
    I knew that in ECC 6.0, for some cases, there are both sapscript and smartforms available, for example Purchase order, Delivery note, invoice etc.  In this case what is the SAP's recommendation? to use sapscripts or smartforms??
    I heard that SAP does recommend.
    Awaiting your reply,
    Balaji

    Hi
    These are few lines from sap help:
    Smart Forms replace SAPscript forms. SAPscript forms will still be supported in the future; you can use them without making any changes for years to come. You can even use SAPscript texts in the Smart Forms.
    Migration of SAPscript forms into Smart Forms is supported.
    Even go through this link :
    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/de6838abce021ae10000009b38f842/content.htm
    [Advantages of using smartforms|http://saplab.blogspot.com/2007/09/advantages-of-sap-smart-forms.html]
    Regards,
    Sravanthi

  • SAPSCRIPT copied from 4.6C to ECC 6 - errors while testing

    Hi I have used program (RSTXSCRP) to import SAPSCRIPT from 4.6c to ECC 6.
    After i copied i did activated.
    When i am trying to test the form I am getting an error saying FORM (it removed first character from my Z sapscript name and saying the remaining name) (FORMNAME) does not exists and no errors.
    Any one had gone through the same issue.
    Thanks,

    I have done it numerous time but I don't get any error like what you mentioned
    Is the status of the import OK???
    can you edit the form in SE71?

  • SAPScript printing of PO form in ECC 6.0 with the character #

    Hi,
    We had just upgraded our system from SAP 4.6C to ECC 6.0. After the upgrade, we had encountered an issue during the printing of a purchase order. Apparently, when the PO has a text with the # character, the whole text doesn't appear. However, if we remove the # character, the rest of the text is printed.
    This problem only occurred in ECC 6.0. It was not happening when we were still in 4.6C.
    Can you please advise?
    Thanks and regards,
    V

    Hi Binod,
    Thanks for your response. Let me try to explain the problem more clearly.
    In the PO printout, we have placed there a text i.e. MN #149. When we were still in 4.6C, the text is displayed completely including the # character. But when the system was upgraded to ECC 6.0, the whole text did not appear.
    Now, we tried testing by removing the # character and the PO was printed with the text MN 149. However, we still need to have # character in the PO printout.
    Hope the issue clear. Can you please assist?
    Thanks,
    V

  • SAPSCRIPT, HOW PRINT MORE COPIES (Example: Customer..., Vendor... ecc)

    Good morning,
    i have a problem, i have built a complete sapscript, but i have to print 2 copies, one for the vendor, one for the client changing one label into the sapscript ("copy for vendor", "copy for client").
    In other words, when the client print one copy of the sapscript, i have to duplicate the copies changing only the label that specified who is the recipient of the copy... it is possible do that??
    Thanks!!
    Marco

    Hi,
    Check with this
    loop 2 times.
    if sy-index =1.
    heading = original
    elseif sy-index =2
    heading =copy
    endif.
    open_form
    write_form
    close_form
    endloop.

  • Dunning in ECC 6.0 UC_OBJECTS_NOT_CHARLIKE Dump

    Hi,
    We are doing an upgrade from 4.6 to ECC 6.0 and when we execute transaction F150 for dunning we get the following runtime error does anyone have any idea what might cause this or how to resolve it.
    Runtime Errors         UC_OBJECTS_NOT_CHARLIKE
    Date and Time          03.10.2007 11:26:12
    Short text
    The current statement is only defined for character-type data objects.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLSTXV" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    For the statement
    "IF ... op1 CO op2 ..."
    only character-type data objects are supported at the argument position
    "op1".
    In this case. the operand "op1" has the non-character-type "P". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UC_OBJECTS_NOT_CHARLIKE" " "
    "SAPLSTXV" or "LSTXVFXX"
    "FORMAT_SYMBOLVALUE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "sapqs2"
    Network address...... "10.1.11.40"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 8 Bits
    Pointer length....... 64 Bits
    Work process number.. 22
    Shortdump setting.... "full"
    Database server... "SAPQS2"
    Database type..... "ORACLE"
    Database name..... "QS2"
    Database user ID.. "SAPSR3"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "May 21 2007 22:16:42"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "OCI_10201_SHARE (10.2.0.2.0) "
    Patch level. 111
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Memory consumption
    Roll.... 16128
    EM...... 12569712
    Heap.... 0
    Page.... 24576
    MM Used. 2814704
    MM Free. 1372640
    User and Transaction
    Client.............. 400
    User................ "DALY_M"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "0F9B71DCFFA7F10BBB8A001A4BB0243C"
    Program............. "SAPLSTXV"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSTXV" - in "FORMAT_SYMBOLVALUE".
    The main program was "SAPF150D2 ".
    In the source code you have the termination point in line 599
    of the (Include) program "LSTXVFXX".
    The program "SAPLSTXV" was started as a background job.
    Job Name....... "F150-20071001-HO001 -5"
    Job Initiator.. "DALY_M"
    Job Number..... 11261200
    Source Code Extract
    Line
    SourceCde
    569
    570
          Bereitet Symbol entsprechend den Angaben auf
    571
    572
    form format_symbolvalue using fs_line
    573
    fs_value
    574
    fs_valuelength.
    575
    576
    field-symbols:
    577
    <work>.
    578
    data:
    579
    fs_vallen  like integer,
    580
    fs_techlen type i,
    581
    fs_vis_len type i.
    582
    583
    valpos    = 0.
    584
    valoffset = 0.
    585
    clear: fs_value,fs_valuelength.
    586
    587
    *... Pruefen Initialwert und Initialwertunterdrueckung .................
    588
    if value_initial = true and value_noinit = true.
    589
    exit.
    590
    endif.
    591
    592
    *... Wert komprimieren .................................................
    593
    if value_condense = true.
    594
    condense val. if val(1) = space. shift val. endif.
    595
    endif.
    596
    597
    *... Local date format .................................................
    598
    if value_ldate = true.                                             "JPN
    >>>>>
    if <value_raw> co '0123456789 '.                                "JPN
    600
    write <value_raw> to val using edit mask '==JPDAT'.           "JPN
    601
    endif.                                                          "JPN
    602
    endif.                                                             "JPN
    603
    604
    *... Offset bearbeiten .................................................
    605
    if offlen > 0.
    606
    assign fs_line+offpos(offlen) to <work>.
    607
    valpos = <work>.
    608
    endif.
    609
    610
    *... Laenge bearbeiten .................................................
    611
    if lenlen > 0.                       "...angegebene Wertlaenge
    612
    assign fs_line+lenpos(lenlen) to <work>.
    613
    vallen = <work>.
    614
    if vallen > val_max.                                    " B20K079471
    615
    message a799 with val_max itcvd-name vallen.         " B20K079471
    616
    endif.                                                  " B20K079471
    617
    elseif value_dictlen = true.         "...Dictionary-Laenge
    618
    vallen = itcvd-outputlen.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    2
    SY-TABIX
    4
    SY-DBCNT
    267
    SY-FDPOS
    5
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    FI Dunning - Print Program
    SY-MSGTY
    S
    SY-MSGID
    B!
    SY-MSGNO
    015
    SY-MSGV1
    00001040
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20071003
    SY-UZEIT
    112612
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    13 FORM         SAPLSTXV                            LSTXVFXX                              599
    FORMAT_SYMBOLVALUE
    12 FUNCTION     SAPLSTXV                            LSTXVU02                               73
    GET_TEXTSYMBOL
    11 FORM         SAPLSTXC                            LSTXCFSC                             1256
    SC_GET_TEXTSYMBOL
    10 FORM         SAPLSTXC                            LSTXCFSC                              495
    SC_TOKEN
    9 FORM         SAPLSTXC                            LSTXCFPA                              310
    PA_ACTUAL
    8 FORM         SAPLSTXC                            LSTXCFPA                              156
    PA_BODY
    7 FUNCTION     SAPLSTXC                            LSTXCU03                              147
    WRITE_FORM
    6 FORM         SAPLF150                            LF150U07                             1151
    WRITE_LINE
    5 FUNCTION     SAPLF150                            LF150U07                              242
    PRINT_DUNNING_NOTICE
    4 FUNCTION     SAPLF150                            LF150U19                               29
    FI_PRINT_DUNNING_NOTICE
    3 FUNCTION     SAPLBFFM                            LBFFMU65                               54
    OPEN_FI_PERFORM_00001720_E
    2 FORM         SAPF150D2                           SAPF150D2                             556
    OFI_DUN_ACT
    1 EVENT        SAPF150D2                           SAPF150D2                             139
    START-OF-SELECTION
    Chosen variables
    Name
    Val.
    No.      13 Ty.          FORM
    Name  FORMAT_SYMBOLVALUE
    FS_VALUE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    FS_VALUELENGTH
    0
    0000
    0000
    VALUE_INITIAL
    2
    0
    TRUE
    X
    5
    8
    SYST-REPID
    SAPLSTXV
    5454555522222222222222222222222222222222
    310C348600000000000000000000000000000000
    VALUE_NOINIT
    2
    0
    VALUE_CONDENSE
    2
    0
    SYST
    ####################################################D#######x###############$#################
    0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
    2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
    VAL
    2,925.00
    2222222223233323322222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000002C925E0000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-REPID
    SAPLSTXV
    5454555522222222222222222222222222222222
    310C348600000000000000000000000000000000
    VALUE_LDATE
    X
    5
    8
    SY
    ####################################################D#######x###############$#################
    0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
    2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
    <VALUE_RAW>
    ####’P#
    0000950
    000220C
    C_TOKEN_URL_END
    )U
    25
    95
    INACTIVE_FCODES[]
    Table[initial]
    OFFLEN
    0
    0000
    0000
    FS_LINE
    &MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
    24444255544242222244442444452222444425455424222
    6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
    <WORK>
    2
    0
    OFFPOS
    0
    0000
    0000
    No.      12 Ty.          FUNCTION
    Name  GET_TEXTSYMBOL
    *RSTXV
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    TX2EMPTY
    2
    0
    %_DUMMY$$
    2222
    0000
    LINE
    &MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
    24444255544242222244442444452222444425455424222
    6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
    ITCVD
    MHND-WRSHB
    4444255544222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    D8E4D72382000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-FLENG
    47
    2000
    F000
    ITCVD[]
    Table IT_166[5x292]
    FUNCTION-POOL=STXVDATA=ITCVD[]
    Table reference: 127
    TABH+  0(20) = 309F3D57FE070000000000000000000000000000
    TABH+ 20(20) = 7F000000A60000000500000024010000FFFFFFFF
    TABH+ 40(16) = 04DC0000100B000010000000C9248001
    store        = 0x309F3D57FE070000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 127   (0x7F000000)
    label        = 166   (0xA6000000)
    fill         = 5     (0x05000000)
    leng         = 292   (0x24010000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000040
    occu         = 16    (0x10000000)
    access       = 1     (ItAccessStandard)
    idxKind      = 1     (ItIndexLinear)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x40B73D57FE070000
    pgHook       = 0x0000000000000000
    idxPtr       = 0x90033E57FE070000
    shmTabhSet   = 0x0000000000000000
    id           = 135   (0x87000000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    VALUE_SIGN_RIGHT
    2
    0
    SCROLL_LINES
    13
    0000
    D000
    NAM
    MHND-WRSHB
    4444255544222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    D8E4D72382000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-SUBRC
    0
    0000
    0000
    SUM
    2
    0
    ITCVD-SUM
    2
    0
    ZEROLEN
    2
    0
    VALUE_RAW
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    VALUE_RIGHT
    2
    0
    VALUE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    VALUE_LENGTH
    0
    0000
    0000
    VAL_MAX
    255
    F000
    F000
    SY-MSGID
    B!
    42222222222222222222
    21000000000000000000
    TTDTG
    22222222222222222222222222222222222222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SPACE
    2
    0
    SY-MSGNO
    015
    333
    015
    SY-MSGV1
    00001040
    33333333222222222222222222222222222222222222222222
    00001040000000000000000000000000000000000000000000
    SY-MSGV2
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    No.      11 Ty.          FORM
    Name  SC_GET_TEXTSYMBOL
    SY-REPID
    SAPLSTXC
    5454555422222222222222222222222222222222
    310C348300000000000000000000000000000000
    UNRESOLVED
    2
    0
    C_PC_BARCROT_270
    270
    333
    270
    RSTXC-TDDEBUG
    2
    0
    TRUE
    X
    5
    8
    SY
    ####################################################D#######x###############$#################
    0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
    2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
    OP_ERROR_OFFS
    0
    0000
    0000
    DBABAPBREAK
    2
    0
    FCODE_PRINT
    PRNT
    55452222222222222222
    02E40000000000000000
    PC_ID_CODEPAGE
    CP
    45
    30
    PC_ID_ULINE
    UL
    54
    5C
    TX_CATALOG-TDSPRAS
    E
    4
    5
    PROTPAGE_ALL
    ALL
    444
    1CC
    <SC_LINE>
    &MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
    24444255544242222244442444452222444425455424222
    6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
    PROTPAGE_OFF
    OFF
    444
    F66
    %_PRINT
    HOFI001SAPF150D2_                                                                      X X8 ¼ÿ
    44443335454333435222222222222222222222222222222222222222222222222222222222222222222222252532BF
    8F69001310615042F000000000000000000000000000000000000000000000000000000000000000000000080880CF
    POS
    0
    0000
    0000
    C_AMP_SYM_MAXLEN
    132
    8000
    4000
    NAME
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SUM
    2
    0
    PROTNEXT_SAME_PAGE
    SAME-PAGE
    5444254442
    31D5D01750
    FT_STRING
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    FT_STRING_LEN
    0
    0000
    0000
    VALUE_RAW
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    OSS_NOTE_0658270
    2
    0
    G_IS_CFONT
    2
    0
    APPLICATION_NORMAL
    TN
    54
    4E
    FCODE_PRINTER_FONTS
    PFON
    54442222222222222222
    06FE0000000000000000
    OFF
    2
    0
    No.      10 Ty.          FORM
    Name  SC_TOKEN
    BOTLINES-TDLINE+0(8)
    22222222
    00000000
    SPACE
    2
    0
    PC_ID_BOX_BEGIN
    BB
    44
    22
    APPLICATION_NORMAL
    TN
    54
    4E
    L_LENGTH
    47
    2000
    F000
    SYST-REPID
    SAPLSTXC
    5454555422222222222222222222222222222222
    310C348300000000000000000000000000000000
    UNIT_POINT
    PT
    55
    04
    EVENTS-TDSCANSTAT
    1
    3
    1
    FCODE_CATALOG
    CATA
    44542222222222222222
    31410000000000000000
    %_VIASELSCR
    0
    4
    FCODE_CREATE
    CREA
    45442222222222222222
    32510000000000000000
    IS_ESCAPE
    2
    0
    SYMBOL
    000000000000000000
    2223333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    FCODE_PREVIEW
    PREV
    55452222222222222222
    02560000000000000000
    OTF-TDPRINTPAR
    2222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000
    FCODE_DOCU
    ODOC
    44442222222222222222
    F4F30000000000000000
    No.       9 Ty.          FORM
    Name  PA_ACTUAL
    SYST-REPID
    SAPLSTXC
    5454555422222222222222222222222222222222
    310C348300000000000000000000000000000000
    DEVICE_TELEX
    TELEX
    54445222
    45C58000
    PA-INTERRUPT
    2
    0
    FALSE
    2
    0
    PA-EXIT
    2
    0
    ARCHIVE_ONLY
    2
    3
    2
    FCODE_EDIT_MAIN
    MAIN
    44442222222222222222
    D19E0000000000000000
    OP_SYMBOL
    2
    0
    PA_TOKEN
    3
    0000
    3000
    SCREEN
    %_17SNS0000149933_%_%_%_%_%_%_
    2533545333333333352525252525252222222222222222222222222222222222222222222222222222222222222222
    5F173E30000149933F5F5F5F5F5F5F0000000000000000000000000000000000000000000000000000000000000000
    C_BMP_BACKGROUND_NOPRI
    2
    3
    2
    STATUS_CUSTOMER
    CUS
    455
    353
    TRANSTAT_ACTIVE
    0
    3
    0
    ATTRIBUTES_FONT
    002
    333
    002
    No.       8 Ty.          FORM
    Name  PA_BODY
    %_DUMMY$$
    2222
    0000
    PC_OUT_PAGE
    P
    5
    0
    PC_ID_PRINT_CONTROL
    PC
    54
    03
    FCODE_PRINTER
    PATT
    54552222222222222222
    01440000000000000000
    PA-INTERRUPT
    2
    0
    PC_ID_BOX_BEGIN
    BB
    44
    22
    TRANSLATION_WANTED
    0
    3
    0
    FLAG_RDI_ACTIVE
    2
    0
    %_SPACE
    2
    0
    G_BITMAP_TABL
    ##########ÿÿÿÿ
    2222222222222222222222222222222222222222220000000000FFFF
    0000000000000000000000000000000000000000000000000000FFFF
    SYST-REPID
    SAPLSTXC
    5454555422222222222222222222222222222222
    310C348300000000000000000000000000000000
    G_BITMAP_TABL[]
    Table[initial]
    WTYPE_VARIABEL
    VAR
    54522
    61200
    PC_ID_BOX_END
    BE
    44
    25
    FALSE
    2
    0
    PC_ID_LINK_END
    LE
    44
    C5
    No.       7 Ty.          FUNCTION
    Name  WRITE_FORM
    ELEMENT
    531
    333
    531
    FUNCTION
    SET
    545
    354
    TYPE
    BODY
    4445
    2F49
    WINDOW
    MAIN
    4444
    D19E
    PENDING_LINES
    2222
    0000
    PC_ID_TELECOM
    /T
    25
    F4
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    OP_PAGE_MAX
    99999
    33333
    99999
    %_DUMMY$$
    2222
    0000
    ELEMENTS-TDFROMLINE
    157
    9000
    D000
    SYSTEM_WINDOW_MAIN
    MAIN
    44442222
    D19E0000
    BOOLEAN
    2
    0
    ETYPE
    3
    3
    3
    ETYPE_CURRENT
    3
    3
    3
    C_PC_INFO_FORM
    04
    33
    04
    SY-XFORM
    CONVERSION_EXIT
    444545544454545222222222222222
    3FE65239FEF5894000000000000000
    ETYPE_BOTTOM
    2
    3
    2
    SYST
    ####################################################D#######x###############$#################
    0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
    2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
    C_PC_INFO_PAGE
    05
    33
    05
    APPLICATION_NORMAL
    TN
    54
    4E
    PC_BOTTOM_HEIGHT
    0
    0000
    0000
    FT-BOT_HEIGHT
    0
    0000
    0000
    SYST-REPID
    SAPLSTXC
    5454555422222222222222222222222222222222
    310C348300000000000000000000000000000000
    No.       6 Ty.          FORM
    Name  WRITE_LINE
    %_DUMMY$$
    2222
    0000
    No.       5 Ty.          FUNCTION
    Name  PRINT_DUNNING_NOTICE
    I_F150D2
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    I_F150V
    20071001HO001 00000000
    3333333344333233333333222222222222222222222222222222222222222222222222222222222222222222222222
    200710018F001000000000000000000000000000000000000000000000000000000000000000000000000000000000
    I_ITCPO
    #HOFI           XLIST1S    HO00107
    2222222222222222222222222222222222222222222222222222222222220444422222222222544553522224433333
    00000000000000000000000000000000000000000000000000000000000008F69000000000008C9341300008F00107
    I_MAHNV
    40020071001HO001 F A
    33333333333443332424
    400200710018F0010601
    I_MHNK
    40020071001HO001 DFAS 0000000028                                      0  2007100120071001
    3333333333344333244452333333333322222222222222222222222222222222222222322333333333333333322222
    400200710018F001046130000000002800000000000000000000000000000000000000000200710012007100100000
    I_MOUT
    X
    5
    8
    I_OFI
    X
    5
    8
    I_UPDATE
    2
    0
    T_FIMSG[]
    Table IT_63[0x236]
    PROGRAM=SAPF150D2FORM=OFI_DUN_ACTDATA=T_FIMSG[]
    Table reference: 46
    TABH+  0(20) = 0000000000000000C0501D57FE07000000000000
    TABH+ 20(20) = 2E0000003F00000000000000EC000000FFFFFFFF
    TABH+ 40(16) = 04000000301F000002000000C1048001
    store        = 0x0000000000000000
    ext1         = 0xC0501D57FE070000
    shmId        = 0     (0x00000000)
    id           = 46    (0x2E000000)
    label        = 63    (0x3F000000)
    fill         = 0     (0x00000000)
    leng         = 236   (0xEC000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000132
    occu         = 2     (0x02000000)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 0
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    ref

    It's a SAPscript issue, and it depends whether it's standard SAP or something you've done yourself. Looking at the call stack it appears to be standard SAP so I'd suggest searching on OSS. Avoid searching on "SAPLSTXV" , "LSTXVFXX" or
    "FORMAT_SYMBOLVALUE" as these are generic SAPscript terms.

  • Issue in sending the email with XL attachment in ECC version

    Hi,
    I have an issue with sending the email with XL attachment. My program is sending a mail to the receiver with XLS as attachment. Recently we have migrated from 4.6B to ECC version. Same code was worked in 4.6B.But it is not working in ECC version.When i try to open the attachment, i get a Dialog Box with the following message
    "The file is not in a recognizable format.
    1. if you know the file is from another program whih is incompatible with Microsoft excel,click cancel,then open this file in its original application
    2.If you suspect the file is damaged, click help for more information about solving theproblem.
    3.if you still want to see what text is contained in the file, click OK.Then click the text import wizard. "
    when i click OK, the excel sheet is opening with all required data.
    Can anyone kindly tell me why this is happening.
    I am also attaching part of the coding related to this requirement.
    *&      Form  BUILD_XLS_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM build_xls_data_table.
      DATA: w_total(13),
      w_clabs(13),
      w_cinsm(13),
      w_ceinm(13),
      w_cretm(13),
      w_cspem(13),
      w_cumlm(13),
      w_exp_date(8),
      w_v_totalp(13),
      w_min_rem(8),
      w_ersda(10),
      w_hsdat(10),
      w_vfdat(10),
      w_ship_date(10),
      w_plnmg(13),
       w_mhdrz(4).
      CLEAR: w_total, w_clabs, w_cinsm, w_ceinm, w_cspem, w_exp_date,
      w_v_totalp, w_min_rem, w_ersda, w_hsdat, w_vfdat, w_ship_date,
      w_plnmg, w_mhdrz.
      w_total = it_batch1-total.
      w_clabs = it_batch1-clabs.
      w_cinsm = it_batch1-cinsm.
      w_ceinm = it_batch1-ceinm.
      w_cspem = it_batch1-cspem.
      w_cumlm = it_batch1-cumlm.
      w_cretm = it_batch1-cretm.
      w_exp_date = it_batch1-exp_date.
      w_v_totalp = it_batch1-v_totalp.
      w_min_rem = it_batch1-min_rem.
      w_plnmg = it_batch1-plnmg.
      w_mhdrz = it_batch1-mhdrz.
      CONCATENATE it_batch1-ersda6(2) it_batch1-ersda4(2)
                  it_batch1-ersda+0(4) INTO w_ersda SEPARATED BY '.'.
      CONCATENATE it_batch1-hsdat6(2) it_batch1-hsdat4(2)
                  it_batch1-hsdat+0(4) INTO w_hsdat SEPARATED BY '.'.
      CONCATENATE it_batch1-vfdat6(2) it_batch1-vfdat4(2)
                  it_batch1-vfdat+0(4) INTO w_vfdat SEPARATED BY '.'.
      CONCATENATE it_batch1-ship_date6(2) it_batch1-ship_date4(2)
                  it_batch1-ship_date+0(4) INTO w_ship_date SEPARATED BY '.'
      CONCATENATE
      it_batch1-werks it_batch1-mtart it_batch1-matnr it_batch1-maktg
    it_batch1-prdha it_batch1-prctr it_batch1-ktext  it_batch1-dispo
      it_batch1-charg it_batch1-lgort it_batch1-herkl w_clabs
      w_cinsm w_ceinm w_cretm w_cspem
      w_cumlm w_total  it_batch1-meins  it_batch1-v_spr_unit
      w_v_totalp it_batch1-waers w_plnmg  it_batch1-meins
      w_ersda w_hsdat w_vfdat  w_exp_date
       w_ship_date  w_mhdrz  w_min_rem it_batch1-zlifer
       it_batch1-doknr it_batch1-dokar it_batch1-doktl  it_batch1-dokvr
               INTO L_STRING SEPARATED BY CON_TAB.
                  INTO l_string SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
      WHILE l_string <> space.
        CALL FUNCTION 'TEXT_SPLIT'
          EXPORTING
            length       = 255
            text         = l_string
            as_character = 'X'
          IMPORTING
            line         = it_attach
            rest         = l_string.
        IF l_string = space.
       CONCATENATE IT_ATTACH CON_CRET INTO IT_ATTACH.
          CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
          APPEND it_attach.
          CLEAR it_attach.
        ELSE.
          APPEND it_attach.
          CLEAR it_attach.
        ENDIF.
      ENDWHILE.
    move l_string to it_attach .
    CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
    APPEND it_attach.
    CLEAR it_attach.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
    -->  p1        text
    <--  p2        text
    FORM send_file_as_email_attachment.
      DATA:w_length TYPE i.
      DATA:  w_cnt TYPE i,
              w_sent_all(1) TYPE c,
              w_doc_data LIKE sodocchgi1,
              gd_error    TYPE sy-subrc,
              gd_reciever TYPE sy-subrc,
              t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name  = 'SAPRPT'.
    w_doc_data-obj_descr = text-034 .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
    DESCRIBE TABLE it_attach LINES w_cnt.
      DESCRIBE TABLE it_message LINES w_cnt.
      READ TABLE it_message INDEX w_cnt.
    w_length = STRLEN( it_attach ).
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_message ).
      w_doc_data-obj_langu  = sy-langu.
    w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = text-034.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
    ***Start of changes by 501507008 on 29.01.2009
      t_packing_list-obj_descr  = 'MAIL BODY'.
    ***End of changes by 501507008 on 29.01.2009
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  'XLS'.
      t_packing_list-obj_descr  =  text-034.
      t_packing_list-obj_name   =  'filename'.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      LOOP AT it_adr6.
        t_receivers-receiver = it_adr6-smtp_addr.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data              = w_doc_data
         put_in_outbox              = 'X'
         sender_address             = ' '
         sender_address_type        = ' '
         commit_work                = 'X'
       IMPORTING
         sent_to_all                = w_sent_all
       TABLES
         packing_list               = t_packing_list
         contents_bin               = t_attachment
         contents_txt               = it_message
         receivers                  = t_receivers
       EXCEPTIONS
         too_many_receivers         = 1
         document_not_sent          = 2
         document_type_not_exist    = 3
         operation_no_authorization = 4
         parameter_error            = 5
         x_error                    = 6
         enqueue_error              = 7
         OTHERS                     = 8.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = w_doc_data
         put_in_outbox                    = 'X'
      commit_work                      = ' '
    IMPORTING
      sent_to_all                      =
      new_object_id                    =
    tables
            packing_list               = t_packing_list
            contents_bin               = t_attachment
            contents_txt               = it_message
            receivers                  = t_receivers
      contents_hex                     =
      object_para                      =
      object_parb                      =
       exceptions
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
       parameter_error                  = 5
       x_error                          = 6
       enqueue_error                    = 7
       OTHERS                           = 8.
      IF sy-subrc <> 0.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT

    Hi,
    could you tell me which opeion should i select in SCOT under INT node. I have tried with diffrent options. but no luck.
    SAPscript/Smart Forms  - No Conversion
    ABAP List                     - No Conversion
    Business Object/Link     - No Conversion
    RAW Text                     - No Conversion

  • Upgrade Sap R/3 4.6b to ECC 6.0  -unicode enabling

    Hi,
    I am going to work Upgrade Sap R/3 4.6b to ECC 6.0
    My role only Unicode enabling syntax check.
    Can any one explain what are the work involved in
    Custom Reports, Custom Transaction and Screens, BDC, Enhancements and Exits(BTE), Script ,Custom DDIC
    Particularly need information Sapscript forms
    Regards,
    Ram

    Hi Ram,
    For Unicode, transaction UCCHECK is your best friend. It will even tell you how to fix the error.
    All programs – Most of the time you will just go and set the Unicode Checks Active program attribute, save, activate.
    - If there are Unicode errors, fix them.
    http://iorboaz.blogspot.com/2008/03/sap-abap-solution-instructions-for.html
    SAPScript - Not sure if it even needs Unicode-enabling. We are still in the middle of an upgrade. Will add more later.
    Custom DDIC – In our case, the BASIS team handled the Unicode conversion of the DDIC objects.I think they ran a consistency check first, then run SPUMG or something.
    Search the web for a Combined Upgrade and Unicode Conversion Guide.
    Hope this helps.

  • Missing text elements in my sapscript form / Transaction F.17

    Hello!
    I'm on a sap ecc 6.0 system and have problems with a sapscript form.
    My printprogram is sapf130d and my form is y_..._debi_slep.
    Starting the transaction F.17 i get several lists and at last the error-list. This error-list says "in form y_..._debi_slep in the main window the following textelements are missing ...". Three elements 506, 595 and 606 are missing.
    When i look into the form i couldn't see the elements. So with "/E 506", "/E 595" and "/E 606" i've inserted the elements in the main window and saved and activated the form. A new try with "F.17" raises the same errors. For my understanding the relevant elements should be in the info window in this case - i inserted them there, too ... but the errors remain the same. In the print program i can find all these textelements.
    Perhaps someone out there has a solution or a hint for me?
    Thanks a lot in advance.
    Best regards,
    Ingo

    The cause of error could be of any reason.
    1) For driver program SAPF130D, following forms must be used, or customised by copying any of this below forms.. May be this could be one <b>reasons for the error.</b>
    Forms
    The following forms are used in the standard SAP R/3 System:
    Form for  Form name
    Letter and Reply  <b>F130_CONFIRM_01</b>
    Check list  <b>F130_LIST_01 and F130_LIST_02</b>
    Results table  <b>F130_RESULT_01 or F130_RESULT_02</b>
    Error list  <b>F130_ERROR_01 or F130_ERROR_02</b>
    If you define your own forms, the form name should contain the identification code "F130".
    Regards,
    Sairam

  • Display sapscript form in Web Dynpro Java

    Hi,
    Is it possible to print an existing sapscript form i.e. PO from ECC to my Web Dynpro application? I have successfully created a Web Dynpro Java application to create POs but now have a requirement to display or print the PO?
    Can someone provide me with a sample code? I'm hoping to be able to do this without using Adobe.
    Again, thanks for all your help.
    Best regards,
    Jaypee

    Hi mark,
    Without Adobe also u can display PO order.
    Below is the code to open a HTML window from WDJava, with data from WDJava...
    Inside DoInit()
    IWDAttributeInfo attr1 =
    wdContext.getNodeInfo().getAttribute("htmlfile");
    ISimpleTypeModifiable mtype1 = attr1.getModifiableSimpleType();
    IWDModifiableBinaryType btype1 = (IWDModifiableBinaryType) mtype1;
    btype.setFileName(attr.getName() + ".html");
    btype.setMimeType(WDWebResourceType.HTML);
    _contentType = mtype;
    Where htmlfile is a context attribute of type binary... and do a global declaration like this
    ISimpleTypeModifiable _contentType = null; (This declaration can be done at the end of your view's coding between Begin Others and End Others)
    Now,
    inside on action print
    public void onActionPrintData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String videoName )
    //@@begin onActiondisplayVideo(ServerEvent)
    byte[] content = new byte4028;
    try {
    content = this.displayPrint().getBytes("UTF-8");
    wdContext.currentContextElement().setHtmlfile(content);
    wdContext.currentPrintElement().setAttrUrl(
    _contentType.format(content));
    //Where content is loaded with data from displayPrint() method, which is holding the HTML *page to be displayed to the user *
    IWDWindow win =
    wdThis
    .wdGetAPI()
    .getComponent()
    .getWindowManager()
    .createNonModalExternalWindow(WDWebResource
    .getWebResource(content, WDWebResourceType.HTML)
    .getURL(),"ShowVideo");
    win.setWindowSize(445,460);
    win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    win.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    win.removeWindowFeature(WDWindowFeature.MENU_BAR);
    //win.open();
    win.show();
    // wdComponentAPI.getMessageManager().reportSuccess("444444444444");
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException ("Unable to open window"+e,false);
    //@@end
    Now finally, design your HTML Page inside the method displayPrint() like this
    public java.lang.String displayPrint( java.lang.String strVideoName )
    //@@begin displayPrint()
    String htmlcontent=null;
    htmlcontent="content what you want to show in print window";
    use script inside the html content to do a print... like window.print();
    return htmlcontent;
    //@@end
    Regards,
    Sunaina Reddy T

Maybe you are looking for

  • Issue w/ HDD and wifi

    Mid 2012 - Macbook Pro - OS X Yosemite - 16 GB ram Initially my brothers macbook pro started to lag at start-up, then moving files to other folders wouldn't work, it would just give him some sort of error message. He was connected to wifi but then no

  • How can I add footnotes to a text in a table?

    To make use of a wider margin next to longer texts I usually work with two column tables in WORD. No problem to add footnotes to a text there. How can I add footnotes to text in a table when using PAGES? Or -alternatively - how can I write an ordinar

  • Adobe Cloud says 'Download Error'

    I've had Cloud installed for nearly a year now, and all has been fine. Then, possibly after I installed Fireworks a week ago or so, it doesn't let me update my Apps and, even worse, crashes After Effects on launch. I've been through Adobe support onl

  • From Lightroom to DPS ?

    Hi Guys not sure I can do that but let's ask I have built some books with Lightroom, I am a photographer, so it's just a portfolio of my photos so I would like to know if I might build my App via LR any ideas ? Many thanks, Thierry

  • How do I rearrange the page order?

    How do I rearrange the page order?