SAP Function TXW_SEGMENT_REBUILD - Export segment rebuilding from data using forms if necessary

Parameter Reference Type Length Default Optional Text
P_FLAG_COLLECT 0 SPACE X Flag: collect export data in t_out_data
P_FORM 0 Flag to show if internal program to be used
P_FORM_PROG 0 Internal program name for conversion
P_SEGDAT_LEN6 FLAG C 1 segdat length = 6
P_SEGMENT_STRUCTURE TXW_DIRSG2-EXP_STRUCT C 30 Segment to be rebuilt

Parameter Reference Length Optional Text
T_BUF_TXW_META TXW_META 266 Meta data in global buffer
T_ITXW_DIR2 TXW_DIR2 569 Input for filename and compression
T_ITXW_DIRSG2 TXW_DIRSG2 331 Segment data, segtype ...
T_ITXW_META TXW_META 266 Meta data
T_OUT_DATA TXW_DATA 1515 X Holder for records, if collect flag


Note: This requires the p_form_prog to have been generated prior tobeing called. This has been done for programs rtxwcf05 and rtxwmg01.