Script output Issue

Hi All,
I am working on script, Getting the output on Pdf as mentioned below, as per the requirement the credit entry CR1 should come as
-96.00. I have debugged the report attached with it and I can see that the field SHKZG(Debit/Credit Indicator) of table REGUP is not used, Please let me know the possible reasons and how ican get the value CR1 as -96 in output. find below the code for your refrence.
PDF OUTPUT
11/11/09 PR21 800.00
13/11/09 PR22 800.00
01/01/10 PR22 800.00
03/01/10 CR1 96.00
GBP Total 2,304.00
CODE SAMPLE ASSOCIATED WITH IT.
FORM F8210_MOVE_DATA_TO_REGUP.
  CLEAR: WS_RWBTR ,
         WS_VAR   ,
         WS_VAR1  .
  SORT INT_REGUP BY BLDAT .
  CLEAR WA_REGUP.
  LOOP AT INT_REGUP INTO WA_REGUP WHERE
                              LAUFD = WA_OUTPUT-LAUFD
                        AND   LAUFI = WA_OUTPUT-LAUFI
                        AND   XVORL = WA_OUTPUT-XVORL
                        AND   ZBUKR = WA_OUTPUT-ZBUKR
                        AND   LIFNR = WA_OUTPUT-LIFNR
                        AND   VBLNR = WA_OUTPUT-VBLNR
                        AND   BUKRS = WA_OUTPUT-BUKRS.
    MOVE:    WA_REGUP-XBLNR TO REGUP-XBLNR,
             WA_REGUP-BLDAT TO REGUP-BLDAT,
             WA_REGUP-WRBTR TO REGUD-WRBTR.
  Call write form for element 625 of main window
    PERFORM F8150_WRITE_FORM USING '625' 'MAIN'.
    CLEAR WA_REGUP.
  ENDLOOP.
  WS_VAR1 = WA_OUTPUT-RWBTR.
  WS_VAR = STRLEN( WS_VAR1 ).
  WS_VAR = WS_VAR - 1.
  WS_RWBTR = WS_VAR1+0(WS_VAR).
  REGUD-SWRBT = WS_RWBTR.
ENDFORM.                    " f8210_move_data_to_regup

Hi,
I am applying the following code to get the value as -96.
Data: zwrbtr(10) type c.
if wa_regup-shkzg = 'S'.
  write wa_regup-wrbtr to zwrbtr.
concatenate '-' zwrbtr into zwrbtr.
move: zwrbtr to regud-wrbtr.
else.
  move: wa_regup-wrbtr to regud-wrbtr.
endif.
But, the problem here is after writing the value of WA_REGUP-WRBTR to C type Variable ZWRBTR and CONCATENATING I getting the required value in ZWRBTR, Now again I have t pass this value to REGUD-WRBTR which is type CURRY and I am getting dump here because system not accepting the CHAR value in CURRY field.
Pls suggest..
Regards,
Vikas

