Last_page button is not working in table control-urgent

hi  all,
iam displaying the data in table control.in my pf-status i have first_page,next_page,prev_page and last_page.out of 4 buttons 3 buttons are working finr except last_page. any body can send me the code for this program.iam sending my program below.
REPORT ZMAHI_TABLE_CONTROL .
TABLES : VBAK,VBAP.
DATA : BEGIN OF ITAB OCCURS 0,
         VBELN TYPE VBAK-VBELN,
         ERDAT TYPE VBAK-ERDAT,
         ERNAM TYPE VBAK-ERNAM,
         ERZET TYPE VBAK-ERZET,
         REASON(40) TYPE C,
       END OF ITAB.
DATA :   FILL TYPE I VALUE 1.
DATA : N TYPE I .
DATA      : BEGIN OF XVALUES OCCURS 50,
              BUTXT LIKE  T001-BUTXT,
            END OF XVALUES.
DATA      : BEGIN OF XFIELDS OCCURS 50.
        INCLUDE STRUCTURE HELP_VALUE.
DATA      : END OF XFIELDS.
DATA      : BEGIN OF SEL_VAL OCCURS 50.
        INCLUDE STRUCTURE HELP_VTAB.
DATA      : END OF SEL_VAL.
TABLE CONTROL DECLARATIONS------
CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
DATA : OK_CODE TYPE SY-UCOMM,
LIN TYPE I,
LIN1 TYPE I,
LIN2 TYPE I,
LIN3 TYPE I.
DATA: LINES TYPE I,
      LIMIT TYPE I VALUE 1.
DATA :   LINE_COUNT       TYPE  I,
         LINEI            TYPE  I,
         LINEJ            TYPE  I,
         LINE1            TYPE  I,
         LINE2            TYPE  I,
         LN1              TYPE  I.
SELECTION-SCREEN : BEGIN OF BLOCK B1.
SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN : END OF BLOCK B1.
START-OF-SELECTION.
  SELECT VBELN
         ERDAT
         ERNAM
         ERZET
    FROM VBAK
    INTO TABLE ITAB
  WHERE VBELN IN P_VBELN.
  CALL SCREEN 100.
*&      Module  F4_HELP  INPUT
MODULE F4_HELP INPUT.
  FREE  :  XFIELDS,SEL_VAL,XVALUES.
  MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
         'REASON'    TO XFIELDS-FIELDNAME,
         'X'        TO XFIELDS-SELECTFLAG.
  APPEND XFIELDS.
  XVALUES = 'Non Trade F&F'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Retention'.
  APPEND XVALUES .
  XVALUES = 'Oldbills Accnt cntmnt'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Not claimed'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Dispute'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Payment Block'.
  APPEND XVALUES .
  XVALUES = 'N/T Subsntly Cleared'.
  APPEND XVALUES .
  XVALUES = 'N/T Unstld Advances'.
  APPEND XVALUES .
  XVALUES = 'N/T OThers'.
  APPEND XVALUES .
  XVALUES = 'Trade Non Receipt OF BOE'.
  APPEND XVALUES .
  XVALUES = 'Trade OEM Adjustments'.
  APPEND XVALUES .
  XVALUES = 'Trade Reject Of Material'.
  APPEND XVALUES .
  XVALUES = 'Trade NOt Claimed'.
  APPEND XVALUES .
  XVALUES = 'Trade Dispute'.
  APPEND XVALUES .
  XVALUES = 'Trade Payment BLock'.
  APPEND XVALUES .
  XVALUES = 'Trade Subsntly Cleared'.
  APPEND XVALUES .
  XVALUES = 'Trade Non Submission of bills'.
  APPEND XVALUES .
  XVALUES = 'Trade others'.
  APPEND XVALUES .
  CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
       EXPORTING
            CUCOL         = 0
            CUROW         = 0
            DISPLAY       = ' '
            FIELDNAME     = 'REASON'
            TABNAME       = 'ZIFIOD011'
       IMPORTING
            SELECT_VALUE  = ITAB-REASON
       TABLES
            FIELDS        = XFIELDS
            SELECT_VALUES = SEL_VAL
            VALUETAB      = XVALUES.
