Standard Reports for Hierarchial Displays

Hi All,
Can anyone please post the reports which are similer to ENGR T-code. I need some sample reports which should have a hierarchy just as in case of ENGR we have in Create Periodic Declarations.
Thanks in Advance,
Kishore

FOR HIERARCGIAL REPORT HERE IS CODE
Report Zalv_interactivehierarchy *
*& AS : ALV code for hierarchical sequential list display(single child)
*& List of SAP tables as the parent node with interactive features(as a pop up)
*& and List of fields as the child node with interactive features too(as a pop *& up)
REPORT zalv_interactivehierarchy.
type-pools declarations for alv and icon
TYPE-POOLS: slis,icon.
*structure declaration for table details
TYPES : BEGIN OF ty_dd02l,
tabname TYPE tabname,
tabclass TYPE tabclass,
expand,
END OF ty_dd02l.
*internal table and wa decln for table details
DATA : it_dd02l TYPE STANDARD TABLE OF ty_dd02l,
wa_dd02l TYPE ty_dd02l.
*structure declarations for field details
TYPES : BEGIN OF ty_dd03l,
tabname TYPE tabname,
fieldname TYPE fieldname,
keyflag TYPE keyflag,
checktable TYPE checktable,
rollname TYPE rollname,
datatype TYPE datatype_d,
leng TYPE ddleng,
END OF ty_dd03l.
Internal table and wa decln for field details
DATA : it_dd03l TYPE STANDARD TABLE OF ty_dd03l,
wa_dd03l TYPE ty_dd03l.
*Internal table and wa decln for tabletext details
DATA : it_dd02t TYPE STANDARD TABLE OF dd02t,
wa_dd02t TYPE dd02t.
data declarations for ALV
DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
it_layout TYPE slis_layout_alv,
key TYPE slis_keyinfo_alv.
*Input the tables.User cannot enter a range but can enter any number
*of tables one by one in this select-options
SELECT-OPTIONS : s_table FOR wa_dd02l-tabname NO INTERVALS.
*initializatin event
INITIALIZATION.
*start-of-selection event
START-OF-SELECTION.
*subroutine to fetch the data from the tables
PERFORM fetch_tabledata.
*subroutine to build alv hierarchy output
PERFORM hierarchyalv_build.
*& Form hierarchyalv_build
text
--> p1 text
<-- p2 text
FORM hierarchyalv_build .
*fieldcatalogue
PERFORM build_fieldcat.
*layout
PERFORM build_layout.
*key information for hierarchy
PERFORM build_key.
*output
PERFORM list_display.
ENDFORM. " hierarchyalv_build
*& Form build_fieldcat
text
--> p1 text
<-- p2 text
FORM build_fieldcat .
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'TABNAME'.
wa_fieldcat-tabname = 'IT_DD02L'.
wa_fieldcat-seltext_m = 'Tablename'.
wa_fieldcat-key = 'X'.
wa_fieldcat-hotspot = 'X'.
wa_fieldcat-emphasize = 'C610'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 2.
wa_fieldcat-fieldname = 'FIELDNAME'.
wa_fieldcat-tabname = 'IT_DD03L'.
wa_fieldcat-key = 'X'.
wa_fieldcat-hotspot = 'X'.
wa_fieldcat-seltext_m = 'Field'.
wa_fieldcat-emphasize = 'C510'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " build_fieldcat
*& Form build_layout
text
--> p1 text
<-- p2 text
FORM build_layout .
*to expand the header table for item details
it_layout-expand_fieldname = 'EXPAND'.
it_layout-window_titlebar = 'Interactive Hierarchical ALV'.
it_layout-lights_tabname = 'IT_DD03L'.
it_layout-colwidth_optimize = 'X'.
ENDFORM. " build_layout
*& Form build_key
text
--> p1 text
<-- p2 text
FORM build_key .
*key infomation for the header and item table
key-header01 = 'TABNAME'.
key-item01 = 'TABNAME'.
ENDFORM. " build_key
*& Form list_display
text
--> p1 text
<-- p2 text
FORM list_display .
*ALV output
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
is_layout = it_layout
it_fieldcat = it_fieldcat
i_tabname_header = 'IT_DD02L'
i_tabname_item = 'IT_DD03L'
is_keyinfo = key
TABLES
t_outtab_header = it_dd02l
t_outtab_item = it_dd03l.
ENDFORM. " list_display
*& Form fetch_tabledata
text
--> p1 text
<-- p2 text
FORM fetch_tabledata .
*select table data
SELECT tabname
tabclass
FROM dd02l
INTO CORRESPONDING FIELDS OF TABLE it_dd02l
WHERE tabname IN s_table.
*select field data
IF it_dd02l[] IS NOT INITIAL.
SELECT tabname
fieldname
keyflag
checktable
rollname
leng
datatype
FROM dd03l
INTO CORRESPONDING FIELDS OF TABLE it_dd03l
FOR ALL ENTRIES IN it_dd02l
WHERE tabname EQ it_dd02l-tabname.
ENDIF.
*select table texts
IF it_dd02l[] IS NOT INITIAL.
SELECT tabname
ddtext
FROM dd02t
INTO CORRESPONDING FIELDS OF TABLE it_dd02t
FOR ALL ENTRIES IN it_dd02l
WHERE tabname EQ it_dd02l-tabname
AND ddlanguage = 'EN'.
ENDIF.
ENDFORM. " fetch_tabledata
*& Form user_command
text
*User actions on ALV
FORM user_command USING r_ucomm TYPE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
READ TABLE it_dd02l INDEX rs_selfield-tabindex INTO wa_dd02l.
IF sy-subrc = 0.
PERFORM select_table.
EXIT.
ENDIF.
READ TABLE it_dd03l INDEX rs_selfield-tabindex INTO wa_dd03l.
IF sy-subrc = 0.
PERFORM select_field.
EXIT.
ENDIF.
ENDCASE.
ENDFORM. "user_command
*& Form select_table
text
--> p1 text
<-- p2 text
*Subroutine to display the details of the parent node selected
FORM select_table .
DATA : title(20),
category(10),
description(60),
texts(40),
text(60).
title = wa_dd02l-tabname.
category = wa_dd02l-tabclass.
texts = 'The table category : '.
CONCATENATE texts category INTO text separated by space.
READ TABLE it_dd02t INTO wa_dd02t WITH KEY tabname = wa_dd02l-tabname.
description = wa_dd02t-ddtext.
CALL FUNCTION 'POPUP_FOR_INTERACTION'
EXPORTING
headline = 'Selection'
text1 = title
text2 = description
text3 = text
button_1 = 'Back to List'.
ENDFORM. " select_table
*& Form select_FIELD
text
--> p1 text
<-- p2 text
*Subroutine to display the details of the child node selected
FORM select_field .
DATA : title(20),
text1(35),
table(10),
text2(45),
check(20),
datype(6),
length(3),
roll(8),
key(10),
flag(2),
keytext(15),
typedet(18),
details(25),
text3(15),
text4(25),
text5(15),
text6(25),
text7(15),
text8(25).
text1 = 'The table for the selected field is'.
title = wa_dd03l-fieldname.
table = wa_dd03l-tabname.
check = wa_dd03l-checktable.
datype = wa_dd03l-datatype.
length = wa_dd03l-leng.
roll = wa_dd03l-rollname.
key = 'Keyfield '.
flag = wa_dd03l-keyflag.
typedet = 'Datatype & Length'.
text4 = 'Selected field is'.
text5 = 'Check table'.
text7 = 'Data Element'.
CONCATENATE text1 table INTO text2 separated by space.
CONCATENATE key flag INTO keytext separated by space.
concatenate typedet datype length into details separated by space.
concatenate text3 title into text4 separated by space.
concatenate text5 check into text6 separated by space.
concatenate text7 roll into text8 separated by space.
CALL FUNCTION 'POPUP_FOR_INTERACTION'
EXPORTING
headline = 'Selection'
text1 = text2
text2 = text4
text3 = text6
text4 = details
text5 = text8
text6 = keytext
button_1 = 'Back to List'.
ENDFORM. " select_FIELD

