‎2009 Jun 17 8:06 AM
Hi,
I am working on SAP scripts. I am saving some data in the standard text created through transaction SO10 which is being printed.
This works well when I execute the script for first time. But when i execute it for second time for diffrent data , it displays data from previous execution also.
I believe this is due to the problem of buffer not getting refreshed. Please let me know how to refresh the
buffers. Please have a look at the below code which i am using to save data in the standard text.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = w_header
insert = 'X'
savemode_direct = 'X'
owner_specified = ' '
TABLES
lines = i_text
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
Thanks
‎2009 Jun 17 8:15 AM
HI
Their is problem in the clearing of the tables in the driver program
deberg once u will be get to know .
in order to chek put the break point in the start of selection
Regards,
Naresh
‎2009 Jun 17 9:14 AM
Hi ,
I have tried the above option also, But it doesn't work.
The standard text is being populated with req data in second go, but the data is not being printed in the Script.
Any ideas.