Here I am explaining scenario
We have two system P6 and SAP and our requirement is
we need to import data from SAP to P6.
There is one RFC which is using to fetch the data from SAP
When we call this RFC by JCO that time it works fine.
Problem is we are not able to fetch data from same RFC by webservice.
when I am doing unit testing and debuging that time I come to know
there is one class 'CL_MESSAGE====================CP'
VALIDATE_CACHE Method of this class call another class 'CL_OTR_MESSAGE' and
-Method - FETCH_RAW_TEXT throw bellow error message
1.'XSLT exception'
2.An error occurred during serialization in the simple transformation program
These errors are coming from below query . Please explain
why we are using table 'sotr_text' and How to resolve this issue.
Note
Below query is executed under Method - FETCH_RAW_TEXT
select concept lfd_num length langu text from sotr_text
into corresponding fields of table l_result_tab
for all entries in l_concepts
where concept = l_concepts-concept
and langu = l_concepts-langu
and lfd_num = 1
and last_rel = l_context-last_rel
and last_irel = l_context-last_irel
and country = l_context-country
and extension = l_context-extension
and add_cntxt = l_context-add_cntxt
and flag_com = space.