Posts

Showing posts with the label read_text example in sap abap

SAP Function Module - READ_TEXT - Sample Program.

Image
READ_TEXT function module can be used to process text modules in application programs, all information about a text module must be transferred to internal work areas. A text is read from the text file or text memory with this function module. It must be described fully by specifying OBJECT, NAME, ID, and LANGUAGE. Generic entries in these parameters are not valid. When header information and text lines have been read successfully, they are transferred to the work areas HEADER and LINES. Sample Program On READ_TEXT Using Subroutines: DATA :  gt_head    TYPE TABLE OF thead,              gwa_head   TYPE  thead,              gt_tlines  TYPE TABLE OF tline,              gwa_tlines TYPE tline. PERFORM  read_text  USING  'VBBK' lv_vbeln '0001' lv_text. ************Sub Routine***************** ...