Skip to Content
avatar image
Former Member

bill document create ISU utility.

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 21, 2010 at 07:17 AM

    HI,

    Refer the FM ISU_S_BILLDOCUMENT_DI.

    For details information refer the avialble documentation.

    BR,

    Rajani

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member William Eastman

      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

      .