‎2008 Mar 09 6:49 AM
Hi All,
I am facing problem when displaying header text of Sales document. my problem is that
when we got to VA02 -> give sales document number press enter
once afer going inside that sales document -> Goto Header text . In text tab, on left hand side we can find many text for whch corresponding text has written on Right hand side Text area.
i want that text to be print on script.
i tried even by pressing F1 but i could not find where that text stores in database.
can any one please explain it how to dispaly the text that is written manually in text area on Script.
regards
Prasadh.
‎2008 Mar 11 8:38 PM
Hi,
You must call function module 'READ_TEXT' with the following parameters:
ID = The technical text id number (see table TTXID for OBJECT = 'VBBK' for a list of valid values)
LANGUAGE = your local language
NAME = sales document number (all 10 digits with any leading zeros)
OBJECT = 'VBBK'
You will need to call the function module once per text type id (the list on the left hand side in VA02, header texts screen). The text from the right hand side will be in an internal table LINES after you call the 'READ_TEXT' function module.
If you just want to print directly from VA02, then choose the details button which takes you to another screen with Print functionality.
Regards,
Jamie
‎2008 Mar 11 8:38 PM
Hi,
You must call function module 'READ_TEXT' with the following parameters:
ID = The technical text id number (see table TTXID for OBJECT = 'VBBK' for a list of valid values)
LANGUAGE = your local language
NAME = sales document number (all 10 digits with any leading zeros)
OBJECT = 'VBBK'
You will need to call the function module once per text type id (the list on the left hand side in VA02, header texts screen). The text from the right hand side will be in an internal table LINES after you call the 'READ_TEXT' function module.
If you just want to print directly from VA02, then choose the details button which takes you to another screen with Print functionality.
Regards,
Jamie
‎2008 Mar 11 8:49 PM
you can use command
/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l]
in sapscript window to print your text.. first you need to find out 'name' 'object' 'id' and 'language' which can be obtained from VA02 text by going to header information of that text.