PDF creator display bold output instead of defined mix from SAP Script

Dear all,
we've a little trouble with the pdf converter in SAP 4.6C.
In the systeme there is a custom based soft font implemented (RSTXPDF2). The Forms work with SAPScript and use the global imported soft font , the direct printed output and local created pdf are fine.
But when i try to use the archive for this documents the output use the right font, some characters are different so that i can see that the creator use the font.
But the created and stored document in the archiv display all character in bold version, so that this isn't like the original.
I try to use the testreport RSTXPDFT4 from sap to create a pdf download from spool, which was created witht the printer that create the paper output as well.
The created pdf has the same problems, so that all is printed in a bold version of the style.
The form has a headline in bold and after this there are some normal characters parts  and two parts with bold words.
It's seems that the data in the output send all, but the converter can't interpret the bold end information as in the paper output.
The target solution is to archive the pdf, but when the short spool isn't fine so i think that the archive printer isn't the problem. The printer was copied from the default, because the archivlink type can't use global softfonts.
The fonts are activated in the se73 for the archive printer type and e. g. sapwin.
Hint when i use the archive default which can't use softfonts the courier was used and the different areas will be display in bold and normal as defined.
Every hint is welcome to find out why the convertor makes all in bold.
Best regards
Thorsten Stracke

Dear all,
we've a little trouble with the pdf converter in SAP 4.6C.
In the systeme there is a custom based soft font implemented (RSTXPDF2). The Forms work with SAPScript and use the global imported soft font , the direct printed output and local created pdf are fine.
But when i try to use the archive for this documents the output use the right font, some characters are different so that i can see that the creator use the font.
But the created and stored document in the archiv display all character in bold version, so that this isn't like the original.
I try to use the testreport RSTXPDFT4 from sap to create a pdf download from spool, which was created witht the printer that create the paper output as well.
The created pdf has the same problems, so that all is printed in a bold version of the style.
The form has a headline in bold and after this there are some normal characters parts  and two parts with bold words.
It's seems that the data in the output send all, but the converter can't interpret the bold end information as in the paper output.
The target solution is to archive the pdf, but when the short spool isn't fine so i think that the archive printer isn't the problem. The printer was copied from the default, because the archivlink type can't use global softfonts.
The fonts are activated in the se73 for the archive printer type and e. g. sapwin.
Hint when i use the archive default which can't use softfonts the courier was used and the different areas will be display in bold and normal as defined.
Every hint is welcome to find out why the convertor makes all in bold.
Best regards
Thorsten Stracke

