SAP Reports / Programs | Transportation and Distribution | Industry Solution Oil | Transportation and Distribution(IS-OIL-DS-TD) SAP IS

MOIGSF41 SAP ABAP INCLUDE - TD Functions for longtext processing / Delivery selection / Tol. check







MOIGSF41 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MOIGSF41 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MOIGSF41. "Basic submit
SUBMIT MOIGSF41 AND RETURN. "Return to original report after report execution complete
SUBMIT MOIGSF41 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: TD Functions for longtext processing / Delivery selection / Tol. check


INCLUDES used within this REPORT MOIGSF41

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

EDIT_TEXT_INLINE call function 'EDIT_TEXT_INLINE' exporting display = te_display header = thead inline_count = anz_ltext_zeilen save = charx textscreen = txtscreen importing function = txtfunction newheader = thead tables inlines = tinlinetab lines = tlinetab exceptions id = 1 language = 2 name = 3 object = 4.

RV_CHECK_DOCUMENT_INPUT call function 'RV_CHECK_DOCUMENT_INPUT' exporting fehgr = '50' vbxx_wa = ftext tbnam = 'FTEXT ' dialog = te_dialog tables vbuv_tab = xvbuv vbuv_last = hvbuv.

SAVE_TEXT call function 'SAVE_TEXT' exporting header = thead insert = ' ' importing function = txtfunction newheader = thead tables lines = tlinetab exceptions id = 1 language = 2 name = 3 object = 5.

INIT_TEXT call function 'INIT_TEXT' exporting id = xthead-tdid language = xthead-tdspras name = xthead-tdname object = xthead-tdobject importing header = thead tables lines = tlinetab exceptions id = 1 language = 2 name = 3 object = 4.

READ_TEXT_INLINE call function 'READ_TEXT_INLINE' exporting id = xthead-tdid inline_count = anz_ltext_zeilen language = xthead-tdspras name = xthead-tdname object = xthead-tdobject importing header = thead tables inlines = tinlinetab lines = tlinetab exceptions id = 1 language = 2 name = 3 not_found = 4 object = 5.

READ_TEXT_INLINE call function 'READ_TEXT_INLINE' exporting id = xthead-tdrefid inline_count = anz_ltext_zeilen language = xthead-tdspras name = xthead-tdrefname object = xthead-tdrefobj importing header = thead tables inlines = tinlinetab lines = tlinetab exceptions id = 1 language = 2 name = 3 not_found = 4 object = 5.

DELETE_TEXT call function 'DELETE_TEXT' exporting id = xthead-tdid language = xthead-tdspras name = xthead-tdname object = xthead-tdobject exceptions not_found = 1.

INIT_TEXT call function 'INIT_TEXT' exporting id = tl_thead-tdid language = tl_thead-tdspras name = tl_thead-tdname object = tl_thead-tdobject importing header = tl_thead tables lines = tlinetab exceptions id = 01 language = 02 name = 03 object = 04.

SAVE_TEXT call function 'SAVE_TEXT' exporting client = sy-mandt header = tl_thead insert = ' ' savemode_direct = ' ' importing function = tl_txtfunction newheader = tl_thead tables lines = tlinetab exceptions id = 01 language = 02 name = 03 object = 04.

SCREEN_SEQUENCE_CONTROL call function 'SCREEN_SEQUENCE_CONTROL' exporting programm = 'SAPMOIGS' kopfgruppe = t185-kopgr positionsgruppe = t185-posgr funktion = fcode importing cua_status = t185v-status cua_titel = t185v-ctitel cua_para1 = t185v-para1 cua_para2 = t185v-para2 cua_para3 = t185v-para3 cua_para4 = t185v-para4 folgefunktion = fcode dunkel = t185-dunkel leave = g_flag-leave.

RENAME_TEXT call function 'RENAME_TEXT' exporting object = catalog-tdobject name = catalog-tdname id = catalog-tdid language = catalog-tdspras newname = catalog_name_neu exceptions not_found = 1 others = 2.

