ABAP OO Class Methods

CREATE_NF_MESSAGES SAP Method - Create messages for tax laws







Below is documentation, parameters and attributes of ABAP Method CREATE_NF_MESSAGES 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

CREATE_NF_MESSAGES

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_KPOSN " Condition item number TYPE KPOSN
I_LAW " Tax law: ICMS TYPE J_1BTAXLW1
I_SPRAS " Language Key TYPE SPRAS
TABNAME " Table Name TYPE TABNAME

Exceptions:



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.


DATA:
ld_I_KPOSN TYPE KPOSN ,
ld_I_LAW TYPE J_1BTAXLW1 ,
ld_I_SPRAS TYPE SPRAS ,
ld_TABNAME TYPE TABNAME.

" ld_I_KPOSN = "
" ld_I_LAW = "
" ld_I_SPRAS = "
" ld_TABNAME = "

DATA: lo_J1BCONSI TYPE REF TO J1BCONSI .
CALL METHOD lo_J1BCONSI->CREATE_NF_MESSAGES(
EXPORTING
I_KPOSN = ld_I_KPOSN
I_LAW = ld_I_LAW
I_SPRAS = ld_I_SPRAS
TABNAME = ld_TABNAME ).