Functional specs for generating Report.

< MODERATOR:  All points have been UNASSIGNED and the message locked.  Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums. >
Hi
This is Sunil garg Sd consultant.
Can any body provide me the format with exaples for writing a functional specs to generate the Reports.
How we will write yhe processing logic of that repot.
Tables & thier relations.
Please Help me
Thanks & Regards
Sunil garg

Patial example of Functional Specs. Please map it in Excel & it will give you better clearity. This is Sample for SD report covering Link Between Project System, Sales Order, Delivery, Billing & Accounting Document
<b>Initial Screen</b>:
Fields | Table-Field | Remark | Table Joint
Sales Organization | VBAK-WAERK | Single Selection
Distribution Channel | VBAK-VTWEG | Multiple Selection
Division | VBAK-SPART | Multiple Selection
Sales office | VBAK-VKBUR | Multiple Selection
Sold to Party | VBPA-KUNNR | Multiple Selection | VBAK-VBELN=VBPA-VBELN
Material | VBAP-MATNR | Multiple Selection | VBAK-VBELN=VBAP-VBELN
WBS Element | VBAP-PS PSP PNR | Multiple Selection | VBAK-VBELN=VBAP-VBELN
Sales Order Type | VBAK-AUART | Multiple Selection
Billing Type | VBRK-FKART | Multiple Selection | VBAK-VBELN=VBFA-VBELV & VBRK-VBELN=VBFA-VBELN
Period
<b>Main Screen</b>:
<i>Header</i>
Sales Organization | VBAK-VKORG
Period
<i>Item Level</i>:
Sold-to-Party | VBPA-KUNNR where VBPA-PARVW = AG
Distribution Channel | VBAK-VKWEG
Division | VBAK-SPART
WBS Element | VBAP-PS_PSP_PNR
Sales Office | VBAK-VKBUR
Sales Doc type | VBAK-AUART
Sales Doc No | VBAK-VBELN
Material | VBAP-MATNR
Mat Desc | VBAP-ARKTX
Qty | VBAP-KWMENG
UOM | VBAP-MEINS
Doc Currency | VBAK-WAERK
Delivery No | LIKP-VBELN
Billing Document Type | VBRK-FKART
Billing Document No | VBRK-VBELN
Billing Document Line No | VBRP-POSNR
Quantity | VBRP-FKIMG
Price - Base Price
Price - Service Tax
Price - Education Cess
Price - VAT
Price - Other taxes
Price - Total
Accounting Document Number | BKPF-BELNR
Table Joints at Item Level:
VBAK-VBELN = VBPA-VBELN
VBAK-VBELN = VBAP-VBELN
VBAK-VBELN = VBFA-VBELV (For Delivery)
VBAK-VBELN = VBFA-VBELV
LIKP-VBELN = VBFA-VBELV
VBRK-VBELN = VBRP-VBELN
VBRK-XBLNR = BKPF-XBLNR
some details are missing, please try to identify & use it as per your requirement.
Regards,
Rajesh Banka
Reward suitable points.
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