Similar Messages

  • 4.0EA1 - Copy/Paste in Script Output window on Mac is not working

    I'm running 4.0.0.12 on MacOS X 10.8.4, and I can't Copy from the "Script Output" window.  What I regularly do is generate some SQL using an SQL query, so I want to copy the output and paste it back into the Worksheet so I can run it.  For example:
    select 'alter tablespace ' || TABLESPACE_NAME || ' begin backup;' from DBA_TABLESPACES;

    This is a known issue and will be addressed for the next EA release.

  • Download script Output to XML format

    Dear friends,
    I want to download script output to xml format.
    Can you please help me regarding this issue.
    Its very Urgent.....
    Regards,
    Munna.G

    hi krishna,
    In Smartforms
    goto UTILITIES ---> download form.
    Browse the location and save the form.
    The saved form is in xml format.
    If you want to use that form,
    create a new form and go to utilities--> upload
    OR:
    Use function module FB_DOWNLOAD_FORM .
    Provide your form name as input for i_formname.
    you will get the output in xml format
    i think this will help u
    reward if help ful
    regards,
    sindhu.

  • SAP Script output extra page is coming

    Dear friends
                             In my sap script output i m getting one extra page with empty main window. Even i have  not used NEW-PAGE Command,
    No Empty lines and window size also correct. Can anyone solute for this issue.
    Regards
    Balamurugan N

    Hi,
    check those details:
    1) In your SAPSCRIPT contains one page or two pages?
    2) In the sapscript check did u assign any nextpage as different page?
    Regards,
    Dhina..

  • Script Output cuts my querry

    Hello SQL Developers,
    I have a script that has some bigger output per querry (exactly it generates an XML)
    When I run this script (F5) it only outputs the first about 200 chars per querry, then it cuts and starts with the next querry
    For example:
    Xml Output
    <?xml version="1.0" standalone="yes"?>
    <Customers>
    <Customer>
    <CustId>100<
    Xml Output
    <?xml version="1.0" standalone="yes"?>
    <Customers01234567890123456789>
    <Custom
    Starting every querry for its own (Ctrl+F5) shows in the result window the correct result of this single querry without cuting somethink of.
    I've tested it with the computer of a classmate. There it works fine without any cut in the Script Output window. Maybe that's because he didn't update
    SQL Developer for more then a year. Maybe it is a setting I didn't found yet. Please can somebody help me?
    Edited by: WillardBL on 10.10.2012 13:48

    Hi WillardBL,
    Quite a few years ago there was a bug involving slow performance and/or Java OutOfMemoryException when displaying MySQL BLOBs, probably due to some issue with the MySQL JDBC driver. The bug was addressed back in SQL Developer 1.2.26.09 and is...
    Bug 5904607 - MYSQL RUN SCRIPT PERFORMANCE FROM WORKSHEET NOT SATISFACTORY
    At that time, a 4000 character display column size limit was added to circumvent the problem. It still remains and has not received much attention -- perhaps since VARCHAR2 is also limited to 4000, at least through the Oracle 11g releases.
    In your specific case, you are not reaching the 4000 character limit. You can try the following in the worksheet:
    show longwhich should show a default value of 80 if you never overrode it in your connection login script (Tools | Preferences | Database). So just
    set long 4000and try running the script that outputs the XML again. Keep in mind that set long
    Sets maximum width (in bytes) for displaying LONG, CLOB, NCLOB and XMLType values; and for copying LONG values.
    Possibly Bug 5904607 needs revisiting, but I hope the approach described will be sufficient to get you past the current problem.
    Regards,
    Gary
    SQL Developer Team

  • Japanese charactor does not display in Script Output window

    I usging SQL Developper EA 4.1 on japanese Windows XP.
    SQL Developper EA 4.1 can not display Japanese charactor in Script Output window.
    How can I change font for Script Output window?

    If you change your prefered encoding in raptor to be utf8, this will work. There was an issue with MB chars in the feedback from statements like "create table XX processed" where XX was the japanese chars that would not show, but this has been rectified

  • 4.0EA1 filename uppercase in script output

    When resizing files, the script output shows the filename in uppercase, ignoring the case used as input.  The command itself executes fine, the output is just a little confusing.
    Example:
    alter database datafile '/u02/oracle/oradata/dbname/fname_11.dbf' resize 20480M;
    Script Output window shows:
    database datafile '/U02/ORACLE/ORADATA/DBNAME/FNAME_11.DBF' altered.

    This is a known issue and will be addressed for the next EA release.

  • Displaying Page number in all pages of sap script output

    Hi All,
    I have a issues in displaying page number in all pages of sap script output.
    I have created a seperate window just above main window to display page number.
    I have given &PAGE& in the layout editor.
    Now in the sap script output i am getting page number as 1 in all the pages page number is not changing for pages-2,3, etc..
    Can anybody tell me the reason for the same!
    In some other objects same syntax is working fine. For this object it is not working!
    Is there any setting changes!
    Thanks i
    Thanks,
    Deep.

    Hi,
    Just check the Page Counter of the Next or Second Page which you defined.
    First page
    Mode                     START
    Numbering Type           ARABIC
    Second Page
    Mode                     INC
    Numbering Type           ARABIC
    Regards
    Bala Krishna
    Edited by: Bala Krishna on Oct 17, 2008 11:23 AM

  • Regarding SAP Script Output validation in Layout set

    Hi All,
    I have a issue in SAP Script Output.
    I have a <b>Standard Print Program</b>. and layout set.
    I can do validations only in Layout set.
    The actual issue is i have a <b>internal table field</b> in <b>print program</b> that i am displaying in <b>layout set</b>. Now i want it to be subtracted with number <b>20</b>, since i can not edit code in <b>Print Program</b>. i want to subtract that internal table field with 20 in layout set itself.
    Can anybody tell me how can i solve this issue.
    <b>Note:</b>  I need to do calculation only in layout set.
    Can anybody give me the solution.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks for that reply.
    so with <b>SUMMING</b> command i can do calculation.
    I am already having <b>i_tab1-sum</b> coming from print program and i have declared one symbol using
    DEFINE &v_val& = 20 in layout set.
    Then i want to subtract &v_val& with &i_tab1-sum&.
    using the follow syntax tell me wether syntax is correct or not.
    SUMMING &i_tab1-sum&-&v_val& INTO &i_tab1-sum&.
    will it work.
    once again thanks for that reply.
    Thanks & Regards,
    Rayeez.

  • Turn off Script Output like set termout off

    Version:
    Oracle SQL Developer 2.1.0.63
    Version 2.1.0.63
    Build MAIN-63.73
    Running on Windows XP SP2
    I have a DML script with 217439 rows( ~40meg filesize ). Of course it loads slowly and the IDE is consuming large amounts of memory. About halfway through the processing of this file it becomes painfully slow( very similar to Quest's SQL Navigator ) around the 100,00 record mark. It feels like a resource issue as a result of the script output constantly reporting/recording the 1 record inserted message.
    Is there a way to SET TERMOUT OFF; in SQL Developer so this output is ignored?

    Hi Squiggles,
    Set termout on works in 2.1.1 (I checked a beta release of 2.1 and set termout off was already implemented so it should be in 2.1).
    It has to be a sub script you are running - not just in the top level directory:
    so given pm.sql is:
    prompt promptme
    set termout on
    select 1 from dual;
    @/home/totierne/pm.sql
    gives
    1
    1
    promptme
    and
    set termout off
    select 1 from dual;
    @/home/totierne/pm.sql
    gives
    1
    1
    [ie no prompt me]
    I just did a quick check on the spool side - set term off just turns off the terminal - output still goes to the spool file - but that should not cause a huge slowdown (as long as the disk does not fill up) it is just appending to a file not keeping it in memory or displaying the entire chunk of data.
    -Turloch

  • Changes are not reflected in Script output

    Hi All,
    i am facing a problem in SAPscript.
    I have made a Zscript by copying standard script F110_FR_CHEQUE. I have made the changes in the script as per requirement in development client and transported it to testing client to test (As i dont have any data in development client). But, surprisingly, when i run the program and check the output, the changes are not reflected in the script output.
    First i thought that my script was not triggered thats whay i m not getting any change, but later i changed the dimension of one of the window, in which some hard coded text is written, the differece i found was that, window size is changed, but the text written in that window is still same (what was in standard script.) .
    I am using standard texts for hard coding in script. Standard texts have been transported in testing client also.
    please help me in this regard.

    Hi,
    Could you plese Check NACE whether your script is confiugring or not.
    If it is configured well then Check Standard Text is available or not in Test client by open it in SO10.
    Check all the paragrah formats applied to Standard text are transferred to Test client which are in SE72.
    IF it is available in SO10 then debug the print program for that windows any standard conditions are calling to print the text.

  • PO output issue

    Hello all Gurus,
    I have a problem with the PO output form. We have created new output types and tested them in quality environment and found that the PO is generating the correct output. Then we moved these output types to production environment and tested with our production user ids. There also, the system generated the correct PO output forms.
    But when my client tested the outputs he is not getting data in Bill to address and Registration boxes. These two boxes contains the company code address. The system is displaying only the hardcoded data for the client. Not the company code data which is picked up from the tables through the form program. Can somebody suggest me why my client is getting this issue when we are not getting with our user ids in production?
    Also, I don't think this is a problem of authorization roles, since this issue is coming only for the company code 3278.
    For the rest of the company codes, the user is getting the correct PO forms. Only for Company code 3278, he is getting the incorrect output issue.
    We tried to modify the program by updating the font size and character format. But this didn't work.
    This issue has been there in my queue since the last one month and it has exceeded the permitted time limit. We are really bothered about this issue but not getting any correct solution for this.
    Please, somebody provide me some valuable suggestions on this issue.
    Thanks and Regards,
    Umakanth.

    Murugan,
    1. For the client's user id, the PO output is not showing the company code data in the PO output form. But when we are trying to see the same thing in production in ME23N (we don't have access to make changes in production), we are getting the correct PO form that shows the company code address also.
    2. The company code 3278 and output types were created at the same time and moved to production.

  • Convert Script output data to Text(.txt) file & send mail with attachment.

    Hi All,
    Requirement: I shulb be able to conver th Script output data to Text(.text) file & send a maill with attachment with this text file. Formant of text file should be like output of Print priview.
    Plese sugget with Function modules to cover as Text file.
    I am able to converting the Script output data to PDF and sending mail with attachment. So I don't want PDF file now.
    Thanks in advance.

    Hi, Thanks for responst.
    We can convert the Scirpt output to PDF file by using OTF function module and the PDF file looks like Print Privew output.
    Same like this I want Script out in NOTEPAD (.txt). Is that possible, Plz sugget with relavent Function Modules.
    Thanks.

  • Problem in script output sending mail

    hi ,
    I have a problem sending a mail with script output as attachment . I have searched in the forum for the answers but none is solved my question.
    I am sending the data to the otf and it is getting the otfdata. but it is not showing  the data on the script when it is sent as an attachment to the email , but it is showing only script with null values filled.( means i am getting the mail with attachment but in that attachment there is no data filled in the script send).
    the code is like this ..
    here i am filling the otfdata and i am exporting the otfdata
    CALL FUNCTION 'ZMM_ARRANG_ENTRY_ABR_NATRAB'
        EXPORTING
          i_nast       = nast
          i_fonam      = tnapr-fonam
          i_xscreen    = pi_xscreen
          i_arc_params = arc_params
          i_toa_dara   = toa_dara
        IMPORTING
          e_retcode    = px_retcode
        EXCEPTIONS
          OTHERS       = 1.
      IF ( sy-subrc <> 0 ).                "Fehler
        MOVE sy-subrc TO px_retcode.
        IF ( pi_xscreen = 'X' ).           "Ausgabe auf Bildschirm
          MESSAGE ID     sy-msgid
                  TYPE   sy-msgty
                  NUMBER sy-msgno
                  WITH   sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ELSE.
    *---Import OTFDATA from the memory
        IMPORT  it_otfdata FROM MEMORY ID 'OTF'.
      ENDIF.
      wa_maildata-obj_name = 'EMAIL'.
      wa_maildata-obj_descr = 'Settlement Details'.
    *-----mail contents
      it_mailtext-line = 'Sub-sequent settlement Details'.
      APPEND it_mailtext.
      DESCRIBE TABLE it_mailtext LINES v_lines.
      READ TABLE it_mailtext INDEX v_lines.
      wa_maildata-doc_size = ( v_lines - 1 ) * 255 + STRLEN( it_mailtext ).
    *Creation of the entry for the compressed document
      CLEAR it_mailpack-transf_bin.
      it_mailpack-head_start = 1.
      it_mailpack-head_num   = 0.
      it_mailpack-body_start = 1.
      it_mailpack-body_num   = v_lines.
      it_mailpack-doc_type   = 'RAW'.
      APPEND it_mailpack.
    *-----Get OTF data
      LOOP AT it_otfdata.
        it_mailcont-line = it_otfdata.
        APPEND it_mailcont.
      ENDLOOP.
    *---Move  OTF data into binary table
      LOOP AT it_mailcont.
        MOVE-CORRESPONDING it_mailcont TO it_mailbin.
        APPEND it_mailbin.
      ENDLOOP.
    *---Get no of lines in Binary data table
      DESCRIBE TABLE it_mailbin LINES v_lines.
    *---Fill name of the header of email
      it_mailhead = 'Subsequent Settlement Details.OTF'.
      APPEND it_mailhead.
    *---Creation of the entry for the compressed attachment
      it_mailpack-transf_bin   = 'X'.
      it_mailpack-head_start   = 1.
      it_mailpack-head_num     = 1.
      it_mailpack-body_start   = 1.
      it_mailpack-body_num     = v_lines.
      it_mailpack-doc_type     = 'OTF'.
      it_mailpack-obj_name     = 'EMAIL'.
      it_mailpack-obj_descr    = 'Settlement Details'.
      it_mailpack-doc_size     = v_lines * 255.
      APPEND it_mailpack.
    *----Get email address from the address number of vendor
      CALL FUNCTION 'ADDR_GET_REMOTE'
        EXPORTING
          addrnumber = l_adrnum
        TABLES
          adsmtp     = it_adsmtp.
    *----Get mail address
      READ TABLE it_adsmtp WITH KEY remark = 'AP_SUB_SETT'.
      IF sy-subrc = 0.
        it_mailrec-receiver   = it_adsmtp-smtp_addr.
        it_mailrec-rec_type   = 'U'.
        it_mailrec-com_type   = 'EXT'.
        APPEND it_mailrec.
    *---Send email with PDF attachment
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data = wa_maildata
            put_in_outbox = 'X'
            COMMIT_WORK   = 'X'
          TABLES
            packing_list  = it_mailpack
            object_header = it_mailhead
            contents_bin  = it_mailbin
            contents_txt  = it_mailtext
            receivers     = it_mailrec.
      ELSE.
        MESSAGE 'No email id Exist for the vendor' TYPE 'E'.
      ENDIF.
    please suggest me with your valuable answers .
    Regards,
    Venkat Appikonda.

    Hi venkat
    Just check if this helps you.
    The following part of the code does exactly that.
    Selecting details from the spool request table.
      SELECT * FROM tsp01 INTO TABLE tb_spool
               WHERE rqowner = sy-uname.
      IF sy-subrc EQ 0.
        SORT tb_spool DESCENDING BY rqcretime.
        CLEAR : tb_spool.
        READ TABLE tb_spool INDEX 1.
    convert spool into PDF format.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
             EXPORTING
                  src_spoolid = tb_spool-rqident
             TABLES
                  PDF         = tb_lines.
      ENDIF.
    After this, on execution we get the below mentioned message.
    This indicates that a PDF of the SAP Script has been created which is in the format u201C132-long stringsu201D.
    In order to send the mail across, the mailing format of the PDF supports u201C255-long stringsu201D. So, the present u201C132-long stringsu201D needs to be converted into u201C255-long stringsu201D. This along with the mail code is mentioned below.
      DATA: lv_receiver(50) TYPE c.
      REFRESH: tb_obj_txt,
               tb_obj_bin,
               tb_obj_head,
               tb_paklist,
               tb_receiver.
      CLEAR: tb_obj_txt,
             tb_obj_bin,
             tb_paklist,
             tb_obj_head,
             tb_receiver.
      CLEAR: tb_adrc.
    IF NOT tb_adrc[] IS INITIAL.
    Reading the address table with the key as address number.
        READ TABLE tb_adrc WITH KEY addrnumber = tb_kna2-adrnr.
        IF sy-subrc EQ 0.
    Vendor Email ID.
          SELECT SINGLE smtp_addr
             FROM adr6
             INTO wf_mailaddr
             WHERE addrnumber = tb_adrc-addrnumber.
          IF sy-subrc EQ 0.
    Moving the mail address to the receiver itab
            MOVE wf_mailaddr TO tb_receiver-receiver.
            tb_receiver-rec_type = text-011.
            APPEND tb_receiver.
          ELSE.
            CONCATENATE text-004 tb_kna2-kunnr text-005 INTO lv_receiver
                                       SEPARATED BY space.
    If pa_call is initial, the receiver ID is printed; else an INVALID E-mail ID    message gets flashed.
            IF pa_call IS INITIAL.
              WRITE :/ lv_receiver.
            ENDIF.
            CLEAR: itab.
            itab-kunnr = tb_kna2-kunnr.
            itab-message = lv_receiver.
            APPEND itab.
            EXIT.   u201CNo mailing for invalid Email id
          ENDIF.
        ENDIF.
      ENDIF.
      wf_name = sy-uname.
      wf_year = tb_main-bldat(4).
      wf_mon = tb_main-bldat+4(2).
    *This FM gives the name of the months. 
    CALL FUNCTION 'MONTH_NAMES_GET'
           EXPORTING
                language    = sy-langu
           TABLES
                month_names = tb_months.
      IF sy-subrc EQ 0.
        READ TABLE tb_months WITH KEY mnr = wf_mon.
        IF sy-subrc EQ 0.
          wf_name = tb_months-ktx.
        ENDIF.
      ENDIF.
      CLEAR: tb_contp.
    IF NOT tb_contp[] IS INITIAL.
    *Reading the contp itab as per the customer entered on the selection screen.
        READ TABLE tb_contp WITH KEY bukrs = pa_bukrs
                                     kunnr =  tb_kna2-kunnr.
        IF sy-subrc EQ 0.
        CONCATENATE text-006 text-008 tb_contp-contp text-008 tb_kna2-kunnr
                              text-008 wf_name text-008 wf_year INTO wf_sub.
        ENDIF.
      ELSE.
        CONCATENATE text-006 text-008 tb_kna2-kunnr text-008 wf_name
                                        text-008 wf_year INTO wf_sub.
      ENDIF.
    Subject and Description
      CLEAR wa_docdata.
      wa_docdata-obj_name  = text-007.
      wa_docdata-obj_descr = wf_sub.
      wa_docdata-obj_langu = sy-langu.
    Write main body
      tb_obj_txt = text-009.
      APPEND tb_obj_txt.
      CLEAR tb_obj_txt.
      CLEAR  tb_paklist.
      tb_paklist-head_start = 1.
      tb_paklist-head_num   = 3.
      tb_paklist-body_start = 1.
      tb_paklist-body_num   = 60.
      tb_paklist-doc_type   = text-012.
      APPEND tb_paklist.
      CLEAR  tb_paklist.
    create PDF file
    Transfer the 132-long strings to 255-long strings
      LOOP AT tb_lines.
        TRANSLATE tb_lines USING ' ~'.
        CONCATENATE wf_buffer tb_lines INTO wf_buffer.
      ENDLOOP.
      TRANSLATE wf_buffer USING '~ '.
      DO.
        tb_obj_bin = wf_buffer.
        APPEND tb_obj_bin.
        SHIFT wf_buffer LEFT BY 255 PLACES.
        IF wf_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      DESCRIBE TABLE tb_obj_bin LINES lv_lines.
      READ TABLE tb_obj_bin INDEX lv_lines.
      lv_size = ( lv_lines - 1 ) * 255 + STRLEN( tb_obj_bin ).
    Create attachment notification
      tb_paklist-transf_bin = co_x.
      tb_paklist-head_start = 1.
      tb_paklist-head_num   = 0.
      tb_paklist-body_start = 1.
      tb_paklist-body_num   = lv_lines.
      tb_paklist-doc_type   = text-013.
      tb_paklist-obj_descr  = text-010.
      tb_paklist-obj_name   = text-010.
      tb_paklist-doc_size   = lv_size.
      APPEND tb_paklist.
    *mail the PDF to the receiver.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = wa_docdata
                sender_address             = wf_name
                sender_address_type        = text-014
           TABLES
                packing_list               = tb_paklist
                object_header              = tb_obj_head
                contents_bin               = tb_obj_bin
                contents_txt               = tb_obj_txt
                receivers                  = tb_receiver
           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.
        CONCATENATE text-003 tb_kna2-kunnr text-005 INTO lv_receiver
                                SEPARATED BY space.
        CLEAR: itab.
        itab-kunnr = tb_kna2-kunnr.
        itab-message = lv_receiver.
        APPEND itab.
        IF pa_call IS INITIAL.
          WRITE :/ lv_receiver.
        ENDIF.
      ELSE.
        CONCATENATE text-002 tb_kna2-kunnr text-005 INTO lv_receiver
                                SEPARATED BY space.
        CLEAR: itab.
        itab-kunnr = tb_kna2-kunnr.
        itab-message = lv_receiver.
        APPEND itab.
        IF pa_call IS INITIAL.
          WRITE :/ lv_receiver.
        ENDIF.
      ENDIF.
    Hope this helps.
    Harsh

  • How to print a standard text of 3 pages in the script output?

    Hi all,
    I want to print a standard text as an include in the script output.
    But the standrad text is of 3 pages conataining continuous (some terms and condtitions) text.
    But while executing driver program, I am getting a STOP messgae pop-up saying 'Output is continuous or contains too many pages (>4)'.
    How to get the standard text of 3 pages in the output. The standard text is to be printed at the bottom of the output.
    Thanks,
    Sachin

    Hi ,
    To display standard texts you have to create a include in your script below is the syntax for that:
    INCLUDE name OBJECT name ID name PARAGRAPH name LANGUAGE   name
    Include command is used to include standard text in a form.the text 
    should be already defined by using transaction SO10.
    Here name is the name of text
    ID is used to classify text e.g. SDVD (SD related text) , ST (Standard text)
    OBJECT is used to specify type of object it an be TEXT , DOKU
    LANGUAGE is used to specify language like EN ,if ommited than logon
      language is used
    PARAGRAPH is used to specify the paragraph like C
    e.g. /:INCLUDE mytext OBJECT TEXT ID ST LANGUAGE EN
             Here the standard text created in SO10 with name mytext is
             included in the form in language EN (English)
    Please let me know if you have still any confusion.
    Thanks
    Narendra Vikram Vishwakarma

