‎2009 Sep 15 12:06 PM
Hi Experts,
I have manually created RFQ using ME41.When I use Read_text function module to read the long text of the item, it is not getting printed .If you open the RFQ in ME42 and change the long text once and save ,it is working.
ID - A03
Language - sy-langu
name - RFQnumber+ Item Number
Object - EKPO
Can anybody help me in this case.Thanks in advance.
‎2009 Sep 15 12:17 PM
Does it return an exception, what is it? Or is it an empty text?
Right after ME41, check that the text header exists in STXH, just to make sure.
If yes, then post your code, you might have made a small error in your code.
‎2009 Sep 15 12:17 PM
Does it return an exception, what is it? Or is it an empty text?
Right after ME41, check that the text header exists in STXH, just to make sure.
If yes, then post your code, you might have made a small error in your code.
‎2009 Sep 15 12:31 PM
Thanks for your reply Sandra,
I have created RFQ specifying the Long text.But it didnt get stored in the table itself in the first place.
What to do?
‎2009 Sep 15 12:37 PM
Sorry for not specifying the details clearly in my previous message.
I have created RFQ specifying the long text.but in table STXH, there is no corresponding entry for this.
‎2009 Sep 15 12:43 PM
It seems either it is stored temporary in another table (but that sounds very strange), or there is custom code somewhere. Could you check that? (do a SE30 trace, that'll be easier to see all Z or Y program names)
Do you wait a few seconds to be sure the update is done? (because of asynchronous update)
In ME43, do you see the long text you entered in ME41? (without using ME42)
‎2009 Sep 15 1:07 PM
Sandra,
Im able to see it in ME43 tcode..
Wat I had done is
In tcode me41, entered Purchase org and Purchase group.entered Item and then
item->Texts->text Overview->Entered long text for material Po text.
‎2009 Sep 15 1:19 PM
I'm sorry but now you have to look for some custom code (do what I said above) if people don't propose any solution. If you don't find anything, you should ask sap support.
and check updated tables (ST05) in case the long text is written somewhere else.
Edited by: Sandra Rossi on Sep 15, 2009 2:19 PM. Added line : "and check updated..."
‎2009 Sep 15 12:24 PM
hi,
hi.
whenever you use the function module read_text.you need to create a text object through transacton so10.here you have to fill in the lines whoch you need to display after calling this function module.
you need to pass these lines in the table of FM read_text.
‎2009 Sep 15 2:30 PM
Hi Skupa,
when you see the text in transaction, GOTO -> HEADER will display the exact details. Before call READ_TEXT, check the contents of the parameters passed. Do not forget all leading zeros for the name must be present, in some transactions the cleint is also part of the name. Check it.
Also the language key must be correct.
Kind regards,
Clemens
‎2009 Sep 15 2:43 PM
@Sandra,
Thanks for your replies.I will let you know once I find out the reason for it.
Hi Clemens,
Thanks for your reply..
I have passed all the parameters to read_text considering leading zeros and all.
‎2009 Sep 15 2:51 PM
Hi Skrupa,
open the text file in transaction, GOTO HEADER.
In a second session, start your program in debug mode until in first line of funtion read_text. Diisplay parameter values as passed.
Call a colleague to look over your shoulder and see the obvious error.
Regards,
Clemens
P.S. THERE IS NO BETTER WAY.
‎2009 Sep 16 6:17 AM
I got it..Material Po text is coming from Material master.So should consider Text ID and Text Object of MM03 instead of ME42 Tcode.
Now it is getting Printed..anyways thanks for all your repiles..