‎2009 Dec 02 4:47 AM
Hi,
If Someone have come across such a problem please provide the Solution.
My problem is that when i reread the data for CO02 transaction with an order Number for BOM and Routing and then there is a Functionality for getting long text with Read_text which reads the text with ID as AVOT , as below This Long text is in CA03 transaction for the below object and ID.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'AVOT'
language = gv_langu
name = gs_tdname
object = 'AUFK'
IMPORTING
header = gs_header
TABLES
lines = it_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
.
It does not bring data whereas if i individually send the fields in the READ_TEXT function module it fetches the Lines.
Why does it behave in such a way.
Thanks,
Richa
‎2009 Dec 02 5:05 AM
try to create the sample test program with Read_text FM . as well double check whether the parameters you are passing are in caps.
‎2009 Dec 02 5:07 AM
Hi ,
Its working correctly if i don't go to reread of transaction CO02 and fetch the Long text.There are actually two buttons in my transaction on for this reread and in the second operation the read_text is there.
Thanks,
Richa
‎2009 Dec 02 5:30 AM
Hi,
try giving the mandt parameter as sy-mandt , and id as 'VSAV' ...
also have a look at the FM ' I_SMPM_FILL_LONG_TEXT' ....
and can u pls explain what's reread of transaction CO02 and fetch the Long text
Hope this helps !!
Regards
Ravi Aswani
‎2009 Dec 02 5:43 AM
Even I am facing the same problem. The read text is working fine in the application.
But If i go to the funcion module Read_text and give the entries
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'ST'
language = 'E'
name = tdname
object = 'TEXT'
TABLES
lines = lt_line.
.
as specified here, its not fetching anything.
The problem is that its working fine in the development and while in production its giving error that the
Text (GUID text) is the specified language E is not found.
Any idea about this?
‎2009 Dec 02 7:25 AM
‎2009 Dec 02 7:27 AM
Hi
REREAD actually reads the master data op PP in transaction CO02 for routing and Bill of material.
The read text is to get the text for operations saved in the transaction CA03.
‎2009 Dec 02 10:34 AM
Hi,
The issue was solved...the transaction was not saved tats why it couldn't finf the texts with the ID.
Thanks.