ABAP OO Class Methods

GET_BRANCH SAP Method - get branch data







Below is documentation, parameters and attributes of ABAP Method GET_BRANCH within SAP class J1BCONSI. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name J1BCONSI into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

J1BCONSI

Method Name

GET_BRANCH

Method Type

Instance Method:   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.






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


I_BUKRS " Company Code TYPE BUKRS
I_BRANCH " Business Place TYPE J_1BBRANC_

Exporting Parameters:


E_REGIO " Region (State, Province, County) TYPE REGIO
E_LAND1 " Country Key TYPE LAND1
E_INDUSTRY " Business Place CFOP Category TYPE J_1BINDUS2

Exceptions:



Example ABAP coding


DATA:
ld_I_BUKRS TYPE BUKRS ,
ld_I_BRANCH TYPE J_1BBRANC_ ,
ld_E_REGIO TYPE REGIO ,
ld_E_LAND1 TYPE LAND1 ,
ld_E_INDUSTRY TYPE J_1BINDUS2.

" ld_I_BUKRS = "
" ld_I_BRANCH = "

DATA: lo_J1BCONSI TYPE REF TO J1BCONSI .
CALL METHOD lo_J1BCONSI->GET_BRANCH(
EXPORTING
I_BUKRS = ld_I_BUKRS
I_BRANCH = ld_I_BRANCH
IMPORTING
E_REGIO = ld_E_REGIO
E_LAND1 = ld_E_LAND1
E_INDUSTRY = ld_E_INDUSTRY ).