ENDMODULE.                 " F4_HELP  INPUT
*&      Module  STATUS_0100  OUTPUT
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS '0100'.
ENDMODULE.                 " STATUS_0100  OUTPUT
*&      Module  USER_COMMAND_0100  INPUT
MODULE USER_COMMAND_0100 INPUT.
  CASE SY-UCOMM.
    WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
      LEAVE TO SCREEN 0.
   WHEN 'NEXT_LINE'.
     CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
     limit = fill - lines + 1.
     IF CONTROL_DATA-top_line > limit.
       CONTROL_DATA-top_line = limit.
     ENDIF.
   WHEN 'PREV_LINE'.
     CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
     IF CONTROL_DATA-top_line < 0.
       CONTROL_DATA-top_line = 0.
     ENDIF.
    WHEN 'NEXT_PAGE'.
      CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
      LIMIT = LIMIT + 1.
      CONTROL_DATA-TOP_LINE = LIMIT.
    WHEN 'PREV_PAGE'.
      CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
      LIMIT = LIMIT - 1.
      CONTROL_DATA-TOP_LINE = LIMIT.
   WHEN 'LAST_PAGE'.
     CONTROL_DATA-TOP_LINE =  FILL - LINES + 1.
    WHEN 'FIRST_PAGE'.
      CONTROL_DATA-TOP_LINE = 0.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
*&      Module  SCROLL_BAR  INPUT
MODULE SCROLL_BAR INPUT.
  DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
ENDMODULE.                 " SCROLL_BAR  INPUT
thanks,
maheedhar.T

Hi Ravi,
The code which u sent to me is not working for next page and previous page.
can u plz resend me the code.
iam sending my code below.
REPORT ZMAHI_TABLE_CONTROL .
TABLES : VBAK,VBAP.
DATA : BEGIN OF ITAB OCCURS 0,
         VBELN TYPE VBAK-VBELN,
         ERDAT TYPE VBAK-ERDAT,
         ERNAM TYPE VBAK-ERNAM,
         ERZET TYPE VBAK-ERZET,
         REASON(40) TYPE C,
       END OF ITAB.
DATA :   FILL TYPE I VALUE 1.
DATA : N TYPE I .
DATA      : BEGIN OF XVALUES OCCURS 50,
              BUTXT LIKE  T001-BUTXT,
            END OF XVALUES.
DATA      : BEGIN OF XFIELDS OCCURS 50.
        INCLUDE STRUCTURE HELP_VALUE.
DATA      : END OF XFIELDS.
DATA      : BEGIN OF SEL_VAL OCCURS 50.
        INCLUDE STRUCTURE HELP_VTAB.
DATA      : END OF SEL_VAL.
TABLE CONTROL DECLARATIONS------
CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
DATA : OK_CODE TYPE SY-UCOMM,
LIN TYPE I,
LIN1 TYPE I,
LIN2 TYPE I,
LIN3 TYPE I.
DATA: LINES TYPE I,
      LIMIT TYPE I VALUE 1.
DATA :   LINE_COUNT       TYPE  I,
         LINEI            TYPE  I,
         LINEJ            TYPE  I,
         LINE1            TYPE  I,
         LINE2            TYPE  I,
         LN1              TYPE  I.
SELECTION-SCREEN : BEGIN OF BLOCK B1.
SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN : END OF BLOCK B1.
START-OF-SELECTION.
  SELECT VBELN
         ERDAT
         ERNAM
         ERZET
    FROM VBAK
    INTO TABLE ITAB
  WHERE VBELN IN P_VBELN.
  CALL SCREEN 100.
*&      Module  F4_HELP  INPUT
MODULE F4_HELP INPUT.
  FREE  :  XFIELDS,SEL_VAL,XVALUES.
  MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
         'REASON'    TO XFIELDS-FIELDNAME,
         'X'        TO XFIELDS-SELECTFLAG.
  APPEND XFIELDS.
  XVALUES = 'Non Trade F&F'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Retention'.
  APPEND XVALUES .
  XVALUES = 'Oldbills Accnt cntmnt'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Not claimed'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Dispute'.
  APPEND XVALUES .
  XVALUES = 'Non Trade Payment Block'.
  APPEND XVALUES .
  XVALUES = 'N/T Subsntly Cleared'.
  APPEND XVALUES .
  XVALUES = 'N/T Unstld Advances'.
  APPEND XVALUES .
  XVALUES = 'N/T OThers'.
  APPEND XVALUES .
  XVALUES = 'Trade Non Receipt OF BOE'.
  APPEND XVALUES .
  XVALUES = 'Trade OEM Adjustments'.
  APPEND XVALUES .
  XVALUES = 'Trade Reject Of Material'.
  APPEND XVALUES .
  XVALUES = 'Trade NOt Claimed'.
  APPEND XVALUES .
  XVALUES = 'Trade Dispute'.
  APPEND XVALUES .
  XVALUES = 'Trade Payment BLock'.
  APPEND XVALUES .
  XVALUES = 'Trade Subsntly Cleared'.
  APPEND XVALUES .
  XVALUES = 'Trade Non Submission of bills'.
  APPEND XVALUES .
  XVALUES = 'Trade others'.
  APPEND XVALUES .
  CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
       EXPORTING
            CUCOL         = 0
            CUROW         = 0
            DISPLAY       = ' '
            FIELDNAME     = 'REASON'
            TABNAME       = 'ZIFIOD011'
       IMPORTING
            SELECT_VALUE  = ITAB-REASON
       TABLES
            FIELDS        = XFIELDS
            SELECT_VALUES = SEL_VAL
            VALUETAB      = XVALUES.
