SAP BPOB_TRD001_TEST Function Module for Partner-Object Relationship: Create
BPOB_TRD001_TEST is a standard bpob trd001 test SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Partner-Object Relationship: Create processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bpob trd001 test FM, simply by entering the name BPOB_TRD001_TEST into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTBPOB_TRD001
Program Name: SAPLFTBPOB_TRD001
Main Program: SAPLFTBPOB_TRD001
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BPOB_TRD001_TEST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BPOB_TRD001_TEST'"Partner-Object Relationship: Create.
EXPORTING
* I_ASSI_TYP = 'TRD001' "
* I_ASSI_NR = "Assignment Number
* I_APPL = "Business Partner: Application Category
* I_AKTYP = '01' "
IMPORTING Parameters details for BPOB_TRD001_TEST
I_ASSI_TYP -
Data type: BPOBREL-ASSI_TYPDefault: 'TRD001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ASSI_NR - Assignment Number
Data type: BPOBREL-ASSI_NROptional: Yes
Call by Reference: Yes
I_APPL - Business Partner: Application Category
Data type: VDGPO-APPLOptional: Yes
Call by Reference: Yes
I_AKTYP -
Data type: TBZ0K-AKTYPDefault: '01'
Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BPOB_TRD001_TEST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_assi_typ | TYPE BPOBREL-ASSI_TYP, " 'TRD001' | |||
| lv_i_assi_nr | TYPE BPOBREL-ASSI_NR, " | |||
| lv_i_appl | TYPE VDGPO-APPL, " | |||
| lv_i_aktyp | TYPE TBZ0K-AKTYP. " '01' |
|   CALL FUNCTION 'BPOB_TRD001_TEST' "Partner-Object Relationship: Create |
| EXPORTING | ||
| I_ASSI_TYP | = lv_i_assi_typ | |
| I_ASSI_NR | = lv_i_assi_nr | |
| I_APPL | = lv_i_appl | |
| I_AKTYP | = lv_i_aktyp | |
| . " BPOB_TRD001_TEST | ||
ABAP code using 7.40 inline data declarations to call FM BPOB_TRD001_TEST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single ASSI_TYP FROM BPOBREL INTO @DATA(ld_i_assi_typ). | ||||
| DATA(ld_i_assi_typ) | = 'TRD001'. | |||
| "SELECT single ASSI_NR FROM BPOBREL INTO @DATA(ld_i_assi_nr). | ||||
| "SELECT single APPL FROM VDGPO INTO @DATA(ld_i_appl). | ||||
| "SELECT single AKTYP FROM TBZ0K INTO @DATA(ld_i_aktyp). | ||||
| DATA(ld_i_aktyp) | = '01'. | |||
Search for further information about these or an SAP related objects