ABAP OO Class Methods

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 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

MAP_DATA_TO_NF

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_SUBSER " Sub series TYPE J_1BSUBSER
I_SERIES " Series TYPE J_1BSERIES
I_PSTDAT " Posting date TYPE J_1BPSTDAT
I_NFTYPE " Nota Fiscal Type TYPE J_1BNFTYPE
I_NFNUM " Nota Fiscal Number TYPE J_1BNFNUMB
I_LIFNR " Account Number of Vendor or Creditor TYPE LIFNR
I_DOCDAT " Document date TYPE J_1BDOCDAT
I_BUKRS " Company Code TYPE BUKRS
I_BRANCH " Business Place TYPE J_1BBRANC_
IT_RKWA " Table type for RKWA TYPE J1BRKWA_TAB
IT_MSEG " MSEG TYPE TY_MSEG

Changing Parameters:


E_NFOBJNUM " Nota Fiscal object number TYPE J_1BNFOBJN

Exceptions:



Example ABAP coding


DATA:
ld_I_SUBSER TYPE J_1BSUBSER ,
ld_I_SERIES TYPE J_1BSERIES ,
ld_I_PSTDAT TYPE J_1BPSTDAT ,
ld_I_NFTYPE TYPE J_1BNFTYPE ,
ld_I_NFNUM TYPE J_1BNFNUMB ,
ld_I_LIFNR TYPE LIFNR ,
ld_I_DOCDAT TYPE J_1BDOCDAT ,
ld_I_BUKRS TYPE BUKRS ,
ld_I_BRANCH TYPE J_1BBRANC_ ,
ld_IT_RKWA TYPE J1BRKWA_TAB ,
ld_IT_MSEG TYPE TY_MSEG ,
ld_E_NFOBJNUM TYPE J_1BNFOBJN.

" ld_I_SUBSER = "
" ld_I_SERIES = "
" ld_I_PSTDAT = "
" ld_I_NFTYPE = "
" ld_I_NFNUM = "
" ld_I_LIFNR = "
" ld_I_DOCDAT = "
" ld_I_BUKRS = "
" ld_I_BRANCH = "
" ld_IT_RKWA = "
" ld_IT_MSEG = "

DATA: lo_J1BCONSI TYPE REF TO J1BCONSI .
CALL METHOD lo_J1BCONSI->MAP_DATA_TO_NF(
EXPORTING
I_SUBSER = ld_I_SUBSER
I_SERIES = ld_I_SERIES
I_PSTDAT = ld_I_PSTDAT
I_NFTYPE = ld_I_NFTYPE
I_NFNUM = ld_I_NFNUM
I_LIFNR = ld_I_LIFNR
I_DOCDAT = ld_I_DOCDAT
I_BUKRS = ld_I_BUKRS
I_BRANCH = ld_I_BRANCH
IT_RKWA = ld_IT_RKWA
IT_MSEG = ld_IT_MSEG
CHANGING
E_NFOBJNUM = ld_E_NFOBJNUM ).