SAP Reports / Programs | Logistics - General | Logistics Basic Data | Vendor Master(LO-MD-BP-VM) SAP LO

PDTCF09 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CHANGEDOCUMENT_OPEN CALL FUNCTION 'CHANGEDOCUMENT_OPEN' EXPORTING objectclass = 'INFOSATZ' objectid = p_objid planned_change_number = ' ' planned_or_real_changes = ' ' EXCEPTIONS sequence_invalid = 1 OTHERS = 2.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'EINE' workarea_new = p_wa_new_eine workarea_old = p_wa_old_eine EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_CLOSE CALL FUNCTION 'CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = 'INFOSATZ' objectid = p_objid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname object_change_indicator = 'U' planned_or_real_changes = ' ' no_change_pointers = ' ' IMPORTING changenumber = change_no EXCEPTIONS header_insert_failed = 1 no_position_inserted = 2 object_invalid = 3 open_missing = 4 position_insert_failed = 5 OTHERS = 6.

CHANGEDOCUMENT_OPEN CALL FUNCTION 'CHANGEDOCUMENT_OPEN' EXPORTING objectclass = 'MATERIAL' objectid = p_objid planned_change_number = ' ' planned_or_real_changes = ' ' EXCEPTIONS sequence_invalid = 1 OTHERS = 2.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' TABLENAME = 'MARC' workarea_new = p_wa_new_marc workarea_old = p_wa_old_marc EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'MARA' workarea_new = p_wa_new_mara workarea_old = p_wa_old_mara EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_CLOSE CALL FUNCTION 'CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = 'MATERIAL' objectid = p_objid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname object_change_indicator = 'U' planned_or_real_changes = ' ' no_change_pointers = ' ' IMPORTING changenumber = change_no EXCEPTIONS header_insert_failed = 1 no_position_inserted = 2 object_invalid = 3 open_missing = 4 position_insert_failed = 5 OTHERS = 6.

OPEN_FI_PERFORM_00001250_E CALL FUNCTION 'OPEN_FI_PERFORM_00001250_E' EXPORTING i_mara_new = p_wa_new_mara i_mara_old = p_wa_old_mara i_marc_new = p_wa_new_marc i_marc_old = p_wa_old_marc upd_marc = 'U' upd_mara = 'U'.

CHANGEDOCUMENT_OPEN CALL FUNCTION 'CHANGEDOCUMENT_OPEN' EXPORTING objectclass = 'MAT_FULL' objectid = p_objid planned_change_number = ' ' planned_or_real_changes = ' ' EXCEPTIONS sequence_invalid = 1 OTHERS = 2.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'DMARC' workarea_new = wa_dmarc_new workarea_old = wa_dmarc_old EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'MARA' workarea_new = p_wa_new_mara workarea_old = p_wa_old_mara EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_CLOSE CALL FUNCTION 'CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = 'MAT_FULL' objectid = p_objid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname object_change_indicator = 'U' planned_or_real_changes = ' ' no_change_pointers = ' ' IMPORTING changenumber = change_no EXCEPTIONS header_insert_failed = 1 no_position_inserted = 2 object_invalid = 3 open_missing = 4 position_insert_failed = 5 OTHERS = 6.

OPEN_FI_PERFORM_00001250_E CALL FUNCTION 'OPEN_FI_PERFORM_00001250_E' EXPORTING i_mara_new = p_wa_new_mara i_mara_old = p_wa_old_mara i_marc_new = p_wa_new_marc i_marc_old = p_wa_old_marc upd_marc = 'U' upd_mara = 'U'.

CHANGEDOCUMENT_OPEN CALL FUNCTION 'CHANGEDOCUMENT_OPEN' EXPORTING objectclass = 'KRED' objectid = p_objid planned_change_number = ' ' planned_or_real_changes = ' ' EXCEPTIONS sequence_invalid = 1 OTHERS = 2.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'LFM1' workarea_new = p_wa_new_lfm1 workarea_old = p_wa_old_lfm1 EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_CLOSE CALL FUNCTION 'CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = 'KRED' objectid = p_objid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname object_change_indicator = 'U' planned_or_real_changes = ' ' no_change_pointers = ' ' IMPORTING changenumber = change_no EXCEPTIONS header_insert_failed = 1 no_position_inserted = 2 object_invalid = 3 open_missing = 4 position_insert_failed = 5 OTHERS = 6.

CHANGEDOCUMENT_OPEN CALL FUNCTION 'CHANGEDOCUMENT_OPEN' EXPORTING objectclass = 'KRED' objectid = p_objid planned_change_number = ' ' planned_or_real_changes = ' ' EXCEPTIONS sequence_invalid = 1 OTHERS = 2.

CHANGEDOCUMENT_SINGLE_CASE CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE' EXPORTING change_indicator = 'U' docu_delete = ' ' refarea_new = ' ' refarea_old = ' ' reftablename = ' ' tablename = 'LFM2' workarea_new = p_wa_new_lfm2 workarea_old = p_wa_old_lfm2 EXCEPTIONS nametab_error = 1 open_missing = 2 position_insert_failed = 3 OTHERS = 4.

CHANGEDOCUMENT_CLOSE





CALL FUNCTION 'CHANGEDOCUMENT_CLOSE' EXPORTING date_of_change = sy-datum objectclass = 'KRED' objectid = p_objid tcode = sy-tcode time_of_change = sy-uzeit username = sy-uname object_change_indicator = 'U' planned_or_real_changes = ' ' no_change_pointers = ' ' IMPORTING changenumber = change_no EXCEPTIONS header_insert_failed = 1 no_position_inserted = 2 object_invalid = 3 open_missing = 4 position_insert_failed = 5 OTHERS = 6.



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