‎2010 Nov 22 10:51 AM
Hi All,
I have a program which changes the Info record texts.
The logic goes this way, if there is any texts existing for an inforecord then it would append the new texts else it will create new ones.
When i see the standard info record display transaction it displays texts which already exists.
When i pass all the parameters exactly to the function module READ_TEXT its does not return the text which was displayed in the transaction.
Also there is no entry existing in STXH and STXL tables.
Due to this what happens is when the program is executed it just does not appends texts to existing one and the old text gets deleted.
Why is it that it that the texts gets displayed in the transaction and is not returned by the fm READ_TEXT. Any ideas ?
‎2010 Nov 22 10:56 AM
Which Text Object & Text ID is used to extract long text OR can you share the parameters values used in READ_TEXT?
‎2010 Nov 22 11:01 AM
‎2010 Nov 22 11:06 AM
Hope you are passing the value to parameter NAME as concatenated data in table fields EINE-INFNR, EINE-EKORG & EINE-ESOKZ.
‎2010 Nov 22 11:09 AM
Vinod,
Its like this
name - 5400090144US0104110
5400090144 - Inforecord No
US01 - Purch.Org
0 - Category
4110 - Plant
‎2010 Nov 22 11:10 AM
Is there any chance that that the texts get archived or some thing like removing it from STXH , STXL ?
I see a archive parameter in Read_text fm.
‎2010 Nov 22 11:21 AM
It works well for me for the combination of data given by you. Not sure about archived Long texts, check by passing ACTIVE_HANDLE = 1. Hope info record is maintained for combination of Purchase Organization/Info Record Type/Plant.
‎2010 Nov 22 12:03 PM