Change account group for GR55 report using GS02

Hi All,
How do I change the account group at GS03? My account group is PESB_1050 for Facilities Costs and I can display the G/L fot that group using GS03. I need to add new G/L for account group PESB_1050 (for report GR55). I've tried to change from GS02 but the account group is not exist because it not set ID. Kindly advice..
Thanks in advance

Hi Eli,
I've tried to change at GS02, but I got this error mssg 'Set PESB_1050 does not exist'.
At GS03, I keyed in PESB_1050 at Set ID field and <enter> then I can see the value (GL acnt) inside the PESB_1050. Account group is PESB_1050. Any idea how to change (delete/add GL) the value for that account group?
Thanks in advance

Similar Messages

  • Prerequisite to change Account group for a Vendor

    Hi,
        I want to change the Accout group for the particular vendor. What are the things, i need to modify before changing the account group for the same.

    Hi,
      While changing the Account group from 0001 to 0002. But 0001 is having Purchasing data whereas 0002 is not having. Like that , Is there any restrictions??
    I got the problem like
    " Partner function OA is not available at level.Purchasing organization in schema"

  • Re: change account group for vendor

    hi expert,
    i done the same which you mention in earlier form. i manage to change the account group for vendor master.
    now there is an another thing came out that is for normal vendor i able to change the account group but there is another vendor which is one time vendor means for vendor i am going to from normal vendor account group to one time account selected account group so in this case when i am changing the group in xk07 the system is saying a following message.
    new account group xxx is one-time group: change not permitted.
    message no.F2692
    so if anybody face the same problem give me your inputs.
    thanks in advance,
    kk.

    Hi KK,
    For normal vendors, you cannot change the account group to 'One time vendor' group. The one time vendor group will have most of its felds suppressed in the master data. You have to enter the Name, address etc. only at the time of invoice posting.
    But your normal vendor will have the name and address details in the master data itself. So, there will be inconsistency in the field status of the normal vendor account and the one time vendor account.
    Hence, the system may not allow you to change the vendor group.
    Regards,
    Mike

  • Error while changing Account Group for Prospective Customer

    Dear All,
    I am getting an error when the account group of a prospective customer needs to be changed to Sold to Party
    The planned change is not allowed as the following groups would be masked by the new account group,
    S      Group                    Group Name             M                 Group Name
    V       D315                    Shipping                   030              Rail Specifications.
    Please let me know what is the reason for this error and as per my knowledge even if the no range is different for both these partner functions the system should allow me to change the account group however the earlier no given to prospective customer will still exist even if the prospective customer number is changed to sold to party please let me know otherwise.
    Kind Regards
    Atul

    Hi,
    Go to KOH2
    Select the order by pressing F9. Now place the cursor where you want to put the order group. i.e on same level or Lower level.
    Regards,
    Jigar

  • Want to change ACCOUNT GROUP to BP from CRM to ECC

    Hi All,
    We would like to change the Account group of our (Inside/Outside sales persons) when they are replicating from CRM to ECC.  We did change the PIDE setting according to our requirement but surprisingly 10-12 BPs are not getting changed. We opened an OSS and they suggested to write a Z function module and
    registering it in the table CRMC_BUT_CALL_FU for the CRM OUTBOUND which HARDCODES the CLASSIFICATION DATA to the BP in accordance with the PIDE settings so as to get the ACCOUNT GROUP for these BPs.
    I checkede the tcode CRMC_BUT_CALL_FU for the CRM OUTBOUND where we need to place our own FM. I know to write a FM, but not quite sure how to start. Can anyone out there please help me with this.
    Any suggestions are highly appreciated.
    Thanks,
    Karuna.

    I was able to change the account status from EXPIRE(GRACE) to OPEN. The trick as you hint at is to create a temporary profile, assign that profile to the account in question, saving the password from dba_users first, changing the password, logging in with the new password, then alter the user assigning back the original password with the identified by values clause in the later user statement and lastly assigning the original profile, either DEFAULT or custom.
    Here is the temp profile I used which used values less than 1 for the critical limits involved here. Cannot have limit values less than 1 in 9i according to Oracle but you can in 10g.
    CREATE PROFILE "TEMP_PROFILE" LIMIT CPU_PER_SESSION DEFAULT
    CPU_PER_CALL DEFAULT
    CONNECT_TIME DEFAULT
    IDLE_TIME 15
    SESSIONS_PER_USER DEFAULT
    LOGICAL_READS_PER_SESSION DEFAULT
    LOGICAL_READS_PER_CALL DEFAULT
    PRIVATE_SGA DEFAULT
    COMPOSITE_LIMIT DEFAULT
    PASSWORD_LIFE_TIME .0001
    PASSWORD_GRACE_TIME 5
    PASSWORD_REUSE_MAX 1
    PASSWORD_REUSE_TIME .0001
    PASSWORD_LOCK_TIME .0103
    FAILED_LOGIN_ATTEMPTS 3
    PASSWORD_VERIFY_FUNCTION DEFAULT;
    Thanks for your help.

  • Issue in changing Account Group of a Customer

    Dear Gurus,
    I am trying to change the Account Group of a Sold to Party in XD07, from '0001' to 'Z001' (an exact copy of '0001'), but the system is giving an Error message "Change of account group not possible; customer used in SD documents".
              '0001' = Sold to Party
              'Z001' = Non Operative Customers (who are not dealing with us now)(Same number range, same fields / values)
    I checked and made sure there are no open docs against his name and his account has Zero balance. The Customer is not having any Blocks. Still system is giving the Error message, now what to do?
    Best Regards.
    Venkat - Hyd

    Account Group
    Maintain Number Range for Account Group
    Use
    The purpose of this activity is to control number range of Account Group.
    Procedure
          Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New)  Accounts Receivable and Accounts Payable  Customer Accounts  Master Data  Preparations for Creating Customer Master Data  Create Number Ranges for Customer Accounts  Select the Icon to maintain Number Range
    Transaction Code:     SPRO
    Data to be maintained:
    No | From | To | Current No | Ext (Tick in Check Box)
    01 | 0000000001 | 0000099999 | 0 | No
    02 | 0000100000 | 0000299999 | 0 | No
    XX | A | ZZZZZZZZZZ | Yes
    Assign Number Range to Account Group
    Use
    The purpose of this activity is to maintain number range of Account Group.
    Procedure
          Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New)  Accounts Receivable and Accounts Payable  Customer Accounts  Master Data  Preparations for Creating Customer Master Data  Assign Number Ranges to Customer Account Groups
    Transaction Code     SPRO
          Data to be maintained:
    Group | Name | Number Range
    0001 | Sold-to party | XX
    0002 | Goods recipient | XX
    0003 | Payer | XX
    0004 | Bill-to party | XX
    Define Account Groups with Screen Layout (Customers)
    Use
    In this step, you determine the account group of the customer.
    Procedure
    Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New)  Accounts Receivable and Accounts Payable  Customer Accounts  Master Data  Preparations for Creating Customer Master Data  Define Account Groups with Screen Layout (Customers)
    Transaction Code     SPRO
    The groups indicated below are a few examples. There are many groups in Standard SAP & if we require additional Group, it can be copied from appropriate group & maintained.
    Group | Name
    0001 | Sold-to party
    0002 | Goods recipient
    0003 | Payer
    0004 | Bill-to party
    0005 | Prospective customer
    0006 | Competitor
    Select Sold-to-party  go to Details  Double Click on General data / Company code data / Sales data. It will take to next screen which details Tab Pages of General data / Company code data / Sales data. Double Click on Tab Page for example: Address, Control, Marketing & so on. Here you can maintain whether the field is to be Suppress, Req. Entry, Opt. entry or Display
    Regards,
    Rajesh Banka

  • Authorization-check in company code for GR55 reports

    Hi to all!
    Created User: ZTESTUSER
    The scenario is this.
    We created a report in GR55(Report Painter) and we want users (ex. ZTESTUSER) to access only company codes 7000 to 7999. How will I be able to do that?
    I am thinking of creating a role or profile then assign it to the user, but I was not be able to locate an authorization object for GR55 reports.
    The authorization object in GR51 is not doing what we want. It only control the create/change/display and execution transactions.
    I tried using validation in GGB0 but I can't find a parameters where the GR55 reports will be checked so the users will be limited by company code.
    Can somebody help me?
    Thanks a lot.

    I programmed a company code check for a report like this.
    ===========================================================
    data: lv_text(4) type c.
      if p_bukrs is not initial.
        select single * from T001
                      where bukrs = p_bukrs.
        if sy-subrc <> 0.
          message e321(FR) with p_bukrs.
        endif.
        AUTHORITY-CHECK OBJECT 'F_SKA1_BUK'
        ID 'BUKRS' field T001-BUKRS
        ID 'ACTVT' field '03'.
        if sy-subrc <> 0.
          clear lv_text.
          lv_text = p_bukrs.
          message e800(FR) with p_bukrs.
        endif.
      endif.
    ============================================================
    but I was not able to do that in GR55 reports because the program is automatically generated by SAP named GPXXXXXXXXXXXXXXXXXXXXXXXXXXXX.

  • Change material group for an existing material

    Hi all,
    What is the steps to change a material group for an existing material?
    Is there any impact on the reports if I were to change the material group of an existing material?
    Thanks and regards,
    JT

    Yes, You can change in MM02 and also while changing you will get the folloeing Warning message..
    You are changing material group, but material already used by purchasing
         Message no. M3531
    Procedure
         When changing the material group of a material that is already being
         used by the purchasing department, you should note that:
         o   The purchasing statistics show how much of a material group has
             already been ordered. Unitl the change is made, the material is
             managed under the old material group and therefore the old material
             group statistics are updated. From the moment the change is made,
             the new material group's statistics are updated.
         o   Some purchase orders may derive from contracts with item categories
             referring to material groups. If this is the case, the material
             cannot be used after the change has been made.
         o   Every purchase requisition is allocated to a release strategy that
             can depend on the material group. A new release strategy may apply
             to a new material group. Purchase requisitions that were created
             before the change are subject to the old strategy; purchase
             requisitions that were created after the change are subject to the
             new strategy.

  • Change account groups in vendor/ customer master data

    Hi,
    Do you think is possible to change account groups in vendor/ customer master data?
    Thanks

    Hi,
    Good evening and greetings,
    Changing the account groups will redetermine the Reconciliation account, which will be creating a chaos during Audit Reconciliation. But if there is a requirement, please go through the following link
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f534545a11d1a7020000e829fd11/frameset.htm
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Why the partner usuage tab is suppresed in account group for SH,BP,and PY

    Hi All,
    why the partner usuage tab is suppresed in account group for ship to party, bill to party and payer.
    Regards,
    MAllesh.

    Maybe some one did it to not allow end user to access different Partner functions to those Account Groups, in which case it is better to consult your boss to rechange it. If it is like that by default, then you can change it on your own if it is required.
    You can make it to 'change mode' in T Code OBD2. Select your Account Group, click Details and select Sales Area Data and then Partner usage and then change 'Business partner assignment' as Op Entry.
    Now you will get your partner usage tab in change mode.
    bye
    Venkat - Hyd
    Edited by: yajee venkat on Aug 22, 2008 1:44 PM

  • Is it advisable to change account group of GL account?

    Hi,
    I have seen that it is possible to change account group of GL account even after the posting has been made to this GL  account.
    Here I would like to know
    1)how it impacts on the business and
    2)how to make this field not alterable in config after the posting has been made
    Thanking you in advance.

    Hi,
    It is not possible to change the account group of a GL account for the simple reason that one of the primary function of account group is to determine number ranges of GL account.
    You can create another GL account in expected account group and transfer all the entries.
    Best Regards,
    Madhu

  • Account groups for Partner Roles in Vendor Master

    1. Can we use same account group to create the vendor master for the different partner roles? for the partner roles like goods supplier, invoicing party, order party, etc do all these need to have different account groups , example one account group for goods supplier, one account group for invoicing party, etc , etc.
    2. why we need the configuration for partner role in purchasing documents besides  partner role settings for vendor account group. what is the logic behind to have partner role dependent settings for purchasing documents.
    If we do not maintain for partner role settings for purchasing documents  what effects it will cause?

    > 1. We can have 1 account group represent all partner role or separate account group for each role.
    1.If we use the same account group, the field selection control for fields will be applicable to partner roles also. If we have made vendor schema as mandatory in vendor master than we have to assign to partner vendor also. Example ordering address will not require company code data only purchase data, it will not require also pricing procedure as mandatory as no price determination will be required for ordering address.
    I think we have to use combination of account group -same account group and different account group will defining vendors for partner function.
    Do we require to assign vendor schema group to following vendors roles- goods suppliers, invoicing party and payee.
    If we do not assign vendor schema group will these partner role determine price from the VN partner role. For example VN (vendor) has vendor schema group assigned, no vendor schema group assigned to invoicing party, then while doing MIRO the invoicing party will be defaulted. Do the price determined for VN role will be populated for invoicing party in MIRO?
    > 2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document
    It means we need to assign similar roles in schema for vendor account group and purchasing documents. If you see the schema in config for partner determination in IDES system, different roles exists in vendor schema and purchasing document schema.
    This is creating confusion for me to understand.
    Please clarify
    2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document

  • Account group for sales representative

    Hi experts,
    Is there any account group for sales representative in standard SAP?
    Unlike customer do we need to create sales representative without account group?
    If I want to use partner function sales representative, what is the process?
    Thanks in advance
    Shiv

    Hi,
    There is no account group for the sales representative in standard SAP. Instead u can use " employee responsible(ER)" partner function as a Sales Representative.
    the same process u can opt. But here in partner determination u need to use for Sales Document Header . which is 2nd one in partner determination Procedure. u can see that but i think already exist in that procedure make it mandatory so that when ever the Sales Document of that type is raised then the system will ask u " employee responsible" person. ex: if u want to make for Standard Sales Order then u take the "TA" Partner Determination Procedure. and make as mandatory field for the partner function (ER).
    the above said is one way and the another way is to take one partner function(sh,bp,py,etc) and copy it and put as "Sales Representative" and assign it to the partner determination procedure for the Customer and create the sales representative and assign it to the customer master . this way also u can work out..
    I think these are sufficient to solve ur issue..
    if u want other than this let me know..
    Reward if Helpful..
    Regards,
    Praveen Kumar.D

  • Account group for Customer

    Hi is there any Transcation to find Account group for particular Customer. Other than XD07 as we dont have authorization for XD07 in production.
    Regards
    Nagesh

    Hi,
    in XD03, enter customer number, view the customer and go to "Extras / administrative data", there you can see the account group.
    Best regards, Christian

  • Steps for Creating Report  using LDB

    hellow sirs
    can u please tell Step by Step method for creating Reports using LDB method...
    if possible with screen Shots..
    thanking You
    Rahul

    Hi,
    Please refer the code below:
    Use the PNP LDB for this program,
    *: Report:  ZP_POSTCODE                                                :
    *: Date  :  2004                                                       :
    *: Description: Displays report of employees by postcode area,         :
    *:              includes current travelling allowances (i.e. parking   :
    *:              permit or transport card etc..)                        :
    *: Use:         Help encourage the use of car sharing and public       :
    *:              transport where appropriate.                           :
    REPORT  zp_postcode.
    type-pools: slis.                                      "ALV Declarations
    NODES: pernr.
    INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
    SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
    SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
    SELECTION-SCREEN END OF BLOCK pcode.
    TYPES: BEGIN OF t_output,
      pernr       TYPE p0001-pernr,   "personnel name
      anredtxt    TYPE t522t-atext,   "title (based on p0002-anred)
      fname       TYPE p0002-vorna,   "first name
      lname       TYPE p0002-nachn,   "last name
      orgtx       TYPE t527x-orgtx,   "dept
      fte         TYPE p0008-bsgrd,   "fte
      parking(20) TYPE c,
      payslip     TYPE t526-sachn,        "payslip address
      telno       TYPE p0105-usrid_long,  "tel number(p0105-usrty = 0020)
      email       TYPE p0105-usrid_long,  "email (p0105-usrty = MAIL)
      postcode    type p0006-pstlz,
    END OF t_output.
    DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
          wa_output TYPE t_output.
    *ALV data declarations
    data: fieldcatalog   type slis_t_fieldcat_alv with header line,
          gd_tab_group   type slis_t_sp_group_alv,
          gd_layout      type slis_layout_alv,
          gd_repid       like sy-repid,
          gt_events      type slis_t_event,
          gd_prntparams  type slis_print_alv,
          gd_count(6)    type n,
          gd_outtext(70) type c,
          gd_lines       type i.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    clear: gd_count.
    GET pernr.
    * Infotype 0121 is used to store multiple contracts for personnel.
    * Field p0121-hpern contains the personnel number for the main contract.
      PROVIDE * from p0121 between pn-begda and pn-endda.
    *   Check if main contract
        if p0121-pernr ne p0121-hpern.
          reject.
        endif.
      ENDPROVIDE.
      add 1 to gd_count.
      concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
                separated by ' '.
    * Display indicator for employee count
      perform progress_indicator using gd_outtext.
    * Retrieve datd from infotypes
      rp_provide_from_last p0000 space pn-begda pn-endda.
      rp_provide_from_last p0001 space pn-begda pn-endda.
      rp_provide_from_last p0002 space pn-begda pn-endda.
      rp_provide_from_last p0006 space pn-begda pn-endda.
      rp_provide_from_last p0008 space pn-begda pn-endda.
      rp_provide_from_last p0014 space pn-begda pn-endda.
    * Check post code
      CHECK p0006-pstlz IN so_pcode.  "cp
    * Post code
      wa_output-postcode = p0006-pstlz.
    * Personnel number
      wa_output-pernr = pernr-pernr.
    * Personnel title
      SELECT SINGLE atext
        FROM t522t
        INTO wa_output-anredtxt
       WHERE sprsl EQ sy-langu AND
             anred EQ p0002-anred.
    * First name
      wa_output-fname = p0002-vorna.
    * Last name
      wa_output-lname = p0002-nachn.
    * Organizational Unit text (dept)
      SELECT SINGLE orgtx
        FROM t527x
        INTO wa_output-orgtx
       WHERE sprsl EQ sy-langu AND
             orgeh EQ p0001-orgeh AND
             endda GE sy-datum.
    * FTE
      wa_output-fte = p0008-bsgrd.
    * Parking / travel deducted?
      CASE p0014-lgart.
        WHEN '7180' OR '7181' OR '7182'.
          wa_output-parking = text-002.
        WHEN '7183'.
          wa_output-parking = text-001.
        WHEN '7171' OR '7172' or '7173' or '7174' or
             '7175' or '7176' or '7177' or '7178'.
          wa_output-parking = text-003.
      ENDCASE.
    * Payslip Address
      SELECT SINGLE sachn
        FROM t526
        INTO wa_output-payslip
       WHERE werks EQ p0001-werks AND
             sachx EQ p0001-sacha.
      PROVIDE * from p0105 between pn-begda and pn-endda.
    *   Telephone numbers
        if p0105-usrty = '0020'.
           wa_output-telno = p0105-usrid_long.
        endif.
    *   Email address
        if p0105-usrty = 'MAIL'.
           wa_output-email = p0105-usrid_long.
        endif.
      ENDPROVIDE.
      append wa_output to it_output.
      clear: wa_output.
    *END-OF-SELECTION.
    END-OF-SELECTION.
    describe table it_output lines gd_lines.
    if gd_lines gt 0.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    else.
      message i003(zp) with 'No records found'.
    endif.
    *&      Form  PROGRESS_INDICATOR
    *       Displays progress indicator on SAP screen
    form progress_indicator using p_text.
      call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
    *         PERCENTAGE = 0
               text       = p_text.
    endform.                    " PROGRESS_INDICATOR
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'PERNR'.
      fieldcatalog-seltext_m   = 'Personnel No.'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
    *  fieldcatalog-emphasize   = 'X'.
    *  fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ANREDTXT'.
      fieldcatalog-seltext_m   = 'Title'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FNAME'.
      fieldcatalog-seltext_m   = 'First Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'LNAME'.
      fieldcatalog-seltext_m   = 'Last Name'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ORGTX'.
      fieldcatalog-seltext_m   = 'Department'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FTE'.
      fieldcatalog-seltext_m   = 'FTE'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PARKING'.
      fieldcatalog-seltext_m   = 'Parking/Metrocard'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PAYSLIP'.
      fieldcatalog-seltext_m   = 'Payslip Add.'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TELNO'.
      fieldcatalog-seltext_m   = 'Telephone'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EMAIL'.
      fieldcatalog-seltext_m   = 'E-mail'.
      fieldcatalog-col_pos     = 9.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'POSTCODE'.
      fieldcatalog-seltext_m   = 'Post code'.
      fieldcatalog-col_pos     = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-zebra             = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_output
           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.
    endform.                    " DISPLAY_ALV_REPORT

Maybe you are looking for