How to get the Header Texts in a sales ducument?

Question: Hello everyone!

I need to get the Header Texts from a sales document and then print them in a layout form.How can I read the value of these texts?Is there any function module to make it?

Thanks&Regards!

Answer:
Use Read_text function

Answer:
Actually, to include texts in a SAPscript form, you do not need to retrieve the texts in your program. Just make sure the script has the full key to the text and include it there. See the documentation.

DK

Answer:
Double click your header text , so that you are in the SAPscript editor. Then go the header information from the menu, and note down the object name, text name, ID. You will need this to use hte read-text function module. You can reference any standard SAP program that is using this function module.

YOu got to also remember that the paramteres that this Function accepts have to be a particular type. You can get that from the dictionary. Hope that helps.

Cheers
Copyright ?2007 - 2008 www.jt77.com