CREATE_NF_ITEM SAP Method Create NF item called from MAP_DATA_TO_NF
Below is documentation, parameters and attributes of ABAP Method CREATE_NF_ITEM 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 CREATE_NF_ITEM can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_NF_ITEM
.Name | Type | Data Type | Description | Default Value |
IT_MSEG | Importing | TYPE TY_MSEG | MSEG | |
IT_RKWA | Importing | TYPE J1BRKWA_TAB | Table type for RKWA | |
I_DOCDAT | Importing | TYPE J_1BDOCDAT | Document date | |
I_ITMTYP | Importing | TYPE J_1BITMTYP | Nota Fiscal Item Type | |
I_KALSM | Importing | TYPE KALSM_D | Procedure (pricing, output control, acct. det., costing,...) | |
I_LAND1 | Importing | TYPE LAND1 | Country Key | |
I_PSTDAT | Importing | TYPE J_1BPSTDAT | Posting date | |
I_REGIO | Importing | TYPE REGIO | Region (State, Province, County) | |
I_SPRAS | Importing | TYPE SPRAS | Language Key | |
I_WAERS | Importing | TYPE WAERS | Currency Key | |
IFS_J1BAO | Changing | TYPE J_1BAO | CFOP determination for incoming movements and their return |
Exceptions of Method CREATE_NF_ITEM
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_IFS_J1BAO TYPE J_1BAO,
lv_IT_MSEG TYPE TY_MSEG,
lv_IT_RKWA TYPE J1BRKWA_TAB,
lv_I_DOCDAT TYPE J_1BDOCDAT,
lv_I_ITMTYP TYPE J_1BITMTYP,
lv_I_KALSM TYPE KALSM_D,
lv_I_LAND1 TYPE LAND1,
lv_I_PSTDAT TYPE J_1BPSTDAT,
lv_I_REGIO TYPE REGIO,
lv_I_SPRAS TYPE SPRAS,
lv_I_WAERS TYPE WAERS,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_NF_ITEM(
EXPORTING
IT_MSEG = lv_IT_MSEG
IT_RKWA = lv_IT_RKWA
I_DOCDAT = lv_I_DOCDAT
I_ITMTYP = lv_I_ITMTYP
I_KALSM = lv_I_KALSM
I_LAND1 = lv_I_LAND1
I_PSTDAT = lv_I_PSTDAT
I_REGIO = lv_I_REGIO
I_SPRAS = lv_I_SPRAS
I_WAERS = lv_I_WAERS
CHANGING
IFS_J1BAO = lv_IFS_J1BAO ).
Links to Related Class(s)
J1BCONSI...Full list of available SAP object classes
Search for further information about these or an SAP related objects