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

Similar Messages

  • My MacBook Air won't stay off. I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    There's a slight chance this might help:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    Otherwise it needs to be repaired.

  • Please tell me how i can get to the page that let's me change my printer from computer to printer to

    please explain how I can get to the page that will let me change my printer to the wireless system instead of computer to printer I had to use the hardwire way to use my print shop, but now I would like it to be a wireless system  cannot find the page to let me change it back please help

    Usually the HP Printer software/driver folder in the Start Menu has the option to switch to wireless from usb.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • COMPUTE function: How to get subtotals and GRAND total together?

    I am wrtiting a report using SQL and SQL*Plus to get subtotals and a grand total. The COMPUTE function allows me to COMPUTE SUM on a group, but it only gives me subtotals. I'm interested in getting a report with the SUBTOTALS and a final GRAND TOTAL. Can this be done using SQL*Plus?
    Here is my current code that gives me subtotals:
    COMPUTE SUM LABEL subtotal OF sal ON deptno
    SELECT ename, sal, deptno
    FROM emp
    ORDER BY deptno;
    ENAME             SAL     DEPTNO
    CLARK            2450         10
    VOLLMAN          5000
    MILLER           1300
                     8750 subtotal
    SMITH             800         20
    ADAMS            1100
    FORD             3000
    SCOTT            3000
    JONES            2975
                    10875 subtotal
    ALLEN            1600         30
    BLAKE            2850
    MARTIN           1250
    JAMES             950
    TURNER           1500
    WARD             1250
                     9400 subtotalHere is the code to give one grand total:
    Column DUMMY NOPRINT
    COMPUTE SUM OF sal ON DUMMY
    BREAK ON DUMMY
    SELECT NULL DUMMY, ename, sal, deptno
    FROM emp
    ORDER BY deptno;
    ENAME             SAL     DEPTNO
    CLARK            2450              10
    VOLLMAN          5000          10
    MILLER           1300          10
    SMITH             800              20
    ADAMS            1100          20
    FORD             3000          20
    SCOTT            3000          20
    JONES            2975          20
    ALLEN            1600              30
    BLAKE            2850          30
    MARTIN           1250          30
    JAMES             950          30
    TURNER           1500          30
    WARD             1250          30
                    29025
    How can I combine both on one report?

    Massimo Ruocchio wrote:
    Do you like this?I believe OP is looking for both department totals and grand total. Frank already showed how to do it in SQL*Plus. To do it in SQL:
    SELECT  CASE GROUPING_ID(real_deptno,real_ename)
              WHEN 0 then real_ename
              WHEN 1 then 'Department ' || real_deptno || ' total'
              ELSE 'All department total'
            END ename,
            SUM(sal),
            deptno
      FROM  (
             SELECT  deptno real_deptno,
                     ename real_ename,
                     sal,
                     CASE ROW_NUMBER() OVER(PARTITION BY deptno order by ename) WHEN 1 THEN deptno end deptno
               FROM  emp
      GROUP BY GROUPING SETS((),real_deptno,(real_deptno,deptno,real_ename))
      ORDER BY real_deptno nulls last,
               real_ename nulls last
    ENAME                  SUM(SAL)     DEPTNO
    CLARK                      2450         10
    KING                       5000
    MILLER                     1300
    Department 10 total        8750
    ADAMS                      1100         20
    FORD                       3000
    JONES                      2975
    SCOTT                      3000
    SMITH                       800
    Department 20 total       10875
    ALLEN                      1600         30
    ENAME                  SUM(SAL)     DEPTNO
    BLAKE                      2850
    JAMES                       950
    MARTIN                     1250
    TURNER                     1500
    WARD                       1250
    Department 30 total        9400
    All department total      29025
    18 rows selected.
    SQL> SY.

  • How Anyone Can Get Photoshop and Lightroom for $9.99 a Month Adobe recently unveiled its Photoshop P

    Any chance Adobe will re-issue this offer?

    Actually the original offer, from months ago, did require that.  But you're right, they eased the restriction I think in December.  That restriction has apparently been restored.
    I'm sorry to say I don't know of any way to get the $9.95 plan without a qualifying older version now.
    -Noel

  • 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.

  • 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

  • Update to kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?

    kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?
    (To Replace http://discussions.apple.com/thread.jspa?threadID=406147 if Accepted. )
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 7/12/2008)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or recieving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ablity to start either an Audio or Video chat from one end to a receipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    Note: It has been noted that this file is now apparently included in Windows XP after Service Pack 2 and above.
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this
    Between both of you.
    At least one camera (Mac end)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to chat One Way but have sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the pargraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) the other.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    4:24 PM Sunday; December 7, 2008

    kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?
    (To Replace http://discussions.apple.com/thread.jspa?threadID=406147 if Accepted. )
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 7/12/2008)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or recieving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ablity to start either an Audio or Video chat from one end to a receipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    Note: It has been noted that this file is now just another link to the Standalone application. This might be an error by AIM or a newer version that includes the file.
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this
    Between both of you.
    At least one camera (Mac end)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to chat One Way but have sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the pargraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) the other.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    9:19 PM Friday; December 12, 2008

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • Kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 3/4/2009)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    See bottom section on AIM 6.5 and 6.8 on XP and Vista.
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or receiving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ability to start either an Audio or Video chat from one end to a recipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this.
    Between both of you.
    At least one camera (Mac end works better)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to video chat One Way but sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the paragraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    PC end gets AIM 5.9 or Trillian Pro.
    The PC end allows the app through the XP Firewall.
    AIM 5.9 needs "Tuning" to Camera and Mic.
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) One-Way.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable to AIM 5.9.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    <hr>
    AIM 6.5 and 6.8 On Vista and XP
    AIM 5.9 or earlier can not be installed on Vista.
    AIM 6.5 and 6.8 use a new video codec with a description of "Real Time IM"
    AIM have an FAQ page about this
    Below the pics is this quote
    What do I need to use Real-Time IM?
    You and your buddy need to be using AIM® 6.8 or higher to use Real-Time IM. Unfortunately, Real-Time IM does not yet work with older AIM clients, iChat®, or AIM® for Mac®.
    See items 5 through 13 on this page for alternatives including Web Browser based ones.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    This is the 2nd version of this tip. It was submitted on Saturday; April 4, 2009, 9:52 PM by Ralph Jonhs (UK).
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    This is the one I have been wating for
    http://discussions.apple.com/thread.jspa?threadID=406152
    kichat: Look and sound great in iChat!
    Ian's First FAQ
    Also New Today
    http://discussions.apple.com/thread.jspa?threadID=121775
    kichat: FAQ 2 - How to get my router to work with iChat?
    And
    http://discussions.apple.com/thread.jspa?threadID=121665
    kichat: FAQ 1 - What do I need to start in iChat ?
    11:20 PM Thursday; March 16, 2006

  • How we can get an interactive report  in alv grid display?

    Hi experts
    Plz tell me how we can get an interactive report in alv grid disply pls send me one sample code to understand this
    thanks in advance

    hi,
    check this one
    *& Report  ZALV_FIELD_GRID1
    REPORT  ZALV_FIELD_GRID1
            NO STANDARD PAGE HEADING.
    TABLES MARA.
    type-pools :slis.
    TYPES : BEGIN OF TMARA ,
            MATNR LIKE MARA-MATNR,
            MEINS LIKE MARA-MEINS,
            ERSDA LIKE MARA-ERSDA,
            color(4) type c,
            SEL type c,
            LIGHT TYPE C,
            END OF TMARA.
    TYPES: BEGIN OF TMAKT,
           MATNR LIKE MAKT-MATNR,
           MAKTX LIKE MAKT-MAKTX,
           MAKTG LIKE MAKT-MAKTG,
           SEL TYPE C,
           COLOR(4),
           END OF TMAKT.
    DATA:  ITAB TYPE TMARA OCCURS 0 WITH HEADER LINE,
           ITAB1 TYPE TMAKT OCCURS 0 WITH HEADER LINE,
           wa_fieldcat type slis_fieldcat_alv,
           fieldcat type slis_fieldcat_alv occurs 0,
           i_layout type slis_layout_alv,
           WA_LISTHEADER TYPE SLIS_LISTHEADER,
           i_LISTHEADER TYPE SLIS_LISTHEADER OCCURS 0,
           V_EVENTS TYPE SLIS_T_EVENT ,
           WA_EVENT TYPE SLIS_ALV_EVENT,
           I_TITLE_MARA TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED',
           I_TITLE_MAKT TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED',
           SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE,
           PRINT_CONT type slis_print_alv.
    SELECTION SCREE
    selection-screen  begin of block screen1  with frame title TEXT-001.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN COMMENT /32(35) COMM1.
    SELECTION-SCREEN ULINE /27(35).
    SELECTION-SCREEN SKIP.
    SELECT-OPTIONS MATNR FOR MARA-MATNR.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN COMMENT /30(50) COMM2.
    SELECTION-SCREEN ULINE /27(40).
    SELECTION-SCREEN SKIP.
    SELECT-OPTIONS ERSDA FOR MARA-ERSDA.
    SELECTION-SCREEN SKIP.
    selection-screen  end of block screen1.
        INITIALIZATION
    INITIALIZATION.
      MATNR-low = '23'.
      MATNR-high = '1000'.
      MATNR-option = 'BT'.
      MATNR-sign = 'I'.
      APPEND MATNR.
      ERSDA-low = '20030124'.
      ERSDA-high = '20050302' .
      APPEND ERSDA.
      PERFORM FILLFIELD.
      PERFORM FILLLAYOUT.
      PERFORM build_print_params.
      PERFORM FILL_SORT.
      PERFORM EVENT_CALL.
      PERFORM POPULATE_EVENT.
            SELECTION-SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      comm1 ='SELECT MATERIAL NUMBER  RANGE'.
      comm2 ='SELECT MATERIAL CREATION DATE'.
               START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM READDATA.
      PERFORM POPDATA.
    *&      Form  READDATA
          text
    FORM READDATA .
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = MATNR-LOW
        IMPORTING
          OUTPUT = MATNR-LOW.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = MATNR-HIGH
        IMPORTING
          OUTPUT = MATNR-HIGH.
      SELECT MATNR
             ERSDA
             MEINS
             FROM MARA
             INTO CORRESPONDING FIELDS OF
            TABLE ITAB
            WHERE MATNR IN MATNR AND ERSDA IN ERSDA.
      LOOP AT ITAB.
        data id_color type i VALUE 1.
        data id_colors(2) type c.
        IF ITAB-MATNR < '000000000000000100'.
          ITAB-LIGHT = '1'.
        ELSEIF ITAB-MATNR < '000000000000000150' AND ITAB-MATNR >
       '000000000000000100' .
          ITAB-LIGHT = '2'.
        ELSE.
          ITAB-LIGHT = '3'.
        ENDIF.
        id_color = id_color + 1.
        if id_color > 7.
          id_color = 1.
        endif.
        id_colors = id_color.
        concatenate 'C' id_colors '10' into itab-color.
        modify itab.
        CLEAR ITAB.
      endloop.
    ENDFORM.                    " READDATA
         Form  FILLFIELD
    FORM FILLFIELD .
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-KEY = 'X'.
      WA_FIELDCAT-COL_POS = '1'.
      WA_FIELDCAT-outputlen   = 20.
      WA_FIELDCAT-HOTSPOT = 'X'.
      wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
    *WA_FIELDCAT-EMPHASIZE = 'C210'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-COL_POS = '2'.
    *WA_FIELDCAT-EMPHASIZE = 'C510'.
      WA_FIELDCAT-outputlen   = 10.
      wa_fieldcat-seltext_m = 'UNIT'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
      WA_FIELDCAT-FIELDNAME = 'ERSDA'.
      WA_FIELDCAT-COL_POS = '3'.
      WA_FIELDCAT-outputlen   = 15.
    *WA_FIELDCAT-EDIT_MASK  = 'DD.MM.YYYY'.
    *WA_FIELDCAT-EMPHASIZE = 'C710'.
      wa_fieldcat-seltext_m = 'CREAT DATE'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
    ENDFORM.                    "FILLFIELD
          Setup print parameters
    form build_print_params.
      PRINT_CONT-reserve_lines = '3'.   "Lines reserved for footer
      PRINT_CONT-no_coverpage = 'X'.
    endform.                    " BUILD_PRINT_PARAMS
         Form  POPDATA
    FORM POPDATA .
      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            = 'USER-COMMAND'
         I_CALLBACK_TOP_OF_PAGE             = 'TOPPAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
         I_GRID_TITLE                       = I_TITLE_MARA
      I_GRID_SETTINGS                   =
         IS_LAYOUT                          = I_LAYOUT
         IT_FIELDCAT                        = fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
        IT_SORT                           =  SORT[]
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
         IT_EVENTS                          = V_EVENTS
      IT_EVENT_EXIT                     =
       IS_PRINT                          = PRINT_CONT
        TABLES
          T_OUTTAB                          = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    ENDFORM.                    " POPDATA
         Form  TOPPAGE
    FORM TOPPAGE.
      REFRESH I_LISTHEADER.
      DATA: ld_lines type i,
            ld_linesc(10) type c,
            I_DATE(10) TYPE C,
            I_INFO LIKE WA_LISTHEADER-INFO.
      WA_LISTHEADER-TYP = 'H'.
      WA_LISTHEADER-INFO = 'MATERIAL DETAIL'.
      APPEND WA_LISTHEADER TO I_LISTHEADER.
      CLEAR WA_LISTHEADER.
      WA_LISTHEADER-TYP = 'S'.
      WA_LISTHEADER-KEY = 'DATE :'.
      CONCATENATE SY-DATUM+6(2) '.'
                           SY-DATUM+4(2) '.'
                           SY-DATUM(4) INTO I_DATE.
      WA_LISTHEADER-INFO = I_datE.
      APPEND WA_LISTHEADER TO I_LISTHEADER.
      CLEAR WA_LISTHEADER.
      describe table ITAB lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
                        into I_INFO separated by space.
      WA_LISTHEADER-TYP  = 'A'.
      WA_LISTHEADER-INFO = I_INFO.
      append WA_LISTHEADER to I_LISTHEADER.
      clear: WA_LISTHEADER , I_INFO.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = I_LISTHEADER
          I_LOGO             = 'ENJOYSAP_LOGO'.
    ENDFORM.                    "TOPPAGE
         Form  FILLLAYOUT
    FORM FILLLAYOUT .
      i_layout-zebra = 'X'.
      i_layout-info_fieldname = 'COLOR'.
      i_layout-box_fieldname = 'SEL'.
      I_LAYOUT-lights_fieldname = 'LIGHT'.
      I_LAYOUT-EDIT ='X'.
      I_LAYOUT-colwidth_optimize = 'X'.
      I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
      I_LAYOUT-no_totalline = 'X'.
    ENDFORM.                    "FILLLAYOUT
        Form  FILL_SORT
    FORM FILL_SORT .
      SORT-DOWN = 'X'.
      SORT-SPOS = 1.
      SORT-FIELDNAME = 'MATNR'.
      SORT-tabname = 'MARA'.
      APPEND SORT.
    ENDFORM.                    " FILL_SORT
         Form  EVENT_CALL
    FORM EVENT_CALL .
      DATA: I_EVENT LIKE V_EVENTS.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE = 0
        IMPORTING
          ET_EVENTS   = V_EVENTS.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " EVENT_CALL
        Form  POPULATE_EVENT
    FORM POPULATE_EVENT .
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'USER_COMMAND'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
        WA_EVENT-NAME.
    READ TABLE V_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
                                          INTO WA_EVENT.
    IF SY-SUBRC = 0.
       move 'END_OF_PAGE' to WA_EVENT-FORM.
       MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
       WA_EVENT-NAME.
      endif.
      ENDIF.
    ENDFORM.                    "POPULATE_EVENT
    FORM END_OF_PAGE.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    ENDFORM.
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.
          CASE RS_SELFIELD-FIELDNAME.
            when 'MATNR'.
              read table itab with key matnr = RS_SELFIELD-VALUE.
              if sy-subrc = 0.
                PERFORM DATA_RETRIEVAL_MAKT USING RS_SELFIELD-VALUE.
                PERFORM BUILD_FIELDCATLOG_MAKT.
                PERFORM FILLLAYOUT_MAKT.
                PERFORM DISPLAY_ALV_MAKT.
                CLEAR RS_SELFIELD.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                    "user_command
         Form  DATA_RETRIEVAL_MAKT
    FORM DATA_RETRIEVAL_MAKT USING TMATNR .
      SELECT MATNR
             MAKTX
             MAKTG
             UP TO 100 ROWS
             FROM MAKT
             INTO TABLE ITAB1
             WHERE SPRAS = 'EN' AND MATNR = TMATNR.
      LOOP AT ITAB1.
        data id_color type i VALUE 1.
        data id_colors(2) type c.
        id_color = id_color + 1.
        if id_color > 7.
          id_color = 1.
        endif.
        id_colors = id_color.
        concatenate 'C' id_colors '10' into itab1-color.
        modify itab1.
        CLEAR ITAB1.
      ENDLOOP.
    ENDFORM.                    "DATA_RETRIEVAL_MAKT
         Form  FILLLAYOUT_MAKT
    FORM FILLLAYOUT_MAKT .
      CLEAR I_LAYOUT.
      i_layout-zebra = 'X'.
      i_layout-info_fieldname = 'COLOR'.
      i_layout-box_fieldname = 'SEL'.
      I_LAYOUT-EDIT ='X'.
      I_LAYOUT-colwidth_optimize = 'X'.
      I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
    ENDFORM.                    " LAYOUT_MAKT
        Form  BUILD_FIELDCATLOG_MAKT
    FORM BUILD_FIELDCATLOG_MAKT .
      REFRESH FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-KEY = 'X'.
      WA_FIELDCAT-COL_POS = '1'.
    *WA_FIELDCAT-EDIT_MASK  = 'DD.MM.YYYY'.
      WA_FIELDCAT-EMPHASIZE = 'C510'.
      wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
      WA_FIELDCAT-FIELDNAME = 'MAKTX'.
      WA_FIELDCAT-COL_POS = '2'.
      WA_FIELDCAT-EMPHASIZE = 'C710'.
      wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
      WA_FIELDCAT-FIELDNAME = 'MAKTG'.
      WA_FIELDCAT-COL_POS = '3'.
      WA_FIELDCAT-EMPHASIZE = 'C210'.
      wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
      APPEND WA_FIELDCAT TO FIELDCAT.
      clear wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATLOG_MAKT
         Form  DISPLAY_ALV_MAKT
    FORM TOP-OF-PAGE.
      REFRESH I_LISTHEADER.
      DATA: ld_lines type i,
            ld_linesc(10) type c,
            I_DATE(10) TYPE C,
            I_INFO LIKE WA_LISTHEADER-INFO.
      WA_LISTHEADER-TYP = 'H'.
      WA_LISTHEADER-INFO = 'MATERIAL DESCRIPTION FOR SELECTED NUMBER'.
      APPEND WA_LISTHEADER TO I_LISTHEADER.
      CLEAR WA_LISTHEADER.
      WA_LISTHEADER-TYP = 'S'.
      WA_LISTHEADER-KEY = 'DATE :'.
      CONCATENATE SY-DATUM+6(2) '.'
                           SY-DATUM+4(2) '.'
                           SY-DATUM(4) INTO I_DATE.
      WA_LISTHEADER-INFO = I_datE.
      APPEND WA_LISTHEADER TO I_LISTHEADER.
      CLEAR WA_LISTHEADER.
      describe table ITAB1 lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
                        into I_INFO separated by space.
      WA_LISTHEADER-TYP  = 'A'.
      WA_LISTHEADER-INFO = I_INFO.
      append WA_LISTHEADER to I_LISTHEADER.
      clear: WA_LISTHEADER , I_INFO.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = I_LISTHEADER
          I_LOGO             = 'ENJOYSAP_LOGO'.
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
    ENDFORM.                    "TOP-OF-PAGE
    *&      Form  DISPLAY_ALV_MAKT
          text
    FORM DISPLAY_ALV_MAKT .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = SY-REPID
          I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
          I_GRID_TITLE           = I_TITLE_MAKT
          IS_LAYOUT              = I_LAYOUT
          IT_FIELDCAT                       = fieldcat
        TABLES
          T_OUTTAB               = ITAB1
        EXCEPTIONS
          PROGRAM_ERROR          = 1
          OTHERS                 = 2.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_MAKT
    Rewards points

  • HT4623 I can't update my iPad iso 6.0.1 , it said error .. I don't know how I can get my new update

    I can't update my iPad for iso 6.0.1,, it said error all the time . How I can get my new update

    Is this an over-the-air update, or did you update while being connected to a computer?
    iOS 8.2 and above take up around 2 GB more space, which requires that you have more space on your device. If you tried the over-the-air update (updating directly form the iPad in Settings>General>Update) this issue could be resolved by updating through a computer with iTunes installed on it. Updating through a computer requires less space on the device, because it pulls the SW out before replacing it, while over-the-air updates install the new SW before removing the old one.
    If this doesn't work, or you in general want to know how you can manage your storage better, try managing storage through Settings>Usage>Storage>Manage storage. This function allows you to view what is taking up storage, and it allows you to more easily remove data you do not wish to keep on the device.
    Good luck.

  • Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content?

    Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content? By anyone, I mean someone who can download and use the free Adobe Reader, on either a Mac or PC. I have Acrobat Pro, and would like to be able to create forms that can not only be filled out and printed, but saved and emailed, which is not an option with the forms I have created to date. They can be filled out, but not saved, with Adobe Reader.
    TIA,
    Nancy

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • How i can get only required data from table by using CKM

    Hi...
    i have done one scenerio i.e get required data from one table into another table on basis of some condition by using CKM.
    Now i want same,but this time my target is file ,not RDBMS.
    so plz tell me procedure how i can get required data from source table into File on basis of some condition using CKM.
    thanks

    CKM checks for Constraints and Not Null condition. You can use IKM SQL to File and being that there is no option in IKM for CKM .
    The other method is you can declare those Not null and other condition as Filter in the Source Datastore, that should filter out records that you are not willing to move to files.

  • I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login.

    I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login. I tried the method where you go into single user mode and type in commands, however that method uses some of the letters that are not working on my laptop.

    You didn't mention which version of OS X your running but there are password reset utilities provided OS X: Changing or resetting an account password (Snow Leopard and earlier) - Apple Support  or  OS X: Changing or resetting an account password - Apple Support
    Alternately you can use an external keyboard to log in and change the password. Make a backup if you don't have one, it's likely that your problems aren't over. If that water continues to migrate downward and fries the logic board your macbook will be toast.

Maybe you are looking for

  • PERFORMANCE IMPROVEMENT for a DB view

    Hi, There is around 300000 entries with MDBS and we are having very slow access and low performance. Following is the query. ima61v internal table does have only single entry in a sample run. SELECT wemng menge wepos elikz umrez              umren ma

  • New to server, need VPN for remote desktop and file share...

    I've set up server and have the VPN working, I think, I need to have several outside systems join the servers VPN permanently to allow for file sharing and remote desktop. I don't want the "normal" internet browsing to go through the VPN (huge slow d

  • Copy & Paste into Google Maps no longer works after 4.2 update

    Anyone else seem to be getting this problem? Copy and paste into Google maps was extremely useful. Now this doesn't seem to work for me after updating to 4.2.

  • An error occurred during activation iMessage has stopped working

    Becoming more and more irritated with this problem.  I have tried turning on and off the icon, restared my phone and it still doesn't work! HELP!

  • Infopackage data selection & deltas

    Hi BW Experts, I have a few questions about infopackage and delta loads: 1) How to perform mulitiple data selection.  e.g. company codes 1000, 1001 and 5000?  I can't filter by From To data selection since I do not want to include companies 2000, 300