Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: passing internal table to sap script

$
0
0

hi stefan and jelena,

 

i modified one standard sap script

 

my required sap script output is (i got in development and quality server)

abc.png

 

I am passing these values to sap script through include standard text.

INCLUDE ZQM_INSP_DETECT OBJECT TEXT ID ST LANGUAGE EN

 

 

in my program. the table values are passed to standard text as

 

wa_header-tdobject = 'TEXT'.

WA_HEADER-TDNAME = 'ZQM_INSP_DETECT'.

 

     wa_header-tdid = 'ST'.

 

     wa_header-tdspras = 'E'.

***passing the table values into the standard text***

 

     CALL FUNCTION 'SAVE_TEXT'

       EXPORTING

        CLIENT                = SY-MANDT

        HEADER                = WA_HEADER

        INSERT                = 'X'

        SAVEMODE_DIRECT       = 'X'

 

 

       TABLES

         LINES                 = TA_TEXT

      EXCEPTIONS

        ID                    = 1

        LANGUAGE              = 2

        NAME                  = 3

        OBJECT                = 4

        OTHERS                = 5

               .

     IF SY-SUBRC <> 0.

 

     ENDIF.

 

 

  ELSE.

    clear ta_text.

 

   exit.

ENDIF.

clear wa_header.



Problem:

I got the output in development and quality server. but checking in production instead of values , the output looks as

 

hope you understand....

 

 

 

Regards,

 

Dhivya N.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>