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

.

NameTypeData TypeDescriptionDefault Value
IT_MSEGImportingTYPE
TY_MSEG
MSEG
IT_RKWAImportingTYPE
J1BRKWA_TAB
Table type for RKWA
I_DOCDATImportingTYPE
J_1BDOCDAT
Document date
I_ITMTYPImportingTYPE
J_1BITMTYP
Nota Fiscal Item Type
I_KALSMImportingTYPE
KALSM_D
Procedure (pricing, output control, acct. det., costing,...)
I_LAND1ImportingTYPE
LAND1
Country Key
I_PSTDATImportingTYPE
J_1BPSTDAT
Posting date
I_REGIOImportingTYPE
REGIO
Region (State, Province, County)
I_SPRASImportingTYPE
SPRAS
Language Key
I_WAERSImportingTYPE
WAERS
Currency Key
IFS_J1BAOChangingTYPE
J_1BAO
CFOP determination for incoming movements and their return



Exceptions of Method CREATE_NF_ITEM

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!