Smart form: how to display two total amount in footer

hi, In smart form i trying to dispaly carry forward total and page total in footer, the first statment
of the footer only displaying, next one not displaying. But each page in footer i have to dispaly both carry forward total and page total. how to do this?

Hi ,
This is a tricky solution.
Split the footer into two.
i.e  create two windows with the property of footer.
Now use the first window to display a result and second window to display the next result.
This will surely work .
Just take care of the formatting.
Regards,
K.SIbi

Similar Messages

  • Hi guru's in SMART FORMS how i  can get subtotals , and page totals

    hi guru's in SMART FORMS how i  can get subtotals , and page totals plz help me

    Hi
    check this
    Subtotals - Check the link...
    <b>Re: Subtotal with Table Node in smartforms can use the PROGRAM LINES node to calculate the page totals in Table node.
    Table Node has three sections:
    Header: (Triggered once in the beginning of a page)
    Create a Program lines node to reset the value of TOTAL to 0.
    Main Area (For each row of internal table)
    Create a Program lines node to add the Value to TOTAL
    Footer (Triggered once in the End of a page)
    Display the TOTAL
    Note: 1) You can declare the TOTAL variable in the GLOBAL Definitions under GLOBAL DATA.
    2) In the PROGRAM lines always pass the TOTAL in both INPUT and OUTPUT parameters
    Regards
    Anji

  • How to hide document total amount

    Hi all,
    does anyone know how to hide document total amount in Delivery form?
    thanks

    Hi Fransisca,
    you can hide in Total amount in that table by clicking form settings then select table format and uncheck total amount and click ok.This is possible upto my knowledge and i dont have any idea about to hide in hearder level.
    Edited by: Preme on Dec 29, 2007 10:30 AM

  • How to display the total at the end of the column in the report.

    Hi all,
    Could any one please intimate, how to display the total at the end of the column. For example, i have a column, "sales" as the Key figure, and it has the data for all the transactions. Now, i would like to display the total at the end of the report, below the same column.
    Similarly, for all the other columns in the report, i need to display the total for all the columns in the report.
    Thanks & Regards,
    A.V.N.Rao

    Hi All,
    Thanks for many suggestions. I tried by providing the "Total" under "Calculate Results as" and also "Counter for all detailed values" under "Calcuate Single Values as", in the  "Calculations" tab of the key figure, but i am unable to get the information. Again, i am providing the requirement below:
    CHAR - A   CHAR - B   TIME CH. - 1 KF -1  KF- 2 KF - 3
    1                     RAM        2012           1         50      50
    2                     SAM         2012          2         100    200
    Result                                               3           150   250
    Assume KF -1 as  "Qty." KF-2  as "Price" KF-3 as "Sales".
    Please intimate the solution.
    Thanks & Regards,
    A.V.N.Rao.

  • Hi guru's i want to dovelope smart form how can we give form name for sales

    hi guru's i want to dovelope smart form how can we give form name for sales order  plz help me  ...

    Hi,
    If u want to assign the form to Standard sales order, The, this form in the NACE.
    and the, Run from va02/03.
    Reward Points,
    Vamsi.

  • How to display Two frames in HTML....

    Hi,
    Can someone please advice me on how to display two frams on one page without using FrameSet...
    Thanks,

    Hi,
    Thank you for your reply...
    I already have something that i did in Applet but i don't want to use Applet....
    The problem with frameset is that i will be adding documents Types Dynamically in HTML List and after clicking the Document Type I want to display Image depending on what Document Type is clicked...
    Both the DOCUMENT TYPE and IMAGE, I want to create DYnamically. I don't want to create Two HTML Files (one for Image and One for LIST) and then open it from Another HTML Which contains FrameSets...
    I hope you get my point....
    Is there any other ways i can do this....
    Any help will be greatly appreciated...

  • How to Display Two Months in Sharepoint Calendar

     
    1. I have SharePoint Server. Do I need other software to the make the following change in Calendar?
    2. How to hide Saturday and Sunday or move Sunday to the first day. (Sunday is the last day in my current calendar. )
    3. How to display two months on one page?
    Thanks.

    Hello,
    For those still looking, you should ask on the
    SharePoint forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • How to display two waveforms in one waveform chart?

    hellow!anyone can tell me how to display two waveform together in one waveform chart? thanks!

    Hello,
    An easy way to tell how to make multi-plot charts and graphs is to hold your mouse over the chart/graph terminal on the block diagram and make sure Context Help (Help >> Show Context Help) is enabled. This screen will tell you how to connect the indicator for a multiple-plot display.
    You might want to take a look at my attached screenshots of a working multi-plot chart.
    Hope this helps!
    Liz F
    National Instruments
    Attachments:
    Multi-plot_chart.bmp ‏902 KB

  • How to display two grids in same screen using SALV Method

    Hi Freinds,
    Please let me know how to display two grids in same screen using SALV Method.
    Thank you
    Regards,
    SDV

    Using the same concept as described in How to dispaly Three Internal Table  Data (One below another) in ALV OOPS .
    All you need to add is passing your new containers as r_container parementer of factory method.
    "1st one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_top_container
    "2nd one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_bottom_container
    Regards
    Marcin

  • Smart forms- how to get the copies of form in other pages as duplicate

    hi experts,
    i am facing problem in smartforms.
    one copy is ready for me.
    i have to take that one in 4 pages  as 1st page original,
    2nd duplicate, 3rd triplicate, 4th quadriplicate.............
    how to get them....
    all theremaining data is same ....
    Message was edited by:
            dasr r

    U can achieve this with the help of NAST table,
    in that table field ANZAL is the field for number of copies of the output.
    Suppose u have a smartform which will print 3 pages for a Purchase Order,
    and u want 4 copies of the same. (totally 3*4 = 12 pages)
    U need to handle this in the smart form ifself with the help of ANZAL field, it holds number of copies to be printed on the output device.
    if ANZAL = 1
        print 'original'.
    elseif ANZAL = 2
        print 'Duplicate'.
    elseif ANZAL = 3
        print 'Triplicate'.
    elseif ANZAL = 4
       print 'Quadriplicate'.
    endif.
    or else u can handle the same with CASE ... ENDCASE.
    I think, it may solve ur problem.
    Regards,
    Sujatha.

  • Smart form- How to apply page break after every 5 entries in main window?

    How do i make sure that only 5 line items are displayed per page in main window of my smart form. After 5 line items, the remaining lines should be printed in the next page

    Hi
    Pls check the link
    issue related to next page in smartform

  • How to display two database field in report

    hi,
    i have made a report and in that report i am displaying two fields with same data and these fields are database.In the FORM f_display_report i have given the same  name in both fields.But when i going to SUM it gave me only one field SUM and other fields gives null.
    give me some guidance as i have to display both fields with same data and same amount of SUM. 
    Thanks

    if i am using the database field i-e wt_qbshb then it gave me the data but when im going to sum both field it gave me sum of only one field.This the code:
    ITAB:
    BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the  BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the  BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the PERFROM DISPLAY REPORT:
      PERFORM fill_fieldcat USING 'LIFNTN' 11   'NTN' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'LIFNIC' 16   'NIC' 'GI_MAIN'.
    PERFORM fill_fieldcat USING 'LIFNR'  10  'Vendor' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'NAME1'  35  'Name' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'STRAS'  35  'Address' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'ORT01'  35  'City' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QEKAR' 40    'Nature of Payment etc' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QSCOD' 10 'Payment Section Code' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'BUDAT'  10   'Date of Payment(dd/mm/yyyy)' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'DMBTR'  20   'Value/Amount on which Tax Collected or Deducted' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QSATZ'  10     'Rate of tax (%)' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'WT_QBSHB'  16   'Tax Amount Collected/Deducted' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'WT_QBSHB'  16   'Amount of Deposited' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'P_TAX'(001)  15   'Date of Tax Deposited(DD/MM/YYYY)' 'GI_MAIN'.
    Thanks.

  • How to display two lables in alv report

    Is there any chance to display two lables in alv report
    for example..
    AMOUNT
    Rs | Ps
       |
    like that this for an example.
    thanks,
    JB

    Hai Babu
    Go through the following Code
    using Classes & Methods
    try with the following Code( Just copy the code & try with in SE38 Tcode & Execute it that all)
    REPORT ZALV_SALES_HEADER_DETAIL MESSAGE-ID Z50650(MSG) .
    TABLES
    TABLES: VBAK . "SALES DOCUMENT HEADER
    DATA OBJECTS DECLARATION
    DATA: IT_VBAK TYPE STANDARD TABLE OF ZVBAK_STRUC,
    IT_VBAP TYPE STANDARD TABLE OF ZVBAP_STRUC,
    GS_LAYOUT TYPE LVC_S_LAYO,
    GS1_LAYOUT TYPE LVC_S_LAYO,
    GRID TYPE REF TO CL_GUI_ALV_GRID,
    CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    VBAK_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    VBAP_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    WA_VBAK LIKE LINE OF IT_VBAK,
    WA_VBAP LIKE LINE OF IT_VBAP,
    SPLITTER TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
    TOP_OF_PAGE_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    GRID_VBAP TYPE REF TO CL_GUI_ALV_GRID,
    TOP_PAGE TYPE REF TO CL_DD_DOCUMENT,
    FLAG(1).
    *"EVENT RECIEVER CLASS DEFINITION
    CLASS LCL_EVENT_RECIEVER DEFINITION DEFERRED.
    DATA: OBJ_EVENT TYPE REF TO LCL_EVENT_RECIEVER.
    SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    PARAMETERS: P_VBTYP LIKE VBAK-VBTYP DEFAULT 'C'.
    SELECTION-SCREEN: END OF BLOCK B1.
    CLASS DEFINITION AND DECLARATIONS
    CLASS LCL_EVENT_RECIEVER DEFINITION.
    PUBLIC SECTION.
    EVENTS:DOUBLE_CLICK,
    TOP_OF_PAGE.
    METHODS:HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
    IMPORTING E_ROW .
    METHODS: HANDLE_TOP_OF_PAGE FOR EVENT TOP_OF_PAGE OF CL_GUI_ALV_GRID.
    ENDCLASS. "LCL_EVENT_RECIEVER DEFINITION
    CLASS LCL_EVENT_RECIEVER IMPLEMENTATION
    CLASS LCL_EVENT_RECIEVER IMPLEMENTATION.
    METHOD: HANDLE_DOUBLE_CLICK.
    READ TABLE IT_VBAK INDEX E_ROW-INDEX INTO WA_VBAK.
    PERFORM FETCH_ITEM_DETAILS USING WA_VBAK.
    PERFORM ALV_GRID.
    ENDMETHOD. "HANDLE_DOUBLE_CLICK
    METHOD: HANDLE_TOP_OF_PAGE.
    CALL METHOD TOP_PAGE->ADD_TEXT
    EXPORTING
    TEXT = 'SALES HEADER & ITEM DETAILS'.
    CALL METHOD TOP_PAGE->DISPLAY_DOCUMENT
    EXPORTING
    PARENT = TOP_OF_PAGE_CONTAINER.
    ENDMETHOD. "HANDLER_TOP_OF_PAGE
    ENDCLASS. "LCL_EVENT_RECIEVER IMPLEMENTATION
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
    IF S_VBELN IS NOT INITIAL.
    SELECT COUNT(*)
    FROM VBAK
    WHERE VBELN IN S_VBELN.
    IF SY-DBCNT = 0.
    MESSAGE E000 WITH 'NO TABLE ENTRIES FOUND FOR LOW KEY SPECIFIED'.
    ENDIF.
    ENDIF.
    START-OF-SELECTION.
    START-OF-SELECTION.
    PERFORM FETCH_SALES_HEADER_RECORD.
    PERFORM CREATE_CALL. "CREATION OF OBJECTS & CALLING METHODS
    END-OF-SELECTION.
    END-OF-SELECTION.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'ZSTATUS'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Form FETCH_SALES_HEADER_RECORD
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_SALES_HEADER_RECORD .
    SELECT
    VBELN
    AUDAT
    VBTYP
    AUART
    AUGRU
    NETWR
    WAERK
    FROM VBAK
    INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
    WHERE VBELN IN S_VBELN
    AND VBTYP = P_VBTYP.
    ENDFORM. " FETCH_SALES_HEADER_RECORD
    *& Form CREATE_CALL
    text
    --> p1 text
    <-- p2 text
    FORM CREATE_CALL .
    IF CUSTOM_CONTAINER IS INITIAL.
    CREATE OBJECT CUSTOM_CONTAINER
    EXPORTING
    PARENT =
    CONTAINER_NAME = 'CUSTOM_CONTAINER'
    STYLE =
    LIFETIME = lifetime_default
    REPID =
    DYNNR =
    NO_AUTODEF_PROGID_DYNNR =
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    CREATE_ERROR = 3
    LIFETIME_ERROR = 4
    LIFETIME_DYNPRO_DYNPRO_LINK = 5
    OTHERS = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CREATE OBJECT SPLITTER
    EXPORTING
    TOP = 5
    PARENT = CUSTOM_CONTAINER
    ROWS = 3
    COLUMNS = 1
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 1
    COLUMN = 1
    RECEIVING
    CONTAINER = TOP_OF_PAGE_CONTAINER.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 2
    COLUMN = 1
    RECEIVING
    CONTAINER = VBAK_CONTAINER.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 3
    COLUMN = 1
    RECEIVING
    CONTAINER = VBAP_CONTAINER.
    CREATE OBJECT GRID
    EXPORTING
    I_SHELLSTYLE = 0
    I_LIFETIME =
    I_PARENT = VBAK_CONTAINER
    I_APPL_EVENTS = space
    I_PARENTDBG =
    I_APPLOGPARENT =
    I_GRAPHICSPARENT =
    I_NAME =
    EXCEPTIONS
    ERROR_CNTL_CREATE = 1
    ERROR_CNTL_INIT = 2
    ERROR_CNTL_LINK = 3
    ERROR_DP_CREATE = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    GS_LAYOUT-GRID_TITLE = 'SALES HEADER DETAILS.'(100).
    CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME = 'ZVBAK_STRUC'
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    IS_LAYOUT = GS_LAYOUT
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    CHANGING
    IT_OUTTAB = IT_VBAK
    IT_FIELDCATALOG =
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR = 2
    TOO_MANY_LINES = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    CREATE OBJECT OBJ_EVENT .
    SET HANDLER OBJ_EVENT->HANDLE_DOUBLE_CLICK FOR GRID.
    SET HANDLER OBJ_EVENT->HANDLE_TOP_OF_PAGE FOR GRID.
    CREATE OBJECT TOP_PAGE
    EXPORTING
    STYLE = 'ALV_GRID'
    CALL METHOD TOP_PAGE->INITIALIZE_DOCUMENT.
    CALL METHOD GRID->LIST_PROCESSING_EVENTS
    EXPORTING
    I_EVENT_NAME = 'TOP_OF_PAGE'
    I_DYNDOC_ID = TOP_PAGE.
    CALL SCREEN 100.
    ENDFORM. " CREATE_CALL
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form FETCH_ITEM_DETAILS
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_ITEM_DETAILS USING WA_VBAK TYPE ZVBAK_STRUC .
    SELECT
    VBELN
    POSNR
    MATNR
    MATWA
    PMATN
    CHARG
    FROM VBAP
    INTO TABLE IT_VBAP
    WHERE VBELN = WA_VBAK-VBELN.
    IF SY-SUBRC <> 0.
    MESSAGE E000 WITH 'NO RECORDS FOUND FOR SPECIFIED KEY'.
    ENDIF.
    ENDFORM. " FETCH_ITEM_DETAILS
    *& Module STATUS_0200 OUTPUT
    text
    MODULE STATUS_0200 OUTPUT.
    SET PF-STATUS 'ZSTATUS'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0200 OUTPUT
    *& Module USER_COMMAND_0200 INPUT
    text
    MODULE USER_COMMAND_0200 INPUT.
    CASE SY-UCOMM.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    *& Form alv_grid
    text
    --> p1 text
    <-- p2 text
    FORM ALV_GRID .
    IF FLAG = ''.
    FLAG = 'X'.
    CREATE OBJECT GRID_VBAP
    EXPORTING
    I_SHELLSTYLE = 0
    I_LIFETIME =
    I_PARENT = VBAP_CONTAINER
    I_APPL_EVENTS = space
    I_PARENTDBG =
    I_APPLOGPARENT =
    I_GRAPHICSPARENT =
    I_NAME =
    EXCEPTIONS
    ERROR_CNTL_CREATE = 1
    ERROR_CNTL_INIT = 2
    ERROR_CNTL_LINK = 3
    ERROR_DP_CREATE = 4
    others = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    GS1_LAYOUT-GRID_TITLE = 'SALES ITEM DETAILS.'(100).
    CALL METHOD GRID_VBAP->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME = 'ZVBAP_STRUC'
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    IS_LAYOUT = GS1_LAYOUT
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    CHANGING
    IT_OUTTAB = IT_VBAP
    IT_FIELDCATALOG =
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR = 2
    TOO_MANY_LINES = 3
    OTHERS = 4
    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. " alv_grid
    Thansk & regards
    Sreenivasulu P

  • Smart Form to be displayed in EP

    Hi All,
    How can we display any smart form developed in the ECC, in the Enterprise Portal for each employee or user the smart form is generated is different?
    EP 7.0 and ECC 6.0 are the version on which working.
    Thanks
    Ash.

    Might want to start moving/looking into Adboe Interactive Forms....they are replacing SmartForms and are available for your version. There is LOTS of information on this site under the section devoted to Adobe forms and there is a good forum here too.

  • Smart form - how to

    Hy gurus,
    I really really need your help. Please, someone explain me how to create e simple smart form. For example I want to create a smart form that displays USR02-BNAME
    field2 / page.
    Or if you have links with tutorials...
    Thank you!

    Dan M.
    Follow the links to create Smartform
    1.[Building a simple application using SMARTFORMS transaction code.|http://www.****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm]
    2.[Calling smartform using Driver program .|http://www.****************/Tutorials/Smartforms/SimpleDriverProgram/Demo.htm].
    Here in the 2nd point function module generated is not fixed. so u have to use SSF_FUNCTION_MODULE_NAME to get smartform function module by giving exporting parameter smartform name.
    Regards,
    Venkat.O

Maybe you are looking for

  • Error while creating media issue in msd using jpmg0

    Dear all, kindly help me to solve the following issue. when i am creating media issue using tcode jpmg0, in the  process lo,g system shows the following error message. "Required parameters missing when calling up module " ACCOUNTING_KEYS_READ_FOR_BWK

  • Hard Disc not booting

    Hi guys. Tricky one this. I swapped the original hard disc from my macbook pro for a Momentus XT hard disc. No problems for months, love the speed of it. Yesterday my mbp would not boot up, it gets to the grey apple logo, and the spinning icon, but h

  • UTF-8 Problems in Flex Builder 3

    I created locale properties files that contained characters requiring UTF-8 encoding using Flex Builder 3 for Mac OS. Some of the characters displayed incorrectly when viewed through the web browser. Open the properties files with an editor (BBEdit)

  • HU error

    Dear friends, i am getting following error while doing PGI for a matl which is managed in HU sloc. Material H84-1000 BP01 YD05: Quantity difference document line item for HUs I packed 50 nos in 2 HU one is for 30 and  another for 20 nos. pl reply how

  • Is it possible to put xsl file at some other location except BPEL folder fo

    Hi, I want to put my xsl file in some location not in BPEL suitcase. If i use processXSLT function using full path. it thorws filenot found exception. So does it mean i can not put my file at any other location and specify absolute file path? Thanks,