MAP_DATA_TO_NF SAP Method Map data to NF structures









Below is documentation, parameters and attributes of ABAP Method MAP_DATA_TO_NF within SAP class J1BCONSI. There is also a number of example ABAP code snipts to help you use the functionality of this method.

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 MAP_DATA_TO_NF can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MAP_DATA_TO_NF

.

NameTypeData TypeDescriptionDefault Value
IT_MSEGImportingTYPE
TY_MSEG
MSEG
IT_RKWAImportingTYPE
J1BRKWA_TAB
Table type for RKWA
I_BRANCHImportingTYPE
J_1BBRANC_
Business Place
I_BUKRSImportingTYPE
BUKRS
Company Code
I_DOCDATImportingTYPE
J_1BDOCDAT
Document date
I_LIFNRImportingTYPE
LIFNR
Account Number of Vendor or Creditor
I_NFNUMImportingTYPE
J_1BNFNUMB
Nota Fiscal Number
I_NFTYPEImportingTYPE
J_1BNFTYPE
Nota Fiscal Type
I_PSTDATImportingTYPE
J_1BPSTDAT
Posting date
I_SERIESImportingTYPE
J_1BSERIES
Series
I_SUBSERImportingTYPE
J_1BSUBSER
Sub series
E_NFOBJNUMChangingTYPE
J_1BNFOBJN
Nota Fiscal object number



Exceptions of Method MAP_DATA_TO_NF

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO J1BCONSI.
DATA: lv_E_NFOBJNUM TYPE J_1BNFOBJN,
lv_IT_MSEG TYPE TY_MSEG,
lv_IT_RKWA TYPE J1BRKWA_TAB,
lv_I_BRANCH TYPE J_1BBRANC_,
lv_I_BUKRS TYPE BUKRS,
lv_I_DOCDAT TYPE J_1BDOCDAT,
lv_I_LIFNR TYPE LIFNR,
lv_I_NFNUM TYPE J_1BNFNUMB,
lv_I_NFTYPE TYPE J_1BNFTYPE,
lv_I_PSTDAT TYPE J_1BPSTDAT,
lv_I_SERIES TYPE J_1BSERIES,
lv_I_SUBSER TYPE J_1BSUBSER,
lv_other TYPE c.

CALL METHOD lo_class=>MAP_DATA_TO_NF(
EXPORTING
IT_MSEG = lv_IT_MSEG
IT_RKWA = lv_IT_RKWA
I_BRANCH = lv_I_BRANCH
I_BUKRS = lv_I_BUKRS
I_DOCDAT = lv_I_DOCDAT
I_LIFNR = lv_I_LIFNR
I_NFNUM = lv_I_NFNUM
I_NFTYPE = lv_I_NFTYPE
I_PSTDAT = lv_I_PSTDAT
I_SERIES = lv_I_SERIES
I_SUBSER = lv_I_SUBSER
CHANGING
E_NFOBJNUM = lv_E_NFOBJNUM ).

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!