on 02-02-2012 8:19 AM
Hi All,
I am runing a script on clicking 8D-Report inside tcode qm02 with some information of notification.
for this i created a external subroutine pool program and in which am i getting the data and save this data in standard text using FM 'SAVE_TEXT' and using INCLUDE statement, prinintg in sap script.
My problem is that When i will run the script for 1st defect, it is working fine (displaying correct data) But when i will come back and again run it for another defect then it will print the privious data again until and unless i am run the tcode QM02 again.
if i am check my standard text in SO10, it is contain the correct data.
Actually script buffering the data first time and when i come back and run it agin, it will fetech the data from buffer, not from the standard text?i
Please advice me on this issue. Thanks in advance.
Thanks
kapil
Hi Kapil,
I had this problem.
In your sapscript, put the bellow code:
perform init_text_buffer in program saplstxg.
I hope to resolve your trouble.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kapil,
We have this kind of problem in SAP scripts. The only option is to save all the defects data (line items) in the same standard text at once and then print it in the end.
Regards,
Abhijeet Kapgate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.