COMMIT_TEXT call function 'COMMIT_TEXT' exporting object = 'OIGTXT' keep = tb_keep.

RENAME_TEXT call function 'RENAME_TEXT' exporting object = xthead-tdobject name = xthead-tdname id = xthead-tdid language = xthead-tdspras newname = tdname_neu exceptions not_found = 1 others = 2.

DELETE_TEXT * call function 'DELETE_TEXT' * exporting object = 'OIGTXT' * name = space * id = '0001' * language = 'E' * savemode_direct = 'X'.

SELECT_TEXT call function 'SELECT_TEXT' exporting object = 'OIGTXT ' name = xthead-tdname id = '* ' language = '*' importing entries = txt_entries tables selections = reftext.

INIT_TEXT call function 'INIT_TEXT' exporting id = ' ' language = sy-langu name = ' ' object = c_txt * IMPORTING * HEADER = tables lines = lines exceptions id = 1 language = 2 name = 3 object = 4 others = 5.

COPY_TEXTS call function 'COPY_TEXTS' exporting * SAVEMODE_DIRECT = ' ' insert = 'X' importing error = text_error tables texts = texts exceptions others = 1.

SELECT_TEXT call function 'SELECT_TEXT' exporting object = 'OIGTXT ' name = xthead-tdname id = '* ' language = '*' importing entries = txt_entries tables selections = reftext.

SCROLLING_IN_TABLE





call function 'SCROLLING_IN_TABLE' exporting entry_act = rtext_ctrl-top_line "n 1425038 entry_to = text_anzahl loops = ithead_loopc ok_code = fcode last_page_full = ' ' "n 1425038 importing entry_new = rtext_ctrl-top_line. "n 1425038

OIGS_T_DELIVERY_INIT call function 'OIGS_T_DELIVERY_INIT' exporting i_tcode = 'VL03' i_vbeln = g_oigsih_j_tab-vbeln i_keep_o2 = c_change i_oigsi = oigsi.

OIGS_S_SAVE_SHIPMENT *CALL FUNCTION 'OIGS_S_SAVE_SHIPMENT' IN UPDATE TASK * EXPORTING * t180 = t180 * g_oigs = g_oigs * TABLES * g_oigsv_tab = g_oigsv_tab * g_oigsvd_tab = g_oigsvd_tab * g_oigsvc_tab = g_oigsvc_tab * g_oigsvcc_tab = g_oigsvcc_tab * g_oigsi_tab = g_oigsi_tab * g_oigsm_tab = g_oigsm_tab * g_oigsmv_tab = g_oigsmv_tab * g_oigsvmq_tab = g_oigsvmq_tab * g_oigsvmqm_tab = g_oigsvmqm_tab * g_oigsvcs_tab = g_oigsvcs_tab * g_oigsms_tab = g_oigsms_tab * g_fxvbfa_tab = g_fxvbfa_tab * g_fyvbfa_tab = g_fyvbfa_tab * g_oigrmh_tab = g_oigrmh_tab * g_oigcmh_tab = g_oigcmh_tab * g_oigs_u1_tab = g_oigs_u1_tab * g_oigs_u2_tab = g_oigs_u2_tab * g_oigse_tab = g_oigse_tab * g_oigss_tab = g_oigss_tab * g_oigspa_tab = g_oigspa_tab * g_oigsviis_tab = g_oigsviis_tab * g_oigfiiq_tab = g_oigfiiq_tab * g_oigfiiqs_tab = g_oigfiiqs_tab * g_oigsh_tab = g_oigsh_tab * g_xoia06_tab = g_xoia06_tab * g_yoia06_tab = g_yoia06_tab * g_xoia12_tab = g_xoia12_tab * g_yoia12_tab = g_yoia12_tab * g_xoia06h_tab = g_xoia06h_tab * g_lips_fdiupdate_tab = g_lips_fdiupdate_tab.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MOIGSF41 or its description.