SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Legacy System Migration Workbench(BC-SRV-DX-LSM) SAP BC

/SAPDMC/SAP_LSMW_CONV_FORMS SAP ABAP INCLUDE - /SAPDMC/SAPLSMWCONVFORMS







/SAPDMC/SAP_LSMW_CONV_FORMS 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 /SAPDMC/SAP_LSMW_CONV_FORMS 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 /SAPDMC/SAP_LSMW_CONV_FORMS. "Basic submit
SUBMIT /SAPDMC/SAP_LSMW_CONV_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPDMC/SAP_LSMW_CONV_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT /SAPDMC/SAP_LSMW_CONV_FORMS

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = l_message.

/SAPDMC/LSM_FILE_INFO_GET CALL FUNCTION '/SAPDMC/LSM_FILE_INFO_GET' EXPORTING project = g_project subproj = g_subproj object = g_object IMPORTING file_read = g_dsn_in file_conv = g_dsn_out EXCEPTIONS no_such_object = 1 OTHERS = 2.

/SAPDMC/LSM_BISESSN_NAME_BUILD CALL FUNCTION '/SAPDMC/LSM_BISESSN_NAME_BUILD' EXPORTING project = g_project subproj = g_subproj object = g_object * COUNTER = IMPORTING bi_session_name = g_groupname EXCEPTIONS input_missing = 1 OTHERS = 2.

/SAPDMC/LSM_TARGET_STRUCS_GET CALL FUNCTION '/SAPDMC/LSM_TARGET_STRUCS_GET' EXPORTING project = g_project subproj = g_subproj object = g_object original_hlevel = yes TABLES t_target = lt_target EXCEPTIONS no_such_object = 1 no_target_structures_found = 2 OTHERS = 3.

SEGMENT_EXTERNAL_NAME_GET CALL FUNCTION 'SEGMENT_EXTERNAL_NAME_GET' EXPORTING segmenttyp = lt_target-segment released = sy-saprl IMPORTING exportlength = gt_records-exportlength segnam40 = gt_records-segnam version = gt_records-version EXCEPTIONS segment_not_existing = 1 version_not_existing = 2 conversion_not_available = 3 OTHERS = 4.

SEGMENT_EXTERNAL_NAME_GET CALL FUNCTION 'SEGMENT_EXTERNAL_NAME_GET' EXPORTING segmenttyp = lt_target-segment IMPORTING exportlength = gt_records-exportlength segnam40 = gt_records-segnam version = gt_records-version EXCEPTIONS segment_not_existing = 1 version_not_existing = 2 conversion_not_available = 3 OTHERS = 4.

/SAPDMC/LSM_FILE_ENQUEUE CALL FUNCTION '/SAPDMC/LSM_FILE_ENQUEUE' EXPORTING filename = g_dsn_in IMPORTING return_code = l_return lockuser = l_lockuser.

/SAPDMC/LSM_FILE_ENQUEUE CALL FUNCTION '/SAPDMC/LSM_FILE_ENQUEUE' EXPORTING filename = g_dsn_out IMPORTING return_code = l_return lockuser = l_lockuser.

/SAPDMC/LSM_SAVE_FILE_USE CALL FUNCTION '/SAPDMC/LSM_SAVE_FILE_USE' EXPORTING filename = g_dsn_in project = g_project subproj = g_subproj object = g_object filetype = '2' action = 'OR' batch = sy-batch fromdx = p_fromdx.

/SAPDMC/LSM_SAVE_FILE_USE CALL FUNCTION '/SAPDMC/LSM_SAVE_FILE_USE' EXPORTING filename = g_dsn_out project = g_project subproj = g_subproj object = g_object filetype = '3' action = 'OW' batch = sy-batch fromdx = p_fromdx.

/SAPDMC/LSM_SAVE_FILE_USE CALL FUNCTION '/SAPDMC/LSM_SAVE_FILE_USE' EXPORTING filename = g_dsn_in project = g_project subproj = g_subproj object = g_object filetype = '2' action = 'CL' batch = sy-batch fromdx = p_fromdx r_transactions = g_cnt_transactions_read r_records = g_cnt_records_read.

/SAPDMC/LSM_SAVE_FILE_USE CALL FUNCTION '/SAPDMC/LSM_SAVE_FILE_USE' EXPORTING filename = g_dsn_out project = g_project subproj = g_subproj object = g_object filetype = '3' action = 'CL' batch = sy-batch fromdx = p_fromdx t_transactions = g_cnt_transactions_transferred t_records = g_cnt_records_transferred.

/SAPDMC/LSM_FILE_DEQUEUE CALL FUNCTION '/SAPDMC/LSM_FILE_DEQUEUE' EXPORTING filename = g_dsn_in.

/SAPDMC/LSM_FILE_DEQUEUE CALL FUNCTION '/SAPDMC/LSM_FILE_DEQUEUE' EXPORTING filename = g_dsn_out.

/SAPDMC/LSM_TARGET_FIELDS_GET CALL FUNCTION '/SAPDMC/LSM_TARGET_FIELDS_GET' EXPORTING project = g_project subproj = g_subproj object = g_object segment = p_tabname with_dataelements = ' ' TABLES t_dfies = lt_dfies EXCEPTIONS no_such_object = 1 no_such_segment = 2 no_target_fields_found = 3 OTHERS = 4.

/SAPDMC/LSM_DATE_CONVERT CALL FUNCTION '/SAPDMC/LSM_DATE_CONVERT' EXPORTING date_in = l_date_in date_format_in = l_date_format_in to_output_format = yes to_internal_format = no IMPORTING date_out = l_date_out EXCEPTIONS illegal_date = 1 illegal_date_format = 2 no_user_date_format = 3 OTHERS = 4.

EDI_AGREE_PARTNER_READ CALL FUNCTION 'EDI_AGREE_PARTNER_READ' "YOG280800 EXPORTING "YOG280800 rec_edkp1 = l_edkp1. "YOG280800

EDI_AGREE_IN_MESSTYPE_READ CALL FUNCTION 'EDI_AGREE_IN_MESSTYPE_READ' "YOG280800 EXPORTING "YOG280800 rec_edk21 = l_edk21. "YOG280800

/SAPDMC/LSM_ACTIONLOG_INSERT





CALL FUNCTION '/SAPDMC/LSM_ACTIONLOG_INSERT' EXPORTING project = g_project subproj = g_subproj object = g_object stepnr = '901' EXCEPTIONS parameter_error = 1 insert_error = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = l_text.

IDOC_INBOUND_ASYNCHRONOUS CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS' TABLES idoc_control_rec_40 = gt_pack_edi_dc40 idoc_data_rec_40 = gt_pack_edi_dd40.



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 /SAPDMC/SAP_LSMW_CONV_FORMS or its description.