Similar Messages

  • Standard Report for Payment Proposal:Open Items

    Hi all
    Is there any standard report for to display Payment Proposal:Open Items?
    I know we can see them in F110 but I am wondering if there's other related report.
    Thanks in advance.
    az

    Hi,
    Check following report. it may help you
    S_P99_41000099 - Payment List
    Regards,
    Jigar

  • Standard reports for materials begning,purchase,sale,closing stock

    Dear Experts,
    Is there any standard report for
    Opening stock
    Purchase
    Sale
    Closing stock
    in terms of QTY and value for all materials.
    regards
    RR

    Hi
    you can use MB5B (with Non hierarchial Display) and MB5L
    br, Ajay M

  • Standard report  for solve inconsistencies with user SAP.

    Dear Experts.
    We have a problem with a user(ZEST) that in the portal when I open a service(application) display a  blue Window of Internet Explorer without display information.
    We have copied this user((ZEST) TO (ZEST2 )with the same roles , however   this user  new work fine.
    My question is:
    There are a standard report  for solve inconsistencies?
    We have deleted the user and have created it of new, however this not work.

    Run the t-code SA38
    Specify the name POWL_D01
    In selection screen specify the user id in USER field of which your facing issue
    Click on Execute
    Run the T-code SA38
    Specify the name POWL_WLOAD
    In selection screen specify the user id in User input field of which your facing issue
    Click on Execute
    Now you check it issue will solve.

  • Standard report for Vendor Evaluation

    Hi everyone,
    Is there any standard reports (ALV) to display Vendor evaluation ranking list except ME65, ME6B, ME6H.
    any other Program names will also do...
    Thanks
    Sukriti...

    hi
    S_ALR_87012990 - Evaluation Comparison
    ME6H - Standard Analysis: Vendor Evaluation
    ME6E - Evaluation Records Without Weighting
    ME6C - Vendors Without Evaluation
    ME6B - Display Vendor Evaluation for Material
    ME65 - Evaluation Lists
    regards
    kunal

  • Standard report for Request for down payment

    Dear All,
    Is there any standard report on request for down payment in case of vendor and Custm

    Hi,
    There is no standard report for displaying the Down Payment Requests.
    Workaround is go in standard line item reports for Vendor & Customer & select the line items for Noted Item with SPL GL Indicator F.
    Regards,
    Amit

  • Standard report for FI Special Ledger Line Item report

    is there any standard report for FI Special Ledger Line Item report

    Hi
    GD23 for Display of SPL Document
    GD13 for Trail Balance of SPL
    GCAC for Ledger Comparision
    GVTR Balance Carry forward in SPl.
    Assign Points if useful.

  • Standard report for invoices against a quantity contract

    dear experts,
    is there any standard report for how much invoices(billing) should be made against a quantity contract.
    my requirement is suppose if  i enter a quantity contract number then it will display all the invoices against that contract with
    invoice values.if any please let me know so that we make make our process much better.
    regards,
    amar.

    Dear Amar,
    In SAP, this contract to Invoice their is not standard report.
    Report
    If you enter a quantity contract number, to get a list of invoices with qty and invoice amt
    Prepare a SQVI REPORT
    USING TABLES
    VBRK for Invoice qty amt
    VBRP for Invoice number, dates...
    VBFA to get the intial document number
    VBAK - to get the contract number
    VBAP - to get the material.
    Its worth spending little time to create the report.
    Ensure standard SAP contract to Invoice is like compartments
    Regards,
    Mani

  • Standard report for history per purchasing document

    hello!
    Is there any standard report for history per purchasing document that displays also the delivery costs?
    Thank you!

    Dear Landra,
    I think this type of report is not available in SAP, may be you have to write program with ABAPer
    I  have small idea,try ME2N,ME2k throgh dynamic selection,if available its good
    Hope this may helps you
    Prem.

  • Standard report for pricing condition.

    Hello everyone,
    Is there any standard report to see the price maintain in particular condition record in VK11 with different key combination. can anybody tell me in which table it is maintain.
    Regards,
    Naveed Ansari.

    Hi
    The Standard report for Pricing condition is V/LD.
    You can get datas like Material prices, Individual prices, discounts & surcharge prices, Material list/Material pricing Group with & without scal display, Price list types with & without scale display.
    V/LB   SAPMV14A       Change Pricing Report
    V/LC   SAPMV14A       Display Pricing Report
    V/LD   SAPMV14A       Execute pricing report
    V/LE   RV14ALLE       Generate pricing reports
    Award if useful to you
    Thank you
    Edited by: narendran vajravelu on Oct 14, 2008 7:23 AM
    Edited by: narendran vajravelu on Oct 14, 2008 7:25 AM

  • Standard reports for fi

    HI,
    Kindly let me know is there standard reports
    for
    1.current monthly income
    2.current monthly expenses
    3.last month income
    4.last month expenses
    5. last year income
    6. last year expenses
    7.budget
    8.all cost
    9.financial result.
    Regards,
    Shradha.

    Hi,
    The reports FBL3n will continue to work for old years. For new use FAGLB03 - Display Balances (New)
    Also use S_PL0_86000028 - Fin. Statement: Actual/Actual Comparison
    Regards,
    Kiran

  • Standard reports for Global employment

    Hi ,
    Are there any standard reports for Global employment.
    for eg. at Home country, I would like to know the Host country details like country code, personnel area etc.
    Would they work with the authorizations available at the home country ie to display host country org. assignment.
    Regds
    SK

    Hi SK,
    Actually home country & host country asignemnt you can store in in IT710. Check it might help you.
    Regards,
    Purnima

  • SAP Standard Reports for MM

    Dear Experts,
                           i need the details for SAP Standard report for this,
              Inventory Management,Purchasing, Warehouse Management,etc.,         all are these mm modules.
    List of these modules for SAP standard reports:
    1.SD
    2.FI
    3.CO
    4.MM
    5.ABAP
    6.BASIS
    Plse give the link of all these modules.
    Regards,
    A.Sithanandan

    hi..
    please check this link..
    it may help u,,,
    http://wiki.sdn.sap.com/wiki/display/ERPLO/SAPStandardReports
    thnks

  • SAP Standard Reports for FICO

    Hi there,
    I'm new to SAP Finantials and i do not have access to the sap menu to check o Information Systems wich are the SAP Standard Reports for FICO. Could you help me on finding the names of these standard reports both for receivables and payables?
    Thanks in advance,
    Marc

    1.  Structured Account Balances (Balance Sheet & P&L Account  in FS Version Format)                                          S_ALR_87012279
    2.  GL Account Balances (Totals & Balances )             S_ALR_87012301
    3.  GL Line Items                                        S_ALR_87012282
    4.  Statements for GL Accounts, Customers & Vendors      S_ALR_87012332
    5.  Document Journal                                     S_ALR_87012287
    6.  Compact Document Journal                             S_ALR_87012289
    7.  Line Item Journal                                    S_ALR_87012291 8.  Display of Changed Documents                         S_ALR_87012293
    9.  Invoice Numbers assigned Twice                       S_ALR_87012341
    10. Gaps in Document Number Assignments                  S_ALR_87012342
    11. Posting Totals Document Type wise                    S_ALR_87012344
    12. Recurring Entry Documents                            S_ALR_87012346  
    13. Chart of Accounts                                   S_AL:R_87012326
    14. GL Account List                                     S_AL:R_87012328
    15. Display Changes to GL Accounts                       S_ALR_87012308
    16. Financial Statement Version                          FSE2  CASH & BANK REPORTS 
    1. Check Information List                                FCH6
    2. Check Register                                        FCHN
    3. Check Number Ranges                                   S_P99_41000102 
    TAX REPORTS & REGISTERS
    1. List of Internally generated Excise Invoices          J1I7
    2. Capital Goods Transfer of Credit                      J2I8                        
    3. List of GRs without Excise Invoice                    J1IGR
    4. List of SubContract Challans                          J1IFR
    5. CENVAT Register                                       J2I9 
    ACCOUNTS RECEIVABLE 
    1. Bill Holdings (Bill of Exchange Receivable List  with ALV facility)
                                                           S-ALR_87009987
    2. Customer Balances in Local Currency                   S_ALR_87012172
    3. Customer Line Items                                   S_ALR_87012197
    4. Due Dates Analysis for Open Items                     S_ALR_87012168
    5. List of Customer Open Items                           S_ALR_87012173
    6. Customer Evaluation with Open Item Sorted List        S_ALR_87012176
    7. Customer Payment History                              S_ALR_87012177
    8. Customer Open Item Analysis (Overdue Items Balance)   S_ALR_87012178
    9. List of Customer Cleared Line Items                   S_ALR_87012198
    10.List of Down Payments open at key date                S_ALR_87012199
    11. Debit & Credit Notes Register u2013 Monthly              S_ALR_87012287
    12. Customer wise Sales                                  S_ALR_87012186                        
    1. Vendor Balances                                       S_ALR_87012082
    2. Vendor Debit/Credit Memo Register                     S_ALR_87012287

  • Standard  report(for open PO order items) with estimated Delivery dates

    hi friends
    i would like to know if there is any standard  report(for open PO order items) with estimated Delivery dates on it.
    thanks
    alahari

    ME2M (by material)
    ME2L (by vendor)
    ME2N (by number)
    Use selection parameter WE101 for open GR
    and scope of list EINT (scheduling lines)

Maybe you are looking for

  • My iPhone 5 won't allow me to open pictures from text messages.

    My iPhone 5 won't allow me to open pictures from text messages. I tap the picture, then it just goes to a "thinking" screen and says "Restoring..." I tried restarting, but it still won't allow me to open pictures. Please help!!

  • File Ext Openning problem!

    I have searched all over my mac high and low and can not figure out out to make the default file ext. open in the correct program example .doc, .eps, .psd, .pdf, .indd I can only right click and have it open in program if I double click all files ope

  • BPM 11g: problem trying invoke a process instance from Java

    Hi all, I'm trying use this java code http://kr.forums.oracle.com/forums/thread.jspa?messageID=9244238 bpmServiceClientFactory = BPMServiceClientFactory.getInstance(properties, null, null); bpmContext = bpmServiceClientFactory.getBPMUserAuthenticatio

  • Trouble with Color Overlay

    Hi, In the attached picture, I would like to change the color of the girl's pants. Once I select them, am I not able to make a change to them on that layer? Do i have to copy the selection of the pants to a new layer and then make the change? Because

  • Streaming data into LONG results in ORA-24307

    I am migrating an application to a new environment. During testing I am receiving the following error when trying to insert a record into an Oracle 8.1.7.4 table: Error saving report: update BlobPiece osetpi(): ORA-24307: invalid length for piece The