Long text for Operation in Tranasction IW32

Hello Experts,

I nned to display the short text and the Long text of Operations on a print out.For short text, I am importing data from memory using table AFVGD but i am not able to find out the data which is there in the long text.Kindly suggest how can i get the data like from which table or memory ID.

Thanks ,


  • SAP Mentor

SAPscript long texts header are stored in STXH and lines are stored in non-transparent table ([Storing Text Components|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db668494511d182b70000e829fbfe/frameset.htm]), The FM [READ_TEXT|http://help.sap.com/saphelp_40b/helpdata/pt/d6/0db8c8494511d182b70000e829fbfe/content.htm] is called to get those texts in an internal table.

To get the long texts id (OBJECT, NAME, ID, and LANGUAGE), call transaction IW33 (or 32) and display the text of an operation, then in the menu : goto, header data, you will get the constants "AUFK" and "AVOT", and the current language code and the "key" that you will have to interpret. When the text is not displayed in the sap script editor, you will need to debug the program to find the key, or use the search tool at sdn of course

Some samples for IW32/33 are :

- Order header: "AUFK", MANDT+AUFNR, "KOPF", "E"






0 View this answer in context