2014 Jun 12 11:13 AM
Dear all,
I have passed internal table values as standard text into sap script. The table values are coming in dev and qas server. while executing in production , it shows as follows instead of table values.
Standard text is existing in production server with this following text.
Please resolve my problem...
Waiting for the reply...
Regards,
Dhivya N.
Dear all,
I have passed internal table values as standard text into sap script. The table values are coming in dev and qas server. while executing in production , it shows as follows instead of table values.
Standard text is existing in production server with this following text.
Please resolve my problem...
Waiting for the reply...
Regards,
Dhivya N.
2014 Jun 12 12:22 PM
i wasnt fully able to understand what u mean.
what is dev and qas server?
is this the screenshot of the formular?
what does ur SO10 Text looks like?
what do u mean with "u passed the internel table as standard text into sap-script?
do u have
1) an internal table
2) loop at this internal table and call write_form row by row
3) define a row in ur main window using variables for example >_internal_table-req_diam&
3.1) variables need to be within the symbol &
3.2) the structure u loop into needs to be global - otherwise its always empty when sap-script reads it
regards
Stefan Seeburger
2014 Jun 13 4:57 AM
hi stefan and jelena,
i modified one standard sap script
my required sap script output is (i got in development and quality server)
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.
2014 Jun 12 6:33 PM
Like Stefan, I also didn't quite get the question. However, when there is a different behavior in two environments than obviously some analysis needs to be done regarding the differences between the two. What has been done so far to troubleshoot this?
Going forward, please refer to these blogs on how to post questions on SCN:
http://scn.sap.com/community/about/blog/2014/01/12/landing-page-for-the-troublemakers
http://scn.sap.com/community/about/blog/2014/04/18/before-you-ask
2014 Jun 16 10:29 AM
Hi dhivya N
its very hard to tell what the mistake is... because sap-script sometimes is very "sensitive"
i think u need to debug to figure out where the bug is.
here are some hints u may look at:
regards
Stefan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |