SET_CFOP_DESTINATION SAP Method set direction for cfop determination
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 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 J1BCONSI 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 SET_CFOP_DESTINATION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_CFOP_DESTINATION
.Name | Type | Data Type | Description | Default Value |
I_LAND1_BR | Importing | TYPE LAND1 | Country Key | |
I_LAND1_PA | Importing | TYPE LAND1 | Country Key | |
I_REGIO_BR | Importing | TYPE REGIO | Region (State, Province, County) | |
I_REGIO_PA | Importing | TYPE REGIO | Region (State, Province, County) | |
E_DESTINATION | Exporting | TYPE J_1BDSTCAT | Destination category |
Exceptions of Method SET_CFOP_DESTINATION
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 J1BCONSI.
DATA: lv_E_DESTINATION TYPE J_1BDSTCAT,
lv_I_LAND1_BR TYPE LAND1,
lv_I_LAND1_PA TYPE LAND1,
lv_I_REGIO_BR TYPE REGIO,
lv_I_REGIO_PA TYPE REGIO,
lv_other TYPE c.
CALL METHOD lo_class=>SET_CFOP_DESTINATION(
EXPORTING
I_LAND1_BR = lv_I_LAND1_BR
I_LAND1_PA = lv_I_LAND1_PA
I_REGIO_BR = lv_I_REGIO_BR
I_REGIO_PA = lv_I_REGIO_PA
IMPORTING
E_DESTINATION = lv_E_DESTINATION ).
Links to Related Class(s)
J1BCONSI...Full list of available SAP object classes
Search for further information about these or an SAP related objects