BP_POSITION_BUILD SAP Method of class CL_BSP_BROK_SERVICE_DOCUMENT
Below is documentation, parameters and attributes of ABAP Method BP_POSITION_BUILD within SAP class CL_BSP_BROK_SERVICE_DOCUMENT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_BSP_BROK_SERVICE_DOCUMENT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method BP_POSITION_BUILD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method BP_POSITION_BUILD
.| Name | Type | Data Type | Description | Default Value |
| ADDREF | Importing | TYPE ADDREF_ITAGCY | Additional Reference | |
| BETRH | Importing | TYPE BETRH_KK | Amount in Local Currency with +/- Signs | |
| BETRW | Importing | TYPE BETRW_KK | Amount in Transaction Currency with +/- Sign | |
| BUKRS | Importing | TYPE BUKRS | Company Code | |
| EMADR | Importing | TYPE AD_ADDRNUM | Address Number | |
| EMBVT | Importing | TYPE EMBVT_KK | Bank Details ID for Payment Recipient | |
| EMCRD | Importing | TYPE EMCRD_KK | Alternative Payment Card ID in Document | |
| EMGPA | Importing | TYPE EMGPA_KK | Alternative Business Partner for Payments | |
| FAEDN | Importing | TYPE FAEDN_KK | Due Date for Net Payment | |
| FKKKO | Importing | TYPE FKKKO | Header Data In Open Item Accounting Document | |
| GPART | Importing | TYPE GPART_KK | Business Partner Number | |
| HVORG | Importing | TYPE HVORG_KK | Main Transaction for Line Item | |
| IX_NO_1122 | Importing | TYPE XFELD | Checkbox | |
| IX_SET_CLEARINGRESTR | Importing | TYPE XFELD | Indicator: Set Clearing Restriction 'B' | |
| IX_USE_BETRH | Importing | TYPE XFELD | Checkbox | |
| I_PROCID | Importing | TYPE ITAGCY_PROCID_VI28 | Process ID for Call for Event VI28 | |
| LOBUS | Importing | TYPE LOBUS_ITAGCY | Agency Collections: Division | |
| OPTXT | Importing | TYPE OPTXT_KK | Item Text | |
| PYGRP | Importing | TYPE PYGRP_KK | Grouping Field for Automatic Payment Transactions | |
| PYMET | Importing | TYPE PYMET_KK | Payment Method | |
| TVORG | Importing | TYPE TVORG_KK | Subtransaction for Document Item | |
| VGPART2 | Importing | TYPE VGPART2_VK | Business Partner Number | |
| VKONT | Importing | TYPE VKONT_KK | Contract Account Number | |
| VTRE2 | Importing | TYPE VTRE2_KK | Additional reference information | |
| VTREF | Importing | TYPE VTREF_KK | Reference Specifications from Contract | |
| PYBUK | Importing | TYPE PYBUK_KK | Company Code for Automatic Payment Transactions | |
| ES_FKKOP | Exporting | TYPE FKKOP | Business Partner Items in Contract Account Document | |
| FKKOP | Changing | TYPE FKKOP_T | Table Type for FKKOP |
Exceptions of Method BP_POSITION_BUILD
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO CL_BSP_BROK_SERVICE_DOCUMENT.
DATA: lv_ADDREF TYPE ADDREF_ITAGCY,
lv_BETRH TYPE BETRH_KK,
lv_BETRW TYPE BETRW_KK,
lv_BUKRS TYPE BUKRS,
lv_EMADR TYPE AD_ADDRNUM,
lv_EMBVT TYPE EMBVT_KK,
lv_EMCRD TYPE EMCRD_KK,
lv_EMGPA TYPE EMGPA_KK,
lv_ES_FKKOP TYPE FKKOP,
lv_FAEDN TYPE FAEDN_KK,
lv_FKKKO TYPE FKKKO,
lv_FKKOP TYPE FKKOP_T,
lv_GPART TYPE GPART_KK,
lv_HVORG TYPE HVORG_KK,
lv_IX_NO_1122 TYPE XFELD,
lv_IX_SET_CLEARINGRESTR TYPE XFELD,
lv_IX_USE_BETRH TYPE XFELD,
lv_I_PROCID TYPE ITAGCY_PROCID_VI28,
lv_LOBUS TYPE LOBUS_ITAGCY,
lv_OPTXT TYPE OPTXT_KK,
lv_PYGRP TYPE PYGRP_KK,
lv_PYMET TYPE PYMET_KK,
lv_TVORG TYPE TVORG_KK,
lv_VGPART2 TYPE VGPART2_VK,
lv_VKONT TYPE VKONT_KK,
lv_VTRE2 TYPE VTRE2_KK,
lv_VTREF TYPE VTREF_KK,
lv_PYBUK TYPE PYBUK_KK,
lv_other TYPE c.
CALL METHOD lo_class=>BP_POSITION_BUILD(
EXPORTING
ADDREF = lv_ADDREF
BETRH = lv_BETRH
BETRW = lv_BETRW
BUKRS = lv_BUKRS
EMADR = lv_EMADR
EMBVT = lv_EMBVT
EMCRD = lv_EMCRD
EMGPA = lv_EMGPA
FAEDN = lv_FAEDN
FKKKO = lv_FKKKO
GPART = lv_GPART
HVORG = lv_HVORG
IX_NO_1122 = lv_IX_NO_1122
IX_SET_CLEARINGRESTR = lv_IX_SET_CLEARINGRESTR
IX_USE_BETRH = lv_IX_USE_BETRH
I_PROCID = lv_I_PROCID
LOBUS = lv_LOBUS
OPTXT = lv_OPTXT
PYGRP = lv_PYGRP
PYMET = lv_PYMET
TVORG = lv_TVORG
VGPART2 = lv_VGPART2
VKONT = lv_VKONT
VTRE2 = lv_VTRE2
VTREF = lv_VTREF
PYBUK = lv_PYBUK
IMPORTING
ES_FKKOP = lv_ES_FKKOP
CHANGING
FKKOP = lv_FKKOP ).
Links to Related Class(s)
CL_BSP_B...Full list of available SAP object classes
Search for further information about these or an SAP related objects