SAP ISH_BILLING_CREATE Function Module for









ISH_BILLING_CREATE is a standard ish billing create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ish billing create FM, simply by entering the name ISH_BILLING_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: N086
Program Name: SAPLN086
Main Program: SAPLN086
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_BILLING_CREATE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ISH_BILLING_CREATE'"
EXPORTING
IS_RNAB0 = "Billing Parameters
I_POSTING = "Update
I_FALNR = "IS-H: Case Number
I_ACT_VISIT = "
* I_ACT_TC = "
* I_COMMIT_EXECUTE = 'X' "
* I_SET_FINAL_BILL = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

IMPORTING
E_SUBRC = "Return code
E_COMMIT_EXECUTE = "

CHANGING
XS_FKOMK = "
X_GES_ANZ_I = "Number of Invoices

TABLES
XT_FKOMP = "
ET_IXVBFS = "
ET_XVBRP = "
ET_IXVBRP = "
ET_XVBRK = "
ET_IXVBRK = "
XT_XNKOMV = "
XT_IXNKOMV = "
ET_MSGTAB = "Message Collector
ET_NNRL = "
.



IMPORTING Parameters details for ISH_BILLING_CREATE

IS_RNAB0 - Billing Parameters

Data type: RNAB0
Optional: No
Call by Reference: Yes

I_POSTING - Update

Data type: C
Optional: No
Call by Reference: Yes

I_FALNR - IS-H: Case Number

Data type: NFAL-FALNR
Optional: No
Call by Reference: Yes

I_ACT_VISIT -

Data type: NBEW
Optional: No
Call by Reference: Yes

I_ACT_TC -

Data type: KS_BELNR
Optional: Yes
Call by Reference: Yes

I_COMMIT_EXECUTE -

Data type: ISH_ON_OFF
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_SET_FINAL_BILL - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_BILLING_CREATE

E_SUBRC - Return code

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

E_COMMIT_EXECUTE -

Data type: ISH_ON_OFF
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISH_BILLING_CREATE

XS_FKOMK -

Data type: RNFK1
Optional: No
Call by Reference: Yes

X_GES_ANZ_I - Number of Invoices

Data type: I
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISH_BILLING_CREATE

XT_FKOMP -

Data type: RNFP1
Optional: No
Call by Reference: No ( called with pass by value option)

ET_IXVBFS -

Data type: VBFS
Optional: No
Call by Reference: No ( called with pass by value option)

ET_XVBRP -

Data type: VBRPVB
Optional: No
Call by Reference: No ( called with pass by value option)

ET_IXVBRP -

Data type: VBRPVB
Optional: No
Call by Reference: No ( called with pass by value option)

ET_XVBRK -

Data type: VBRKVB
Optional: No
Call by Reference: No ( called with pass by value option)

ET_IXVBRK -

Data type: VBRKVB
Optional: No
Call by Reference: No ( called with pass by value option)

XT_XNKOMV -

Data type: KOMV
Optional: No
Call by Reference: No ( called with pass by value option)

XT_IXNKOMV -

Data type: KOMV
Optional: No
Call by Reference: No ( called with pass by value option)

ET_MSGTAB - Message Collector

Data type: MESG
Optional: No
Call by Reference: No ( called with pass by value option)

ET_NNRL -

Data type: NNRL
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISH_BILLING_CREATE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_subrc  TYPE SY-SUBRC, "   
lv_is_rnab0  TYPE RNAB0, "   
lv_xs_fkomk  TYPE RNFK1, "   
lt_xt_fkomp  TYPE STANDARD TABLE OF RNFP1, "   
lt_et_ixvbfs  TYPE STANDARD TABLE OF VBFS, "   
lt_et_xvbrp  TYPE STANDARD TABLE OF VBRPVB, "   
lv_i_posting  TYPE C, "   
lv_x_ges_anz_i  TYPE I, "   
lv_e_commit_execute  TYPE ISH_ON_OFF, "   
lv_i_falnr  TYPE NFAL-FALNR, "   
lt_et_ixvbrp  TYPE STANDARD TABLE OF VBRPVB, "   
lt_et_xvbrk  TYPE STANDARD TABLE OF VBRKVB, "   
lv_i_act_visit  TYPE NBEW, "   
lv_i_act_tc  TYPE KS_BELNR, "   
lt_et_ixvbrk  TYPE STANDARD TABLE OF VBRKVB, "   
lt_xt_xnkomv  TYPE STANDARD TABLE OF KOMV, "   
lv_i_commit_execute  TYPE ISH_ON_OFF, "   'X'
lt_xt_ixnkomv  TYPE STANDARD TABLE OF KOMV, "   
lv_i_set_final_bill  TYPE ISH_ON_OFF, "   SPACE
lt_et_msgtab  TYPE STANDARD TABLE OF MESG, "   
lt_et_nnrl  TYPE STANDARD TABLE OF NNRL. "   

  CALL FUNCTION 'ISH_BILLING_CREATE'  "
    EXPORTING
         IS_RNAB0 = lv_is_rnab0
         I_POSTING = lv_i_posting
         I_FALNR = lv_i_falnr
         I_ACT_VISIT = lv_i_act_visit
         I_ACT_TC = lv_i_act_tc
         I_COMMIT_EXECUTE = lv_i_commit_execute
         I_SET_FINAL_BILL = lv_i_set_final_bill
    IMPORTING
         E_SUBRC = lv_e_subrc
         E_COMMIT_EXECUTE = lv_e_commit_execute
    CHANGING
         XS_FKOMK = lv_xs_fkomk
         X_GES_ANZ_I = lv_x_ges_anz_i
    TABLES
         XT_FKOMP = lt_xt_fkomp
         ET_IXVBFS = lt_et_ixvbfs
         ET_XVBRP = lt_et_xvbrp
         ET_IXVBRP = lt_et_ixvbrp
         ET_XVBRK = lt_et_xvbrk
         ET_IXVBRK = lt_et_ixvbrk
         XT_XNKOMV = lt_xt_xnkomv
         XT_IXNKOMV = lt_xt_ixnkomv
         ET_MSGTAB = lt_et_msgtab
         ET_NNRL = lt_et_nnrl
. " ISH_BILLING_CREATE




ABAP code using 7.40 inline data declarations to call FM ISH_BILLING_CREATE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single SUBRC FROM SY INTO @DATA(ld_e_subrc).
 
 
 
 
 
 
 
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
 
 
 
 
 
 
 
DATA(ld_i_commit_execute) = 'X'.
 
 
DATA(ld_i_set_final_bill) = ' '.
 
 
 


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!