SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

bill document create ISU utility.

Former Member
0 Kudos

Hi All,

Can anybody tell me how to create a bill document in ISU through the function module.or any function module name which is create bill document no in isu.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

Refer the FM ISU_S_BILLDOCUMENT_DI.

For details information refer the avialble documentation.

BR,

Rajani

View solution in original post

5 REPLIES 5

Former Member
0 Kudos

HI,

Refer the FM ISU_S_BILLDOCUMENT_DI.

For details information refer the avialble documentation.

BR,

Rajani

0 Kudos

Hi

ISU_S_BILLDOCUMENT_DI is not working...

I have this value.

ABRDATS

FIKEY

VKONT

BLDAT

table : ever..

but this function module is totally different.

I have one function module ISU_BILL_INVOICE_PRINT_ACC .

it is create bill but not don invoice .

0 Kudos

ISU_TRIGGER_BILLING_EXECUTE - is the FM thats used by EASIBI to generate a billing document..

Edited by: Yuvi_Guru on Jul 21, 2010 8:31 AM

0 Kudos

have a look at BOR object BILLDOCAUT - method create exists and might suit your needs.

regards,

bill.

0 Kudos

Hi All

Please Use this function module. It is work properly .

CALL FUNCTION 'ISU_FIKEY_DEFAULT'

EXPORTING

x_herkunft = l_c_herkf

IMPORTING

y_fikey = l_c_fikey

EXCEPTIONS

no_fikey_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

IF l_c_fikey IS NOT INITIAL.

*creating Bill document , invoice document .

CALL FUNCTION 'ISU_BILL_INVOICE_PRINT_ACC'

EXPORTING

x_abrdats = l_d_termerst

x_fikey = l_c_fikey

x_vkont = f_vkonto

x_bldat = l_d_termerst

x_budat = l_d_termerst

x_proclevel = lc_proclevel

IMPORTING

y_billed = l_c_bill

y_invoiced = l_c_invoice

  • y_printed =

y_opbel = l_c_opbel

yt_belnr = ls_ibelnr

TABLES

xt_ever = li_spart

yt_lognumber = li_log

EXCEPTIONS

general_fault = 1

OTHERS = 2

.