Skip to end of metadata
Go to start of metadata

Purpose

Summarize the most important ABAP coding parts of the component SRM-EBP-POR

Overview

  • Classes
  • FM-s (Function Modules)
  • BAdI-s
  • Reports for the determination of follow-on document flags

Content

Classes:

  • Mapping from Shopping Cart to Purchase Order:

     CL_BBP_SC_TRANSFER  -  MAP_PO_LOCAL

      /SAPSRM/CL_PDO_BO_PO  - DETERMINE_BE_PUR_ORG

  • Create PO manually:
    /SAPSRM/CL_PDO_BO_PO - CREATE_NEW_INSTANCE
    /SAPSRM/CL_PDO_SHARED_USER - INIT_USER_ATTRIBUTES
  • /SAPSRM/CL_PDO_BO_PO (several further important methods for PO handling)
  • /SAPSRM/CL_PDO_PO_STAT_HELPER:

     /SAPSRM/IF_PDO_STATIC_HELPER~GET_PROCESS_TYPES (reads process types from SPRO and ppoma – attribute DC_PROC_TY)

     /SAPSRM/IF_PDO_STATIC_HELPER~GET_STATIC_ACTIONS (buttons in POWL)

     /SAPSRM/CL_CH_WD_IDEN_MAP_PO   -  /SAPSRM/IF_CLL_IDENT_MAPPER~HANDLE_EVENT (general coding spot for check/save etc. actions)

FM-s (Function Modules):

  • Function Group BBP_PD_PO
  • SRM 550:

BBP_PD_PO_TRANSFER_EXEC (for extended classic transfer)
BBP_REQREQ_TRANSFER (for classic transfer)
B46B_DPO_TRANSFER
BBP_PO_INBOUND (ECC)
BAPI_PO_CREATE1 (ECC)
BAPI_PO_CHANGE (ECC)

  • SRM 700:

BBP_PD_PO_CREATE
BBP_PD_PO_UPDATE
BBP_PD_PO_GETDETAIL
BBP_PD_PO_TRANSFER_EXEC (for extended classic transfer)
BBP_REQREQ_TRANSFER (for classic transfer)
B46B_DPO_TRANSFER
BBP_PO_INBOUND (ECC)
BAPI_PO_CREATE1 (ECC)
BAPI_PO_CHANGE (ECC)

BAdI-s:

BBP_EXTLOCALPO_BADI  (to control ECS / local scenario per client / product category)

BBP_ECS_PO_OUT_BADI (for changing PO transfer behavior)

BBP_MAP_BEFORE_BAPI (Within R/3 Plug-ins)

BBP_MAP_AFTER_BAPI (Within R/3 Plug-in)

Reports for the determination of follow-on document flags:

LBBP_PDBUPF2D / fill_ecom (flags are read from vendor master/ BBPMAININT)

LBBP_PDIGPF0B / po_itm_check (check on follow-on documents, calls check_iv_gr_flags)

LBBP_PDIGPF75 / check_iv_gr_flags