Outbound Delivery - Header (Text field - Table Name)
In outbound delivery header - Texts tab i notice that we can maintain some texts. May i know which table i should refer to read the text entered.
I can read the text type key from the table TTXTD, but i need to read the actual text entered by the user.
Hope my question is clear, await your inputs.
SAP has already provided a various functions for read the text element. So you no need to get the value from table directly!
There is some example
CALL FUNCTION 'READ_TEXT'
CLIENT = SY-MANDT
ID = T_TEXT_ID
LANGUAGE = 'E'
NAME = T_UNIQUE_ID
OBJECT = T_TXTOBJ
HEADER = HTEXT
LINES = T_READ_LINE
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Let me explains as below parameters.
T_TEXT_ID - Text id: example - '08000123', also is the document no.
T_UNIQUE_ID - Text unique ID: example - 'ZD01'
T_TXTOBJ - Text Object: example - VBBK
That information can find it on relevant of document. In your case, you can fount it on the below path:
VF01n/VF02n > GoTo -> Header -> Text -> detail (is the push small button, then it will go to the next screen) -> Goto -> Header.
Return Value tales - THEXT and Table Line - T_Read_line
You must declare this variable before,
DATA: BEGIN OF HTEXT OCCURS 50.
INCLUDE STRUCTURE THEAD.
DATA END OF HTEXT.
DATA: BEGIN OF T_READ_LINE OCCURS 50.
INCLUDE STRUCTURE TLINE.
DATA: END OF T_READ_LINE.
READ TABLE T_READ_LINE INDEX 1. "read the line value
I hope this can help, so remembers reward the points
- 1LACIE external hard drive will not mount 10-11
- 2Illustrator Files in Bridge filename used in Title field 10-11
- 3Upgrade of academic version possible in Europe 10-11
- 4Change a new Apple ID 10-11
- 5Lightroom 5 crashes my Windows 8 machine 11-30
- 6Empty/wrong field error messages 11-30
- 7Workload Analysis - No results to show 11-30
- 8Export slide as PDF for broshure 11-30
- CS4 - scroll timeline view to playhead10/11
- HT2412 iMac "deep sleep" problem10/11
- Use of the form input10/11
- Keep getting Error: 8008 Messages!!!!11/30
- Display multiple master records11/30
- FMW B2B and SOA: sync response architecture11/30
- Swf Image Optimization11/30
- Lost root password11/30
- Developing web services for interoperability11/30
- Camera profiles. /what happens when deleted11/30