SAP Reports / Programs | Logistics - General | Logistics Basic Data | Integrated Product and Process Engineering(LO-MD-PPE) SAP LO

CREATE_PVS_ML_01 SAP ABAP INCLUDE - CREATEPVSML01







CREATE_PVS_ML_01 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 CREATE_PVS_ML_01 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 CREATE_PVS_ML_01. "Basic submit
SUBMIT CREATE_PVS_ML_01 AND RETURN. "Return to original report after report execution complete
SUBMIT CREATE_PVS_ML_01 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 CREATE_PVS_ML_01

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:

BAPI_CHARACT_CREATE CALL FUNCTION 'BAPI_CHARACT_CREATE' EXPORTING charactdetail = wa_ch_detail keydate = sy-datum TABLES charactdescr = lt_ch_descr charactvaluesnum = lt_ch_val_num charactvalueschar = lt_ch_val_char charactvaluesdescr = lt_ch_val_descr return = lt_return.

BAPI_CLASS_EXISTENCECHECK CALL FUNCTION 'BAPI_CLASS_EXISTENCECHECK' EXPORTING classtype = l_class_type classnum = l_class_num TABLES return = lt_return.

BAPI_CLASS_CREATE CALL FUNCTION 'BAPI_CLASS_CREATE' EXPORTING classnumnew = l_class_num classtypenew = l_class_type classbasicdata = l_class_bdata TABLES return = lt_return classdescriptions = lt_class_descr classcharacteristics = lt_char.

BAPI_CLASS_GETDETAIL CALL FUNCTION 'BAPI_CLASS_GETDETAIL' EXPORTING classtype = l_class_type classnum = l_class_num IMPORTING classbasicdata = l_class_bdata TABLES classdescriptions = lt_class_descr classcharvalues = lt_char_old.

BAPI_CLASS_CHANGE CALL FUNCTION 'BAPI_CLASS_CHANGE' EXPORTING classnum = l_class_num classtype = l_class_type classbasicdata = l_class_bdata classbasicdatanew = l_class_bdata TABLES return = lt_return classdescriptions = lt_class_descr classdescriptionsnew = lt_class_descr classcharacteristicsnew = lt_char.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = l_matnr EXCEPTIONS OTHERS = 1.

MATERIAL_MAINTAIN_DARK CALL FUNCTION 'MATERIAL_MAINTAIN_DARK' EXPORTING p_kz_no_warn = 'X' kz_prf = ' ' user = sy-uname TABLES amara_ueb = lt_mara_ueb amakt_ueb = lt_makt_ueb amarc_ueb = lt_marc_ueb amerrdat = lt_merrdat EXCEPTIONS OTHERS = 0.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = wa_merrdat-msgty cl = wa_merrdat-msgid number = wa_merrdat-msgno par1 = wa_merrdat-msgv1 par2 = wa_merrdat-msgv2 par3 = wa_merrdat-msgv3 par4 = wa_merrdat-msgv4 IMPORTING return = wa_return EXCEPTIONS OTHERS = 0.

BAPI_OBJCL_CREATE CALL FUNCTION 'BAPI_OBJCL_CREATE' EXPORTING objectkeynew = l_object_name objecttablenew = 'MARA' classnumnew = p_gs_data-class-class_name classtypenew = p_gs_data-class-class_type TABLES return = lt_return.

CARD_CON_PROFILE_READ CALL FUNCTION 'CARD_CON_PROFILE_READ' EXPORTING object_type = 'MARA' TABLES con_object_key = lt_object_key EXCEPTIONS error = 1 OTHERS = 2.

CAMA_CON_PROFILE_MAINTAIN CALL FUNCTION 'CAMA_CON_PROFILE_MAINTAIN' EXPORTING object_type = c_obtab TABLES con_object_key = lt_object_key con_pro_attributes = lt_pro_attr EXCEPTIONS OTHERS = 0.

PVSHI_INIT CALL FUNCTION 'PVSHI_INIT' EXPORTING i_msg_handling = l_msg_opt TABLES return = lt_return[].

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = l_text.

PVSHI_PNCMP_MAINTAIN CALL FUNCTION 'PVSHI_PNCMP_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt TABLES componentnodedata = lt_cmpnodedata[] varianceschemeheader = lt_vscheme_hd[] variancescheme = lt_vscheme[] componentnodetext = lt_cmpnodetxt[] componentrelation = lt_cmprel[] return = lt_return[].

PVSHI_PVCMP_MAINTAIN CALL FUNCTION 'PVSHI_PVCMP_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt i_generate_sap_syntax = ' ' TABLES componentvariantdata = lt_cmpvardata[] dependencydata = lt_depdata[] dependencysources = lt_depsource[] configurationinstance = lt_configinst[] configurationvalue = lt_configvalue[] componentvariantclassdiff = lt_classdiff[] return = lt_return[].

PVSHI_PPEHEADER_MAINTAIN CALL FUNCTION 'PVSHI_PPEHEADER_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt TABLES ppe_header = lt_header[] return = lt_return[].

PVSHI_SAVE CALL FUNCTION 'PVSHI_SAVE' EXPORTING flg_commit = 'X' i_mode_all = 'X' i_msg_handling = l_msg_opt i_unlock = '1' save_protocol = p_savepr i_no_changedocs = l_no_chdoc TABLES return = lt_return[].

