Error using drill down function on receiving transaction in GL

"The Receiving Accounting Events function is not available under General Ledger Super User" is received when attempting to drill down on a receiving transaction through GL. I have searched for any missing roles/responsibilities under GL super user and attempted the same process with GL Manager and sysadmin roles without success.

Please see these docs.
GL Drilldown for SLA Transactions for Period End Accrual Error: Receiving Accounting Events Function & FRM-40010 CSTFQRAE [ID 1289612.1]
The Receiving Accounting Events function is not available under the General Ledger Super User responsibility. [ID 1318147.1]
Cannot Drilldown to GL Account Details For Cost Management Source - 'No Available Transaction for this Line' [ID 1316330.1]
Thanks,
Hussein

Similar Messages

  • Drill Down Functionality in Report.

    Hello Gurus,
    I have one requirement where end user want to use drill down functionality for OBIEE reports. we are using 10.1.3.4.1 version rite now.
    Now what user wants is he want to drill down from Country -->State --> County -->City --> Zip code, Street Address, House #.
    Now in Obiee we can build the dimension hierarchy in BMM to achive the goal, But if you see the last level of hierarchy they want to see 3 Columns (Zip code, Street Address, House #) when they drill down from City...
    Now in Obiee We can use prefered drill down path only for one column, how do i develop the functionality they shows 3 Columns in last drill down???

    Hi
    Select all the three columns as drill down keys in the city. This should resolve.
    No need to create separate hierarchy.
    Hope this helped/ answered.
    Regards
    MuRam

  • How to use drill down ability in ALV report.

    Hi All,
    I have a ALV report and now i want to add  drill down functionality in this ALV report.
    See the requirement below.
    The Document Number, aka Accounting Document Number (BELNR) of each row will take the user to the appropriate document to edit as follows:
    For Parked documents:-
    If VBKPF-AWTYP (Reference Procedure) = “RMRP”, then the drilldown functionality should be to MIR4 using the Object ID in VBKPF- AWKEY.    In this scenario the Object ID represents a Invoice Document Number, not an Accounting Document Number.  Not the Object ID is a combination of Invoice Document Number and Fiscal Year
    If VBKPF-AWTYP = Any other value, then the drilldown functionality should be to FBV2 using the Object ID in VBKPF-AWKEY. In this scenario the Object ID represents a true Accounting Document Number.  Note the Object ID is a combination of Company Code (VBKPF-BUKRS), Accounting Document Number (VBKPF-BELNR) and Fiscal Year (VBKPF-GJAHR)
    For Posted, not Cleared documents:-
    Drilldown ability should be to FB02.   The combination of Company Code (BSIK-BUKRS), Accounting Document Number (BSIK-BELNR) and Fiscal Year (BSIK-GJAHR) will be used to open/drilldown to the correct document in FB02.
    For Cleared documents:-
    Drilldown ability should be to FB03.   The combination of Company Code (BSIK-BUKRS), Accounting Document Number (BSIK-BELNR) and Fiscal Year (BSIK-GJAHR) will be used to open/drilldown to the correct document in FB03.
    Its very urgent, pls help on this.
    Thanks!
    Vipin

    Hi Vipin,
    Please look at the reference code.
    You need to use the FM 'REUSE_ALV_EVENTS_GET' and in the user command event u need to pass the name of the form that u need to write.
    Please find the ollowing code:
    REPORT ZSOURAVICON NO STANDARD PAGE HEADING.
    type-pools: slis.
    tables: vbap.
    data: begin of itab occurs 0,
          chk,
          lights,
          vbeln like vbap-vbeln,
          posnr like vbap-posnr,
          matnr like vbap-matnr,
          kwmeng like vbap-kwmeng,
          end of itab.
    data: P_LIGNAM TYPE SLIS_FIELDNAME VALUE  'LIGHTS'.
    data: v_repid like sy-repid.
    data: t_fld type slis_t_fieldcat_alv,
          ws_fld like t_fld with header line,
          t_sort type slis_t_sortinfo_alv,
          ws_sort like t_sort with header line,
          ws_layout type slis_layout_alv,
          t_event type slis_t_event,
          ws_event like t_event with header line,
          c_topup TYPE slis_t_listheader,
          ws_topup like c_topup with header line.
    constants: c_top type slis_formname value 'TOP_OF_PAGE',
               c_pfs type slis_formname value 'PF_STATUS_SET',
               c_ucomm type slis_formname value 'USER_COMMAND'.
    initialization.
      v_repid = sy-repid.
    select vbeln posnr matnr kwmeng from vbap into corresponding fields of
                                             table itab.
      loop at itab.
        if itab-kwmeng lt 500.
          itab-lights = '2'.
        elseif itab-kwmeng = 500.
          itab-lights = '1'.
        else.
          itab-lights = '3'.
        endif.
        modify itab.
      endloop.
    HERE WE ARE POPULATING THE FIELD CATALOG
      ws_fld-col_pos = '3'.
      ws_fld-fieldname = 'VBELN'.
      ws_fld-KEY = 'X'.
      ws_fld-tabname = ITAB.
      ws_fld-reptext_ddic = 'SALES DOC'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '4'.
      ws_fld-fieldname = 'POSNR'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'SALES ITEM'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '5'.
      ws_fld-fieldname = 'MATNR'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'MATERIAL NO'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '6'.
      ws_fld-fieldname = 'KWMENG'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'UNIT'.
      ws_fld-do_sum = 'X'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_sort-spos = '1'.
      ws_sort-fieldname = 'MATNR'.
      ws_sort-tabname = 'ITAB'.
      ws_sort-subtot  = 'X'.
      append ws_sort to t_sort.
      clear ws_sort.
      ws_layout-zebra = 'X'.
    ws_layout-detail_popup = 'X'.
    ws_layout-f2code = '&ETA'.
      ws_layout-totals_text(60) = 'TOTAL'.
      ws_layout-subtotals_text(60) = 'SUB TOTAL'.
      ws_layout-box_fieldname = 'CHK'.
      ws_layout-lights_fieldname = P_LIGNAM.
      ws_layout-box_tabname = ITAB.
      ws_layout-edit = 'X'.
      clear ws_event.
      ws_event-name = c_top.
      ws_event-form = c_top.
      append ws_event to t_event.
      ws_event-name = c_pfs.
      ws_event-form = c_pfs.
      append ws_event to t_event.
      clear ws_event.
      ws_event-name = c_ucomm.
      ws_event-form = c_ucomm.
      append ws_event to t_event.
      clear ws_event.
      CLEAR ws_topup.
      ws_topup-typ  = 'H'.
      ws_topup-info = 'Purchase Order Report'.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      ws_topup-typ  = 'H'.
      ws_topup-info = 'An ALV Report '.
      APPEND ws_topup TO c_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'CURRENT PROGRAM NAME:'.
      ws_topup-INFO = v_repid.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'DATE:'.
      write SY-DATUM to ws_topup-INFO.
      APPEND ws_topup to c_topup.
      CLEAR ws_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'TIME:'.
      write SY-UZEIT to ws_topup-INFO.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = v_repid
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = ws_layout
         IT_FIELDCAT                    = t_fld
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
         IT_SORT                        = t_sort
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
         IT_EVENTS                      = t_event
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = itab[]
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
          FORM top_of_page                                              *
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = c_topup
          I_LOGO                   = 'LOGO'
      I_END_OF_LIST_GRID       =
    ENDFORM.
          FORM PF_STATUS_SET                                            *
    -->  RT_EXTAB                                                      *
    FORM PF_STATUS_SET using rt_extab type slis_t_extab.
      set pf-status 'STD'. "EXCLUDING RT_EXTAB.
    set pf-status 'STANDARD'.
    endform.
          FORM user_command                                             *
    form USER_COMMAND using r_ucomm like sy-ucomm
                            rs_selfield type slis_selfield.
      data: begin of itab_temp occurs 0,
            VBELN LIKE VBAP-VBELN,
            POSNR LIKE VBAP-POSNR,
            MATNR LIKE VBAP-MATNR,
            kwmeng like vbap-kwmeng,
            end of itab_temp.
      DATA: t_fld1  TYPE SLIS_T_FIELDCAT_ALV,
            ws_fld1  LIKE t_fld1  WITH HEADER LINE.
      case r_ucomm.
        when 'SHOW'.
          loop at itab where chk = 'X'.
            move-corresponding itab to itab_temp.
            append itab_temp.
            clear itab.
          endloop.
          ws_fld1-col_pos = '1'.
          ws_fld1-fieldname = 'VBELN'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'SALES DOC'.
         ws_fld1-key = 'X'.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '2'.
          ws_fld1-fieldname = 'POSNR'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'SALES ITEM'.
         ws_fld1-key = ' '.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '3'.
          ws_fld1-fieldname = 'MATNR'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'MATERIAL NO'.
         ws_fld1-key = ' '.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '4'.
          ws_fld1-fieldname = 'KWMENG'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'UNIT'.
         ws_fld1-key = ' '.
          ws_fld1-do_sum = 'X'.
          append ws_fld1 to t_fld1.
          CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
            EXPORTING
             I_TITLE                       =  'my report'
            I_SELECTION                   = ' '
            I_ZEBRA                       = ' '
            I_SCREEN_START_COLUMN         = 0
            I_SCREEN_START_LINE           = 0
            I_SCREEN_END_COLUMN           = 0
            I_SCREEN_END_LINE             = 0
            I_CHECKBOX_FIELDNAME          =
            I_LINEMARK_FIELDNAME          =
            I_SCROLL_TO_SEL_LINE          = 'X'
              I_TABNAME                     = ITAB_TEMP
             I_STRUCTURE_NAME              = 'VBAP'
             IT_FIELDCAT                   = t_fld1
            IT_EXCLUDING                  =
             I_CALLBACK_PROGRAM            = v_repid
            I_CALLBACK_USER_COMMAND       =
             IS_PRIVATE                    = GS_PRIVATE
          IMPORTING
             ES_SELFIELD                   = RS_SELFIELD
             E_EXIT                        = G_EXIT
            TABLES
              T_OUTTAB                      = ITAB_TEMP[]
          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.
      endcase.
    ENDFORM.
    Thanks and Regards,
    Saurabh

  • How the Drill down functionality works if the source is Bex Query

    Dear All,
    How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
    Please let me know process.
    Thanks
    Regards,
    Sai

    Hi sai,
    Drill down can be done by two ways.
    1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
    Filtering Through Combo Box
    2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
    Difference between "When value Becomes & When value Changes"
    Revert any clarification required on this.
    --SumanT

  • Drill down Functions in powerpivot

    Does powerpivot offer drill down functions?

    Hi Dionisis,
    As
    Gerhard Brueckl said, most of the reports types and many of the features such as drill down require an Analysis Services cube as the data source. Here are some useful links for your reference.
    PowerPivot Prototyping: Strengths and Weaknesses
    Using Power Pivot and Power View for Profit Analysis
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Drill Down Functionality in Crosstab in CRE

    Hello Experts,
    I have a requirement in which the  data arrangement by itself is in a crosstab format. Along with this crosstab, Drill down functionality is needed. In CRE, is this possible, if yes, how?
    Sample data shown below. Need to further drill down on Accounts(for e.g.).
    Accounts     Levels      Description     Product     Currency Code   KF1
    100     5     Cash     Pt 1     INR           789
    101     7      Cash1     Pt 2     INR           654
    102     7     Cash2     Pt 3     INR           935
    103     8     Cash3     Pt 4     INR           32
    Any help would be greatly appreciated.
    Regards,
    arjun

    Hi Arjun,
    Unlike a Group, Cross-tabs do not have drill-down functionality.
    The only workarounds are to either create a Manual Cross-tab using Groups or on the existing Cross-tab use openDoc URLs to hyperlink to another 'Detail' report which acts as the report that is drilled-down into.
    -Abhilash

  • Calling drill through report using drill down hierarchy

    I am using drill down hierarchy and i want to open a report in the same heirachy using drill throught aswell, how it is possible?
    I try it by using Action link but it is not filtering the data ,for instance i am clicking on 'item A', but it is giving me 'item B' & 'item C' aswell on the preceding report level.
    Please consider this issue.
    Regards,

    Yes I prompted that column on the detail report but showing same thing..

  • How to use drill down option in Crystal Report

    Dear all,
            I want to know how to use drill down option in Crystal report 2008.  In below i have explained my screnario
    For example
       My scenario is.  In crystal report I have Purchase order like PO101,PO102.  Each purchase order have 5 line items.  If i drill down each purchase order it should display line item in crystal report. 
    Regards,
    Baskaran.

    hi,
    Create a Group on 'Purchase order'.
    Group Expert -> Select the Purchase Order and Click the arrow button such that it appears right side. Click ok.
    GH1 is inserted.
    Your detail section should include 'Line items' fields.
    Right Click 'Detail' section on left hand side,  Click 'Hide (Drill down Ok)'.
    Now you will see only 'Purchase order's in Group Headers.
    Now when you click on a particular order, you will see respective line items.
    Regards,
    Vamsee

  • Drill Down functionality not Availible on Column Chart Bars

    Hi Guys,
    I have about 10 Webi 4.0 reports which are all column charts and are all made with drill down functionality enabled on them.
    The issue we are facing is that we need all the reports have drill down functionality available on the column bars and axis values (ex. "drill down to date" is available when mousing over the bars and axis values.)
    However, reports which have variable measures on them do not have drill down functionality available on the actual column bar in the chart, drill down is only available when mousing over the axis values. Now, I created the variable measure on the universe level as an object to check if having the object pulled into the report instead of a variable would enable the drill down function on the chart but this did not work either, still having the same issue
    Its important for us to have the consistency of the functionality being available on the bars and axis because it is more user friendly.
    If anyone has ever faced this issue I'd really appreciate your input on how this can be fixed.
    Thanks in advance!
    Zenab

    hi
    try this
    /*SELECT FROM dbo.OPOR TT*/
    declare @docNum as int
    set @docNum =/* TT.DocNum */N'[%0]'          
    SELECT
         T0.DocNum,
         T2.ItemCode,
         T2.ItemName
    FROM
                        dbo.[OPOR] T0
         inner join     dbo.[POR1] T1 on T1.docentry = T0.docentry
         inner join     dbo.[OITM] T2 on T2.ItemCode = T1.ItemCode
    WHERE
         T0.DocNum = @docNum
         and T2.CstGrpCode = -1
    for browse
    it works on me

  • Drill down functionality needed

    Hi i copied the program RFWERE00 to  a zprogram and made some modifications for selection screen.
    and it is working fine but after getting ouput iam unable to navigate to the purchase order ,
    or the document number.when i double click on it .i have n'tmade anychanges in the events please let me know how to achive this drill down functionality in the output,when i click pu number it shouls take to
    purchase order.

    Hi,
    go to SE41 and copy the LISTE status of RFWERE00 to your Z program. Also save the ALV layout  similar to   the standard program. This will create drill down.
    Hope this helps you
    Raj

  • Drill Down Functionality

    Hi all,
    Currently, i am working on a VC models requirement which has got the output as a table with 7 columns, in which the first main column needs to have drill - down functionality for it' s contents (for ex : + country .. when clicking on the + country it needs to drill - down and display the contents which the query already provides as Punjab, Maharastra etc ., )
    Please provide me some help on how to get this functionality.
    Thanks in advance,
    Vipin

    HI all,
    I recently have came across that drill down functionality functions only till the first level, for the versions SP 15 with flex version 1.5 and 2.0 and low.
    My current (VC/ flex) version is 700.17.1.0 and i wanted to know whether my version supports the drill down functionality or not to the latest update.
    Because lately or so... i believe this can be one of the main reasons for the failure in drilling down to the fullest extent.
    If anyone has a knowledge on this then please help.
    Any inputs i get will be highly Appreciated.
    Thanks in Advance,
    Vipin Vijayan.

  • How to use drill-through functionality of EIS in HFR.

    I am trying to use drill-through functionality of EIS in HFR but that functionality is not coming in HFR.
    Can we use drill-through in HFR?

    We ended up building a solution that used a related content link in HFR that called an IR report which performed the drillthrough. It's a bit complicated to setup, but possible.

  • Report to report interace ( Need to drill down to Sales Order Transaction )

    Hi,
      Report to report interface is working fine when I am jumping from Cube to ODS( Example Sales Order item). However  now I want to jump from the ODS data in a query ( Sales order level) to the transaction system and want to view the sales order detail info
      What I did is define a REPORT TO REPORT interface in the BW from the from the 2nd query and defined the interface as the following
    Report type : Transaction
    Target system : choose the CRM system from the drop down
    Report    : CRMD_BUS2000121 ( as this is the transaction for sales order).
      The whole thing works fine and the transaction opens. But the way the transaction works is that you will need to go to the menu and then Open and put the Sales order number and can only display after that. This is not very user friendly and I want the user to directly launch the sales order transaction in display mode.. from BW.. Is it possible?
      Thanks
    Arunava

    hi Anurava,
    take a look this doc, if you haven't
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6eb89190-0201-0010-89bf-ad46d1503ef9
    as Ashish mentioned you need to maintain the 'detail' assignment, choose infosource '0crm_sales_order_i (i guess for your case), choose 'field table' for type, and field possibly OBJECT_ID or CRMT_OBJECT_ID ... you may get the field info by go to crm system, position on cursor the info and F1 ....
    Special cases: For most transactions sender-receiver assignments function without you having to make further specifications. However, it is necessary for some transactions to make detailled assignments. One reason for this may be that the transaction uses an unseen first screen and the parameter is not filled by the memory ID of the data element. After having created the sender-receiver assignment as described above, proceed as follows: ...
    1. Select your sender-receiver assignment ans choose Assignment Details.
    2. Select Table Field as the type. You are then able to make entries in the Field Name, Data Elements, Domains and Set/Get Parameter columns.
    3. Specify the field name, data element, domain, and parameter ID for the receiver transaction.
    You need to know this information as no input help is available. You can normally find the parameter ID in the ABAP Dictionary under data elements. If it is still not possible to jump to the transaction, it may be necessary to program a short ABAP start program. Read SAP Note 383077 (RRI: Transaction call unsuccessful) on this

  • INVALID_VARIABLE_VALUES error for drill down/up

    Hello ,
    I have created a VC model corresponding to a BI query. The query has 3 variables of which one is mandatory the value for which i am hardcoding.In the output table we have a heirarchy variable for
    which I wish to use the drill up and drill down features.But after applying these features, and running
    the application ,on clicking the drill down/up buttons i get the following error
    Nested Exception. Failure to execute native function. Nested Exception. INVALID_VARIABLE_VALUES
    The variable format seems to be fine as I have tried it from the BI side and it also generates the output in the VC output table.Following is the webapi used for drill down .
    'FILTER_IOBJNM=YGL_ACCNT;FILTER_NODE_IOBJNM=0HIER_NODE;FILTER_VALUE='&#ID[ACC40T]@G_L_Account&';FILTER_COLLAPSE= ;FILTER_IOBJNM=YGL_ACCNT;CMD_1=CMD%3DDRILL_TO_LEVEL%26LEVEL%3D2%26IOBJNM%3DYGL_ACCNT%26DATA_PROVIDER%3DDP;'
    Any help would be most appreciated.
    BI 7.0,VC 7.0
    PS: have already gone through the wiki link for this error
    Thank You
    Rgds

    Vineeth,
    Please see my comments below:
    1)The complete web api command is in the above thread, the mandatory variable is the fiscal year.
    I don't see where you have defined the fiscal year in the web API command below:
    'FILTER_IOBJNM=YGL_ACCNT;FILTER_NODE_IOBJNM=0HIER_NODE;FILTER_VALUE='&#IDACC40T@G_L_Account&';
    FILTER_COLLAPSE= ;FILTER_IOBJNM=YGL_ACCNT;
    CMD_1=CMD%3DDRILL_TO_LEVEL%26LEVEL%3D2%26IOBJNM%3DYGL_ACCNT%26DATA_PROVIDER%3DDP;'
    2)am not too sure about your question.
    Is the hierarchy for YGL_ACCNT defined as a text hierarchy or characteristic hierarchy?  If it is a characteristic hierarchy, you should specifiy the parameter FILTER_NODE_IOBJNM=YGL_ACCNT instead of FILTER_NODE_IOBJNM=0HIER_NODE.
    3)the command is as intended as per the sap documentation
    If you are following the SAP documentation, the first occurrence of FILTER_IOBJNM=YGL_ACCNT should be removed as it is already defined after the FILTER_COLLAPSE parameter.
    Regards,
    Mustafa.

  • Error in Drilled down ALV Report.

    Hi all
    i am creating a single level drilled down report , in that in the first screen i am displaying the header detials , in the second level i am displaying the item detial of the particular line..
    While processing the second level i am getting a dump like
    A PERFORM was used to call the routine "USER_COMMAND" of the program
    "SAPLSLVC_FULLSCREEN".
    This routine contains exactly 1 formal parameters, but the current
    call contains 2 actual parameters.
    parameters.
    here is my code :
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM.
    CASE R_UCOMM.
    WHEN '&IC1'.
    PERFORM BUILD_CATALOG_EKPO.
    PERFORM EVENT_EKPO.
    PERFORM POPULATE_EVENT_EKPO.
    PERFORM DATA_EKPO.
    PERFORM BUILD_LIST.
    PERFORM DISPLAY_EKPO.
    ENDCASE.
    ENDFORM.
    *&      Form  BUILD_CATALOG_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_CATALOG_EKPO .
      WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELP'.
      WA_FIELDCAT-SELTEXT_M = 'Item No.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
        WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-SELTEXT_M = 'Material NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
        WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'WERKS'.
      WA_FIELDCAT-SELTEXT_M = 'PLANT.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
        WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'LGORT'.
      WA_FIELDCAT-SELTEXT_M = 'Storage Loc.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
        WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MENGE'.
      WA_FIELDCAT-SELTEXT_M = 'Quantity.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
        WA_FIELDCAT-TABNAME = 'ITAB_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-SELTEXT_M = 'UNIT.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " BUILD_CATALOG_EKPO
    *&      Form  EVENT_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM EVENT_EKPO .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      I_LIST_TYPE           = 0
    IMPORTING
       ET_EVENTS             = V_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 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.                    " EVENT_EKPO
    *&      Form  POPULATE_EVENT_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_EVENT_EKPO .
    READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
    IF SY-SUBRC EQ 0.
    WA_EVENT-FORM = 'TOP_OF_PAGE'.
    MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME = WA_EVENT-FORM.
    ENDIF.
    ENDFORM.                    " POPULATE_EVENT_EKPO
    FORM F_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.
    *&      Form  DATA_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_EKPO .
    DATA:RS_SELFIELD TYPE SLIS_SELFIELD.
    READ TABLE ITAB_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
    SELECT EBELN EBELP MATNR WERKS LGORT MENGE MEINS
    FROM EKPO
    INTO CORRESPONDING FIELDS OF TABLE ITAB_EKPO
    WHERE EBELN = WA_EKKO-EBELN.
    DATA :ID_ITEM_COLOR.
    LOOP AT ITAB_EKPO INTO WA_EKPO.
    ID_ITEM_COLOR = ID_ITEM_COLOR + 1.
    IF ID_ITEM_COLOR = 8.
       ID_ITEM_COLOR = 1.
    ENDIF.
    CONCATENATE 'C' ID_ITEM_COLOR '10' INTO WA_EKPO-LINE_COLOR_ITEM.
    MODIFY ITAB_EKPO FROM WA_EKPO TRANSPORTING LINE_COLOR_ITEM.
    ENDLOOP.
    ENDFORM.                    " DATA_EKPO
    *&      Form  DISPLAY_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_EKPO .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                 = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = 'USER_COMMAND '
      I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = I_TITLE_EKPO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
       IT_EVENTS                         = V_EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = ITAB_EKPO
    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_EKPO
    *&      Form  BUILD_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_LIST .
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    Set layout field for row attributes(i.e. color)
      gd_layout-info_fieldname =      ' LINE_COLOR_ITEM'.
    ENDFORM.                    " BUILD_LIST
    Arun Joseph

    The form USER_COMMAND should have 2 changing/actual parameters which is standard.
    Ex:
    FORM user_command USING r_ucomm LIKE sy-ucomm 
    rs_selfield TYPE slis_selfield.
    ENDFORM.

Maybe you are looking for

  • Goods receipt and EDI invoice

    Hi all, I have a problem concerning receipts of EDI invoices and goods. Frequently our vendors send their EDI invoices to us before we get the goods. As we process the inbound EDI-invoices they are stuck in BD87 as an EDI-error saying that the PO hav

  • Changing Default user Preferences in Workspace

    I am using HFM 9.3.1. Each time I set up a new user I have to get them to log in, and go through the following routine.. Go to File>Preferences. Then Select Financial Reporting on the left side of the preferences window. Under the Preview heading on

  • Bookmarks in Safari

    When I re-order bookmarks in Safari under the edit function, the new positions don't save when I select done. Surely there is a way to personalise the order of bookmarks?

  • On my E5-571-53S1 how do I find the license key Windows 8.1 ?

    On my E5-571-53S1 how do I find the license key for my copy of Windows 8.1 ?

  • IPhoto Disappeared In 10.8

    Hi, I just upgraded to 10.8 on my MacBook Air. Now, I find, my original iLife apps (including iPhoto) have disappeared. How do I restore the iLife apps? Thanks. Mel