ENDMODULE.                 " F4_HELP  INPUT
*&      Module  STATUS_0100  OUTPUT
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS '0100'.
ENDMODULE.                 " STATUS_0100  OUTPUT
*&      Module  USER_COMMAND_0100  INPUT
MODULE USER_COMMAND_0100 INPUT.
  CASE SY-UCOMM.
    WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
      LEAVE TO SCREEN 0.
   WHEN 'NEXT_LINE'.
     CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
     limit = fill - lines + 1.
     IF CONTROL_DATA-top_line > limit.
       CONTROL_DATA-top_line = limit.
     ENDIF.
   WHEN 'PREV_LINE'.
     CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
     IF CONTROL_DATA-top_line < 0.
       CONTROL_DATA-top_line = 0.
     ENDIF.
   WHEN 'NEXT_PAGE'.
     CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
     LIMIT = LIMIT + 1.
     CONTROL_DATA-TOP_LINE = LIMIT.
   WHEN 'PREV_PAGE'.
     CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
     LIMIT = LIMIT - 1.
     CONTROL_DATA-TOP_LINE = LIMIT.
   WHEN 'LAST_PAGE'.
     DESCRIBE TABLE ITAB LINES LIMIT.
     CONTROL_DATA-TOP_LINE =  LIMIT.
   WHEN 'FIRST_PAGE'.
     CONTROL_DATA-TOP_LINE = 0.
WHEN 'P--'.
CLEAR ok_code.
PERFORM paging USING 'P--'.
WHEN 'P-'.
CLEAR ok_code.
PERFORM paging USING 'P-'.
WHEN 'P+'.
CLEAR ok_code.
PERFORM paging USING 'P+'.
WHEN 'P++'.
CLEAR ok_code.
PERFORM paging USING 'P++'.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
*&      Module  SCROLL_BAR  INPUT
MODULE SCROLL_BAR INPUT.
  DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
ENDMODULE.                 " SCROLL_BAR  INPUT
*&      Form  paging
      text
     -->P_0356   text
*FORM paging USING    VALUE(P_0356).
FORM paging USING code.
DATA: i TYPE i,
j TYPE i.
CASE code.
WHEN 'P--'.
CONTROL_DATA-top_line = 1.
WHEN 'P-'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line - line_count.
IF CONTROL_DATA-top_line LE 0.
CONTROL_DATA-top_line = 1.
ENDIF.
WHEN 'P+'.
i = CONTROL_DATA-top_line + line_count.
j = CONTROL_DATA-lines - line_count + 1.
IF j LE 0. j = 1. ENDIF.
IF i LE j.
CONTROL_DATA-top_line = i.
ELSE.
CONTROL_DATA-top_line = j.
ENDIF.
WHEN 'P++'.
CONTROL_DATA-top_line = CONTROL_DATA-lines - line_count + 1.
IF CONTROL_DATA-top_line LE 0.
CONTROL_DATA-top_line = 1.
ENDIF.
ENDCASE.
ENDFORM. " PAGING
*ENDFORM.                    " paging
thanks,
maheedhar.t

