Posts

Showing posts with the label sap save_text

SAP Function Module - SAVE_TEXT - Sample Program.

Image
SAVE_TEXT function module writes a text module to the text file or text memory, depending on the specific text object. This function module can be used to change existing texts and to create new texts. If it is clear that it is a new text, this can be specified via the parameter INSERT. The result is better performance as a test read is not performed. Sample Program On SAVE_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  prepare_save_text  USING  'VBBK' lv_vbeln '0001' lv_text. ************Sub Routine***************** FORM  prepare_save_text  USING  p_tdobject p_tdname p_tdid p_tdline.   CHECK  p_tdline  IS NOT INITI...