PVSHI_INIT CALL FUNCTION 'PVSHI_INIT' EXPORTING i_msg_handling = l_msg_opt TABLES return = lt_return[].

PVSHI_PNCMP_MAINTAIN





CALL FUNCTION 'PVSHI_PNCMP_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt TABLES componentnodedata = lt_cmpnodedata[] varianceschemeheader = lt_vscheme_hd[] variancescheme = lt_vscheme[] componentnodetext = lt_cmpnodetxt[] componentrelation = lt_cmprel[] return = lt_return[].

PVSHI_PVCMP_MAINTAIN CALL FUNCTION 'PVSHI_PVCMP_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt i_generate_sap_syntax = ' ' TABLES componentvariantdata = lt_cmpvardata[] dependencydata = lt_depdata[] dependencysources = lt_depsource[] configurationinstance = lt_configinst[] configurationvalue = lt_configvalue[] componentvariantclassdiff = lt_classdiff[] return = lt_return[].

PVSHI_PPEHEADER_MAINTAIN CALL FUNCTION 'PVSHI_PPEHEADER_MAINTAIN' EXPORTING i_mode_all = 'X' i_create_flg = 'X' i_msg_handling = l_msg_opt TABLES ppe_header = lt_header[] return = lt_return[].

PVSHI_SAVE CALL FUNCTION 'PVSHI_SAVE' EXPORTING flg_commit = 'X' i_mode_all = 'X' i_msg_handling = l_msg_opt i_unlock = '1' save_protocol = p_savepr i_no_changedocs = l_no_chdoc TABLES return = lt_return[].

PVSHI_INTERNAL_OBJECT_ID CALL FUNCTION 'PVSHI_INTERNAL_OBJECT_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt node_name = pt_cmpnodedata-node_name class_num = pt_cmpnodedata-class_num class_type = pt_cmpnodedata-class_type application_type = 'CMP' IMPORTING object_id = pt_cmpnodedata-node_id TABLES return = lt_return[].

PVSHI_INTERNAL_OBJECT_ID CALL FUNCTION 'PVSHI_INTERNAL_OBJECT_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt node_name = pt_cmpnodedata-node_name class_num = pt_cmpnodedata-class_num class_type = pt_cmpnodedata-class_type variant_name = pt_cmpvardata-variant_name application_type = 'CMP' IMPORTING object_id = pt_cmpvardata-variant_id TABLES return = lt_return[].

PVSHI_INTERNAL_PPEHEADER_ID CALL FUNCTION 'PVSHI_INTERNAL_PPEHEADER_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt material_long = pt_header-material_long location = pt_header-location usage = pt_header-use_of_ppe variant_id = pt_header-component_variant_id object_type = pt_header-object_type ppe_name = pt_header-ppe_name ppe_type = pt_header-type IMPORTING object_id = pt_header-header_id TABLES return = lt_return[].

PVSHI_INTERNAL_OBJECT_ID CALL FUNCTION 'PVSHI_INTERNAL_OBJECT_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt node_name = pt_cmpnodedata-node_name class_num = pt_cmpnodedata-class_num class_type = pt_cmpnodedata-class_type application_type = 'CMP' IMPORTING object_id = pt_cmpnodedata-node_id TABLES return = lt_return[].

PVSHI_INTERNAL_OBJECT_ID CALL FUNCTION 'PVSHI_INTERNAL_OBJECT_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt node_name = pt_cmpnodedata-node_name class_num = pt_cmpnodedata-class_num class_type = pt_cmpnodedata-class_type variant_name = pt_cmpvardata-variant_name application_type = 'CMP' IMPORTING object_id = pt_cmpvardata-variant_id TABLES return = lt_return[].

PVSHI_INTERNAL_PPEHEADER_ID CALL FUNCTION 'PVSHI_INTERNAL_PPEHEADER_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt material_long = pt_header-material_long location = pt_header-location usage = pt_header-use_of_ppe variant_id = pt_header-component_variant_id object_type = pt_header-object_type ppe_name = pt_header-ppe_name ppe_type = pt_header-type IMPORTING object_id = pt_header-header_id TABLES return = lt_return[].

PVSHI_INTERNAL_OBJECT_ID CALL FUNCTION 'PVSHI_INTERNAL_OBJECT_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt node_name = l_parentname class_num = pt_cmpnodedata-class_num class_type = pt_cmpnodedata-class_type application_type = 'CMP' IMPORTING object_id = pt_cmprel-object_id_start TABLES return = lt_return[].

PVSHI_INTERNAL_RELATION_ID CALL FUNCTION 'PVSHI_INTERNAL_RELATION_ID' EXPORTING i_mode_all = 'X' i_msg_handling = p_msg_opt start_node_name = l_parentname start_class_num = pt_cmpnodedata-class_num start_class_type = pt_cmpnodedata-class_type start_application_type = 'CMP' target_node_name = pt_cmpnodedata-node_name target_class_num = pt_cmpnodedata-class_num target_class_type = pt_cmpnodedata-class_type target_application_type = 'CMP' IMPORTING relation_id = pt_cmprel-relation_id TABLES return = lt_return[].



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 CREATE_PVS_ML_01 or its description.