Similar Messages

  • Web Viewer embedded (custom domain) and button url not work!!! (Urgent!!!)

    Many sorry for this question - we have a Web Viewer embedded (custom domain) that have all url (button with open in browser) that not work!
    On tablet (Apple + Android) the button work great but on web viewer they do not work!
    Any ideas to solve?
    I see it: Where to place add externalLinksOpen : 'window' to FrameService?
    web viewer URL links

    Any ideas to solve?

  • My play and skip button will not work on the control center and lock screen

    For the first few days I had iOS 7, everything worked fine. Now the Control Center and lock screen will not play, pause, or skip through my music or iTunes Radio. It works fine within music but I would prefer not to have to unlock my phone every time I want to skip a song. Anyone having this issue/know of a way to fix it?

    I didn't have that problem, but I had many others. I've always been a fan of Apple but I'm really disappointed with the latest updates. iOS 7 is full of bugs, the worst being in my music app. It crashes, both in my iPhone 5 and iPad 4, it keeps autosyncings songs from the cloud I don't want (and I can't get them erased), plays a song, but shows a different song, to name just a few... I hope they fix this asap, cause that's really annoying me.

  • HT201401 My volume control buttons are not working on my Iphone 4s....

    but this only occurs when I don't have headphones in or I am not on a call.  If I have headphones in or if I am on a call using either the earpiece or speakerphone I have full volume control.  If I am using my phone to listen to music or anything else where there is audio the volume buttons do not work.  When I press the button the buttons the ringer icon appears on the screen but there are no bars under the icon and it doesn't move the volume.  I have tried rebooting the phone as well as blowing out the headphone port and the charging port.  My phone is updated to the latest release.  Any help would be much appreciated.

    Hi
    Are you talking about the function buttons F1-F9?
    These buttons work in connection with FN button; i.e Fn + F5
    The Value Added Package as well as the Toshiba Flash Card Support Utility needs to be installed in order to use the flash cards (the menu on the screen showing the function buttons)
    These software parts can be downloaded here:
    http://www.mytoshiba.com.au/support/computers/satellite/a660/psaw3a-07t00r/download?os=25
    Note: before you would start with new installation try to restart the flash cards: all programs -> Toshiba -> Flash Cards

  • Tab and control buttons do not work in Firefox (they work in other browsers) AND I switched to a new keyboard.

    The tab and control buttons are not working the Firefox browser (My browser is up-to-date). The buttons work in IE and Chrome, however, before I realized that, I even switched out my keyboard to a brand new one hoping it would solve the issue.

    Thank you--there were a few random extensions I had not added (spyware, maybe?). Once I removed those the issue was fixed!

  • Save button is not working for ONE CLICK ACTION

    Hi All,
    We have embeded a custom table view in a standard component.While we are editing the first row of the table view by ONE CLICK ACTION & pressing the SAVE button of overview page,then the record is saved in the database. But if we edit any row other than the 1st one,the save button is not working.
    We have used transaction context here for simple object.
    lv_tx_ctxt = lr_ent_bt->get_transaction( ).
    my_tx_context->add_tx_context( lv_tx_ctxt ).
    Please suggest how we can focus on the current line which we are editing & can save the record in database?
    Thanks.

    Hi Hakan,
    Probabaly this is not my problem. I know that how bt one click we can get the desired row.
    Let me briefly explain you my requirement and currently where I am stuck.
    I have a assignment block ( custom) in the main overview page with a custom table view ( ie in the view we are displayng entries in the table view ) and the user can press edit button on any row and that will open the particular row in edit mode . User will change the value in any of the columns and press save button on the main component and the custom changes will be saved in the database.
    Now the problem that we are facing is when we are chnaging the first row it si working but when we are doing chnages in the 2nd row or 3rd row changes are not saved ( not even in the table view that is getting displayed) .
    *Let me briefly tell you the approach that we took  . Since our table view uses a simple object  ( which is not a related object with BTORDER so we need to explicitly save the simple object entities to transaction context and for doing that we have redefined the eh_onsave method in the overview page) .
    *Now the save button is in overview page so to pass the entry from our custom table view to overview we are using custom controller . The custom controller 's collection wrapper only has the first entry of the table view custom_controller->collection_wrapper->get_next is failing which is the reason why the 2nd entry is not getting saved.
    Can you tell me how i can get all the table entries in my custom controller's collection wrapper?
    Let me know if you have any other questions.

  • HTTP Button Submit not working in FireFox

    I am using Adobe Life Cycle Designer to make a Form.
    I have a Problem that the HTTP Submit Button is not working in FireFox. It works with IE but not with FireFox. I have also checked this with Button Submit Control.Please Help me.

    You are in the wrong Forum. You need to post your issue in the LiveCycle forum.

  • Satellite U500 - The volume buttons do not work

    Hello
    I just bought a Toshiba Satellite U500 two days ago, and already having problems :(
    It has a touch sensitive control buttons, which includes the eco utility, media buttons, and volume control (+ and -)
    The volume buttons do not work, and sometimes the computer freezes upon touching them. Once I touch the -, it keeps turning the volume down until it reaches zero, and even if I turn it up using windows, it returns to zero (like if the button is still being pressed). The + one doesn't work at all.
    Please help. Any way to reinstalle their drivers ?
    The only solution I found is to disable them using HWSetup...

    Solved.
    I just had to uninstall the Toshiba Common Modules, and reinstalled them. It worked.
    I hope it doesn't happen again.

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

  • Button is not working properly- why not?

    Hello Everyone!
    I have searched the forums for the answer for my question, and I have read the "read this before you post" information, and I can't find the answer to my issue/question.
    I have a Captivate 4 project I have started, and I have inserted buttons on the slides (pretty basic task!). My issue is that the buttons I put on slides don't work 25% of the time. For example, I have a slide with a "next" button. I made sure to set the button up to "continue to next slide" when clicked. I go to view the project, and click "next" and nothing. *Sigh*
    Then on another slide, I have put a transparent button over an image. I click on the transparent button over the image and nothing. It does nothing. I have saved the project, closed it, reopened it, and the buttons still don't work.
    I recheck the properties of the buttons, and everything seems to be configured properly, but yet they do not work. Very frustrating. I can get most of my buttons to work properly, but randomly buttons are not working. What am I missing here?
    Otherwise, I have Captivate 4, and my company probably won't be upgrading to Captivate 5.5. After reading how Captivate 4 projects won't open in Captivate 5.5, I'm fine with that decision. We have too many projects created in Captivate 4, to not be able to open them with 5.
    Thanks for the help anyone can provide me!
    Karen

    Hello again
    Okay, here is a trip up spot. When you configured your button or click box, did you also maybe clear the "Visible" check box? Many users misunderstand that beastie and clear it thinking "well, I don't want the user to see the button or click box".
    Clearing it is a misguided attempt. The option is used when you wish to control things using Advanced Actions.
    Also, is there a question slide between where you are and where you want to be? If so, sometimes your Quiz settings will prohibit jumping to a slide beyond the unanswered question.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • The 'go back one page' button does not work on all pages

    The 'go back one page' and 'go froward one page' buttons do not work (they're light gray as opposed to dark gray) and neither does the 'back' button after right clicking. They worked fine in Firefox 3 but do not in version 4

    Click '''Help '''| '''Restart with add-ons disabled '''and then in the menu which appears, checkmark ''Reset toolbars and Controls'', then ''Make changes and restart''.

  • Satellite P20: Fn+F5 and TV-button does not work

    Satellite P20, Windows XP SP2 keyboard problem.
    When I press Fn + F5, the computer does not show as earlier the different display options. TV button does not work also. I can change the different displays with my nVidia Display Driver.
    My keyboard is OK, there is no dust or fluids. I have newest BIOS update and Windows XP Service Pack 2. What program controls the keyboard functions in this case?
    How to repair this problem?

    Hello
    Obviously you have removed something or preinstalled your own operating system. Without Toshiba designed tools and utilities it will not work. I dont know exactly which of them are for doing this but please try to install Dritek Easy Button Util. /Sticky Keys V1.008, E-Keys Utilities and Toshiba Hotkey Utility.
    I hope it will help. If not please write again.

  • Am using ipad air, my question is under accessibility mute and unmute button is not working.

    pls help me am using ipad air, under accesibility the mute and unmute button are not working.

    Do you mean that you have Settings > General > Use Side Switch To set to 'Mute', and you have the switch on the right-hand side of your iPad, above the volume control, 'on' ? WIth that 'on' notification sounds should be muted (e.g. email notifications, game sounds etc), but the you should still be able to hear the Videos and Music apps and with headphones. Is that not happening, and if not you've tried toggling the switch on the side of your iPad on/off ?
    iPad side switch : http://support.apple.com/kb/HT4085

  • Headphone's buttons doest not works

    I bought my iphone at this sunday.
    Made the iOS update , to 7.03  etc...
    and then tried to listen the music VIA headphones
    the volume buttons does not work. I tried with several headphones (5s and 5 headphones)
    in all cases the sound was great... but the control pad was not working (volume +/-) and answer the call.
    What to do?
    Thanks
    anar

    I don't think it's a universal issue as I don't see many complaints here in the forum, and it works for me.
    If you're sure the headphones are ok, check to be sure there isn't anything stuck in the headphone jack that may be interfering with the contacts.

  • My iphone4 freezes causing the battery to drain quickly, the buttons do not work while the phone is frozen. what can i do?

    My phone has started to freeze, when I pull the menu bar down, when I am in apps, just any time. when it freezes, the buttons do not work. The battery dies within an hour of being off the charger. I do not know what to do, or why it has started to do this. please help.

    Hello taylordoveriphone4,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning performance issues:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for