Unicode Printing in ABAP program

Hi all,
I have a problem in Unicode printing. When I write a report, I use Unicode font. Everything is Ok when I print preview this report. But when i send it to the printer, the unicode font doesn't present.
Do you know how to solve this problem ?
Thank you very much.
Sylvecast.

Hi Atish,
Yes, of course. I can print any word document with unicode font. I don't know if there must have any settings in ABAP program ? But when i print preview it, evrey thing is OK.
Kindly regards,
Sylvecast.

Similar Messages

  • Newbie question: Send data to printer from ABAP program

    Hello, I am a newbie.
    I do not use  SAPScript nor SmartForms.
    But I need to send a printer command stream from my ABAP to printer.
    Is it possible?
    How can this be possible? Please give me some guideline.
    I will reward you points. Promise.
    Thanks

    hi,
    u can send ur program details to printer using submit to sap-spool statement.
    SUBMIT TO SAP-SPOOL
    Basic form
    SUBMIT rep ... TO SAP-SPOOL.
    Extras:
    1.... DESTINATION dest         ... COPIES cop
            ... LIST NAME name
            ... LIST DATASET dsn
            ... COVER TEXT text
            ... LIST AUTHORITY auth
            ... IMMEDIATELY flag
            ... KEEP IN SPOOL flag
            ... NEW LIST IDENTIFICATION flag
            ... DATASET EXPIRATION days
            ... LINE-COUNT lin
            ... LINE-SIZE  col
            ... LAYOUT layout
            ... SAP COVER PAGE mode
            ... COVER PAGE flag
            ... RECEIVER rec
            ... DEPARTMENT dep
            ... ARCHIVE MODE armode
            ... ARCHIVE PARAMETERS arparams
            ... WITHOUT SPOOL DYNPRO
    2. ... SPOOL PARAMETERS params
             ... ARCHIVE PARAMETERS arparams
             ... WITHOUT SPOOL DYNPRO
    3. ... Further parameters (for passing variants)
            are described in the documentation for SUBMIT
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Missing print parameters with SUBMIT.
    Effect
    Calls the report rep with list output to the SAP spool database.
    Additions
    ... DESTINATION dest(output device)
    ... COPIES cop(number of copies)
    ... LIST NAME name(name of list)
    ... LIST DATASET dsn(name of spool dataset)
    ... COVER TEXT text(title of spool request)
    ... LIST AUTHORITY auth(authorization for display)
    ... IMMEDIATELY flag(print immediately ?)
    ... KEEP IN SPOOL flag(keep list after print ?)
    ... NEW LIST IDENTIFICATION flag(new spool request ?)
    ... DATASET EXPIRATION days(number of days list
    retained)
    ... LINE-COUNT lin ( lin lines per page)
    ... LINE-SIZE  col(col columns per line)
    ... LAYOUT layout(print format)
    ... SAP COVER PAGE mode(SAP cover sheet ?)
    ... COVER PAGE flag(selection cover sheet ?)
    ... RECEIVER rec(SAP user name of
    recipient)
    ... DEPARTMENT dep(name of department)
    ... ARCHIVE MODE armode(archiving mode)
    ... ARCHIVE PARAMETERS arparams(structure with archiving
    parameters)
    ... WITHOUT SPOOL DYNPRO(skip print control screen)
    With the parameters IMMEDIATELY, KEEP IN SPOOL, NEW LIST IDENTIFICATION and COVER TEXT, flag must be a literal or character field with the length 1. If flag is blank, the parameter is switched off, but any other character switches the parameter on. You can also omit any of the sub-options of PRINT ON. mode with SAP COVER PAGE can accept the values ' ', 'X' and 'D'. These values have the following meaning:
    ' ' : Do not output cover sheet
    'X' : Output cover sheet
    'D' : Cover sheet output according to printer setting
    armode with ARCHIVE MODE can accept the values '1', '2' and '3'. These values have the following meaning:
    '1' : Print only
    '2' : Archive only
    '3' : Print and archive
    arparams with ARCHIVE PARAMETERS must have the same structure as ARC_PARAMS. This parameter should only be processed with the function module GET_PRINT_PARAMETERS.
    Effect
    Output is to the SAP spool database with the specified parameters. If you omit one of the parameters, the system uses a default value. Before output to the spool, you normally see a screen where you can enter and/or modify the spool parameters. However, you can suppress this screen with the following statement:
    ... TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    You could use this option if all the spool parameters have already been set!
    Note
    When specifying the LINE-SIZE, you should not give any value > 132 because most printers cannot print wider lists.
    Addition 2
    ... SPOOL PARAMETERS params(structure with print
    parameters)
    ... ARCHIVE PARAMETERS arparams(Structure with archive
    parameters)
    ... WITHOUT SPOOL DYNPRO(skip print parameters
    screen)
    Effect
    Output is to the SAP spool database with the specified parameters. The print parameters are passed by the field string params which must have the structure of PRI_PARAMS. The field string can be filled and modified with the function module GET_PRINT_PARAMETERS. The specification arparams with ARCHIVE PARAMETERS must have the structure of ARC_PARAMS. This parameter should only be processed with the function module GET_PRINT_PARAMETERS. Before output to the spool, you normally see a screen where you can enter and/or modify the spool parameters. However, you can suppress this screen with the following statement:
    ... WITHOUT SPOOL DYNPRO
    Example
    Without archiving
    DATA: PARAMS LIKE PRI_PARAMS,
          DAYS(1)  TYPE N VALUE 2,
          COUNT(3) TYPE N VALUE 1,
          VALID    TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING DESTINATION           = 'LT50'
                COPIES                = COUNT
                LIST_NAME             = 'TEST'
                LIST_TEXT             = 'SUBMIT ... TO SAP-SPOOL'
                IMMEDIATELY           = 'X'
                RELEASE               = 'X'
                NEW_LIST_ID           = 'X'
                EXPIRATION            = DAYS
                LINE_SIZE             = 79
                LINE_COUNT            = 23
                LAYOUT                = 'X_PAPER'
                SAP_COVER_PAGE        = 'X'
                COVER_PAGE            = 'X'
                RECEIVER              = 'SAP*'
                DEPARTMENT            = 'System'
                NO_DIALOG             = ' '
      IMPORTING OUT_PARAMETERS        = PARAMS
                VALID                 = VALID.
    IF VALID <> SPACE.
      SUBMIT RSTEST00 TO SAP-SPOOL
        SPOOL PARAMETERS PARAMS
        WITHOUT SPOOL DYNPRO.
    ENDIF.
    Example
    With archiving
    DATA: PARAMS   LIKE PRI_PARAMS,
          ARPARAMS LIKE ARC_PARAMS,
          DAYS(1)  TYPE N VALUE 2,
          COUNT(3) TYPE N VALUE 1,
          VALID    TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING DESTINATION            = 'LT50'
                COPIES                 = COUNT
                LIST_NAME              = 'TEST'
                LIST_TEXT              = 'SUBMIT ... TO SAP-SPOOL'
                IMMEDIATELY            = 'X'
                RELEASE                = 'X'
                NEW_LIST_ID            = 'X'
                EXPIRATION             = DAYS
                LINE_SIZE              = 79
                LINE_COUNT             = 23
                LAYOUT                 = 'X_PAPER'
                SAP_COVER_PAGE         = 'X'
                COVER_PAGE             = 'X'
                RECEIVER               = 'SAP*'
                DEPARTMENT             = 'System'
                SAP_OBJECT             = 'RS'
                AR_OBJECT              = 'TEST'
                ARCHIVE_ID             = 'XX'
                ARCHIVE_INFO           = 'III'
                ARCHIVE_TEXT           = 'Description'
                NO_DIALOG              = ' '
      IMPORTING OUT_PARAMETERS         = PARAMS
                OUT_ARCHIVE_PARAMETERS = ARPARAMS
                VALID                  = VALID.
    IF VALID <> SPACE.
      SUBMIT RSTEST00 TO SAP-SPOOL
        SPOOL PARAMETERS PARAMS
        ARCHIVE PARAMETERS ARPARAMS
        WITHOUT SPOOL DYNPRO.
    ENDIF.

  • Unicode impact on abap programming

    We are on SAP 4.7 (non-unicode) system. Now we are planning for unicode version in SAP 6.0.. Can u please explain me the difference between non-unicode, unicode version  and also tell me what would be the impact on abap object while moving from non-uncode version to unicode version.
    Thanks
    Mohit khandelwal

    Hi friend,
    Unicode provides a unique number for every character, independent of platform and programming language. That is why every system is getting upgraded to unicode one(ECC 6.0)
    See some other statements also,
    1.
        Non-unicode:
        DESCRIBE FIELD PWD LENGTH LEN.
              The above statement is obsolete in ECC. So, replace it with the following statement:
       Unicode (ECC 6.0):
       DESCRIBE FIELD PWD LENGTH LEN IN  CHARACTER  MODE. <-- character or byte mode
    2.
       Non-unicode:
       In unicode programs the "-" character cannot appear in names. Ex: DATA name-new type c.
       Unicode (ECC 6.0):
       Use '_' (underscore) for names.  Ex: DATA name_new type c.
    3.
       Non-unicode:
      Search 'Hello SAP' for 'SAP'.  <-- will work
       Unicode (ECC 6.0):
       Search 'Hello SAP' for 'SAP'. <--- will not work and will not give any syntax error.
       So, use --> FIND FIRST OCCURRENCE OF 'SAP' in 'Hello SAP'.
    4.
      Non-unicode:
      Explicit length is not required. Ex: DATA name type c.
    Unicode (ECC 6.0):
      Explicit length is required Ex: DATA name(5) type c.
    Use T-code UCCHECK for checking unicode errors.
    Thanks..
    Edited by: Sap Fan on Mar 13, 2009 10:11 AM
    Edited by: Sap Fan on Mar 13, 2009 10:12 AM
    Edited by: Sap Fan on Mar 13, 2009 10:13 AM

  • Unicode impact on ABAP programming & Functional

    Hi all,
    We are on SAP 4.7 (non-unicode) system. Now we are planning for unicode version in SAP 6.0.. Can u please explain me what would be the impact on ABAP object as well as functional impact occurs while moving from non-uncode version to unicode version.
    Thanks & Regards,
    Pramitha.

    Hi friend,
    Unicode provides a unique number for every character, independent of platform and programming language. That is why every system is getting upgraded to unicode one(ECC 6.0)
    See some other statements also,
    1.
        Non-unicode:
        DESCRIBE FIELD PWD LENGTH LEN.
              The above statement is obsolete in ECC. So, replace it with the following statement:
       Unicode (ECC 6.0):
       DESCRIBE FIELD PWD LENGTH LEN IN  CHARACTER  MODE. <-- character or byte mode
    2.
       Non-unicode:
       In unicode programs the "-" character cannot appear in names. Ex: DATA name-new type c.
       Unicode (ECC 6.0):
       Use '_' (underscore) for names.  Ex: DATA name_new type c.
    3.
       Non-unicode:
      Search 'Hello SAP' for 'SAP'.  <-- will work
       Unicode (ECC 6.0):
       Search 'Hello SAP' for 'SAP'. <--- will not work and will not give any syntax error.
       So, use --> FIND FIRST OCCURRENCE OF 'SAP' in 'Hello SAP'.
    4.
      Non-unicode:
      Explicit length is not required. Ex: DATA name type c.
    Unicode (ECC 6.0):
      Explicit length is required Ex: DATA name(5) type c.
    Use T-code UCCHECK for checking unicode errors.
    Thanks..
    Edited by: Sap Fan on Mar 13, 2009 10:11 AM
    Edited by: Sap Fan on Mar 13, 2009 10:12 AM
    Edited by: Sap Fan on Mar 13, 2009 10:13 AM

  • Get default printer in ABAP program ....

    Hi gurus, pls help me ...
         I had a program to print voucher. It show document list, and user can choose some document to print (smartform). Now, if I choose 5 document, I have to choose printer 5 times. Who can tell me the way to get default printer of the desktop which user's using to assign OUTPUT_OPTIONS or something like that!? Thanks for all.

    hi,
    Please refer the code elow..u should be able to crack this roblem..
      data: l_usr01 like usr01.
      CALL FUNCTION 'GET_PRINT_PARAM'
        EXPORTING
          I_BNAME = sy-uname
        IMPORTING
          E_USR01 = l_usr01.
      output_options-TDARMOD = '1'.
      output_options-TDDEST = l_usr01-spld.
      output_options-TDRECEIVER = sy-uname.
      output_options-TDCOPIES = '1'.
      output_options-TDIMMED ='X'.
      output_options-TDDELETE = 'X'.
      output_options-TDLIFETIME = 0.
      output_options-tdnoprev = 'X'.
      output_options-tdnoprint = space.
      output_options-tddelete = 'X'.
    Please, assign points, if u have found it useful..
    Thanks,
    Nivin

  • Printing barcode from ABAP program

    Hi,
    Is it possible to print barcode (using zebra barcode printing) from ABAP program directly without using Smart Form, SAP Script or Adobe PDF Form.
    I have the barcode instructions, I just want to output it to the barcode printer directly.
    Sample instructions to be output to barcode printer:
    FT128,288XG005.GRF,1,1^FS
    FT96,128XG000.GRF,1,1^FS
    FT64,192XG001.GRF,1,1^FS
    FT0,288XG002.GRF,1,1^FS
    FT0,224XG003.GRF,1,1^FS
    FT128,256XG004.GRF,1,1^FS
    FO16,180GB496,0,5^FS
    FO52,37GB450,66,4^FS
    BY4,3,40FT86,320^BCN,,Y,N
    FD>;123456>67FS
    PQ1,0,1,YXZ
    XAID000.GRFFSXZ
    Thanks in advance.

    Hello,
    Yes we can do it..
    Go through this link you will some idea
    http://sapprograms.blogspot.com/2008/11/barcode-printing.html
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm

  • How can i print data in smartforms from ABAP program.

    Dear gurus:
    in my abap program i process require data, and saved in a internal table.
    how can l print the data in smartforms.?
    who can give me a code sample is better:)
    reward all helpful advise.

    Try this....
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    <b>Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module --> smart form function module and pass your internal table</b>
    Regards,
    SaiRam

  • Print an existing spool in ABAP program.

    Hi Experts, 
    I have a problem to print an existing spool. 
    I need print many an existing spools in ABAP program 
    - I used the SHDB and call transaction with BDC data but work only for 1st. 
    - I tried use the RSPO_RPRINT_SPOOLREQ function but don't work.

    I resolved my own problem.
    I use the function RSPO_OUTPUT_SPOOL_REQUEST...
    The only parameters to this functions was spool_request_id  - ID spool.
    Thanks for  help!

  • Unicode ABAP programs

    Hi ,
    I want to know the steps to be followed AFTER syntax errors are removed from UCCHECK programs with error status.
    Shall I test the programs for runtime errors before enabling Unicode flag?
    or
    first I should activate Unicode flag in UCHHECK for all programs and then do testing to check runtime errors and correctness of data.
    Please clarify.
    Thanks,
    Yogita

    There is a system parameter BASIS can set that makes the unicode flag mandatory in programs - once this is set, programs without the flag will short dump.  This can be done in non-unicode system as a preliminary step before eventual move to unicode.
    Setting this means the unicode flag will not be missed on any used programs - testing will soon show the missing flag.
    It also means that leaving the flag not set on obsolete programs prevents their accidental execution and highlights if they are really obsolete or not.
    following this strategy means that you do not want to set the flag globally - only in programs you know are required.
    Once the paramenter is set, the first syntax error in any program will be unicode flag not set, and this needs to be fixed before further errors can be found/fixed.
    Extended check (SLIN) and source code inspector both have options to highlight unicode issues in programs.  Not all need to be fixed - eg use of TYPE instead of LIKE only needs fixing in ABAP Objects, not report programs.  Good practice would be to fix all, but resource / time limits mean you fix the importants ones instead.
    Andrew

  • Unicode Enabling of HR ABAP programs

    Hi everyone,
    Would there be any difference in unicode enabling the normal ABAP programs and HR ABAp programs???
    Can anyone please throw some light on this topic??
    Please kindly respond.
    Thanks and Regards,
    Bhargava Kavuri....

    hi check the following links.
    http://help.sap.com/saphelp_47x200/helpdata/en/db/74d038d35e11d5994400508b6b8b11/frameset.htm
    http://www.sapdb.org/7.4/htmhelp/db/74d038d35e11d5994400508b6b8b11/content.htm
    http://72.14.203.104/search?q=cache:ZAoOe49ukb8J:www30.sap.com/korea/Company/Events/techday05/img/data_01.pdfsapunicode&hl=en&gl=in&ct=clnk&cd=8
    http://help.sap.com/saphelp_47x200/helpdata/en/1c/7fa22cd41a11d5994400508b6b8b11/frameset.htm
    Please reward .

  • Regarding Conversion Of ABAP program from non unicode to uni code

    Hi Can you please let me know the procedure for converssion of non unicode to unicode?
    Thanks in advance,
    zubera

    Hi
    The Link will be helpful to you.
    Re: Upgrade 4.6 to ECC - What are the responsibilites
    regarding Unicode influence in Standard programs
    Very good document:
    http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a
    You need to use the transaction UCCHECK.
    The report documentation is here
    ABAP Unicode Scan Tool UCCHECK
    You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    Selection of Objects:
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    PROG Report
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    Only Examine Programs with Non-Activated Unicode Flag
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    Only Objects with TADIR Entry
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    Exclude Packages $*
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    Display Modified SAP Programs Also
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    Maximum Number of Programs:
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    - Call transaction SAMT
    - Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    Applikation-Specific Checks
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    View Maintenance
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    UPLOAD/DOWNLOAD
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.
    Regards
    Anji

  • How to print external file using ABAP program

    Hello
    I want to print an external file which is located in server (
    20.99.0.18\GUI\xyz\8.0QUALITY\QM_TS.DOC) .....i want to print these kind of files(which i have retrieved from table 'DRAW' field 'filep' )......i need to print these files using ABAP program.
    thank you
    Vikram.
    Message was edited by:
            Vikram Bojja

    extract the data and pass to script or smartform for printing

  • Getting errors while conversion of  ABAP program into Unicode check

    Hi,
    I changed the one ABAP program for some requirement and try to save it, it is giving error that the program is not unicode compatible.I set the unicode checks active box  under Attributes and again activate it .It is not allowing to concatenate the two variables which is declared as follows :
    constants: c_tab    type x value '09',      "tab character
                      c_cr     type x value '0D'.       "carriage return character
    I tried to use field symbols but still giving error (code after change)
    constants: c_tab    type x value '09',      "tab character
                      c_cr     type x value '0D'.       "carriage return character
    field-symbols : <f_c_tab> type any,
                            <f_c_cr> type  any.
    Assign c_tab to <f_c_tab> CASTING type c.
    Assign c_cr  to  <f_c_cr>  CASTING type c.
    error :The length of "C_TAB" in bytes must be a multiple of the size of a Unicode character (regardless of the size of the Unicode character).
    pls guide me so that I can cancatenate the c_tab and c_cr variables

    Hi,
    Tab Character ----->Data: tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    Carraige Return---->Data : cr(2)  type c value cl_abap_char_utilities=>cr_lf..
    You will not be able to use the concatenate statement for hexadecimal variables in unciode system.
    Try using the above equivalent character variables. In unicode system avoid using hexadecimal variables wherever possible
    Regards,
    lakshman.

  • Can we make ABAP programs Unicode enable after  SAP sys is converted to uni

    Hello Experts,
    Can we convert the Non Unicode ABAP programs to Unicode after upgrading non unicode SAP system to Unicode?
    Is there any serious problem?
    If Non Unicode SAP is upgraded to Unicode without converting all non unicode ABAP programs to Unicode.
    Thanks in advance.
    Hari

    Hi
    There is no need of correcting the programs from Non unicode to Unicode
    After migrating the system from non Unicode to Unicode you have to run certain Notes (which will be done by Basis) to take care of this.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Print the result of an ABAP Program (in an infoset) in a ABAP List viewer.

    Hi ,
    Here is my question :
    I have created an user group in SQ03
    I have created an infoset in SQ02 and a query in SQ01.
    In my infoset I have a piece of program which looks like that :
    SELECT  EVVERTRAG EVBSTATUS EVANLAGE EVVKONTO EV~EINZDAT
    EVAUSZDAT EVCOKEY ETABRDATS ETABRVORG ETSPARTE ETTRIGSTAT
    ETABLEINH EUIINSTLNINT_UI EUITRANS~EXT_UI
    INTO (T_OFB-CONTRAT,T_OFB-STATUT_TRAIT,T_OFB-INSTAL,T_OFB-CMPTE_CONTRAT,
    T_OFB-DATE_IN,T_OFB-DATE_OUT,T_OFB-GSR, T_OFB-DATE_CALCUL
    ,T_OFB-OPE_CALCUL,T_OFB-SECTEUR,T_OFB-STATUT_ORDRE,T_OFB-UNITE,
    T_OFB-CLE_PDL,T_OFB-DES_PDL )
    FROM ( ever as ev inner join etrg as et
    ON evanlage = etanlage )
         inner join  euiinstln
         ON euiinstlnanlage = evanlage
         inner join euitrans
         ON euitransint_ui = euiinstlnint_ui
    WHERE ET~TRIGSTAT = '2'
    ORDER BY EV~ANLAGE.
    This program works fine, but when I create my query, I can just see the result in abap list.
    When I choose "abap list viewer" or "Excel format", the result is more like :
    " select * from  all tables "
    Is there a way to show the result in the viewer ?
    I added a "WRITE :/ <column1>, <column2>, but the result is the same.
    I also wonder if we can do a "group by " in ABAP.
    And do you know how to make a condition " where my_date < today -19 days" ?
    Thank you in advance for your answers.
    I've been around the others posts and you did such a great job.
    Laurent.

    hi Chintai,
    in bw side, you create a abap program to trigger an event in r/3,
    and include this abap program in your process chain, the abap program like
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    eventid = 'ZRUNJOB_DEL'
    and in r/3 schedule the program to delete previous data with 'after event',
    the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
    hope this helps.

Maybe you are looking for

  • Convert pdf file (vendor order confirmation) to excel for use as a worksheet

    anyone ?  can you help me?  I keep getting an error message but not what is wrong

  • How do I sync my Mac with my iphone

    Hi I need a bit of help I'm trying to figure out why the pictures taken on my iPhpone 4s don't automaticly show up on my Macbook Pro, I't be supper if anyone can help me. I've signed into iCloud and my ID is the same as far as I known. Sweetbrandigir

  • RAR - SU24 Config Updates - Multiple Systems

    I was in the process of updating the SU24 data within RAR and was wondering how GRC differentiates between a transaction that exists in multiple systems.  Typically only technical transactions would exist across systems, but this may not always be th

  • Problems opening files & folders with Intuos3 Pen in Mini-Bridge

    I just started working with an Intuos3, using it in many places to get the feel of it, clicking, double-clicking, etc.  Works nicely!  However, in Photoshop CS5 and Mini-Bridge, it's almost impossible to use the pen to open folders and open images. 

  • When are we getting a working version of BB Link?

    Seen all the troubles affecting BlackBerry Link (for example it doesnt connect to my Z10 so I havent even been able to do a backup since I got the device, more the 3 weeks ago), when can we expect a new and working update? Thanks.