BUPRELSU 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 BUPRELSU into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BUB3 - BuPR: Display BP relationship
BUB5 - BuPR: Change BP role definition
BUB2 - BuPR: Change BP relationship
BUB6 - BuPR: Display BP role definition
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.
Selection Text: GP_XSGL = All Data Between Partners
Selection Text: GP_XDTP = Choose Further Differentiation
Selection Text: GP_XALL = All Data for a Partner
Selection Text: GP_SORTF = Sort Sequence
Selection Text: GP_DATUM = Validity Key Date
Selection Text: GT_RT = BP Role (of BP1)
Selection Text: GT_RFT = Role Definition Category
Selection Text: GT_BUPA2 = Business Partner 2
Selection Text: GT_BUPA1 = Business Partner 1
Selection Text: GT_BT = Relationship Category
Selection Text: GP_AKTYP = Activity
Title: BP Relationships: Display/Change
Text Symbol: SR2 = All Role Definitions Between Specified Partners 1 and 2
Text Symbol: SR1 = All Role Definitions for a Partner (Either Partner 1 or 2)
Text Symbol: SB2 = All Relationships Between Specified Partners 1 and 2
Text Symbol: SB1 = All Relationships for a Partner (Either Partner 1 or 2)
Text Symbol: DTP = Choose Further Differentiation
Text Symbol: TSS = Search Strategy
Text Symbol: TSO = Work Area Selections
Text Symbol: TCO = Output Control
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BURS_VALUE_REQUEST_FOR_AKTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_AKTYP' EXPORTING I_REPID = GV_REPID I_DYNPRFIELD = 'GP_AKTYP' IMPORTING E_AKTYP = GP_AKTYP.
BURS_VALUE_REQUEST_FOR_RELTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RELTYP' EXPORTING I_XRF = GV_XRF I_REPID = GV_REPID I_DYNPRFIELD = 'GT_BT-LOW' I_DIRECTION_FLAG = CON_DIRFLAG_1 IMPORTING E_RELTYP = GT_BT-LOW.
BURS_VALUE_REQUEST_FOR_RELTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RELTYP' EXPORTING I_XRF = GV_XRF I_REPID = GV_REPID I_DYNPRFIELD = 'GT_BT-HIGH' I_DIRECTION_FLAG = CON_DIRFLAG_1 IMPORTING E_RELTYP = GT_BT-HIGH.
BURS_VALUE_REQUEST_FOR_RELTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RELTYP' EXPORTING I_XRF = GV_XRF I_REPID = GV_REPID I_DYNPRFIELD = 'GT_RFT-LOW' I_DIRECTION_FLAG = CON_DIRFLAG_1 IMPORTING E_RELTYP = GT_RFT-LOW.
BURS_VALUE_REQUEST_FOR_RELTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RELTYP' EXPORTING I_XRF = GV_XRF I_REPID = GV_REPID I_DYNPRFIELD = 'GT_RFT-HIGH' I_DIRECTION_FLAG = CON_DIRFLAG_1 IMPORTING E_RELTYP = GT_RFT-HIGH.
BURS_VALUE_REQUEST_FOR_RLTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RLTYP' EXPORTING I_REPID = GV_REPID I_DYNPRFIELD = 'GT_RT-LOW' IMPORTING E_RLTYP = GT_RT-LOW.
BURS_VALUE_REQUEST_FOR_RLTYP CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_RLTYP' EXPORTING I_REPID = GV_REPID I_DYNPRFIELD = 'GT_RT-HIGH' IMPORTING E_RLTYP = GT_RT-HIGH.
BURS_VALUE_REQUEST_FOR_SORTF CALL FUNCTION 'BURS_VALUE_REQUEST_FOR_SORTF' EXPORTING I_XRF = GV_XRF I_REPID = GV_REPID I_DYNPRFIELD = 'GP_SORTF' IMPORTING E_SORTF = GP_SORTF.
BUP_PARTNER_F4 CALL FUNCTION 'BUP_PARTNER_F4' * exporting * I_RLTYP = * I_DYNPVALUPD = * I_XVALUPD = * I_REPID = IMPORTING E_PARTNER = GT_BUPA1-LOW.
BUP_PARTNER_F4 CALL FUNCTION 'BUP_PARTNER_F4' * exporting * I_RLTYP = * I_DYNPVALUPD = * I_XVALUPD = * I_REPID = IMPORTING E_PARTNER = GT_BUPA1-HIGH.
BUP_PARTNER_F4 CALL FUNCTION 'BUP_PARTNER_F4' * exporting * I_RLTYP = * I_DYNPVALUPD = * I_XVALUPD = * I_REPID = IMPORTING E_PARTNER = GT_BUPA2-LOW.
BUP_PARTNER_F4 CALL FUNCTION 'BUP_PARTNER_F4' * exporting * I_RLTYP = * I_DYNPVALUPD = * I_XVALUPD = * I_REPID = IMPORTING E_PARTNER = GT_BUPA2-HIGH.
F4_DATE CALL FUNCTION 'F4_DATE' * exporting * DATE_FOR_FIRST_MONTH = ' ' * DISPLAY = ' ' * FACTORY_CALENDAR_ID = ' ' * GREGORIAN_CALENDAR_FLAG = ' ' * HOLIDAY_CALENDAR_ID = ' ' * PROGNAME_FOR_FIRST_MONTH = ' ' IMPORTING SELECT_DATE = GP_DATUM.
BURS_RELATIONS_DISPLAY_CHANGE CALL FUNCTION 'BURS_RELATIONS_DISPLAY_CHANGE' EXPORTING I_AKTYP = GV_AKTYP * I_RELMODE = 'S' I_XALL = GP_XALL * I_XSAVE = 'X' I_CODTETR = GV_CODTETR I_XRELATION = 'X' I_XROLEDET = ' ' I_DATE = GP_DATUM * importing * e_ctrl = * e_state = TABLES T_RELTYP = GT_BT t_partner1 = gt_bupa1 T_RLTYP = GT_RT t_partner2 = gt_bupa2 * T_DTELEM = * T_FLDVL = * t_relations = CHANGING C_SORTF = GP_SORTF. "#EC DOM_EQUAL
BURS_RELATIONS_DISPLAY_CHANGE CALL FUNCTION 'BURS_RELATIONS_DISPLAY_CHANGE' EXPORTING I_AKTYP = GV_AKTYP * I_RELMODE = 'S' I_XALL = GP_XALL * I_XSAVE = 'X' I_CODTETR = GV_CODTETR I_XRELATION = ' ' I_XROLEDET = 'X' I_DATE = GP_DATUM * importing * e_ctrl = * e_state = TABLES T_RLDTYP = GT_RFT t_partner1 = gt_bupa1 T_RLTYP = GT_RT t_partner2 = gt_bupa2 * T_DTELEM = * T_FLDVL = * t_roledets = CHANGING C_SORTF = GP_SORTF. "#EC DOM_EQUAL
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BUPRELSU - BP Relationships: Display/Change BUPRELSU - BP Relationships: Display/Change BUPRELDI - BP Relationships/BP Role Definitions: Maintenance Without Dialog BUPRELDI - BP Relationships/BP Role Definitions: Maintenance Without Dialog BUPRELCR - BP Relationships: Create BUPRELCR - BP Relationships: Create