Similar Messages

  • FUNCTIONAL SPEC FOR ABAP REPORT DEVELOPMENT

    Hi There,
    Can someone please help with a sample of Funtional specs for ABAP Z report development that i could give ABAPer.
    You can scrub the report for names cof company and other personal info, i just want to see what is essential and what is not essential and the presentation.
    Please you can send to my email [email protected]
    Thanks

    Hi,
    Functional Specification  is written by the functional consultants to give to the ABAPers where there will write technical specifications to meet the requirement.
    Regarding your issue, u have to first know
    whats the requirement is
    when to start with either T.Code and
    at what field
    who are authorized to do that
    How we do that
    How this integrated with other modules
    what implications it is going to reflect in other modules
    the approval from the repective supervisors
    and finally viewing the output
    and rectifying the same after going through the technical requirements.
    Mohan
    Award pointsif it helps.

  • How to create functional spec. for tds report in sap

    hello ,
    My client wants to develop tds report as per their desired format. the format is like
    DATE OF DEDUCTION/DATE OF CREDIT
    NAME OF THE PARTY     
    SEC     
    COMP/NON-COMP.     
    AMOUNT PAID     
    TDS     
    SURCHARGE(10%)     
    ED.CESS(2%)     
    TOTAL     
    BSR CODE     
    CQ/DD NO.     
    CHAL.SR.NO.     
    DEPOSIT DATE     
    PAN NO.
    I  talked to our abap person.But he said he needs the functional spec to develop the same.But i dont know how to create the functional spec and table join.
    I am very new in sap.If possible then Please help me in this regard.
    thanks&regards
    baishali

    Hi
    In the functional specifications, you need to tell which Tables and Fields should be picked up for displaying the data. Specifically for TDS some of the common tables are WITH_ITEM
    Also look at J1IENMIS. Much of teh information you require is there in the new TDS Report for India, though not exactly in the same order
    Regards
    Sanil

  • Anyone written functional specs for reports?

    Please explain how to write functional specs for reports in sales? How is it done? I need to be able to speak clearly in the interview so help is greatly appreciated.
    Thank you.

    Hi Haken,
    Basically functional spec contains the functionality to be implemented.
    http://www.saptechies.com/what-are-functional-specifications/
    Suppose you need to write a spec for Treausry report.
    Then you will write the following things( this is only for your understanding)
    Treasury Report u2013 Receipts & Payments.
    1.Business Requirement Study:
    The Treasury Department of the Corporate Finance Division needs various information for reporting and planning. The proposed requirement would provide information in the form of movements in a number of selected GL Codes involving Customer and Vendor Reconciliation Accounts and Inter-Bank transactions.
    1.1
    Enhancement Title:Treasury Report u2013 Receipts & Payments
    Enhancement Type: Report
    Enhancement Number: 1245m
    SAP Application Module:FI
    Priority (H, M, L):     M     Related Documents:
    1.2
    End User Name(s): XYZ
    Business Process Advisor:     YZX
    Functional Designer: Vivek Baddula
    1.3 Risk Assessment
    This section will address the risk of pursuing the system development. Any unknowns such as new technology and critical dependencies should be discussed in this section.
    1.4  Alternatives
    If there are more than one alternative to handle the business requirement, this section should list such alternatives and the issues that may arise from implementing them. Nevertheless, the optimum alternative discussed in the design overview will be used
    1.5Estimated Budget in Man-Hours
    STAGE     MAN-HOURS
    Design     0.00
    Build     0.00
    Test/Release     0.00
    TOTAL     0.00
    2.Selection screen fields.
    BUKRS           Company Code       parameter         Mandatory
    GJAHR            Fiscal Year            select options   Mandatory
    BELNR            Document Number select options
    SHKZG            Debit/Credit ind       parameter
    DMBTR            Amt.in loc.cur.        parameter
    3.Retrieval Logic:
    Put the selection parameters in table u2018BSEGu2019 and retrieve the following details.
    BUKRS                             Company Code
    GJAHR                             Fiscal Year
    BELNR                             Document Number
    SHKZG                             Debit/Credit ind
    DMBTR                             Amt.in loc.cur.
    WRBTR                            Amount
    PSWSL                             General ledger currency
    HKONT                             G/L Account
    3.1.     Total DMBTR of all BELNR by group and by SHKZG as H and show under the Debit Column of respective groups (Customer/Vendor/Inter-Bank).
    3.2.     Total DMBTR of all BELNR by group and by SHKZG as S and show under the Credit Column of respective groups (Customer/Vendor/Inter-Bank).
    3.4.     Similarly consider only those documents which have a PSWSL ne INR and show them under different group and SHKZG.
    4..     Output Display::
    Here we mention the format of the output and the fields need to be displayed.
    This is just a sample prototype ...
    Hope this will help you...
    Regards,
    Viveks

  • Functional specs for Open BI reports

    Hi
    Has anyone written functional specs BI report. Can you help me out with an example?
    Thanks
    Tarang

    Hi Tarang,
    I never got an oppertunity to developed a Functional Spec for BI to my knowledge it is not a big deal to prepare it.
    Here we go you must be having atleast what you want from R/3 or the Functional Spec from Functionl req.
    That will contain the R/3 Fields and Table names, so based on that you have to find which app area does it comes.
    Then from there by seeing the fields and cross checking the Datasourcess under that application you can decide the the data source.
    Once the data source is decide you can prepare the Gap analisys to proceed further.
    By above details you can prepare a Functional Come Tech Spec.We made all these kind of specification(Functional Come Technical Spec).
    I believe there is no saparate Functiuonal Spec for BW activities.
    Best Regards,
    VNK.

  • SPECS for z-reports

    hi
    can anyone provide me with realtime specs for z reports.
    like the requirement of the client related to SD module.
    I possible giv me the code also.
    and one more thing. where do we run the report after created.
    kindly help
    regs
    sridhar

    Dear Sridhar,
    <b>and one more thing. where do we run the report after created.</b>
    You would assign a TCode for the report and possibly add it in the user menu. Hence, you can run the report either with transction code or from user menu.
    <b>can anyone provide me with realtime specs for z reports.</b>
    Functional specification: The Functional Specification is a comprehensive document created after the Software Requirements Document. It provides more details on selected items originally described in the Software Requirements Template. Elsewhre organizations combine these two documents into a single document.
    Functional specs is like a templeate document, hence it will be same whether it is AR or AP or CCA. Basically functional specs is a document which explains the requirements with technical details, so that technical consultant or any other person can read and understand what is the background of the report or an extension done in SAP.
    The Functional Specification describes the features of the desired functinality. It describes the product's features as seen by the stake holders,and contains the technical information and the data needed for the design and developement.
    The functional specs should have the following details:
    Background: Information why this report is required and Business process involved in that.
    Selection Parameters: This should what fields should be selection fields, which are optional and which are mandatory etc.
    Layout of the report: What information is required in the output of the report. This should also indicate the technical names - Table and field names from where the data needs to be fetched.
    Detailed Description: This should explain the logic of the report - what calculations needs to be done etc.
    The Functional Specification defines what the functionality will be of a particulat area that is to be precise a transaction in SAP terminology.
    It also contains the data regarding change history, if any.
    Functional Spec is mainly prepared for the purpose of developing the new reports (this happens only when SAP standard report not achieve the client purpose) using the ABAP Program. for ABAPers you need to give the details of the Tables , Fields and the logic how to pick the value and get the report.
    Visit the following links:
    http://www.sap-img.com/general/what-are-functional-specification-in-sap.htm
    http://www.epri.com/eprisoftware/processguide/funcspec.html
    Functional Specs
    Functional Specs
    Reg:Functional Specs
    Education cess
    Education cess
    <b>I possible giv me the code also.</b>
    SD Tables:
    http://www.erpgenie.com/abap/tables_sd.htm
    Tables:
    http://www.erpgenie.com/abap/tables.htm
    Code:
    TABLES: KNA1,VBAK,VBAP.
    TYPE-POOLS: SLIS.
    SELECT-OPTIONS: CUST FOR KNA1-KUNNR.
    DATA: BEGIN OF ITAB OCCURS 0,
    KUNNR LIKE KNA1-KUNNR,
    NAME LIKE KNA1-NAME1,
    LAND1 LIKE KNA1-LAND1,
    END OF ITAB.
    DATA: BEGIN OF JTAB OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    NETWR LIKE VBAK-NETWR,
    END OF JTAB.
    DATA: BEGIN OF KTAB OCCURS 0,
    POSNR LIKE VBAP-POSNR,
    MATNR LIKE VBAP-MATNR,
    END OF KTAB.
    DATA: REPID LIKE SY-REPID,
    *INTERNAL TABLE AND STRUCTURE.
    *SLIS_T_FIELDCAT_ALV IS AN INTERNAL TABLE.
    *SLIS_FIELDCAT_ALV IS AN STRUCTURE.
    F_KNA11 TYPE SLIS_T_FIELDCAT_ALV,
    F_KNA1 TYPE SLIS_FIELDCAT_ALV,
    F_VBAK1 TYPE SLIS_T_FIELDCAT_ALV,
    F_VBAK TYPE SLIS_FIELDCAT_ALV,
    F_VBAP1 TYPE SLIS_T_FIELDCAT_ALV,
    F_VBAP TYPE SLIS_FIELDCAT_ALV,
    I_EVENTS TYPE SLIS_T_EVENT,
    S_EVENTS TYPE SLIS_ALV_EVENT.
    PERFORM GET-VAL.
    REPID = SY-REPID.
    SELECT KUNNR NAME1 LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN
    CUST
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = REPID
    IT_FIELDCAT = F_KNA11
    IT_EVENTS = I_EVENTS
    TABLES
    T_OUTTAB = ITAB.
    GET VAL
    FORM GET-VAL.
    F_KNA1-FIELDNAME = 'KUNNR'.
    F_KNA1-REF_TABNAME = 'KNA1'.
    F_KNA1-REF_FIELDNAME = 'KUNNR'.
    APPEND F_KNA1 TO F_KNA11.
    F_KNA1-FIELDNAME = 'NAME'.
    F_KNA1-REF_TABNAME = 'KNA1'.
    F_KNA1-REF_FIELDNAME = 'NAME1'.
    APPEND F_KNA1 TO F_KNA11.
    F_KNA1-FIELDNAME = 'LAND1'.
    F_KNA1-REF_TABNAME = 'KNA1'.
    F_KNA1-REF_FIELDNAME = 'LAND1'.
    APPEND F_KNA1 TO F_KNA11.
    F_VBAK-FIELDNAME = 'VBELN'.
    F_VBAK-REF_TABNAME = 'VBAK'.
    F_VBAK-REF_FIELDNAME = 'VBELN'.
    APPEND F_VBAK TO F_VBAK1.
    F_VBAK-FIELDNAME = 'NETWR'.
    F_VBAK-REF_TABNAME = 'VBAK'.
    F_VBAK-REF_FIELDNAME = 'NETWR'.
    F_VBAK-DO_SUM = 'X'.
    APPEND F_VBAK TO F_VBAK1.
    F_VBAP-FIELDNAME = 'POSNR'.
    F_VBAP-REF_TABNAME = 'VBAP'.
    F_VBAP-REF_FIELDNAME = 'POSNR'.
    APPEND F_VBAP TO F_VBAP1.
    F_VBAP-FIELDNAME = 'MATNR'.
    F_VBAP-REF_TABNAME = 'VBAP'.
    F_VBAP-REF_FIELDNAME = 'MATNR'.
    APPEND F_VBAP TO F_VBAP1.
    S_EVENTS-NAME = 'USER_COMMAND'.
    S_EVENTS-FORM = 'VAL'.
    APPEND S_EVENTS TO I_EVENTS.
    ENDFORM.
    FORM VAL USING USER_COMMAND LIKE SY-UCOMM SEL TYPE SLIS_SELFIELD.
    DATA: CUS(10) TYPE N,
    SALNO(10) TYPE N,
    MAT(10) TYPE C.
    display lists
    IF SEL-FIELDNAME = 'KUNNR'.
    CUS = SEL-VALUE.
    SELECT VBELN NETWR FROM VBAK INTO TABLE JTAB WHERE KUNNR = CUS.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = REPID
    IT_FIELDCAT = F_VBAK1
    IT_EVENTS = I_EVENTS
    TABLES
    T_OUTTAB = JTAB.
    ENDIF.
    IF SEL-FIELDNAME = 'VBELN'.
    SALNO = SEL-VALUE.
    SELECT POSNR MATNR FROM VBAP INTO TABLE KTAB WHERE VBELN = SALNO.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
    EXPORTING
    I_TITLE = ' ITEM DETAILS'
    I_TABNAME = VBAP
    IT_FIELDCAT = F_VBAP1
    I_CALLBACK_PROGRAM = REPID
    IMPORTING
    ES_SELFIELD = SEL
    TABLES
    T_OUTTAB = KTAB.
    ENDIF.
    IF SEL-FIELDNAME = 'MATNR'.
    MAT = SEL-VALUE.
    SET PARAMETER ID 'MAT' FIELD MAT.
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    ENDIF.
    ENDFORM.
    Grid Display ***************
    TYPE-POOLS: SLIS.
    TABLES: KNA1.
    *DATA: ITAB TYPE STANDARD TABLE OF ZJKNA1 WITH HEADER LINE.
    DATA: BEGIN OF ITAB OCCURS 0,
    KUNNR TYPE KUNNR,
    NAME1 TYPE KNA1-NAME1,
    END OF ITAB.
    DATA: JTAB LIKE ITAB OCCURS 0 WITH HEADER LINE.
    DATA: IT_TOP TYPE SLIS_T_LISTHEADER.
    DATA: W_TOP TYPE SLIS_LISTHEADER.
    DATA: IT_EVENT TYPE SLIS_T_EVENT.
    DATA: W_EVENT TYPE SLIS_ALV_EVENT.
    W_EVENT-NAME = 'TOP_OF_PAGE'.
    W_EVENT-FORM = 'TOPS'.
    APPEND W_EVENT TO IT_EVENT.
    W_EVENT-NAME = 'USER_COMMAND'.
    W_EVENT-FORM = 'UCOM'.
    APPEND W_EVENT TO IT_EVENT.
    DATA: S_LAYOUT TYPE SLIS_LAYOUT_ALV.
    *S_LAYOUT-NO_VLINE = 'X'.
    S_LAYOUT-ZEBRA = 'X'.
    S_LAYOUT-NO_COLHEAD = ''.
    S_LAYOUT-TOTALS_ONLY = 'TL'.
    DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: W_LISTHEADER TYPE SLIS_LISTHEADER.
    W_LISTHEADER-TYP = 'H'.
    W_LISTHEADER-KEY = 'THIS IS LIST'.
    APPEND W_LISTHEADER TO IT_LISTHEADER.
    DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA: W_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    W_FIELDCAT-COL_POS = 1.
    W_FIELDCAT-FIELDNAME = 'KUNNR'.
    W_FIELDCAT-TABNAME = 'ITAB'.
    W_FIELDCAT-SELTEXT_M = 'CUST. NO'.
    W_FIELDCAT-HOTSPOT = 'X'.
    APPEND W_FIELDCAT TO IT_FIELDCAT.
    CLEAR W_FIELDCAT.
    W_FIELDCAT-COL_POS = 2.
    W_FIELDCAT-FIELDNAME = 'NAME1'.
    W_FIELDCAT-TABNAME = 'ITAB'.
    W_FIELDCAT-SELTEXT_M = 'CUST. NAME'.
    W_FIELDCAT-OUTPUTLEN = 30.
    APPEND W_FIELDCAT TO IT_FIELDCAT.
    CLEAR W_FIELDCAT.
    SELECT KUNNR NAME1 FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE ITAB
    UP TO 50 ROWS.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER = ' '
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_CALLBACK_TOP_OF_PAGE = W_LISTHEADER
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = 'ENJOY.BMP'
    I_GRID_TITLE = 'THIS IS MY FIRST ALV REPORT'
    I_GRID_SETTINGS = W_LISTHEADER
    IS_LAYOUT = S_LAYOUT
    IT_FIELDCAT = IT_FIELDCAT
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS = IT_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
    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
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    **& Form TOPS
    text
    --> p1 text
    <-- p2 text
    FORM TOPS .
    REFRESH IT_TOP.
    W_TOP-TYP = 'H'.
    *W_TOP-KEY = 'JAGAN'.
    W_TOP-INFO = 'THIS IS SAMPLE HEADER'.
    APPEND W_TOP TO IT_TOP.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_TOP
    I_LOGO = 'IDLOGO1'
    I_END_OF_LIST_GRID =
    ENDFORM. " TOPS
    *& Form UCOM
    text
    --> p1 text
    <-- p2 text
    FORM UCOM USING USER_COMMAND LIKE SY-UCOMM SEL TYPE SLIS_SELFIELD.
    DATA: CUS(10) TYPE N VALUE '0000000000'.
    CUS = SEL-VALUE.
    REFRESH ITAB.
    SELECT KUNNR NAME1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR = CUS.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IT_FIELDCAT = IT_FIELDCAT
    IT_EVENTS = IT_EVENTS
    TABLES
    T_OUTTAB = ITAB.
    ENDFORM. " UCOM
    Regards,
    Naveen.

  • Functional spec for STO

    Hi
    Could some one provide functional spec for a( STO) z report to  fetch below data  .
    Receving point
    ship to party
    STO number
    Material number
    delivery creation date
    quantity in storeage location

    Dear Rajakumar Reddy,
    Your client/company will be having a format for FS.
    In that FORMAT, give your inputs for STO Report based on the following points.(as i dont have system access now, check yourself before concluding. to find the table and fields, you have to press F1 on the value in the screen)
    Receving point - in ME22N/ME23N, put the mouse over the receiving plant and press F1. You will get the table and field.
    ship to party - in LIKP check for KUNNR/KUNAG
    STO number in LIKP check for VBELN
    Material number - in LIPS check for  MATNR
    delivery creation date- in LIKP check for DATE
    quantity in storeage location - GET THE TABLE FOR MMBE and input the material and storage location to fetch QTY.
    Thanks & Regards,
    Hegal K Charles

  • Error in XXL_FULL_API function module for download report to excel

    Hi all,
    I am using XXL_FULL_API function module for download report to excel, In this FM we have to fill a table called sema        = t_gxxlt_s. in this table we have a fields called
    i_sema-col_no  = 19.
      i_sema-col_src = 19.
      i_sema-col_typ = 'STR'.
      i_sema-col_ops = 'DFT'
    here in 'col_typ' if we put STR in excel it will come as a text but i wnat the time field what i have to pass ?
    and for filed 'col_ops' also ??
    Thaks,
    Sridhar

    Hi sridhar joshi,
    Please check this program
    REPORT Excel.
    TABLES:
      sflight.
    * header data................................
    DATA :
      header1 LIKE gxxlt_p-text VALUE 'Suresh',
      header2 LIKE gxxlt_p-text VALUE 'Excel sheet'.
    * Internal table for holding the SFLIGHT data
    DATA BEGIN OF t_sflight OCCURS 0.
            INCLUDE STRUCTURE sflight.
    DATA END   OF t_sflight.
    * Internal table for holding the horizontal key.
    DATA BEGIN OF  t_hkey OCCURS 0.
            INCLUDE STRUCTURE gxxlt_h.
    DATA END   OF t_hkey .
    * Internal table for holding the vertical key.
    DATA BEGIN OF t_vkey OCCURS 0.
            INCLUDE STRUCTURE gxxlt_v.
    DATA END   OF t_vkey .
    * Internal table for holding the online text....
    DATA BEGIN OF t_online OCCURS 0.
            INCLUDE STRUCTURE gxxlt_o.
    DATA END   OF t_online.
    * Internal table to hold print text.............
    DATA BEGIN OF t_print OCCURS 0.
            INCLUDE STRUCTURE gxxlt_p.
    DATA END   OF t_print.
    * Internal table to hold SEMA data..............
    DATA BEGIN OF t_sema OCCURS 0.
            INCLUDE STRUCTURE gxxlt_s.
    DATA END   OF t_sema.
    * Retreiving data from sflight.
    SELECT * FROM sflight
             INTO TABLE t_sflight.
    * Text which will be displayed online is declared here....
    t_online-line_no    = '1'.
    t_online-info_name  = 'Created by'.
    t_online-info_value = 'KODANDARAMI REDDY'.
    APPEND t_online.
    * Text which will be printed out..........................
    t_print-hf     = 'H'.
    t_print-lcr    = 'L'.
    t_print-line_no = '1'.
    t_print-text   = 'This is the header'.
    APPEND t_print.
    t_print-hf     = 'F'.
    t_print-lcr    = 'C'.
    t_print-line_no = '1'.
    t_print-text   = 'This is the footer'.
    APPEND t_print.
    * Defining the vertical key columns.......
    t_vkey-col_no   = '1'.
    t_vkey-col_name = 'MANDT'.
    APPEND t_vkey.
    t_vkey-col_no   = '2'.
    t_vkey-col_name = 'CARRID'.
    APPEND t_vkey.
    t_vkey-col_no   = '3'.
    t_vkey-col_name = 'CONNID'.
    APPEND t_vkey.
    t_vkey-col_no   = '4'.
    t_vkey-col_name = 'FLDATE'.
    APPEND t_vkey.
    * Header text for the data columns................
    t_hkey-row_no = '1'.
    t_hkey-col_no = 1.
    t_hkey-col_name = 'PRICE'.
    APPEND t_hkey.
    t_hkey-col_no = 2.
    t_hkey-col_name = 'CURRENCY'.
    APPEND t_hkey.
    t_hkey-col_no = 3.
    t_hkey-col_name = 'PLANETYPE'.
    APPEND t_hkey.
    t_hkey-col_no = 4.
    t_hkey-col_name = 'SEATSMAX'.
    APPEND t_hkey.
    t_hkey-col_no = 5.
    t_hkey-col_name = 'SEATSOCC'.
    APPEND t_hkey.
    t_hkey-col_no = 6.
    t_hkey-col_name = 'PAYMENTSUM'.
    APPEND t_hkey.
    * populating the SEMA data..........................
    t_sema-col_no  = 1.
    t_sema-col_typ = 'STR'.
    t_sema-col_ops = 'DFT'.
    APPEND t_sema.
    t_sema-col_no = 2.
    APPEND t_sema.
    t_sema-col_no = 3.
    APPEND t_sema.
    t_sema-col_no = 4.
    APPEND t_sema.
    t_sema-col_no = 5.
    APPEND t_sema.
    t_sema-col_no = 6.
    APPEND t_sema.
    t_sema-col_no = 7.
    APPEND t_sema.
    t_sema-col_no = 8.
    APPEND t_sema.
    t_sema-col_no = 9.
    APPEND t_sema.
    t_sema-col_no = 10.
    t_sema-col_typ = 'NUM'.
    t_sema-col_ops = 'ADD'.
    APPEND t_sema.
    CALL FUNCTION 'XXL_FULL_API'
      EXPORTING
    *   DATA_ENDING_AT          = 54
    *   DATA_STARTING_AT        = 5
       filename                = 'TESTFILE'
       header_1                = header1
       header_2                = header2
       no_dialog               = 'X'
       no_start                = ' '
        n_att_cols              = 6
        n_hrz_keys              = 1
        n_vrt_keys              = 4
       sema_type               = 'X'
    *   SO_TITLE                = ' '
      TABLES
        data                    = t_sflight
        hkey                    = t_hkey
        online_text             = t_online
        print_text              = t_print
        sema                    = t_sema
        vkey                    = t_vkey
    EXCEPTIONS
       cancelled_by_user       = 1
       data_too_big            = 2
       dim_mismatch_data       = 3
       dim_mismatch_sema       = 4
       dim_mismatch_vkey       = 5
       error_in_hkey           = 6
       error_in_sema           = 7
       file_open_error         = 8
       file_write_error        = 9
       inv_data_range          = 10
       inv_winsys              = 11
       inv_xxl                 = 12
       OTHERS                  = 13
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    please refer this link
    http://www.thespot4sap.com/Articles/Download_to_excel.asp
    Best regards,
    raam

  • Function Modul for generate hashcode

    Hi all
    i search a function modul for generate a hashcode. Does it existing a function modul for that?
    Regards

    Hi
    Try FKK_BR_BUILD_HASH_CODE.
    Pushpraj

  • You are given functional specs for a BDC program

    You are given functional specs for a BDC program
    and you need to decide whether to write a method
    call transaction or a session. How u will decide?
    plz explain clearly

    depends of type of erro handling required and amount of data to be transfered, we can decide which is best method.
    call transaction - no errorhandling, we have to write a code to show errors
    sessin method - errohandling is there, locking mechanism is there.
    for large amount of data , we should go for session method. for faster data transfer we can go for call transaction

  • Functional Specs for Mapping Idocs to EDI

    Hello Friends ..
    Am new to world of EDI...
    can any one explain ..wat do u mean by devolping functional specs for mapping IDocs to EDI..
    If you can provide me with examples or if you guys can suggest any site where i can browse some material about EDI..i wud really appreciate...
    Best Regards

    Hi Rohan,
    >>>do u mean by devolping functional specs for mapping IDocs to EDI..
    you have to know which idoc fields you have to map to EDI message fields
    take a look at those links:
    they will show how do you map different IDOC message types to EDI messages
    <b>IDOC - EDI mappings:</b>
    http://www.sapgenie.com/sapedi/mapping.htm
    <b>Analysis of the compatibility of EDIFACT messages in the form of SIMPL-EDI with the IDoc Interface:</b>
    http://www.sapgenie.com/sapgenie/docs/SIMPL-EDI-E_ORDERS.doc
    Regards,
    michal

  • Functional specs for output of ship and debit contract

    Hi All,
    Does anyone have a doc on the functional specs for output of ship and debit contract? If so pls email me at [email protected]
    With Thanks & Warm Regards
    SK

    What is the exact info which you are looking for regarding ship and debit contract?. What do you mean by functional specs..?.

  • Functional specs for BDC

    Kindly can ayone helo me out in prepare Functional specs for BDC For f-28

    Hi
    There is no need of preparing FS (Functional Specs) for BDC.
    You can Record the BDC and just give the Recording Name to the ABAP Guy, he will prepare the BDC based on that recording.
    Go to SHDB and do the Recording.
    Regards
    Venkat

  • Functional specs for customer hierachy

    Dear Gurus,
    I need to develop functional specs for customer hierarchy.the requirement is to create a new hierarchy type and move all the existing records from the present customer hierarchy setup since the present system has lot of scrap data.for this i need to develop a functional and technical specs.can anyone please send it to me.can any one please help me here at vsapservicesatgmail.com.
    thanks,
    sap_consultant
    Edited by: sap_consultant1234 on Dec 30, 2011 5:51 AM

    Hi Utpal,
    Welcome to SDN,
    Being a newcomer to forum before posting the thread read the forum rules,you are asking to send the details to your mail which is forbidden by the forum.
    Coming to the thread  Customer Hierarchies stored in table KNVH,go to SE16N give the table KNVH get valid inputs and build
    valid logic.
    Regards
    Ram

  • FUNCTIONAL SPEC FOR GL BALANCES

    THere is a functional spec for LSMW for uploading gl balances thru FB01. There are feilds like legacy account, sub account and other fields that the business user wants to flow into SAP. But in FB01 there is only one reference field which i have used for legacy account number. How do we create additional fields in FB01 in order to input other fields like legacy sub accounts and other info that would flow into SAP.
    I was told to work with crosswalk tables. WHat are they and how do I use them here. Please provide detailed instructions on how to bring in additional fields from legacy into FB01
    Thanks

    Lakshmi, can you please send me the format of that func spec, if possible?

Maybe you are looking for