Need better reporting on IDOCs to identify actual errors by customer.

hi sapgurus
This could be something similar to WE02, but the key fields that are missing are customer, and the actual error message encountered.  Right now there is no good way to find out what customers consistantly send us bad information or to do any type of trend analysis on the type of errors coming in.can anybody send me the solution for this king of problem
  reward is guranteed
thanks in anticaipation
samsd

BD87 groups the IDocs by error message and you can see the details from there. Also in WE05 you can see the messages if you hit F7 (Status List).

Similar Messages

  • Need a report for actual cost by WBS element by month

    Hello all,
    I am looking for a report that will give me the total costs charged to a series of of WBS elements by month. Does anybody know if such a report can be run and what the transaction number of this report would be?
    Thanks

    Hello Stacy,
    Thank you for your help.
    I tried the S_ALR_87100185 report as you instructed but I cant get it to display as I would like to see it. What I need the report to do is display actuals by month and WBS elemnts from January through August. However the report cuts off at the May period. Does anybody have a workaround so I can see the charges from January through August?
    Thanks

  • Report to identify Actuals Vs Accruals

    Hi SAP Experts,
    Is there any report in SAP or BW that could identify Actuals Vs Accruals per lowest detail (eg: WBS)?
    Thanks
    Alex

    Hi SAP Experts,
    Is there any report in SAP or BW that could identify Actuals Vs Accruals per lowest detail (eg: WBS)?
    Thanks
    Alex

  • Help Needed in Reports (Breaks, totals)

    Hi All,
    I am a fairly new user in Apex and would appreciate any help. I have a requirement to generate a report as follows:
    In below reports 1001,1002 are projects and i need to obtain project totals (e.g. 500,300,150,50) displayed conditionally. At first i had to display only projects and i could do it using 1 column report break.
    But how can i include the totals in the report breaks. And its more than 3 columns that i would need in breaks.
    Any suggestions? I dont think i can use breaks for this as APEX does not support more than 3 columns.
    Name task budget Expense commitments balance end_Date
    1001 500 300 150 50 15-01-2008
    1001-1-aa 1 200 100 50 50 15-01-2008
    1001-2-ab 2 300 200 100 0 15-01-2008
    1002 500 300 150 50 15-01-2008
    1002-1-aa 1 200 100 50 50 01-01-2008
    1002-2-ab 2 300 200 100 0 01-01-2008
    Thanks
    Sumana

    Hi All,
    Thanks Arie, your suggestion helped me to move in the right direction.
    I could display the project totals as needed without using breaks, but using a combination of query and report template change. The above examples given helped to certain extent.
    Now I have a requirement which is an extention to the above problem. I dont know if I must start a new thread for this.
    I need the report totals to be displayed conditionally. This condition has 3 cases, out of which I am able to achecive two.
    For the 3rd I would really appreciate any help/suggestions. I tried changing query/template. But it dint help.
    Here is the prob:
    Col1 Col2 Col3
    Project_name sum(amt) sum(amt)
    task1 amt amt
    task2 amt amt
    In above, the sum(amt) must be displayed when project_owner is person logged in.
    Col1 Col2 Col3
    Project_name
    task1 amt amt
    task2 amt amt
    In above, when task owner is person logged in then I must not display the sum(amt).
    I am successful in acheving both of the above, when all tasks owner is person logged in and when project owner is person logged in.
    But when I have project owner = person logged in and task1 owner = person logged in and task2 owner != person logged in my display comes out as shown below.
    Col1 Col2 Col3
    Project_name sum(amt) sum(amt)
    Project_name
    task1 amt amt
    *task2                     amt                           amt
    The actual display for third case must be:
    Col1 Col2 Col3
    Project_name sum(amt) sum(amt)
    task1 amt amt
    *task2                     amt                           amt
    Thanks
    Sumana

  • CRVS2010 Beta - Report Viewer Errors for Crystal Reports in VS 2010

    I have a project that was written in VS 2008 targeting the 3.5 framework which contains a ton of Crystal Reports.  I recieved my new license for VS 2010 and did the install along with the Crystal Reports for Visual Studio 2010 Beta 2.  I converted my project over successfully.  I am able to open up the reports on their own.  When I try to save them they want to be converted to the new format.  This also works fine.  My problem is the Crystal Reports Viewer.  I am not able to add any reports to the viewer without receiving error messages.  I have tried using the 10.5 and the latest version of the viewer, but receive errors everytime that I try to add a report to it.  I always recevie the following error:
    "Error invoking 'Choose a Crystal Report...'. Details: Invalid Report Source"
    I have also tried just creating a brand new report from the Crystal Report Viewer Tasks window.  When I do that I get this error:
    "Unable to find the report in the manifest resources. Please buld the project, and try again."  "Error invoking 'Create a New Crystal Report...'. Details: Unable to find the report in the mnifest resources. Please build the project, and try again."
    I have tried changed the framework target to 4.0, but this has not helped.  I have tried using the 14.0 versions of the references and the 10.5 versions.  I have searched all over the internet for a resolution, but can't seem to find one.  Any help would be greatly appreciated.

    I am having the same problem. You say make sure all of my assemblies are version 14. Three questions:
    1. Now that I have removed all of the old Crystal assemblies from my project, what are the assemblies that I need to add back?
    2. My VS 2010 "add references" popup shows me many crystal assembles (Crystal XI is also installed) which ones to I need to install now?
    3. If I don't know what they are, or where to find them, how do I determine their version?
    You solution reminds me of the old saying "If I had ham, I could make ham and eggs. If I had eggs!"
    More information please,
    J Rich
    Edited by: JosephRich on Nov 6, 2010 5:36 PM
    Edited by: JosephRich on Nov 6, 2010 5:39 PM

  • Need US reports for 1099 and 1042S

    Hi,
    Can you provide any documentation on 1099 and 1042S reporting in SAP?
    Any existing reports available in SAP.
    Please guide me
    Thanks in advance
    Vishnu

    Hi Kedar,
    Thank you very much for your valuable suggestion,
    Actually client needs a report with Transactional data of each vendor, where as this report gives vendor wise report. One more thing we are using 4.7 version and we dont have that 1042s variant in the system.
    Any related notes to apply to get that variant.
    Please guide me
    Thank you

  • Need of report BBP_LOCATION_MIGRATION_SET?

    Hi Friends
    Need of report BBP_LOCATION_MIGRATION_SET
    Regards
    Money

    refer these three notes
    563180, 771934 and 887102
    Setting the transaction authorization manually:
    The customer can decide to set the 'switch' in table T77S0 to 'X' and to allow the work start under the following circumstances:
    Only one error has occurred, this should be ignored
    One of several back ends broke down during an upgrade or during an installation, and a postponement of the system start cannot be allowed.
    Troubleshooting is not possible/required.
    This is only a local scenario (which should actually not exist because at least an FI R/3 Backend system should exist) so that a replication of plants is not possible.
    *For this purpose, program BBP_LOCATION_MIGRATION_SET is availbale which sets required value 'X' in table T77S0 (if the program was started inadvertently, the original value can be restored using BBP_LOCATION_MIGRATION_RESET).*
    If the replication from a backend system could not be executed it is possible to repeat this step at a later time via program BBP_LOCATIONS_GET_FROM_SYSTEM for exactly this R/3 system.
    If only single plants cannot be replicated (for example due to inadequately maintained data), they can be copied to the EBP after being revised with program BBP_LOCATIONS_GET_SELECTED (the program can also be used during normal operation to transfer new plants to locations).
    You can also create individual locations via the Web transaction 'Managing Business Partners' and assign them to an R/3 plant.
    Other terms
    Location, business partner, delivery point, plant, component, procurement, Business-to-Business, Ecommerce, e-commerce, Web, SAP Business-to-Business Procurement BBP, Business to Business, electronic commerce, e-business, Ebusiness, Internet, New Dimension, EBP, SAP Enterprise Buyer, Enterprise Buyer professional edition, SRM, Supplier Relationship Management
    Reason and Prerequisites
    IMPORTANT:
    This note does not apply to your R/3 system
    It only applies to EBP 4.0 and higher
    For upgrades from BBP2.0B and BBP2.0C, you must first execute the BBP_TRANSFORM_SCS report (Note 481100)
    i believe these rport used in srm 4.0 prerequisite fro replicating plants.
    muthu

  • I need better form options

    Hi,
    I made a couple of apex applications, now running in production, but the more we made, the more we found we need better forms, now we input eveything in our apex application with linear forums, like we need to make purchase orders, first let me explain how our current jobs like:
    We mainly using excel spreedsheet for everything, we make like, Purchase orders, and others in excel, after we printing out, we have to input those POs to our apex applications(that is my idea), but everytime we only can add one line per time, I viewed the tabular forums , but in the browers, it is not good to use like excel,
    I got other ERP systems, and it is very common to use forms inside of it, and like making a new PO, they got tabular forms just like spreedsheets, very good, and you can make a po in it, print it out, and it is also in the database, but now we cannot do that, our form/reporting tool is MS excel,
    Any good idea about that, will you make a tabular forms like MS excel in browers, ?? , you know, if you use Google doc, they already made Spreedsheet in the web..
    We need better forms, and , better reporting.
    Peter

    YOu can look at using a collection to gather multiple rows and then write the collection back out after you are done with the processing..
    I believe there are examples up her efor doing that, and I worked with an application to do that too..
    Also I believe there are data grids available that could be modified to work with APEX, again, it was talked about here in the forum..
    (Correction, here is a link to a javascript "grid" library, free to download even..
    http://www.activewidgets.com/grid/
    Thank you,
    Tony Miller
    UTMB/EHN
    Message was edited by:
    Tony Miller

  • I need a report with the following fields

    Hi All,
    I need a report with the following fields & G/L "Expenses" only.
    1)G/L Code.
    2) G/L Name.
    3) G/L Balance
    & Selection Criteria From Date, To Date , & Location(for me locations is PROFITCENTRE).
    Please some body suggest me an SQL Querry to fetch this result.
    Thanks in Advance,
    S. Mobin

    Hi!
    Individual G/L means i didn't understand
    check this for only Expence Acc
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Location nvarchar(20)
    set @FromDate = (Select min(S0.RefDate) from jdt1 s0 where s0.Refdate >='[%0]')
    set @ToDate = (Select max(S1.RefDate) from jdt1 s1 where s1.Refdate >='[%1]')
    set @Location = (Select max(s2.ProfitCode) from jdt1 s2 where s2.ProfitCode  = '[%2]')
    select
    J1.Account,
    max(A0.AcctName) as Name,
    j1.ProfitCode as Location,
    sum(J1.debit-j1.credit) as Balance
    From
    JDT1 J1,OACT A0
    Where
    J1.Account=A0.AcctCode and
    J1.RefDate >=@FromDate and
    J1.RefDate<= @ToDate and
    j1.ProfitCode=@Location and
    A0.GroupMask = 5
    Group By
    J1.Account,j1.ProfitCode

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • Need a Report for a List of PO's against a Sales Order

    Need a Report for a List of PO's against a Sales Order

    Hi
    We can get through Me2n, with selection parameters with account assignment as C (Sales Order)
    Regards
    Prasanna

  • Need to find the way to get the actual error message in the alert log.

    Hi,
    I have configured OEM 11G and monitoring target versions are from 9i to 11g. Now my problem is i have defined the metrics for monitoring the alert log contents and OEM is sending alert if there is any error in the alert log but it is not showing the actual error message just it is showing as below.
    ============================
    Target Name=IDMPRD
    Target type=Database Instance
    Host=oidmprd01.ho.abc.com
    Occurred At=Dec 21, 2011 12:05:21 AM GMT+03:00
    Message=1 distinct types of ORA- errors have been found in the alert log.
    Metric=Generic Alert Log Error Status
    Metric value=1
    Severity=Warning
    Acknowledged=No
    Notification Rule Name=RULE_4_PROD_DATABASES
    Notification Rule Owner=SYSMAN
    ============================
    Is there any way to get the complete error details in the OEM alert itself.
    Regards
    DBA.

    You need to look at the Alert Log error messages, not the "status" messages. See doc http://docs.oracle.com/cd/E11857_01/em.111/e16285/oracle_database.htm#autoId2

  • Help needed to report open orders from R/3 SD!

    Hello all,
    I need to report net open order value from SAP R/3 SD to BW. I'm using cube 0SD_C05 to report inquiry vs. quotation vs. orders. Is there any standard ods object in business content which can be used to report open orders? If not, will it be a good idea to create a ODS object and use it directly for reporting open orders? This BW installation is for a small IT company and we don't generate a lot of quotations or orders on a daily basis. Please guide.
    Thanks and Regards,
    Sumit

    hi Sumit,
    check if you can use 0SD_O01 - order item data
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/2b4f815f153014e10000000a114e5d/content.htm
    other business content ods objects are 0sd_o02-05.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/f5cc3c7dea9006e10000000a114084/frameset.htm
    (expand left side 'ods')
    hope this helps.

  • Need Consignment report in SAP

    Hello all MM Gurus,
    Is there any report in SAP that shows the total consignment stock arrival and consignment stock consumption in a given plant. The report should show the consignment stock arrival/consumption, value of the stock, material number, etcetc.
    Please let me know. I have suggested my user that we can use MB51 or MB54. But I am afraid, my user would get confused if he/she uses these transactions. Hence, I need a report in SAP that is particularly made for consignment stock.
    Thanks and Regards,
    Umakanth
    Moderator message: we are the ABAP gurus, please have a look in the ERP MM forums.
    Edited by: Thomas Zloch on Nov 26, 2010 2:20 PM

    Hi,
    I recommend the PCA standard drill-down or interactive reports accessible via the follwoing menu path:
    Accounting --> Enterprise Controlling --> PCA --> Infosystem --> Reports for PCA
    There are several reports which allow entering profitcenter groups or profitcenters.
    Long Text is not possible. Makes also no sense to report on Long Text.
    Best regards,
    Andreas

  • I Need interactive report to list the purchase orders details for a vendor

    I Need interactive report to list the purchase orders details for a vendor that has    interactive drill down options to give the detail of vendor from vendor master.

    Hi
    see this sample report
    this is Customer wise sales orders
    just make similar report just using LFA1, EKKO and EKPO tables instead of KNA1,VBAK,VBAP
    REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    REPORT demo_list_at_pf.
    START-OF-SELECTION.
    WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
    AT pf5.
    PERFORM out.
    AT pf6.
    PERFORM out.
    AT pf7.
    PERFORM out.
    AT pf8.
    PERFORM out.
    FORM out.
    WRITE: 'Secondary List by PF-Key Selection',
    / 'SY-LSIND =', sy-lsind,
    / 'SY-UCOMM =', sy-ucomm.
    ENDFORM.
    After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
    Secondary List by PF-Key Selection
    SY-LSIND = 14
    SY-UCOMM = PF06
    Example for AT USER-COMMAND.
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
    WRITE: 'Basic List',
    / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
    WRITE 'Top-of-Page'.
    ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE sy-pfkey.
    WHEN 'TEST'.
    WRITE 'Self-defined GUI for Function Codes'.
    ULINE.
    ENDCASE.
    AT LINE-SELECTION.
    SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
    PERFORM out.
    sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'FC1'.
    PERFORM out.
    WRITE / 'Button FUN 1 was pressed'.
    WHEN 'FC2'.
    PERFORM out.
    WRITE / 'Button FUN 2 was pressed'.
    WHEN 'FC3'.
    PERFORM out.
    WRITE / 'Button FUN 3 was pressed'.
    WHEN 'FC4'.
    PERFORM out.
    WRITE / 'Button FUN 4 was pressed'.
    WHEN 'FC5'.
    PERFORM out.
    WRITE / 'Button FUN 5 was pressed'.
    ENDCASE.
    sy-lsind = sy-lsind - 1.
    FORM out.
    WRITE: 'Secondary List',
    / 'SY-LSIND:', sy-lsind,
    / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    Regards
    Anji

Maybe you are looking for