How to submit a report to printer with specified language?

hi all,
   It's very strange that there's no parameter which can specify language when submit a report to printer, then how can I print Chinese when logon in English? I can display Chinese correctly in screen and spool by set the SY-LANGU = '1', but it doesn't work with printer. Furthermore, the customer have lots of Chinese users but they won't install the Chinese language package.

Hi,
In your ABAP program use "set locale language 'X' country 'XX' " stmt to set the language.
Svetlin

Similar Messages

  • How to submit a report ,Passing the internal tables from parent report

    How to submit a report ,Passing the internal tables from the parent report ?

    The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
    calls another report. Can only execute reports of type '1'.
    *Code used to execute a report
    SUBMIT Zreport.
    *Code used to populate 'select-options' & execute report
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    load each personnel number accessed from the structure into
    parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    Once report has finished and control has returned to calling
    program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    DISPLAY_LIST to retrieve and display report.
    *Example Code (Retrieving list from memory)
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list.
    DATA: BEGIN OF vlist OCCURS 0,
            filler1(01)   TYPE c,
            field1(06)    TYPE c,
            filler(08)    TYPE c,
            field2(10)    TYPE c,
            filler3(01)   TYPE c,
            field3(10)    TYPE c,
            filler4(01)   TYPE c,
            field4(3)     TYPE c,
            filler5(02)   TYPE c,
            field5(15)    TYPE c,
            filler6(02)   TYPE c,
            field6(30)    TYPE c,
            filler7(43)   TYPE c,
            field7(10)    TYPE c,
          END OF vlist.
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = vlist
        listobject         = itab_list
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.
    Submit report as job
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.

  • How do I use a regular printer with my iPhone?

    How do I use a regular printer with my iPhone?

    you can't unless it's an AirPrint enabled printer or you purchase a 3rd party app like printopia.

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

  • How do you do double sided printing with eprinting with a hp officejet pro 8500a premium?

    How do I do double sided printing with eprint?  Why is there no option to change it online?  I have
    HP Officejet Pro 8500A Premium

    Hi,
    Automatic Two-Sided printing is not currently supported by the ePrint Service, as you may find any of the service capabilities and limitations listed below:
    Duplexing (printing on both sides of the page) is not supported.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02641898&cc=us&dlc=en&lc=en&product=4083971&tmp...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How do i install a new printer with no dvd?

    how do i install a new printer with no dvd?

    Hook it up and see if it works. If it is one of the more common printer brands/models, it could very well have it's drivers installed, depending on how your OS was installed. If not, you can always go to the support site for your printer and download the drivers, if necessary.
    What kind of printer do you have? What OS and how was it installed?

  • How can I add header on printing with Numbers

    How can I add header on printing with Numbers? The previous version use to have it and I cannot find it in the new one ...

    Hi Tanya,
    Glad to hear that you found how to edit page headers and footers in Numbers 3.2. I agree that Help in Numbers 3 is woeful. No searchable PDF to download and use offline. All is online (one page at a time) and we need to know the terms we are looking for before we look.
    The first HelpDesk:
    http://www.youtube.com/watch?v=pQHX-SjgQvQ
    For printing to paper where layout is important, I use Numbers '09 (Numbers 2.3) with its Print View. But it is orphanware. As the name suggests, there has not been a major overhaul since 2009. With that in mind, it is a useful version to hang onto while we hope and wait (and provide feedback to Apple) for something in future versions of Numbers 3.x to provide better layout capability.
    Indeed, each new update of Numbers 3.x has restored more of the old features while adding new features that are enhancements over Numbers '09. Many of the Numbers 3 enhancements reflect long-awaited wishes through this forum, and were passed on by Numbers Feedback to Apple. So it seems that Apple does take heed of feedback.
    In the meantime, I enjoy the charm of Numbers '09 whilst exploring the new features of Numbers 3.
    What has been GAINED in Numbers 3 is here:
    https://discussions.apple.com/thread/5473882?start=75&tstart=0
    (Very long thread because it started with Numbers 3.0, and enhancements have continued through Numbers 3.2).
    Hints on workarounds in Numbers 3 is here:
    https://discussions.apple.com/message/23622372#23622372
    Some workarounds are no longer needed, but what amazes me is how many Numbers '09 features (the so-called "lost" features) were not lost; the settings have simply been moved. Moreover, many features such as margin settings carry over with a Numbers '09 document or template into Numbers 3.
    Hints for layout on screen before printing to paper:
    Try Alignment Guides and Rulers as suggested here:
    Print View workarounds
    Use a layout guide:
    Layout Guide for Numbers
    Regards,
    Ian.

  • How can I share a laser printer with a windows laptop.

    How can I share a laser printer with a windows laptop. I can't install software or drivers on the laptop for a USB switch box, but the printer drivers are already installed.
    It is a work laptop and printer. There is no WiFi to the laptop, just USB.
    Is there a USB switch box that does not need any drivers?
    Thanks
    Julie

    Hi
    Thanks.
    I am not able to install any drivers or software on the work laptop and WiFi is not allowed either.
    Currently I am swapping cables, but it means crawling under the desk and is a bit of a pain.
    I was hoping that there would be a switch box that does not require drivers.
    Crawling and banging my head it is, then!
    Message was edited by: juliemeikle for awful typing

  • P&L report printing with 2 languages

    Hello all, my P&L statements are printing with a combination of English and another language. I'm not sure why it's doing this, since all my other financial reports are in English. Any ideas how I can fix this? Thanks in advance.

    Solved, the incorrect "template" in the Profit and Loss statement was being used.

  • How to submit a  report program to a standard program.

    I want to submit a report program to a slection screen program which is standard with some values. can any one help me out.
    here is the code.
    CONSTANTS:  w_object(10)   type c value  'ZCOST2',
               k_projet(10)   TYPE c VALUE 'AIN_AUSA2',
               k_ssprojet(10) TYPE c VALUE 'ZCOST2'.
    SUBMIT /sapdmc/sap_lsmw_bi_recording
                     via selection-screen
                     WITH p_keep = 'X'
                     WITH p_object = w_object
                     WITH p_projec = k_projet
                     WITH p_subpro = k_ssprojet and return.

    Hi
    Try this...
    SUBMIT /sapdmc/sap_lsmw_bi_recording
                 WITH p_keep = 'X'
                 WITH p_object = w_object
                 WITH p_projec = k_projet
                 WITH p_subpro = k_ssprojet
                  AND return.
    Note:  No need to mention 'VIA Selection Screen', it's not a mandatory.....

  • How to develop a report in Crystal with flexible database name?

    Hello
    I am a Project Manager of a project of developing reports in Crystal 11.
    The idea is to develop reports on top of the content in MS SQL tables.
    The initial testing and demonstration to the customer is done within the Crystal development environment.
    In a later stage, we need to integrate the reports with C# WPF application, using Crystal control.
    We currently use ODBC connections.
    We want the flexibility to set the actual database dynamically, by using the "default database" of the ODBC connection (or any other way). In other words, we want not just the flexibility to change the database server, but work with different database names, like "ProductDB_TEST", "ProductDB_PROD" etc. - without changing the report.
    Unfortunately, we got the answer from the developer that the database name should be pre-defined for a given report. Although the connection can be set to another server, the DB name cannot be set dynamically.
    Looking into the "Database" -> "Show SQL Query" menu, we see the following piece inside the query:
    INNER JOIN "DATABASE_NAME"."dbo"."IncidentTypeSnapshotData"
    So it looks like the query itself contains the DB name.
    Is it really a limitation of Crystal, or rather the developer working on the project doesn't know the trick?
    Thanks for any hint
    Max

    CR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
    Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is  csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    More info on connecting to dbs and changing them is in the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    More info on CR APIs for .NET (applies to all versions of CR and VS):
    Crystal Reports for Visual Studio 2005 Walkthro... | SCN
    You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
    More info on datasets:
    Crystal Reports Guide To ADO.NET
    Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
    For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Sample apps are here:
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    and here:
    Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
    More info on RAS SDK:
    How to Use The RAS SDK .NET With In-Process RAS Server
    Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
    - Ludek

  • How can I do 2 sided printing with eprint?

    I have a printer that can do 2 sided printing, but when I document prints using eprint.  It is only printing single sided which is a waste of paper.  How can I fix eprint to autoprint using 2 sided printing?

    Hey Gamalielle!
    Currently there isn't a way to duplex (2-sided) print with ePrint. But just so you know, you aren't the first customer that has suggested we add that as a feature to ePrint. HP is always looking for suggestions to improve our ePrint services and this may get added in the future.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to Submit a Report?

    Usually when a program quits on its own a prompt will come up saying such and such quit. Cancel or Submit a Report of the problem.
    Is there a way to go straight to the Submit a report screen on the computer? I am having issues with my iChat connecting. Nothing has changed on my computer and it won't connect for nothing.
    Thanks

    There are some very helpful people in the iChat forum.
    http://discussions.apple.com/forum.jspa?forumID=902

  • How can I start my Kodak printer with this iPad?

    How can I connect iPad to printer? Could you please help me.

    Look on Kodak's site. They have several options with Google Docs to enable you to print. The exact capabilities vary from model to model.
    Also, you can use third party apps. I have print n share and it works just fine with my Kodak printer, but there's also printopia and print central and more I'm sure.

  • OSS note fo How to... Web Printing with Microsoft Excel

    Hi BW Gurus,
                          I have documentation, transport request # K903271.QB8  &  R903271.QB8 for Web Printing with MC Excel.  But basis guy he want OSS note #, so that he can import requests.
                          How to find the OSS note related to transport req. I already searched in SDN, and market place but no luck. Please some give me the OSS note.
    Thanks
    Ganesh Reddy.

    Hi,
    Just to give you some information on transport,
    Once the objects are collected in the TR, you need to release the task and then the Main request (TR) in DEV.
    In QA, Go to STMS, Go to Transport icon -> select you system -> Select you requests -> Then click on the truck icon it will prompt for you target client -> go to 3rd tab and then give your options (most of the cases , it is overwrite mode). Then click "OK", they will be imported.
    Note :STMS is used to perform the actual migration of the transport from the source system to the target system but in se09/10 you can only release the transports not perform the actual migration
    And only released transports will show up in STMS queue
    I dont know what is the OSS note your basis guys are talking about.
    may be it is specific to the documentation transport. Please check with them clearly.
    hope this helps
    Cheers,
    Srinath

Maybe you are looking for