Similar Messages

  • Is it possible to can a program (report output) from SAP Script?

    Hi,
    From SAP Script I would like to call a report output (without displaying the selection screen).
    Is this possible. If so, how can I do this?
    Thanks.

    H i kumar g,
    why not?
    In script you can call external subroutine. You must define the subroutine in a program, there you can do a SUBMIT or whatever you want.
    See online docu for further explanation.
    Regards,
    Clemens

  • Problem in displaying the data of columns into rows in sap script

    hi,
    i am working on a sap script and i have to display the dat which is displayed in column into rows but it is not displaying it properly.
    eg, C
        12.1
        Si
        5.5
    it is displaying the data right now like this but i want to display the  data like this:-
    eg, C      Si
        12.1   5.5
    plzzprovide me guidelines how to solve this problem.

    hi,
    i am using this code to display the data:-
    plzz provide me guidelines where i am getting wrong?
    TOPparCOMPONENT DESP,,,,,, INS. LOT #, , , , , , MIC,,,,,,,,,, MIC VALUEparENDTOPparFINAL
    PROTECT
    IF &I_FINAL-PRUEFLOS& NE '000000000000'
    &I_FINAL-MAKTX(23)&&i_final-prueflos(12Z)&
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ELSE
    &I_FINAL-MAKTX(23)&     
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ENDIF
    ENDPROTECT
    ITEMHEAD
    POSITION WINDOW
    SIZE WIDTH +0 . 4 CH HEIGHT +1 LN
    BOX FRAME 10 TW
    BOX HEIGHT '1.35' LN INTENSITY 20
    IF &PAGE& = '1'
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10' TW
    For horizontal line at top
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '43' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '43' LN FRAME '10'TW
    ELSE
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '45' CM HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '20' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '47' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '47' LN FRAME '10'TW
    ENDIF
    LINEFEED
    NEWPAGE
    NEW-PAGE
    provide me guidelines to solve this problem.
    Edited by: ricx .s on Mar 13, 2009 5:58 AM

  • Write Special Characters in PDF file from SAP Script

    Hi there,
    Need a quick help...
    We are converting SAP Script to PDF using the function module CONVERT_OTF
    and saving the file on presentation server using GUI_DOWNLOAD...
    But in certain cases where the item text is maintained with some special
    characters like @#$% u03B1 u03B2 u03B3 u03B4 ®... then, some of these characters are seen
    as junk/garbage characters...
    how do we handle this??
    P.S. Our Forms are already using Korean Font...
    Any help is highly appreciated
    Kind Regards,
    Tanuja

    Hi,
    Use the FM  CONVERT_OTF to get the Binary data and  down load it as PDF .
    sample
    */ Convert the OTF data into PDF.
        call function 'CONVERT_OTF'
         exporting
           format                      = 'PDF'
         importing
           bin_filesize                = lv_bin_filesize
            bin_file                   = lv_xstring
          tables
            otf                        = lt_otf_data-otfdata[]
            lines                      = lt_pdf_data
         exceptions
           err_max_linewidth           = 1
           err_format                  = 2
           err_conv_not_possible       = 3
           err_bad_otf                 = 4
           others                      = 5  .
    */ Convert the Xstring data into PDF
        call method cl_document_bcs=>xstring_to_solix
          exporting
            ip_xstring = lv_xstring
          receiving
            rt_solix   = lt_mess_att .
    Then down load the table lt_mess_att  with extension PDF.
    Edited by: UmaMaheswaraRao Surapaneni on Apr 1, 2009 5:44 PM

  • How can I use Firefox to view a pdf in a local file? On the web pdf's open in Acrobat but in a local file (file:///C:/T10/drafts/adc3/adc3r04.pdf) Firefox displays raw text instead of launching Acrobat

    I am configured to open pdf's in Acrobat instead of Firefox. This works great on the web. I have a local mirror of a website on my local disk as well as a network disk. When I use my html file to attempt to open the pdf on the local disk (file:///C:/T10/drafts/adc3/adc3r04.pdf) it opens as text in Firefox - appears to be ASCII view of the binary contents of the pdf. When I use my html file on my network disk (http://tucgsa.ibm.com/~kdbutt/T10/drafts/adc3/adc3r04.pdf) everything works as it should.

    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to disable the build-in PDF viewer and use the Adobe Reader instead.
    *http://kb.mozillazine.org/about:config
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file

  • Denon AVR 591 stereo output instead of 5.1 from new apple tv(3rd gen)

    I have a setup such as:
    aTV 3rd gen -> HDMI -> Denon AVR591 -> HDMI -> Sony KDL 40V5100
    my speaker setup is a 3.1, 2 fronts, center and sub
    i'm having trouble getting a 5.1 output when i'm streaming music from my imac through home sharing, and also netflix.
    i do not have an extra optical port(used by my xbox) to bypass this issue, so i'm wondering if this is a known problem, or something wrong with my setup.
    my PS3 run just fine in 5.1(multi ch.) when it streams the correct format through a single HDMI cable.
    this is a brand new apple tv that i just got today from the mail, and hoping someone can shed some light in my problem.
    Thanks in advance!

    I was only able to get 5.1 via optical, DTS was fine via HDMI.

  • How to display the output of a reports called from forms in the same window

    Hi all.
    I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
    I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
    I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
    How is that possible?.
    I'm using Chrome 25.0. Could this be done through browser settings?.
    Thanks in advance ...!
    Edited by: myluism on 14-mar-2013 6:09

    Don't know for Chrome, so Google for it.
    One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that.

  • ABAP QUERY PROGRAM OUTPUT SHOULD DISPLAY FROM SAP SCRIPT.

    THIS IS MY URGENT REQUIREMENT ...
    I DONT KNOW ABAP QUERY PROGRAM ..
    PLEASE SUGGEST ME A WAY ON THIS ....
    Functional requirements
    Introduction
    The wish of the customer is a printable customer overview. All desired fields will be shown in a new query called ZZADDRSS_CO. Double entries are taken for granted because of the data taken from the sales area and because of multiple contact persons. The customer accepts this. It should be made possible that the user creates and saves its own variant.
    A second overview is needed, another ABAP will be developed for this requirement. This ABAP will show all the customer data and this list will have the possibility to be printed.
    Solution
    New Query ZZADDRESS_CO
    The desired fields of attachment 1 need to be shown in the query.
    The selection criteria are shown in attachment 2.
    The column names of the additional data have to changed in the query.
    Customer Overview.
    Functional specification.
    On behalf of this customer overview a standard SAP transaction will be used (transaction VC/2).This transaction will be extended.
    The fields are shown on screen with the described headers. Printing of the overview will be done via SAP script. The script makes use of a fixed layout of the data.
    The selection criteria are specified in attachment 2.
    The layout of the customer overview and the SAP Script are specified in attachment 3.
    Specification.
    The next steps need to be performed.
    1.     A routine per infoblock need to be created in Include RV77UNNN. In this routine the data is retrieved and written down to the screen and script,
    Example LST1_901 . In include RV77SNNN you can find the standard infoblocks.
    2.     Adapt via transaction SE16 table TFRM.
    3.     Create a new view in the customizing (sales and distribution- Sales support-sales summary-Assign Reporting Views).Assign the new view to the infoblocks.(Example view 001 is assigned to block 901).
    4.     In customizing it is not possible to assign the correct window and element to the infoblock .so this is done via SE16 in table T182A.
    5.     Adapt script. Copy script SD-SALES-SUMMARY to a Z-SALES_SUMM.
    Assign this new version to the new view in customizing. Create in the main window the element who writes the data on behalf of the print.
    Attachment 1 Desired fields
    Header: Address
    ~ Customer number                          KNA1-KUNNR
    ~ Title                                               KAN1-ANRED
    ~ Name1                                           ADRC-NAME1
    ~ Name2                        ADRC-NAME2
    ~ Name3                                           ADRC-NAME3
    ~ Name4                                           ADRC-NAME4
    ~ PO Box                                         ADRC-PO_BOX
    ~ PO Box POSTAL CODE             ADRC-POST_CODE2
    ~ PO Box city                                  ADRC-PO_BOX_LOC
    ~ Telephone no1                              ADR2-TEL_NUMBER   1ST RECORD
    ~ Telephone no2                              ADR2-TEL_NUMBER   2ND RECORD
    ~ Fax number1                                 ADR3-FAX_NUMBER 1ST RECORD
    ~ Fax number2                                ADR3-FAX_NUMBER 2ND RECORD
    ~ E-mail                                            ADR6-SMTP_ADDR
    ~ Search item                                   ADRC-SORT1
    ~ Notes                                            ADRT-REMARK
    Header: control data
    ~ VAT registration number              KAN1-STCEG
    Header: Payment transactions
    ~Bank country key                         KNBK-BANKS
    ~Bank key                                      KNBK-BANKL
    ~Bank Account number                 KNBK-BANKN
    Header: Marketing
    ~ Industry key                                   KNA1-BRSCH
    ~ Industry code 1                              KNA1-BRAN1
    ~ Industry code 2                              KNA1-BRAN2
    ~ Industry code 3                                KNA1-BRAN3
    ~ Industry code 4                                KNA1-BRAN4
    ~ Industry code 5                               KNA1-BRAN5
    ~Annual sales, currency, year           KNA1-UMSA1, KNA1-UWAER, KNA1-UMAH
    ~ Yearly no of employees, year      KAN1-JMZAH, KNA1-JMJAH       
    ~ Fiscal year variant                          KNA1-PERIV
    ~Legal status                                      KNA1-GFORM
    Header: Correspondence
    ~ Our account number at customer            KNB1-EIKTO
    Header: sales
    ~ Sales office                                              KNVV-VKBUR
    ~ Customer group                                       KNVV-KDGRP
    ~ ABC-classification                                  KNVV-KLABC
    Header: Invoice
    ~Tax classification                          KNVI-TAXKD
    ~Terms of payment key                    KNVV-ZTERM
    ~
    Header: Contact Persons
    ~Title                                   KNVK-ANRED
    ~Name                                   KNVK-NAME1
    ~Advertising material                         KNVK-NMAIL
    ~Martial Status                         KNVK-FAMST
    ~Notes                                   KNVK-PARAU
    ~Function                              KNVK-PAFKT
    ~Department                              KNVK-ABTNR
    Header: Partnerroles
    ~Personnel Number                         KNVP-PERNR
    ~Name of employee                         PA0001-ENAME
    Header: Additional Data
    ~Attribute 1                              KNA1-KATR1
    ~Creation date                              KNA1-ERDAT
    ~Attribute 2                              KNA1-KATR2
    ~Change date of field KNA1-KATR2          CDHDR-UDATE
    ~Attribute 3                              KNA1-KATR3
    ~Attribute 4                              KNA1-KATR4          
    ~Attribute 5                              KNA1-KATR5
    ~Attribute 6                              KNA1-KATR6
    Attachment 2 Selection fields
    ~Customer number
    ~Sales office
    ~Personnel Number
    ~Sales Organization (default NL01)
    ~Industry key
    ~Industry codes (1 till 5)
    ~ABC- classification
    ~Creation date
    ~Attribute 1
    ~Attribute 2
    ~Attribute 3
    ~Attribute 4
    ~Attribute 5
    Attachment 3 Customer overview + SAP Script
    Customer master data sheet: 11490                 Page1
    Requested by karen Dunnewold                Date: 25.08.2004
    Address
    (Default SAP script ADDRESS statement)
    Title
    Name1
    Street + number
    PO Box city
    Country
    Search term: ADRC-SORT1
    Telephone 1:      ADR2-TEL_NUMBER     2: ADR2-TEL_NUMBER
    Fax 1:          ADR3-FAX_NUMBER     2: ADR3-FAX_NUMBER
    E-mail:          ADR6-SMTP_ADDR     
    Notes:           ADRT-REMARK
    PO BOX
    ADRC-PO_BOX
    ADRC-POST_CODE2 ADRC-PO_BOX_LOC
    T005T-LANDX (T005T-LAND1 = ADRC-COUNTRY)
    Control data
    VAT registration number:     KNA1-STCEG
    Payment transactions
    Country: KNBK-BANKS Bank-key: KNBK u2013 BANKL Bank account: KNBK-BANKN
    Marketing
    Industry           KNA1-BRSCH     Industry Description
    Industry code1          KNA1-BRAN1     Industry Description
    Industry code2          KNA1-BRAN2     Industry Description
    Industry code3          KNA1-BRAN3     Industry Description
    Industry code4          KNA1-BRAN4     Industry Description
    Industry code5          KNA1-BRAN5     Industry Description
    Figures
    Annual Sales          KNA1-UMSA1, KNA1-UWAER in KNA1-UMAH
    Employees          KNA1-JMZAH                         in KNA1-JMJAH
    Legal status            KNA1-GFORM description
    Customer master data sheet 11490                         Page 2
    Requested by karen Dunnewold                         Date: 25.08.2004
    Contact Persons
    KNVK-ANRED
    Mailings: KNVK-NMAIL           Notes: KNVK-PARAU
    KNVK-ANRED
    Mailings: KNVK-NMAIL           Notes: KNVK-PARAU
    Correspondence
    Our account number at customer      KNB1-EIKTO
    Sales
    Sales office          KNVV-VKBUR     Description
    Customer group     KNVV-KDGRP     Description
    ABC-classify          KNVV-KLABC
    Currency          KNVV-WAERS
    Invoice
    Terms of payment key KNVV-ZTERM      Tax classification KNV1-TAXKD
                                  Description     
    Partner (Leave SAP default)
    Partnerrole               Number          Name
    KNVP-PARVW          KNVP-KUNNR     NAME1
    KNVP-PARVW          KNVP-KUNNR     NAME1
    Additional data
    Attribute1          kna1-katr1     Description
    Attribute2          kna1-katr2     Description
    Attribute3          kna1-katr3     Description
    Attribute4          kna1-katr4     Description
    Attribute5          kna1-katr5     Description
    Attribute6          kna1-katr6     Description

    hi narayana
    i think u need to write a driving program and a provided with a smatform u sit along with the SD consultant.
    ur further views can be shared.
    Rgs,
    Venkat.

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

  • Display of multiple rows of long text in sap script

    Hello Abapers,
    Is it possible to have a loop inside a sapscript?
    Can you give me a sample code?
    I have tried it on my sapscript but it only shows the last row
    of my internal table.
    This is my source code :
    /: DEFINE &WF_EBELN& = &EKPO-EBELN&
    /: DEFINE &WF_EBELP& = &EKPO-EBELP&
    /: PERFORM GET_ITEM_TEXT IN PROGRAM ZMPU_PO_ORDER
    /: USING &WF_EBELN&
    /: USING &WF_EBELP&
    /: CHANGING &WF_TEXT&
    /: ENDPERFORM
    /:  LOOP AT &WF_TEXT&
    as   &WF_TEXT&
    /:  endloop
    in the zmpu_po_order, the WF_TEXT has 12 lines of data,
    but when sapscript is displayed it only has one line.
    I hope you can help me. Thanks in advance...

    Hi,
    It is not possible using loops in sap text editor .
    YOU CAN USE IN PROGRAM OF FORM.
    reward points

  • RED light in Output determination in VA02 for Custom SAP Script

    Hi,
    Am trying to get Order Acknowledgement output from VA02 as a preview. We have custom Script, custom print prog. So, I went to VA02>Extras>Output>Header>Output.....but, here am seeing the associated OUTPUT TYPE ZB00 as RED light!!
    So, pls. let me know that,
    1 - Why am gettign RED light? Wht culd b the reasons?
    2 - How to fix it to get it GREEN?

    Hi,
    Did you try debugging the print program? Also check the output determination analysis.
    Follow below path. Once you are in outputs edit screen...
    Select your output, menu=>Goto=>Determination analysis(or ctrl+f1).
    Here you can see what went right and wrong for all the outputs allowed for that order. You can see there might be some routines which has not been satidfied. Check this analysis for your output and see what is wrong.
    Condition records might also be missing. Check with your functional for this.
    Thanks,
    Vinod.

  • Spot instead comma in Excel from SAP

    Hi all.
    I get a Excel file from SAP. One of the fields is material, with format XXXXX.X in SAP, but in Excel it is shown with format XXXXX,X I need in Excel the material is shown with a spot, like SAP. What can I do?
    The code is:
    CREATE OBJECT Excel  'EXCEL.APLICATION'.
    CALL METHOD OF Excel 'WORKBOOKS' = books.
    CALL METHOD OF books 'ADD' = book.
    LOOP AT tab.
    PERFORM rellenar_celdas USING x1 tab-gltri.
    PERFORM rellenar_celdas USING x2 tab-matnr.
    ENDLOOP.
    SET PROPERTY OF Excel 'VISIBLE' = 1.
    FORM rellenar_celdas USING i j val.
    CALL METHOD OF Excel 'CELLS' = cell
    EXPORTING
    #1 = i
    #2 = j
    SET PROPERTY OF cell 'VALUE' = val.
    ENFORM.
    Thanks a lot.
    Marta.

    I did like this
    FORM CREATE_GRID USING
           X1 TYPE I Y1 TYPE I
           X2 TYPE I Y2 TYPE I
           NAME.
    *Workbooks.workSheets(1).columns(GS_CELLS).
    *Worksheets("Sheet1").Cells(5, 3).Font.Size = 14
       CALL METHOD OF GS_EXCEL 'Cells' = GS_CELL1
       EXPORTING #1 = X1 #2 = Y1.
       CALL METHOD OF GS_EXCEL 'Cells' = GS_CELL2
       EXPORTING #1 = X2 #2 = Y2.
       CALL METHOD OF GS_EXCEL 'Range' = GS_CELLS
       EXPORTING #1 = GS_CELL1 #2 = GS_CELL2.
       CALL METHOD OF GS_CELLS 'Select' .
       CALL METHOD OF GS_CELLS 'Merge' .
       CALL METHOD OF GS_CELLS 'BorderAround'
       EXPORTING #1 = 1 #2 = 2.
       SET PROPERTY OF GS_CELLS 'NumberFormat' = '#,##0.00' .
       SET PROPERTY OF GS_CELLS 'RowHeight' = 13.
       SET PROPERTY OF GS_CELLS 'Value' = NAME.
       SET PROPERTY OF GS_CELLS 'VerticalAlignment' = 2.
    *  SET PROPERTY OF gs_cells 'HorizontalAlignment' = -4108.
       SET PROPERTY OF GS_CELLS 'WrapText' =  1.
       GET PROPERTY OF GS_CELLS 'Font' = GS_FONT.
       SET PROPERTY OF GS_FONT 'Size' = 8.
    ENDFORM.

  • RDI Output from Sap Script

    Hello ,
    I would like to know whether it is possible to generate RDI with some additional variables and at the same time hide them in SAP Script.
    Regards
    Amruta

    See below link, it should help you Re: SAPScript RDI output

  • How to merge multiple PDFs and display in a new window

    Hi,
    I'm trying to merge multiple PDFs into one PDF and display the output in a new window using PeopleCode. I have a button on a page, which when clicked should open a new window with the merged PDFs. I am able to succussfully merge the PDFs using the PDFmerger class (mergePDFs) but unable to display the result in a new window.
    Please help.

    Thanks.
    I also found this piece of code very helpful.
    Local PSXP_RPTDEFNMANAGER:Utility &oUtil;
    Local boolean &bRtn;
    /* send the output to client */
    /* &sFileName = the file path /file_name.extension */
    &oUtil = create PSXP_RPTDEFNMANAGER:Utility();
    &bRtn = &oUtil.zipAndViewAttachment(&sFileName);
    Edited by: user8260115 on Sep 9, 2009 4:57 PM

  • How to save sap script output in  pdf document

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms

    PDF Creation + connection to DMS
    cheers
    Aveek

Maybe you are looking for