Text in sap scripts?
How to read and display the sales order header text in SCRIPTS?
I have provlded the information for smartform. For scripts you can print the text by following method:
/: INCLUDE &NAME& OBJECT 'EKPO' ID 'F01'
LANGUAGE 'E' PARAGRAPH 'P3'
All the information will come by the same procedure. You have to debug and get the required information. Put this command in header element.