SAP Reports / Programs

BPDEBI00 SAP ABAP Report - BP: Conversion Report Customer Partner to Business Partner







BPDEBI00 is a standard Executable ABAP Report 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 BPDEBI00 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 BPDEBI00. "Basic submit
SUBMIT BPDEBI00 AND RETURN. "Return to original report after report execution complete
SUBMIT BPDEBI00 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: SPA_TEST = Test run
Selection Text: SPA_ROL = Role category
Selection Text: SPA_NAT = Natural person
Selection Text: SPA_JUR = Organization
Selection Text: SPA_GRP = Business partner grouping
Selection Text: SPA_DEBI = Customer
Selection Text: SPA_BP = Business partner
Selection Text: SPA_ADR = Address ID
Title: BP: Conversion Report Customer Partner to Business Partner
Text Symbol: ZEN = Error - head office not defined as a business partner:
Text Symbol: ROL = Rollback
Text Symbol: REG = Termination - Payer/ee not created as business partner:
Text Symbol: PAR = Partner
Text Symbol: OKT = Test run successfully completed
Text Symbol: OKE = Conversion successfully completed
Text Symbol: DEB = Customer
Text Symbol: DBB = Database error
Text Symbol: ADR = Termination - business partner cannot be created without address


INCLUDES used within this REPORT BPDEBI00

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:

BPAR_C_GROUP_ID CALL FUNCTION 'BPAR_C_GROUP_ID' EXPORTING GROUP_ID = SPA_GRP IMPORTING TPZ2_ENTRY = TPZ2.

BPAR_NR_INFO CALL FUNCTION 'BPAR_NR_INFO' EXPORTING NUMKR = NRIV_PARTNER-NRRANGENR OBJECT = NRIV_PARTNER-OBJECT SUBOBJECT = NRIV_PARTNER-SUBOBJECT IMPORTING INTERVAL = NRIV_PARTNER EXCEPTIONS ERROR_MESSAGE = 01.

BPAR_NR_CHECK CALL FUNCTION 'BPAR_NR_CHECK' EXPORTING INTERVAL = NRIV_PARTNER NUMBER = NUMBER_PARTNER NUMKR = NRIV_PARTNER-NRRANGENR OBJECT = NRIV_PARTNER-OBJECT SUBOBJECT = NRIV_PARTNER-SUBOBJECT EXCEPTIONS ERROR_MESSAGE = 01.

BPAR_R_PARTNER_CHECK CALL FUNCTION 'BPAR_R_PARTNER_CHECK' EXPORTING PARTNER = SPA_BP EXCEPTIONS PARTNER = 01.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNA1-KNRZA PARTNER_IN = ' ' * IMPORTING * CUSTOMER_OUT = * PARTNER_OUT = EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB1-KNRZB PARTNER_IN = ' ' * IMPORTING * CUSTOMER_OUT = * PARTNER_OUT = EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB1-REMIT PARTNER_IN = ' ' * IMPORTING * CUSTOMER_OUT = * PARTNER_OUT = EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB1-KNRZE PARTNER_IN = ' ' * IMPORTING * CUSTOMER_OUT = * PARTNER_OUT = EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB5-KNRMA PARTNER_IN = ' ' * IMPORTING * CUSTOMER_OUT = * PARTNER_OUT = EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_NR_ASSIGN CALL FUNCTION 'BPAR_NR_ASSIGN' EXPORTING NUMKR = NRIV_PARTNER-NRRANGENR OBJECT = NRIV_PARTNER-OBJECT SUBOBJECT = NRIV_PARTNER-SUBOBJECT IMPORTING NUMBER = NUMBER_PARTNER * 114422 insert RC = RETURNCODE EXCEPTIONS INTERVAL_OVERFLOW = 01.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB1-KNRZE PARTNER_IN = ' ' IMPORTING * CUSTOMER_OUT = PARTNER_OUT = BP2000-PARTNR2 EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_PHONET_SEARCH_CREATE CALL FUNCTION 'BPAR_PHONET_SEARCH_CREATE' EXPORTING PHONET_SOURCE = BP000-NAME1 IMPORTING PHONET_DEST = BP000-SORT_PHON EXCEPTIONS OTHERS = 01.

BPAR_PHONET_SEARCH_CREATE CALL FUNCTION 'BPAR_PHONET_SEARCH_CREATE' EXPORTING PHONET_SOURCE = BP000-NAME2 IMPORTING PHONET_DEST = HLP_PHONETISCHE_SUCHE EXCEPTIONS OTHERS = 01.

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING STRING1 = BP000-SORT_PHON STRING2 = HLP_PHONETISCHE_SUCHE IMPORTING STRING = BP000-SORT_PHON EXCEPTIONS TOO_SMALL = 01.

BPAR_P_ADDRESS_SELECT CALL FUNCTION 'BPAR_P_ADDRESS_SELECT' EXPORTING ADDRESS_IN = BPDADR FLG_MAINTAIN = XTRUE FLG_POPUP = XFALSE FLG_WILDCARDS = XFALSE FLG_NO_CHECK_ADDRESS = XTRUE * keine Adressprüfung ! FLG_SAVE_IN_UPDT = XFALSE IMPORTING ADDRESS_OUT = BPDADR EXCEPTIONS ADDRESS = 01 CANCELLED = 02.

BPAR_P_ADDRESS_SELECT CALL FUNCTION 'BPAR_P_ADDRESS_SELECT' EXPORTING ADDRESS_IN = BPDADR FLG_MAINTAIN = XTRUE FLG_POPUP = XFALSE FLG_WILDCARDS = XFALSE FLG_NO_CHECK_ADDRESS = XFALSE * mit Adressprüfung FLG_SAVE_IN_UPDT = XFALSE IMPORTING ADDRESS_OUT = BPDADR EXCEPTIONS ADDRESS = 01 CANCELLED = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = KNB1-KNRZE PARTNER_IN = ' ' IMPORTING * CUSTOMER_OUT = PARTNER_OUT = BP2000-PARTNR2 EXCEPTIONS NO_CUSTOMER_FOUND = 01 NO_PARTNER_FOUND = 02.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING CUSTOMER_IN = DEBITOR IMPORTING PARTNER_OUT = PARTNER EXCEPTIONS OTHERS = 01.



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