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

.

NameTypeData TypeDescriptionDefault Value
ADDREFImportingTYPE
ADDREF_ITAGCY
Additional Reference
BETRHImportingTYPE
BETRH_KK
Amount in Local Currency with +/- Signs
BETRWImportingTYPE
BETRW_KK
Amount in Transaction Currency with +/- Sign
BUKRSImportingTYPE
BUKRS
Company Code
EMADRImportingTYPE
AD_ADDRNUM
Address Number
EMBVTImportingTYPE
EMBVT_KK
Bank Details ID for Payment Recipient
EMCRDImportingTYPE
EMCRD_KK
Alternative Payment Card ID in Document
EMGPAImportingTYPE
EMGPA_KK
Alternative Business Partner for Payments
FAEDNImportingTYPE
FAEDN_KK
Due Date for Net Payment
FKKKOImportingTYPE
FKKKO
Header Data In Open Item Accounting Document
GPARTImportingTYPE
GPART_KK
Business Partner Number
HVORGImportingTYPE
HVORG_KK
Main Transaction for Line Item
IX_NO_1122ImportingTYPE
XFELD
Checkbox
IX_SET_CLEARINGRESTRImportingTYPE
XFELD
Indicator: Set Clearing Restriction 'B'
IX_USE_BETRHImportingTYPE
XFELD
Checkbox
I_PROCIDImportingTYPE
ITAGCY_PROCID_VI28
Process ID for Call for Event VI28
LOBUSImportingTYPE
LOBUS_ITAGCY
Agency Collections: Division
OPTXTImportingTYPE
OPTXT_KK
Item Text
PYGRPImportingTYPE
PYGRP_KK
Grouping Field for Automatic Payment Transactions
PYMETImportingTYPE
PYMET_KK
Payment Method
TVORGImportingTYPE
TVORG_KK
Subtransaction for Document Item
VGPART2ImportingTYPE
VGPART2_VK
Business Partner Number
VKONTImportingTYPE
VKONT_KK
Contract Account Number
VTRE2ImportingTYPE
VTRE2_KK
Additional reference information
VTREFImportingTYPE
VTREF_KK
Reference Specifications from Contract
PYBUKImportingTYPE
PYBUK_KK
Company Code for Automatic Payment Transactions
ES_FKKOPExportingTYPE
FKKOP
Business Partner Items in Contract Account Document
FKKOPChangingTYPE
FKKOP_T
Table Type for FKKOP



Exceptions of Method BP_POSITION_BUILD

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!