CREATE_NF_HEADER SAP Method Create NF header called from MAP_DATA_TO_NF
Below is documentation, parameters and attributes of ABAP Method CREATE_NF_HEADER 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_HEADER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_NF_HEADER
.Name | Type | Data Type | Description | Default Value |
IS_J_1BAA | Importing | TYPE J_1BAA | Nota Fiscal type | |
I_BRANCH | Importing | TYPE J_1BBRANC_ | Business Place | |
I_BUKRS | Importing | TYPE BUKRS | Company Code | |
I_DOCDAT | Importing | TYPE J_1BDOCDAT | Document date | |
I_NFNUM | Importing | TYPE J_1BNFNUMB | Nota Fiscal Number | |
I_NFTYPE | Importing | TYPE J_1BNFTYPE | Nota Fiscal Type | |
I_PARID | Importing | TYPE LIFNR | Account Number of Vendor or Creditor | |
I_PSTDAT | Importing | TYPE J_1BPSTDAT | Posting date | |
I_SERIES | Importing | TYPE J_1BSERIES | Series | |
I_SUBSER | Importing | TYPE J_1BSUBSER | Sub series | |
I_WAERK | Importing | TYPE WAERS | Currency Key |
Exceptions of Method CREATE_NF_HEADER
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_IS_J_1BAA TYPE J_1BAA,
lv_I_BRANCH TYPE J_1BBRANC_,
lv_I_BUKRS TYPE BUKRS,
lv_I_DOCDAT TYPE J_1BDOCDAT,
lv_I_NFNUM TYPE J_1BNFNUMB,
lv_I_NFTYPE TYPE J_1BNFTYPE,
lv_I_PARID TYPE LIFNR,
lv_I_PSTDAT TYPE J_1BPSTDAT,
lv_I_SERIES TYPE J_1BSERIES,
lv_I_SUBSER TYPE J_1BSUBSER,
lv_I_WAERK TYPE WAERS,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_NF_HEADER(
EXPORTING
IS_J_1BAA = lv_IS_J_1BAA
I_BRANCH = lv_I_BRANCH
I_BUKRS = lv_I_BUKRS
I_DOCDAT = lv_I_DOCDAT
I_NFNUM = lv_I_NFNUM
I_NFTYPE = lv_I_NFTYPE
I_PARID = lv_I_PARID
I_PSTDAT = lv_I_PSTDAT
I_SERIES = lv_I_SERIES
I_SUBSER = lv_I_SUBSER
I_WAERK = lv_I_WAERK ).
Links to Related Class(s)
J1BCONSI...Full list of available SAP object classes
Search for further information about these or an SAP related objects