SAP Reports / Programs

SAPDBEKM SAP ABAP Report - Access Program for Database EKM







SAPDBEKM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program SAPDBEKM contains the access routines for reporting...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPDBEKM 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 SAPDBEKM. "Basic submit
SUBMIT SAPDBEKM AND RETURN. "Return to original report after report execution complete
SUBMIT SAPDBEKM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: EK_VORNR = D Transaction/Event
Selection Text: EK_VETEN = D Schedule Line Number
Selection Text: EK_VBELP = D Item
Selection Text: EK_VBELN = D Sales Document
Selection Text: EK_SELKL = ?...(EK_SELKL)
Selection Text: EK_SELKK = ?...(EK_SELKK)
Selection Text: EK_SELKB = ?...(EK_SELKB)
Selection Text: EK_SELKA = ?...(EK_SELKA)
Selection Text: EK_PROJN = WBS element
Selection Text: EK_NPLNR = D Network
Selection Text: EK_KOSTL = Cost center
Selection Text: EK_EKORG = Purchasing organization
Selection Text: EK_AUFNR = Order
Selection Text: EK_ANLN2 = D Subnumber
Selection Text: EK_ANLN1 = D Asset
Selection Text: %_POS013 = ?...(%_POS013)
Selection Text: %_POS007 = ?...(%_POS007)
Selection Text: %_END016 = ?...(%_END016)
Selection Text: %_END009 = ?...(%_END009)
Selection Text: %_BEG010 = ?...(%_BEG010)
Selection Text: %_BEG004 = ?...(%_BEG004)
Selection Text: %_002011 = ?...(%_002011)
Selection Text: %_001005 = ?...(%_001005)
Title: Access Program for Database EKM
Text Symbol: 100 = Choose...
Text Symbol: 006 = Item
Text Symbol: 005 = Trans.
Text Symbol: 004 = Sub-no.
Text Symbol: 003 = Network
Text Symbol: 002 = Sales document
Text Symbol: 001 = Asset


INCLUDES used within this REPORT SAPDBEKM

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:

READ_NETWORK_AUFPL_APLZL CALL FUNCTION 'READ_NETWORK_AUFPL_APLZL' EXPORTING nplnr = ek_nplnr vornr = ek_vornr IMPORTING aplzl = ek_aplzl aufpl = ek_aufpl EXCEPTIONS not_found = 01.

RM_SENDEN_BILD_EXM CALL FUNCTION 'RM_SENDEN_BILD_EXM' EXPORTING e0_selka = ek_selka e0_selkb = ek_selkb e0_selkk = ek_selkk e0_selkl = ek_selkl IMPORTING e0_selka = ek_selka e0_selkb = ek_selkb e0_selkk = ek_selkk e0_selkl = ek_selkl e0_start = ek_startk.

ME_TRANSFER_EKPO_TO_BUFFER CALL FUNCTION 'ME_TRANSFER_EKPO_TO_BUFFER' EXPORTING pi_ebeln = lv_ebeln_dummy * pi_all_positions = 'X' TABLES pi_ekpo = lt_ekpo_buf EXCEPTIONS record_already_exists = 1 OTHERS = 2.

MMPUR_EKBE_ARRAY_READ CALL FUNCTION 'MMPUR_EKBE_ARRAY_READ' TABLES pti_ekbe_key = lt_ekbekey EXCEPTIONS OTHERS = 0.

MMPUR_EKBZ_ARRAY_READ CALL FUNCTION 'MMPUR_EKBZ_ARRAY_READ' TABLES pti_ekbz_key = lt_ekbzkey EXCEPTIONS OTHERS = 0.

MM_CURRENT_PRICE_DOCUMENT CALL FUNCTION 'MM_CURRENT_PRICE_DOCUMENT' EXPORTING i_ekko = ekko CHANGING c_ekpo = ekpo EXCEPTIONS OTHERS = 0.



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