Below is documentation, parameters and attributes of ABAP Method SET_CFOP_DESTINATION 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
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.
Below is a list of importing parameters associated with this method, including its name, description and data type
I_LAND1_BR " Country Key TYPE LAND1
I_LAND1_PA " Country Key TYPE LAND1
I_REGIO_BR " Region (State, Province, County) TYPE REGIO
I_REGIO_PA " Region (State, Province, County) TYPE REGIO
E_DESTINATION " Destination category TYPE J_1BDSTCAT
Example ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. You could access it from another method of the class.
ld_I_LAND1_BR TYPE LAND1 ,
ld_I_LAND1_PA TYPE LAND1 ,
ld_I_REGIO_BR TYPE REGIO ,
ld_I_REGIO_PA TYPE REGIO ,
ld_E_DESTINATION TYPE J_1BDSTCAT.
" ld_I_LAND1_BR = "
" ld_I_LAND1_PA = "
" ld_I_REGIO_BR = "
" ld_I_REGIO_PA = "
DATA: lo_J1BCONSI TYPE REF TO J1BCONSI .
- CALL METHOD lo_J1BCONSI->SET_CFOP_DESTINATION(
- I_LAND1_BR = ld_I_LAND1_BR
- I_LAND1_PA = ld_I_LAND1_PA
- I_REGIO_BR = ld_I_REGIO_BR
- I_REGIO_PA = ld_I_REGIO_PA
- E_DESTINATION = ld_E_DESTINATION ).