Dunning program

Hi experts,
We have developped a new dunning program (a copy from the standard one but with some specific customer requests). but I can't print the dunning letters (no orser spool generated). I need to know where to find and how to affect the printing program for dunning transcation.
Can anyone help me?

Hi,
Please check if you have completed the activities to print dunning notice as mentioned below.
To schedule each dunning notice separately for printing, proceed as follows:
On the Dunning screen, choose Dunning notices à Schedule dunning notice printout.
Enter the date and time that you want the system to print the dunning notices, or alternatively choose the option to print out immediately.
Enter the four-character code for the printer and choose Enter.
If the dunning notice printout is interrupted, you can restart it. Choose Dunning notices à Restart printout.
You can have the system optically archive dunning notices as they are printed.
The text of the notice depends on how you set up the dunning program, and on the language key in the customer master record. The system suggests a printer based on the default printer in your user master record. The system first stores the notices in the spool, and then prints from the spool.
Also check the printer settings with the help of Basis consultant.
Hope this helps. Let me know if you need any other information.
Rgds
Manish

Similar Messages

  • How to enhance dunning program

    Hi,
    The requirement is to enhance dunning program to pick different address while printing dunning notice. This is based on specific conditions like dunning level etc.
    What is the dunning program which needs to be enhanced?
    How do we enhance? Any User exits/BADI/events?
    Thanks & Regards
    Kamal

    Hi,
    use trx. FIBF - Business transaction event (BTE)
    -> got to trx. bf34 - process 1705 - 1720
    and have a look here:
    Re: BTE : Business Transaction Event
    A.
    Message was edited by: Andreas Mann

  • F150 DUNNING PROGRAM

    Hi every experts,
    Could you tell me the the dunning print program and form name.
    tks very much!!!
    best regards.
    davidzhang.

    F150_DUNN_01
    F150_DUNN_02

  • Payment in dunning program

    Dear Gurus,
    We have an issue.
    My customer has a invoice of 5000. He made a payment of 4000. It is booked as partial payment.
    In my dunning run , only the invoice is getting considered but not the payment.
    How does it actually works.
    Balaji Dhanavel

    Hi Balaji,
    First check the dunning procedure assigned to the customer. And check the dunning procedure settings in FBMP if you want to understand how dunning works. Click F1 help on each field to read more about how dunning works.
    I am summarizing it briefly here. In a normal dunning procedure (if you do not select dunning for credit balance) the system checks for the net debit balance for a customer before dunning is run. So if there is a net receivable from the customer the customer will be dunned.
    There are 2 ways you can apply a payment - residual or partial. If you received a residual payment it will clear the original invoice and will create a new document for the residual amount. This will be shown on the dunning notice.
    If you did partial payment the original invoice is open with the full amount. This might be the reason for your problem.
    Regards
    Sharabh

  • Dunning Program : dunning charges

    Hello Experts,
    while dunning we can maintain dunning charges to the customer. I have defined dunning minimum charges + percentage applicable on amount for that dunning level.
    does it mean of the two, which is lower is applicable?

    percentage gets precedence over minimum fixed value. If you want fixed value to be used, don't maintain the percentage value.

  • Report F150 Dunning

    Experts i am looking for a report which shows how many dunning letters and levels a customer has received over a period of time.
    Is there any T-code or SAP tables which i can use for my reporting?
    thank you!!

    Hi Hemanth,
    Customizing:
    You can go the Transaction FBMP and add your Form name as well as the Print Program name.
    These would be call when ever you run the dunning Program.
    From the Layoutset yuo can use the  PERFORM subroutine using and changing parameters which would have the Structure ITCSY.
    The Form then needs to be present in the Driover Prpgram.
    Please let me know if this is useful.
    Regards,
    Deepak

  • Report for Dunning

    Hi Experts,
    Any one has written report for Dunning.(F150)
    Scenario: transcation code F150 can't be schedule; it's runs manually by users.
    we  need a report  same as what F150 is doing so that we can schedule in job.
    if any one knows  report for dunning ? I know fot he payment F110, there is a sap report progarm but not for Dunning(F150).
    Can anybody  suggest me ??
    Thanks in advnace for the help.
    Regards,
    Nupur

    Hi Hemanth,
    Customizing:
    You can go the Transaction FBMP and add your Form name as well as the Print Program name.
    These would be call when ever you run the dunning Program.
    From the Layoutset yuo can use the  PERFORM subroutine using and changing parameters which would have the Structure ITCSY.
    The Form then needs to be present in the Driover Prpgram.
    Please let me know if this is useful.
    Regards,
    Deepak

  • Modifying Dunning Report F150_DUNN_01 for Tcode F150

    Hi Guys,
           I need to modify the standard Dunning Report F150_DUNN_01. I copied the standard onw to Zform. I need to add windows. And am calling external subroutimes in that script. Is it possible to transfer internal table between script and external subroutine with using and changing parameters? And also please tell me how to proceed customizing.
    Thanks in Advance.
    Regards,
    Hemanth

    Hi Hemanth,
    Customizing:
    You can go the Transaction FBMP and add your Form name as well as the Print Program name.
    These would be call when ever you run the dunning Program.
    From the Layoutset yuo can use the  PERFORM subroutine using and changing parameters which would have the Structure ITCSY.
    The Form then needs to be present in the Driover Prpgram.
    Please let me know if this is useful.
    Regards,
    Deepak

  • Dunning letter

    hi experts,
    iam asked to modify one standard sapscript and respective print program of dunning letter , for fi module. for tcode f150. original object is displaying dunning letter output for each customer. when i copied the same object and tried to execute, output is nil. i activated each and every include program etc, but in vain. according to FI consultant they dont maintain application in NACE. so i dnt know how to interlink print program and sapscript, in the original print program form name is not mentioned, i dnt know how the output is displayed in the form of sapscript.
    my requirement is as follows
    The customer is sent the gentle reminder letter for the out standing balances to be received by them. When ever the dunning program is run based on the dunning procedure assigned in the customer master and the level in the customer master, F150 program should be able to print the dunning letter for the customer correspondence.
    MY STANDARD PROGRAM IS FOLLOWS
    REPORT RFMAHN20 MESSAGE-ID FM NO STANDARD PAGE HEADING.
    declaration for dunning lists
    INCLUDE RFMAHNXXTOP.
    tables declaration
    TABLES: T001.
    declaration for independend forms
    INCLUDE RFMAHNXXFORM.
    declaration
    DATA: BEGIN OF MHNK_ACC,
            KOART       LIKE MHNK-KOART,
            BUKRS       LIKE MHNK-BUKRS,
            KUNNR       LIKE MHNK-KUNNR,
            LIFNR       LIKE MHNK-LIFNR,
            KONTO       LIKE MHNK-KUNNR,
            SELKEY      LIKE SY-TABIX,
            L_INCL      LIKE F150V-L_INCL,
            HSORT1(16)  TYPE C,
            HSORT2(16)  TYPE C,
            HSORT3(16)  TYPE C,
            HSORT4(16)  TYPE C,
            HSORT5(16)  TYPE C,
          END OF MHNK_ACC.
    declaration
    DATA:   T_MHNK     LIKE MHNK     OCCURS 10 WITH HEADER LINE.
    DATA    T_MHNK_ACC LIKE standard table of MHNK_ACC
              with key koart bukrs konto  WITH HEADER LINE.
    parameters & select options
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: P_KOART FOR MHNK-KOART,
                    P_BUKRS FOR MHNK-BUKRS,
                    P_KUNNR FOR MHNK-KUNNR,
                    P_LIFNR FOR MHNK-LIFNR.
    SELECTION-SCREEN END OF BLOCK 1.
    INITIALIZATION.
      H_REPID               = SY-REPID.
      H_ACTVT               = '13'.        "display dunning history
      H_TABNAME_HEADER      = 'MHNK_ACC'.
      H_TABNAME_ITEM        = 'MHNK_EXT'.
      H_SET_PF_STATUS       = 'SET_PF_STATUS'.
      H_USER_COMMAND        = 'USER_COMMAND_0001'.
      H_VARIANT-REPORT      = H_REPID.
      H_VARIANT-LOG_GROUP   = '0001'.
      H_VARIANT-HANDLE      = '0001'.
      H_LAYOUT-DETAIL_POPUP = 'X'.
    START-OF-SELECTION.
      select the information from MHNK
      SELECT * FROM MHNK INTO  TABLE T_MHNK
                         WHERE KOART IN P_KOART AND
                               BUKRS IN P_BUKRS AND
                               KUNNR IN P_KUNNR AND
                               LIFNR IN P_LIFNR.
      build the tables for the listviewer
      PERFORM CREATE_TABLES    TABLES   T_MHNK T_MHNK_ACC T_MHNK_EXT.
    END-OF-SELECTION.
      fill the fieldcatalog
      PERFORM FILL_FIELDCAT TABLES   T_FIELDCAT
                            USING    H_TABNAME_HEADER H_TABNAME_ITEM.
      determine the keyinfo
      PERFORM FILL_KEYINFO  CHANGING H_KEYINFO.
      register the list events
      PERFORM REGISTER_EVENTS TABLES T_EVENTS.
    Check if default-variant is existing (default or user-default )
    h_variant-variant has to be empty for this check, otherwise it is
    checked whether this variant is existing.
      H_VARIANT-VARIANT = SPACE.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                I_SAVE        = 'A'
           CHANGING
                CS_VARIANT    = H_VARIANT
           EXCEPTIONS
                WRONG_INPUT   = 1
                NOT_FOUND     = 2
                PROGRAM_ERROR = 3
                OTHERS        = 4.
      IF SY-SUBRC = 2.
      default-variant not existing, therefor get variant 0
        H_VARIANT-VARIANT = '0'.
      ELSEIF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      display the list
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
           EXPORTING
                I_INTERFACE_CHECK        = ' '
                I_CALLBACK_PROGRAM       = H_REPID
                I_CALLBACK_PF_STATUS_SET = H_SET_PF_STATUS
                I_CALLBACK_USER_COMMAND  = H_USER_COMMAND
                IS_LAYOUT                = H_LAYOUT
                IT_FIELDCAT              = T_FIELDCAT[]
                IT_EXCLUDING             =
                IT_SPECIAL_GROUPS        =
                it_sort                  = t_sort[]
                IT_FILTER                =
                IS_SEL_HIDE              =
    *--              i_screen_start_column    = 5
    *--              i_screen_start_line      = 5
    *--              i_screen_end_column      = 80
    *--              i_screen_end_line        = 25
                I_DEFAULT                = 'X'
                I_SAVE                   = 'A'
                IS_VARIANT               = H_VARIANT
                  IT_EVENTS                = T_EVENTS[]
                IT_EVENT_EXIT            =
                I_TABNAME_HEADER         = H_TABNAME_HEADER
                I_TABNAME_ITEM           = H_TABNAME_ITEM
                I_STRUCTURE_NAME_HEADER  =
                I_STRUCTURE_NAME_ITEM    =
                IS_KEYINFO               = H_KEYINFO
                IS_PRINT                 =
           IMPORTING
                E_EXIT_CAUSED_BY_CALLER  =
                ES_EXIT_CAUSED_BY_USER   =
           TABLES
                T_OUTTAB_HEADER          = T_MHNK_ACC
                T_OUTTAB_ITEM            = T_MHNK_EXT
           EXCEPTIONS
                PROGRAM_ERROR            = 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.
    *&      Form  FILL_FIELDCAT
          text
         -->P_T_FIELDCAT  text                                           *
         -->P_H_TABNAME_HEADER  text                                     *
         -->P_H_TABNAME_ITEM  text                                       *
    FORM FILL_FIELDCAT TABLES TI_FIELDCAT STRUCTURE T_FIELDCAT
                       USING  I_HEADER TYPE SLIS_TABNAME
                              I_ITEM   TYPE SLIS_TABNAME.
    create the header fieldcat
      PERFORM APPEND_SEL_FIELDS  TABLES TI_FIELDCAT
                                 USING  I_HEADER.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'KOART'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-052.
      TI_FIELDCAT-SELTEXT_M     = TEXT-052.
      TI_FIELDCAT-SELTEXT_S     = TEXT-052.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-052.
      TI_FIELDCAT-REF_FIELDNAME = 'KOART'.
      TI_FIELDCAT-REF_TABNAME   = 'MHNK'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'BUKRS'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-051.
      TI_FIELDCAT-SELTEXT_M     = TEXT-051.
      TI_FIELDCAT-SELTEXT_S     = TEXT-051.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-051.
      TI_FIELDCAT-REF_FIELDNAME = 'BUKRS'.
      TI_FIELDCAT-REF_TABNAME   = 'MHNK'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'KONTO'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-050.
      TI_FIELDCAT-SELTEXT_M     = TEXT-050.
      TI_FIELDCAT-SELTEXT_S     = TEXT-050.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-050.
      TI_FIELDCAT-REF_FIELDNAME = 'KONTO'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'L_INCL'.
      TI_FIELDCAT-SELTEXT_L     =  TEXT-041.  " Kennz: Mahn. gedruckt
      TI_FIELDCAT-REPTEXT_DDIC  = 'L_INCL'.
      TI_FIELDCAT-REF_FIELDNAME = 'L_INCL'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
      clear ti_fieldcat.
      ti_fieldcat-tabname       = 'MHNK_EXT'.
      ti_fieldcat-fieldname     = 'COMP_CURR'.
      ti_fieldcat-seltext_l     = text-053.
      ti_fieldcat-seltext_m     = text-053.
      ti_fieldcat-seltext_s     = text-053.
      ti_fieldcat-ref_fieldname = 'WAERS'.
      ti_fieldcat-ref_tabname   = 'MHNK'.
      append ti_fieldcat.
    perform append_sort_fields tables ti_fieldcat
                                using  i_header h_sort_info 'H'.
    create the item fieldcat
      PERFORM APPEND_SEL_FIELDS  TABLES TI_FIELDCAT
                                 USING  I_ITEM.
    generate fieldcat
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = H_REPID
                I_INTERNAL_TABNAME     = I_ITEM
                I_STRUCTURE_NAME       = 'MHNK'
                I_CLIENT_NEVER_DISPLAY = 'X'
               i_inclname             = 'RFMAHNXXTOP'
           CHANGING
                CT_FIELDCAT            = TI_FIELDCAT[]
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
    for amounts in company currency establish link to MHNK_EXT-COMP_CURR
    so that summation in ALV is possible
      loop at ti_fieldcat.
        if ti_fieldcat-fieldname = 'SALHW' or
           ti_fieldcat-fieldname = 'FAEHW' or
           ti_fieldcat-fieldname = 'ZINHW' or
           ti_fieldcat-fieldname = 'FAMSH' or
           ti_fieldcat-fieldname = 'MHNGH'.
              ti_fieldcat-cfieldname = 'COMP_CURR'.
              ti_fieldcat-ctabname = 'MHNK_EXT'.
              modify ti_fieldcat.
        endif.
      endloop.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_ITEM.
      TI_FIELDCAT-SELTEXT_L     = TEXT-042. " 'Nur gedruckte Posten'.
    ti_fieldcat-seltext_m     = text-'Nur gedr. Posten'.
    ti_fieldcat-seltext_s     = 'Nur gedr. Post.'.
      TI_FIELDCAT-FIELDNAME     = 'L_INCL'.
      TI_FIELDCAT-REPTEXT_DDIC  = 'L_INCL'.
      TI_FIELDCAT-REF_FIELDNAME = 'L_INCL'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
    perform append_sort_fields tables ti_fieldcat
                                using  i_item h_sort_info 'H'.
    select the fields to be shown
      PERFORM HIDE_ALL_FIELDS TABLES TI_FIELDCAT USING I_HEADER.
    select the fields to be shown
      PERFORM HIDE_ALL_FIELDS TABLES TI_FIELDCAT USING I_ITEM.
    ENDFORM.                               " FILL_FIELDCAT
    *&      Form  CREATE_TABLES
          text
    -->  p1        text
    <--  p2        text
    FORM CREATE_TABLES TABLES TI_MHNK     STRUCTURE MHNK
                              TI_MHNK_ACC STRUCTURE MHNK_ACC
                              TI_MHNK_EXT STRUCTURE MHNK_EXT.
      data : begin of comp_curr,
             bukrs like mhnk-bukrs,
             waers like mhnk-waers,
           end of comp_curr.
      data bukrs_tab like comp_curr occurs 0 with header line.
    sort the table
      SORT TI_MHNK BY KOART BUKRS KUNNR LIFNR ASCENDING.
    build t_mhnk_ext
      LOOP AT TI_MHNK.
      check authority
        PERFORM CHECK_AUTHORITY USING    '13' TI_MHNK-KOART TI_MHNK-BUKRS
                                CHANGING H_AUTHORITY_OK.
        IF H_AUTHORITY_OK = SPACE.
          CONTINUE.
        ENDIF.
      save wa
        MHNK = TI_MHNK.
      create item entry
        MOVE-CORRESPONDING MHNK TO TI_MHNK_EXT.
        IF TI_MHNK_EXT-KOART = 'D'.
          TI_MHNK_EXT-KONTO = TI_MHNK_EXT-KUNNR.
        ELSE.
          TI_MHNK_EXT-KONTO = TI_MHNK_EXT-LIFNR.
        ENDIF.
        TI_MHNK_EXT-HSORT1 = <F1>.
        TI_MHNK_EXT-HSORT1 = <F2>.
        TI_MHNK_EXT-HSORT1 = <F3>.
        TI_MHNK_EXT-HSORT1 = <F4>.
        TI_MHNK_EXT-HSORT1 = <F5>.
      check if item has been printed already
        IF NOT TI_MHNK_EXT-PRNDT IS INITIAL.
          TI_MHNK_EXT-L_INCL = 'X'.
        ELSE.
          TI_MHNK_EXT-L_INCL = SPACE.
        endif.
        read table bukrs_tab with key bukrs = ti_mhnk_ext-bukrs.
        if sy-subrc <> 0.
          select single * from t001 where bukrs = ti_mhnk_ext-bukrs.
          if sy-subrc = 0.
            bukrs_tab-waers = t001-waers.
            bukrs_tab-bukrs = ti_mhnk_ext-bukrs.
            append bukrs_tab.
          endif.
        endif.
        ti_mhnk_ext-comp_curr = bukrs_tab-waers.
        APPEND TI_MHNK_EXT.
      create header entry
        MOVE-CORRESPONDING MHNK TO TI_MHNK_ACC.
        IF TI_MHNK_ACC-KOART = 'D'.
          TI_MHNK_ACC-KONTO = TI_MHNK_ACC-KUNNR.
        ELSE.
          TI_MHNK_ACC-KONTO = TI_MHNK_ACC-LIFNR.
        ENDIF.
        COLLECT TI_MHNK_ACC.
      ENDLOOP.
    determine if account has at least one printed dunning
      LOOP AT TI_MHNK_ACC.
        READ TABLE TI_MHNK_EXT WITH KEY  KOART  = TI_MHNK_ACC-KOART
                                         BUKRS  = TI_MHNK_ACC-BUKRS
                                         KUNNR  = TI_MHNK_ACC-KUNNR
                                         LIFNR  = TI_MHNK_ACC-LIFNR
                                         KONTO  = TI_MHNK_ACC-KONTO
                                         L_INCL = 'X'.
        IF SY-SUBRC = 0.
          TI_MHNK_ACC-L_INCL = 'X'.
          MODIFY TI_MHNK_ACC.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " CREATE_TABLES
    *&      Form  FILL_KEYINFO
          text
         <--P_H_KEYINFO  text                                            *
    FORM FILL_KEYINFO CHANGING E_KEYINFO TYPE SLIS_KEYINFO_ALV.
      MOVE 'KOART' TO : E_KEYINFO-HEADER01,E_KEYINFO-ITEM01.
      MOVE 'BUKRS' TO : E_KEYINFO-HEADER02,E_KEYINFO-ITEM02.
      MOVE 'KONTO' TO : E_KEYINFO-HEADER03,E_KEYINFO-ITEM03.
    ENDFORM.                               " FILL_KEYINFO
    *&      Form  SET_PF_STATUS
          text
         -->P_RT_EXTAB  text                                             *
         -->P_TYPE  text                                                 *
         -->P_SLIS_T_EXTAB  text                                         *
    FORM SET_PF_STATUS USING I_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'HIST_MAX' EXCLUDING I_EXTAB.
    ENDFORM.                               " SET_PF_STATUS
    *&      Form  USER_COMMAND_0001
          text
    -->  p1        text
    <--  p2        text
    FORM USER_COMMAND_0001 USING I_UCOMM     LIKE SY-UCOMM
                                 I_SELFIELD  TYPE SLIS_SELFIELD.
      CASE I_UCOMM.
        WHEN 'DISP'.
          PERFORM COMMAND_DISP USING I_SELFIELD.
      ENDCASE.
    ENDFORM.
    *&      Form  COMMAND_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM COMMAND_DISP CHANGING E_SELFIELD TYPE SLIS_SELFIELD.
    declaration
      DATA: TH_MHND     LIKE MHND OCCURS 10 WITH HEADER LINE,
            TH_MHNK     LIKE MHNK OCCURS 1 WITH HEADER LINE.
    determine the current line
      IF E_SELFIELD-TABNAME = H_TABNAME_ITEM.
        READ TABLE T_MHNK_EXT INDEX E_SELFIELD-TABINDEX.
        MOVE-CORRESPONDING T_MHNK_EXT TO TH_MHNK.
        APPEND TH_MHNK.
      ELSE.
        MESSAGE E481.
        EXIT.
      ENDIF.
    determine the mhnd entries for the actual mhnk
      SELECT * FROM  MHND INTO TABLE TH_MHND
             WHERE  LAUFD       = TH_MHNK-LAUFD
             AND    LAUFI       = TH_MHNK-LAUFI
             AND    KOART       = TH_MHNK-KOART
             AND    BUKRS       = TH_MHNK-BUKRS
             AND    KUNNR       = TH_MHNK-KUNNR
             AND    LIFNR       = TH_MHNK-LIFNR
             AND    CPDKY       = TH_MHNK-CPDKY
             AND    SKNRZE      = TH_MHNK-SKNRZE
             AND    SMABER      = TH_MHNK-SMABER
             AND    SMAHSK      = TH_MHNK-SMAHSK.
    change the dunning data
      CALL FUNCTION 'EDIT_DUNNING_DATA'
           EXPORTING
                I_MHNK     = TH_MHNK
                I_XDISPLAY = 'X'
           TABLES
                T_MHND     = TH_MHND
                T_MHNK     = TH_MHNK
           EXCEPTIONS
                OTHERS     = 1.
    ENDFORM.                               " COMMAND_DISP
    *&      Form  REGISTER_EVENTS
          text
         -->P_T_EVENT  text                                              *
    FORM REGISTER_EVENTS TABLES T_EVENT TYPE SLIS_T_EVENT.
    determine the events
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                I_LIST_TYPE     = 1
           IMPORTING
                ET_EVENTS       = T_EVENT[]
           EXCEPTIONS
                LIST_TYPE_WRONG = 1
                OTHERS          = 2.
    set top of page form
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_TOP_OF_PAGE.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'TOP_OF_PAGE'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    set top of list form
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_TOP_OF_LIST.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'TOP_OF_LIST'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    set end of list
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_END_OF_LIST.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'END_OF_LIST'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    ENDFORM.                               " REGISTER_EVENTS
          FORM TOP_OF_PAGE                                              *
    FORM TOP_OF_PAGE.
      PERFORM BATCH-HEADING(RSBTCHH0).
    ENDFORM.                               " TOP_OF_PAGE
          FORM TOP_OF_LIST                                              *
    FORM TOP_OF_LIST.
    *- Standardseitenkopf fuellen -
      MOVE '0'      TO BHDGD-INIFL.
      MOVE SY-LINSZ TO BHDGD-LINES.
      MOVE SY-UNAME TO BHDGD-UNAME.
      MOVE SY-REPID TO BHDGD-REPID.
      CLEAR: LINE.
      WRITE TEXT-040 TO BHDGD-LINE2.
    ENDFORM.
          FORM END_OF_LIST                                              *
    FORM END_OF_LIST.
      WRITE: / TEXT-039.
    ENDFORM
    regards
    maaya

    Hi,
    I copied your program and executed it. First of all, I dont think its a print program for any script. Its a plain ALV report program. I think you mis-understood the requirement or I totally lost the question.
    Make sure you are changing the correct program.
    Regards
    Aneesh.

  • DUNNING ERROR

    Hi Gurus,
    I've been trying to run the Dunning program(F150) for a test vendor.
    1. Created Credit Memo(FB65)
    2. Dunning Run(F150)
    Now here, after entering the parameters i tried the "Individual Dunning Notice" button.
    There,, i selected the "Print Preview" checkbox and then pressed "Test Run with Log" button
    i get the following error..
    Account K <Vendor no.> , company code ABCD is being processed
               Reading account data and document information    Phase 0
    Account K <Vendor no.> read items: 3
                Processing and completing dunning lines         Phase I
    Document YYYYYYYYYY/2008/001 has dunning block reason * .
              Check legal dunning procedure and credit memos     Phase II -
    Credit memo XXXXXXXXXX/2008/001 has new dunning level 0 . Without invoice referen
    Credit memo YYYYYYYYYY/2008/001 has new dunning level 0 . Without invoice referen
              Minimum charges and dunning interest             Phase III
                Generate dunning data                           Phase IV
    Account K <Vendor no> dunning notice/dun.level. Dunning level 0 is being processed
    Account K <Vendor no> uses dunning procedure <Dunning Procedure code>
    Account K <Vendor no> is blocked for dunning
    Acct K <Vendor no> highest dys in arrrs 0 smaller than min.arrrs 000 , no dunn.not
    No dunning data generated for account K <Vendor no> .
    Please help me out. Is there a configurational step somewhere that i've missed????
    Should i change something in the vendor master????
    PLEASE HELP

    thanks for your replies guys.
    Balaji,
    i did take off the dunning block reason(*) from the vendor master data and in the individual test run i could eliminate
    "Account K <Vendor no> uses dunning procedure <Dunning Procedure code>
    Account K <Vendor no> is blocked for dunning"
    What else can i do to avoid:
    "Acct K <Vendor no> highest dys in arrrs 0 smaller than min.arrrs 000 , no dunn.not
    No dunning data generated for account K <Vendor no>"
    Kylie,
    hi kylie, no i have never worked in Baltimore. thanks for your reply.  is there configuration step in particular that you think i could've missed, looking at the error message, particularly, "Acct K <Vendor no> highest dys in arrrs 0 smaller than min.arrrs 000 , no dunn.not"
    please help me out guys

  • Dunning form - change field data in STD form

    Dear all,
      I have a request for dunning form (ex.F150_DUNN_01).If I want to get data which can't get from table/structure MHND,F150x(ex. Sales order).I want to make a code in text element like:
    /:  SELECT * FROM VBRP WHERE VBELN = &BKPF-XBLNR&
    Is it possible to do this? else I will need to change dunning program to add this selection code...right?
    BR
    Regina

    I know that you can't do a SELECT statement in the sapscript form.  You can however do a PERFORM statement.
    You can call a subroutine of a program passing values to it and getting values back out. 
    In the sapscript.....
    /:   PERFORM 'NOT_PICKED' IN PROGRAM 'ZSD_RVADIN01'               
    /:   USING &VTRLK-VBELN&.                                         
    /:   USING &VTRLP-POSNR&                                          
    /:   CHANGING &WK_NOT_PICKED&                                     
    /:   ENDPERFORM                                                   
    Notice that the sapscript form is sending VBELN and POSNR
    and getting back WK_NOT_PICKED.
    In the program......
    form not_picked tables co_sym_using   structure itcsy
                           co_set_symbols structure itcsy.
    * Pass from layout set
      clear: wk_vtrlk_vbeln, wk_vtrlp_posnr,
    * Pass to layout set
             wk_not_picked.
    * get value of variable &VTRLK-VBELN&
      read table co_sym_using with key name = 'VTRLK-VBELN'.
      check sy-subrc eq 0.
    * convert into alpha format  (Not necessary all 10 characters used)
      wk_vtrlk_vbeln = co_sym_using-value.  "( need zero's )
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = co_sym_using-value
           importing
                output = wk_vtrlk_vbeln
           exceptions
                others = 1.
      check sy-subrc eq 0.
    * get value of variable &VBDPR-POSNR& (INVOICE Item#)
      read table co_sym_using with key name = 'VTRLP-POSNR'.
      check sy-subrc eq 0.
      wk_vtrlp_posnr = co_sym_using-value.
    * Send out "NOT"
          wk_not_picked = 'NOT'.
    **  transfer variable &WK_NOT_PICKED&
      read table co_set_symbols index 1.
      co_set_symbols-value = wk_not_picked.
      modify co_set_symbols index 1.
    endform.                    " NOT_PICKED
    Regards,
    Rich Heilman

  • Dunning letter -smartform - F150_DNN_SF

    hi all,
    am creating a smart form for dunning letter F150_DUNN_SF , we have three levels of dunning based on the past due days.
    level 1 , level 2 and level 3 and each level has its own format for print output. so basically i need to trigger three smart forms for a customer.
    I have created to three forms but functional team assigned it to the dunning level .
    now my question is how these forms are triggered by dunning level and where should i do customization based on the dunning level in order to print the corresponding format the presumption that customer will always have three dunning levels of past due invoices.
    example if there are 20 invoices past due.
    10 Invoices- dunning level 1 ---trigger smartform 1
    5 Invoices-dunning level 2 --trigger smartform 2
    5 Invoices- dunning level 3-trigger smartform 3.
    thanks
    GOVI

    The form trigger by dunning level is part of the dunning procedure configuration in the IMG.  If I understand your question correctly though, it does not make sense for one customer to have multiple dunning levels.  A customer has a single dunning level within a company.  The customer may have various balance ages but only a single dunning level, which is assigned by the dunning program based on the dunning area.

  • Inform Customers about debts due without a dunning procedure

    Hi,
    I am looking for a way to inform my customers for due futures payments without starting a dunning procedure or to programm a report.
    For example:
    A payment is due within 60 days and after 30 days I would like to send those customers a kindly reminder.
    Regards
    JP

    You need to create a custom program based leveraging from the standard dunning program.
    Or modify the statement account correspondence to include a statement that captures the amount falling due in 30 days.

  • F150 dunning prog. and Gregorian calendar-wrong interest rates calculation

    Hello everyone,
    I have a problem with F150 - dunnning program and the Gregorian Calendar. I defined a interest rate indicator and I choose Gregorian calendar - 365 days in the year but SAP calculate 360 days and the interest rates are wrong u2013 to high. I have found the OSS note 82995 - Dunning program interest calc. on 360 not 365 days u2013 but as a matter of fact there is no solution which is appropriate for me because I want to print interest along with dunning letter. Maybe you had had the same problem and maybe you found solution.
    Thank for you help
    Tom

    FSKB     G/L Account Posting
    this transaction is not working

  • Dunning Procedure assignment

    Hi,
    Dunning procedure  was done in development correct but in production
    i am getting this error.'
    in production no dunning text is their after we have transported the text from development to production but, in result it is showing transported, if we see in fbmp text their is no text their.
    After assignment of dunning procedure to customer master data
    i am getting this message
    No dunning settings have been maintained for company code 1800
    Message no. F2090
    Diagnosis
    You have tried to define dunning data in company code 1800 for the current account. Before you do this, however, you must define the company code data for company code 1800 within the dunning program configuration.
    System response
    Error message
    Procedure
    Create the company code data for 1800 within the dunning program configuration. To do this, select Envionment->Company code data within the dunning procedure maintenance.

    Hi,
    Check whether dunning text activated or not /
    Regarding to dunning text we need to activate each client
    if helpful assing points
    regards

Maybe you are looking for

  • Audio Still Scratchy When Playing video in iTunes

    Hello Again! I still have problems playing videos in iTunes. I have: Updated all video and sound drivers, tweaked the QT Settings(64khz,16bit). B Noir has been very helpful......but my problem remains unsolved. Any new ideas? Thank You!

  • Upgradephase: PREPARE, problems in IS_SELECT

    Hello, we are doing an upgrade from 4.6C to ECC 6.0 Now just during Prepare in phase IS_SELECT we ran on a problem. Prepare found an addon ST 02C (I admit that's really an old one). But the "delete" option is not available. In case we do nothing, pre

  • Sbt__rpc_cat_query: Query for piece 1ujb3oqb_1_1 failed

    Hi, Currently I'm trying to run Oracle database backup using EM database control and OSB. I have configure library and tape drive in OSB and also created new job in EM to backup the database. But when I run the job it end up with the following error

  • Can only import non-iTune songs

    I have a new XP computer and want to import via CDs from older computer. Do not get import option for CD with iTunes songs, but do get it for non-iTunes CDs. Apple documentation says transfer of iTunes to a certain number of authorized computers is l

  • Cinepak option disappeared

    My Cinepak compression option disappeared for the AVI export option in iMovie HD 6. Does anyone know how I can get it back? I seem to have no choice but to export to AVI because the clips will be used in Powerpoint by Windows users, and Cinepak files