Customer correspondence

hi gurus
when i am generating customer balance confirmation report; it is picking all the customers within that range. my problem is for ZERO BALANCE customers also report is getting printed. to avoid this what i have to do?
kindly help me in this regard
Thanks&regards
Satish

Hi Satish,
Which Transaction code you are using for customer balance confirmation report.
However you can use transaction code FD10N for customer balances.
or use transaction code  FBL5N for Customer line item level  and select open items then execute.
Thanks&regards
Haribabu

Similar Messages

  • Customer Correspondence Telephone Number Mismatch

    Dear All,
    We have generating Customer Open item list from FBL5N, The one which is generating with correct Telephone number and the one which is going through fax to customer is showing incorrectly.
    Could you please help me with that.
    Thanks,
    Hari.

    Hi Anil,
    Thanks for your response.
    The correspondence goes from f.27 automatically and one we generate in system it showing correct number and one which is going to customer it's showing incorrect number.
    I don't think so that we need to do change something from FBZP since this was a customer correspondence.
    Could you please advice.
    Thanks,
    Hari.

  • Need help for Customizing Correspondence Management

    Hi,
    Could anyone provide me some documents or reference links which will be helpful for Customizing Correspondence Management in ES4?
    Many Thanks!!

    Hi Santosh,
    Sorry for the late reply.
    I have a XDP file having both static and dynamic content. I need to populate the dynamic content with some value which I will be getting from the XML which is stored in the body of the SOAP request. I want the letter to be generated dynamically (like no user selection of XML etc) because I want to avoid manual input in the correspondence management.
    Could you please let me know if the above can be achieved. If yes, could you please provide any useful stuff related to above requirement.
    Many Thanks!!!

  • Problem in customer correspondence request

    Hi All,
    For a customer, in FBL5N, I go to environment>Correspondence>Request. Then I go to Display. The form is displayed. When I want to come back, there are 2 errors
    FB815 - Possibly errors due to doc.reorg.in co.code XXX acct type D acct XXXXX ; check
    FB826 - Output of correspondence XXX(correspondence type) XXX (company code) D (account type) XXXXXX (customer number) 0000 SRIDHAR 20101026 131753 for acct type/acct D
    Can anyone please throw light on this?
    Thanks,
    Lakshmi

    Hi Siva Kumar,
    You can reset the status of that transport.
    Select the transport (which is showing the running status) -> Go to the import monitor -> right click the truck symbol and delete it.
    Best Wishes.

  • Re: Customer correspondence type to see a particular document that i posted

    I have created a correspondence type and assigned report variant to it and configured all steps in IMG. when i went to FBL5N and bring correspondence and go to F.61 i was able to see all type of transactions that i sold to a particular customer ( which i dont want to see in the invoice). I just like to see that particular material that i sold to a customer ( i mean that i like to see only particular transaction or document no). can anyone please tell me how to see that.
    It is very urgent....
    I will assign points for anyone who is going to help in this situation.....

    Hi All!
    I did all the IMG steps for correspondence. Assigned print program and report variant to it. When i posted a document using transaction F-92, i dont see correspondence over here. But i need to get the invoice for each sale of a customer using the correspondence i created. Let me know if made any mistake. Please help me ASAP..............
    Edited by: Sunita Verma on Mar 17, 2008 6:39 PM

  • Send customer correspondence via email

    Hi there,
    I hope you can help me out:
    I want to send the customer's correspondences for example the open item list via email. But the field "send email" is greyed out. Can you please tell me where I can customize this or what I have to do to have this function active?
    The system is ECC 6.0 Release 600
    Thank you in advance,
    Best regards
    Sven

    Hi,
    Please check the below wiki and thread:-
    [http://wiki.sdn.sap.com/wiki/display/BPX/BusinessTransactionEvents-ProcessInterface-Event00001040-customerimplementationfordunningnoticeviaemail]
    [Re: How to send correspondence through E-mail;
    Regards,
    Gaurav
    Edited by: Gaurav Aggarwal on Jan 14, 2011 4:14 PM

  • Creating custom correspondence forms for external confirmations

    Hi gurus,
    could you please share your experience, what is the possible solution to create custom external correspondence forms -  confirmations for Business partners or modify the template,  like the one pre-delivered by SAP - F_TR_CONFIRM_ALL.
    my client need confirmations for those financial transactions:
    u2022     Fixed interest bonds;
    u2022     Variable interest bonds;
    u2022     Repos;
    u2022     Interest rate swaps (IRS);
    u2022     Securities lending;
    u2022     Deposits.
    Thanks for your input.
    Rgds,
    Renatas

    Hi,
    The correspondence function provided by SAP is freely definable, and can be assigned with any other custom made forms as well. You may need to develop a new form script by copying existing standard form and make changes as per your specific requirment and assign the same at spro--correspondence area against respective transaction activity.
    Please note, while developing new forms, and if those are assigned for automatic print processing, any inconsitency in the form may lead to runtime error while creating transactions (FTR_CREATE).
    Regards
    Prasad AV

  • Customer correspondence through email

    Hi experts,
    Anyone has any inputs/pointers on how to generate AR correspondence, such as balance confirmation, statement of account, etc through E-mail?
    Any inputs on this regard would be highly appreciated.
    Thanks,
    Shiv

    Start of by reviewing the IMG activities in Finacial global settings.
    Correspondence
    In the following activities, you make the settings for correspondence with your business partners and for internal purposes.
    The correspondence function in the standard system is set up for mailing letters. To fax or e-mail correspondence, see the activity Develop enhancements for correspondence.
    Correspondence includes:
    Payment notifications
    Account statements
    Bill of exchange charges statements
    Internal documents
    Individual letters
    Document extracts
    Balance confirmations
    First you make the fundamental specifications for the aforementioned correspondence types in the following activities.  Specific definitions for each correspondence type are made at other points in the IMG.
    SCOT sends them out. Once you have your email server set up at any list, report etc you create you can select send and then you go to business workplace and it can then be emailed.

  • AR Correspondence - Linking Form ID to Correspondence type

    Hi SAP Gurus,
    Can anyone let me know how to link a Form ID to a correpondence type in Accounts Receivable. Is it through report variant?
    This is what I have done so far,
    Under SPRO>Accounts Receivable and Accounts Payable>Customer Accounts>Line Items>Correspondence>Make and Check Settings for Correspondence
    1. Defined three custom correspondence types.
    2. Assigned the same program "RFKORD11" for the three correspondence types. However I assigned three different variants for them.
    3. Assigned three different custom forms for the same program RFKORD1, with three Form IDs.
    The question I have is how to link form IDs to the correspondence types. Is it through report variant? if yes, where do I assign the Form ID in the variant. I tried the program RFKORD11 under SE38; but could not find the field to assign the form ID.
    Thank you,
    Ram

    Hello,
    You can find the Customizing path to the correspondence under:           
    Financial Accounting -> Financial Accounting Global Settings ->          
    Correspondence.                                                                               
    The creation of correspondences is controlled via the correspondence     
    type. Each correspondence type is assigned a print report as well as     
    a variant of this report (caution: correspondence type and variant       
    often have the same name but are completely different things). The       
    forms are then assigned to the individual print reports. The balance     
    confirmation uses no correspondence types.                                                                               
    o  Customizing: Assign Programs for Correspondence Types (V_T048B,       
        transaction OB78)                                                                               
    In this table, you can assign a print report and the                  
        corresponding variant to each correspondence type. If a               
        correspondence type has been assigned to a company code, this         
        correspondence type has priority.           
        The following correspondence types are delivered in the standard      
        system: SAP01 - SAP18, SAP50 - SAP58, SAP60 and other                 
        country-specific correspondence types such as SAPQ1, SAPJ1 and so     
        on.                                                                               
    o  Customizing: Define Form Names for Correspondence Print               
        (V_001F_B)                                                                               
    In this table, you can assign a form to each print report. You        
        can make a division per print report ID according to a form ID.       
        The ID form corresponds to the form set specified in the variant.                                                                               
    If a form is assigned to a print report for a certain company         
        code, this has priority.                                              
    CoCd   Corr.type   Print report  Variant  F-ID    Form                                                                               
    SAP06       RFKORD10      SAP06            F140_ACC_STAT_01     
            SAP08       RFKORD10      SAP08            F140_ACC_STAT_01     
            ZABC        RFKORD10      ABC08     AB     Z140_ACC_ABC         
    1000   SAP08       ZFKORD10      ZAP08            Z140_ACC_D3                                                                               
    Alternatively, you can find out the print report by calling the ABAP 
       debugger. The alternative for finding out the used form is calling   
       the SAPscript debugger. You can activate the SAPscript debugger in   
       transaction SE71 under 'Utilities -> Activate debugger'.             
    Standard formats  for RFKORD11 are:
    SAP13 Customer statement (single statement)   RFKORD11 F140_CUS_STAT_02 
    SAP14 Open item list with pmt advice (single) RFKORD11 F140_CUS_STAT_02 
    SAP16 Open item list with pmt advice (assoc.) RFKORD11 F140_CUS_STAT_04
    You can select the form on the variant in the option "Form set".
    REgards,
    REnan

  • Customer Statements in Foreign Language

    Hello,
    Trying to get a printout in the Language of the Customer(Correspondence - Customer statement) specifically form F140_CUS_STAT_01. Cannot seem to get anything to work. Doesn't matter what language at this point just need to show the functionality. Can anyone guide me in the right direction?  
    Thanks,
    Justin

    Hello
    Go to define correspondence under accounts receivable and make the related settings for your company code.
    a. assignment of program to your company code
    b. assignment of form to your company code
    c. maintain the correspondence type in the customer master
    Regards
    anantha

  • Where to Record Correspondence Notes on AR Customers

    Hi -
    We are reviewing FI-AR to see where we have legacy system functionality for what we call Customer Notes Maintenance.  Credit analysts record notes from their discussions with customers when making collection inquiries, etc. on their accounts.  Sort of like a written diary of their communications with the customers.
    I am having trouble seeing any such functionality within FI-AR but since we are not implemented yet it is possible I just don't know where to look.  I did not look at FSCM because that is not considered part of our scope at this time - but if that is the only place for such activity do we need to reconsider?
    Thanks for any feedback.

    Hello Wayne,
    You can maintain Customer Correspondence notes in two ways in FI-AR.
    1. While Posting an invoice to the customer (using FB70), you can mention the customer correspondence under NOTES tab.
        Here you also have an option of uploading a file.
    2. You can maintain required notes in the customer master data.
         From Menu Bar --> Extras --> Texts
         Pre-requisite for entering the notes in customer master data is Creating Text IDs using transaction OBT2.
         You can use standard Text ID or user defined text ID.
    This will help you....
    Regards,
    Praisty

  • Issue with DEBMAS IDoc,not all fields are reflected in the IDoc Seg E1KNB1M

    For IDoc type DEBMAS, there is a segment E1KNB1M. This segment is relate to the customer correspondence details (XD02 -> company code data -> Correspondence).
    For any change to the customer master a DEBMAS IDoc is triggered which has data in segments including the E1KNB1M.
    In my case for few customers, the not all fields in the segment E1KNB1M contain data. Few fields contain data but the rest are filled with u2018\u2019. This is happening only in the production system, for the same customer in the quality system the data is there as required.
    I checked in debugging, and found that the data is correctly passed to the segment in program SAPLVV01 Include LVV01F01. And the segment contains data till the IDoc is triggered.  I.e. the fields are not getting cleared at any point.
    Can anyone suggest what is happening and how to fix this? Please note that the issue is only in the production system and not in the quality system ( for the same customer).

    BTT... Need some help on the above

  • Down Payment Report (SAP Std)

    Is there any SAP Standard Report available for viewing the different down payments paid and final payment by the customer in case of milestone billing?
    Plz help.
    Regards,
    Anbu

    Hi,
    I am not sure if any specific this kind of report is avialable.Try if the following works for you
    /R
    Controlling Total Debit/Credit bkgs - F.03
    Generate FI Account balance - F.08
    Generate Month-to-date Inv. register - F.02
    Process payments - FBZ1
    Rqst Individual Customer Corresp. - FB12
    Generate Customer Correspondence - F.61
    Enter Batch totals under Control ttl - FB07
    Display G/L Acct. totals - FBL3N
    Reverse Posted Amounts - FB08
    Customer Refunds - FBL6
    Customer Refund to other than Payer - FB05
    Clearing Debit/Credit on Cust. acct. - FB1D
    Customer Balance in Local Currency - F.23
    G/L Account Balance Report - F.08
    Create Invoice - legal entity adjust - FB01
    Generate Cust. Acct. statements - F.27
    Generate Dunning Letters - F150
    Generate Billing Due List - VF04
    Generate Blocked Billing Doc list - VFX3
    Inq. via Credit Release Screen - VKM1
    List orders by partner - VA05
    Past Due invoices by customer - FD11
    Check number info by G/L account - FBL3N
    Display customer Line items - FBL5N
    Reward points if useful
    Regards,
    Amrish Purohit

  • 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.

  • Printing a noted item

    Hi, all!
    We have a problem with printing a noted item.
    In transaction FB03 I request correspondence (custom correspondence type ZZZ) for the customer downpayment request (a noted item), and the system creates the request.
    When I try to print the requested correspondence with transaction F.64,
    I receive two error messages
    FB548 "No output of the correspondence" and
    FB556 "Doc. 1000 0800000000 2007 is a noted item; no output", and
    the correspondence is not printed.
    All IMG settings for the correspondence type ZZZ are maintained.
    We use a custom developed print program, which was copied from RFKORD50. However, I received same error messages when I tried to print a customer downpayment request in IDES with a standard RFKORD50.
    Please advise, how could we solve this problem.
    Thank you in advance!

    Hi Vitold Zanevskij ,
    I am getting the same error when trying to print a credit memo using F.64.
    It will be a great help if you can let me know the solution for this problem.
    and how did you solve this.
    Will assign good points.
    Thanks

Maybe you are looking for

  • 1 line item in the sales order ship to different shipping address

    Hi, Our customer A have 3 different branches (meaning 3 different shipping address). During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A: 10pc to address A1 20pc to address A2 20pc to address A3 In my sales

  • Cant get adobe air update off my computer, i stopped the download and now it won't go away

    Help me get adobe air download off my computer. I stopped it and don't want it to download...prompt on my screen will not go away

  • DM 3.0.0.665: Disabled flag "Engineer To" is not saved

    Hi, I disabled the flag "Engineer To" for a table in the logical model in the Entity Properties and saved the changes. When I now engineer the logical to the relational model, the table is not taken into the relational model. But after closing and op

  • Search Error in Compiled WebHelp

    I am using RoboHelp X5.02. When the WebHelp system is placed on the web server, and a user attempts to use the search feature, the results only say "Searching..." and a message appears in the status bar: "Error on page." For at least two years the se

  • The new firmware V30.0.019 of N82

    Guys please advice me in this thread that what's new in this FW? V10.0.046-V30.0.046 Please tell me in detail whats main changes made in this FW? Is is a good decision to update my phone to V30? Please guide me.. Please reply for my posts also! Thank