Maybe you are looking for

  • Connection to WPA Enterprise WiFi gets dropped

    Hi! Currently I am experiencing a problem with the WiFi connection at my Uni. The Uni WiFi is WPA2 Enterprise with MS PEAP, my X220 connects to the network and I can use the network so the setup should be OK. But after a few minutes the connection is

  • Why do i get "Null" in mysql database?

    Hi Im trying to update a flash movie quiz that records names and question answers which i didnt write. The quiz works except it replaces the name with null. All the other records work fine. I have deleted out the res2 - res12 just to shorten it up, t

  • SQL PLUS log input and output to file

    What is the way to log every activity in sqlplus, input and output to a file (interactively). I managed to do it using rlwrap and tee but the only problem is, it is displaying the password and logging it into file as well :D. I can remove it from the

  • Authorization Error when running queries built on IP Aggregation Levels

    Hi, Did anyone encountered this kind of issue. We are in NW04s SP 9. When running a query built on Integrated Planning aggregation levels getting authorization error " Do not have authorization Component !! ARMMGASL ".  (ARMMGASL is the name of Multi

  • Define HTML Tag for Parser - Help?

    Hi all, I'm trying to write a program which downloads a HTML script, parses it, extracts the links and checks to see which of these links are broken. While the parser is picking up tags that are well-formed, such as: Mark Humphrys - Research - The HT