How to clear CATSDB table.

Hi Experts, I need to clear the deleted entries from the CATSDB table which are HR specific. Could you please let me know how.? i have tried the program RCATSDEL, but it deletes all related data of the employee.

Hi,
Found a message related to deleting CATSDB entries.
Re: Deleting from CATSDB
I could not check the deletion as I did not have authorization.
Pls check and let us also know if you were able to successfully delete CATSDB entry.
Regards,
Gana.

Similar Messages

  • How to clear UNB table in the payroll result?

    Hi,
    We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup.
    I see the below table "UNB table" in the last payroll result. "UNB - Unbalance table used for tax retrocalculation" .
    I think we are getting the above error because of this UNB table, can anyone help me to how to clear this table?
    When we run the regular payroll, no tax is being deducted.
    Please help
    Saurabh

    Hi Arti,
    Thanks for your reply!!..
    Seeing your reply, it gives me bit confidence to crack the existing problem, however, I'm still not clear with your answer... let me explain you the problem-
    1. Employee was given 350,000 though Taxable Bonus WT with regular pay check
    2. Later it came to know- out of the above amount, 75000 was Grossup amount
    3. So in next payroll run, they entered -75000/- in regular Taxable bonus WT and +75000 in Grossup WT and also they deleted one IT210 record of GA tax authority which was wrongly created; and ran the payroll
    4. Since then, in next payroll period- No tax is being deducted, so we are creating IT221 infotypes with Tax wagetype
    5. If we are running the Grossup wage, payroll error- The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted.
    While running the regular payroll, overpayment Wagetype is being generated.
    Now, I saw this UNB table is created and the below wagetype are there in the UNB table-
    WT /5UT amount 0.00
    WT 5430 amount -75000
    WT 0200 amount 12500 ( Monthly salary)
    WT 4530 amount 350000
    Now I am thinking, if we are deducting tax through IT221,if we clear this UNB table, our problem might get resolved
    It will be a great help for me if you can tell-
    1. how to check, claims process is implemented or not?
    2. I have good HCM experiece but this claims process is very new to me- pls guide me how to do that
    Waiting for your reply, thanks in advance
    Saurabh Garg

  • How to clear the table control content

    Hi All,
    I am doing BDC for cost estimate change. In this the transaction KKPB contains table control. So when ever i process with particular cost estimate, i need to fill the table control with the values. Here when i am doing the BDC for change, i need to clear all the contents of the table control then i need to fill with new entries.
    So my problems is how to clear the table control entriee?? please help me in this??
    Many Thanks,
    Raghu.

    Hi this might help u.
    Check the below link.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    THis is example to upload the Bank details of the Vendor which has the TC.
    REPORT zprataptable2
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : BEGIN OF itab OCCURS 0,
            i1 TYPE i,
            lifnr LIKE   rf02k-lifnr,
            bukrs LIKE   rf02k-bukrs,
            ekorg LIKE   rf02k-ekorg,
            ktokk LIKE   rf02k-ktokk,
            anred LIKE lfa1-anred,
            name1 LIKE lfa1-name1,
            sortl LIKE lfa1-sortl,
            land1 LIKE lfa1-land1,
            akont LIKE lfb1-akont,
            fdgrv LIKE lfb1-fdgrv,
             waers LIKE lfm1-waers,
            END OF itab.
    DATA : BEGIN OF jtab OCCURS 0,
            j1 TYPE i,
            banks LIKE lfbk-banks,
            bankl LIKE lfbk-bankl,
            bankn LIKE lfbk-bankn,
             END OF jtab.
    DATA : cnt(4) TYPE n.
    DATA : fdt(20) TYPE c.
    DATA : c TYPE i.
    INCLUDE bdcrecx1.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          filename = 'C:\first1.txt'
          filetype = 'DAT'
        TABLES
          data_tab = itab.
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                      = 'C:\second.txt'
         filetype                      = 'DAT'
        TABLES
          data_tab                      = jtab.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-KTOKK'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RF02K-LIFNR'
                                      itab-lifnr.
        PERFORM bdc_field       USING 'RF02K-BUKRS'
                                      itab-bukrs.
        PERFORM bdc_field       USING 'RF02K-EKORG'
                                       itab-ekorg.
        PERFORM bdc_field       USING 'RF02K-KTOKK'
                                       itab-ktokk.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-LAND1'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFA1-ANRED'
                                      itab-anred.
        PERFORM bdc_field       USING 'LFA1-NAME1'
                                      itab-name1.
        PERFORM bdc_field       USING 'LFA1-SORTL'
                                      itab-sortl.
        PERFORM bdc_field       USING 'LFA1-LAND1'
                                      itab-land1.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-KUNNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBK-BANKN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        cnt = 0.
        LOOP AT jtab WHERE j1 = itab-i1.
          cnt = cnt + 1.
          CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
          PERFORM bdc_field  USING fdt jtab-banks.
          CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
          PERFORM bdc_field USING fdt jtab-bankl.
          CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
          PERFORM bdc_field   USING fdt jtab-bankn.
          IF cnt = 5.
            cnt = 0.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'LFBK-BANKS(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=P+'.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'LFBK-BANKN(02)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTR'.
          ENDIF.
        ENDLOOP.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBK-BANKS(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0210'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-FDGRV'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFB1-AKONT'
                                      itab-akont.
        PERFORM bdc_field       USING 'LFB1-FDGRV'
                                      itab-fdgrv.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0215'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-ZTERM'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0220'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB5-MAHNA'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0310'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFM1-WAERS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFM1-WAERS'
                                      itab-waers.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0320'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-LIFNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_transaction USING 'XK01'.
      ENDLOOP.
      PERFORM close_group.
    Header file:
    1     63190      0001     0001     0001     mr     bal188     b     in     31000     a1     inr
    2     63191      0001     0001     0001     mr     bal189     b     in     31000     a1     inr
    TC file:
    1     in     sb     11000
    1     in     sb     12000
    1     in     sb     13000
    1     in     sb     14000
    1     in     sb     15000
    1     in     sb     16000
    1     in     sb     17000
    1     in     sb     18000
    1     in     sb     19000
    1     in     sb     20000
    1     in     sb     21000
    1     in     sb     22000
    2     in     sb     21000
    2     in     sb     22000
    REPORT zmm_pr_upload_mat
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Standard Include for Selection Screen
    INCLUDE bdcrecx1.
    Internal Table for Upload Data
    DATA: BEGIN OF i_pr OCCURS 0,
    Header Screen
            sno(3),               " SNo
            bsart(004),           " PR Type
            epstp(001),           " Item Category
            knttp(001),           " Account Assignment
            eeind(010),           " Delivery Date
           lpein(001),          " Category of Del Date
            werks(004),           " Plant
            lgort(004),           " Storage Location
            ekgrp(003),           " Purchasing Group
            matkl(009),           " Material Group
            bednr(010),           " Tracking No
            afnam(012),            " Requisitioner
    Item Details
            matnr(018),           " Material No
            menge(017),           " Quantity
           badat(010),
           frgdt(010),
            preis(014),           " Valuation Price
           waers(005),           " Currency
           peinh(005),
           wepos(001),
           repos(001),
            sakto(010),           " GL Account
            kostl(010),           " Cost Center
           bnfpo(005),
          END OF i_pr.
    Internal Table for header Data
    DATA: BEGIN OF it_header OCCURS 0,
            sno(3),               " SNo
            bsart(004),           " PR Type
            epstp(001),           " Item Category
            knttp(001),           " Account Assignment
            eeind(010),           " Delivery Date
            werks(004),           " Plant
            lgort(004),           " Storage Location
            ekgrp(003),           " Purchasing Group
            matkl(009),           " Material Group
            bednr(010),           " Tracking No
            afnam(012),            " Requisitioner
          END OF it_header.
    Internal Table for Item Data
    DATA: BEGIN OF it_item OCCURS 0,
            sno(3),               " SNo
            matnr(018),           " Material No
            menge(017),           " Quantity
            preis(014),           " Valuation Price
            sakto(010),           " GL Account
            kostl(010),           " Cost Center
          END OF it_item.
    Data Variables & Constants
    CONSTANTS : c_x             VALUE 'X'.  " Flag
    DATA : v_l(2),                          " Counter
           v_rowno(5),                      " Row No
           v_2(2),                          " Counter
           v_rows LIKE sy-srows,            " Rows in TC
           v_field(45).                     " String
    Parameters
    PARAMETERS: p_file LIKE ibipparms-path.  " Filename
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start of Selection
    START-OF-SELECTION.
    Open the BDC Session
      PERFORM open_group.
    Upload the File into internal Table
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = i_pr
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT i_pr BY sno.
      LOOP AT i_pr.
        MOVE-CORRESPONDING i_pr TO it_item.
        APPEND it_item.
        CLEAR it_item.
        AT END OF sno.
          READ TABLE i_pr INDEX sy-tabix.
          MOVE-CORRESPONDING i_pr TO it_header.
          APPEND it_header.
          CLEAR it_header.
        ENDAT.
      ENDLOOP.
      SORT it_header BY sno.
      SORT it_item BY sno.
      v_rows = sy-srows - 6.
    Upload the Data from Internal Table
      LOOP AT it_header.
    Header Data
        PERFORM bdc_dynpro      USING 'SAPMM06B' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'EBAN-BEDNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'EBAN-BSART'
                                      it_header-bsart.
        PERFORM bdc_field       USING 'RM06B-EPSTP'
                                      it_header-epstp.
        PERFORM bdc_field       USING 'EBAN-KNTTP'
                                      it_header-knttp.
        PERFORM bdc_field       USING 'RM06B-EEIND'
                                      it_header-eeind.
       PERFORM bdc_field       USING 'RM06B-LPEIN'
                                     it_header-lpein.
        PERFORM bdc_field       USING 'EBAN-WERKS'
                                      it_header-werks.
        PERFORM bdc_field       USING 'EBAN-LGORT'
                                      it_header-lgort.
        PERFORM bdc_field       USING 'EBAN-EKGRP'
                                      it_header-ekgrp.
        PERFORM bdc_field       USING 'EBAN-MATKL'
                                      it_header-matkl.
        PERFORM bdc_field       USING 'EBAN-BEDNR'
                                      it_header-bednr.
        PERFORM bdc_field       USING 'EBAN-AFNAM'
                                      it_header-afnam.
    Item Details
        v_l = 0.
    To add no. of rows
        v_2 = 0 .
    As the screen is showing 13 rows defaulted to 130
        v_rowno = 130 .
        LOOP AT it_item WHERE sno = it_header-sno.
          v_l = v_l + 1.
          IF v_l = 14 .
            IF v_2 = 12 .
              v_2 = 12 .
              v_l = 2 .
    From second time onwards it is displaying 12 rows only
              v_rowno = v_rowno + 120 .
              PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
              PERFORM bdc_field       USING 'BDC_CURSOR'
                                            'RM06B-BNFPO'.
              PERFORM bdc_field       USING 'RM06B-BNFPO'
                                            v_rowno.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                                '/00'.
            ELSE.
    V_2 initialized to 12 for second screen purpose
              v_2 = 12 .
              v_l = 2 .
              PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
              PERFORM bdc_field       USING 'BDC_CURSOR'
                                            'RM06B-BNFPO'.
              PERFORM bdc_field       USING 'RM06B-BNFPO'
                                            v_rowno .
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                                '/00'.
            ENDIF.
          ENDIF.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          CLEAR v_field.
          CONCATENATE 'EBAN-MATNR(' v_l ')' INTO v_field.
          PERFORM bdc_field   USING v_field it_item-matnr.
          CLEAR v_field.
          CONCATENATE 'EBAN-MENGE(' v_l ')' INTO v_field.
          PERFORM bdc_field   USING v_field it_item-menge.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0102'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'EBAN-PREIS'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM bdc_field       USING 'EBAN-PREIS'
                                      it_item-preis.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0505'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'EBKN-SAKTO'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
          PERFORM bdc_field       USING 'EBKN-SAKTO'
                                      it_item-sakto.
    Cost Center
          PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'COBL-KOSTL'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
          PERFORM bdc_field       USING 'COBL-KOSTL'
                                        it_item-kostl.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
        ENDLOOP.
        PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RM06B-BNFPO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
    Call The Transaction
        PERFORM bdc_transaction USING 'ME51'.
      ENDLOOP.
    Close the BDC Session
      PERFORM close_group.
    with regards,
    Hema Sundara.

  • How to clear the table contents for the new selection values?

    Hi,
    Im developing some very basic web dynpro applications.I have created one application to demonstrate use of SERVICE CALL.Now in one of the COntext Nodes,I have one attributes as TABLE.I have 2 input fields and when i enter any sel critteria in these 2 fields,the table is populated accordingly.Now when i change the value in the input fields,the new output gets appended in the output TABLE.How do I clear the contents of the OUTPUT table attribute  in the method?
    Can someone tell me the common methods used with context nodes like REFRESHING,CLEARING etc?How do I know which methods to call for what action of the nodes ...like for binding internal table to any context node we use the method BIND_TABLE...
    Any inputs will be highly appreciated.
    Thanks!
    BR,
    SRM tech.

    Hi,
    To clear the contents of the node, use invalidate method.
    data: l_node type ref to if_wd_context_node.
    l_node  = wd_context->get_child_node( 'NODENAME' ).
    l_node->invalidate( ). " all the data in the node will be cleared
    To clear a single attribute you can use set_attribute_null.
    Regards,
    Radhika.

  • CSS 11500 - how to clear sticky-table entry

    Hi together,
    1. is there any possibility to clear an entry in the sticky table ?
    2. how could I find a sticky table entry, belong to a certain IP Addres or flow ?
    commands I know to find more details infos about the sticky table and the flows find below, but how could I merge these infos ?
    #sh sticky-table l3-sticky
    L3 Sticky List on Slot 1, subslot 1:
    Entries for page 1.
    Entry Hash Rule Rule Srv Srv Time(Sec) Hit Col Elem Inact
    Number Value Indx State Indx State Elapsed Cnt Cnt Type Cfg(Min)
    1 a18015a 26 ACT 23 ALIVE 659 1 0 L3 15
    2 a18015a 28 ACT 12 ALIVE 43 19 0 L3 15
    3 a18016d 28 ACT 13 ALIVE 16 22 0 L3 15
    4 a180170 26 ACT 12 ALIVE 727 1 0 L3 15
    5 a180170 28 ACT 13 ALIVE 37 20 0 L3 15
    6 a180171 28 ACT 12 ALIVE 46 24 0 L3 15
    7 a180188 26 ACT 24 ALIVE 695 1 0 L3 15
    for the flows:
    # flow-agent show active_fcbs
    Flow ID Src IP SPort Dst IP DPort Pr slot sub spt dpt Flow flg
    8499f000 172.29.149.144 443 172.21.211.155 52988 6 2 1 1 1 00000098
    83e0c860 172.19.28.47 1107 172.29.149.144 443 6 2 1 1 1 00001098
    84049a40 172.29.148.149 389 172.29.27.133 35292 6 2 1 1 1 00000119
    83b97160 172.28.19.130 4647 172.29.149.144 81 6 2 1 1 1 00001089
    84588ae0 172.29.27.133 6101 172.29.148.167 33054 6 2 1 1 1 00000508
    # flow-agent show fcb_details 0x83650080
    Fcb Details for FCB: 0x83650080
    SRC: 172.29.148.149-389 NAT: 172.29.149.136-389
    DST: 172.29.27.133-40833 NAT: 172.29.27.133-40833
    DMAC: 00-01-f4-16-e5-e6 SMAC: 00-0b-fd-be-c6-7d
    IP Hdr ChkD: 65292 TCP/UDP Hdr ChkD: 65292
    TCP SequenceD: 0 Task CE: 0
    BytesIn: 1460 Frames In: 14
    Dest VLAN: 101 Src/Dst Ports: 0/0
    Slot/SubSlot: 2/1 SmbQ/PrcSwP: 32/1
    Time Stamp / Time Out Info:
    CurSecs: 1846643:342, started: 1793589:504 last activity: 1845164
    May timeout due to inactivity: Yes , inactiveTimeout: 1048528
    Inactive Secs: 1479, will timeout in: 1047049 secs
    FCB Flags: 0x0119
    0x0001 - Natting In Use
    0x0000 - NOT L5 Aware
    0x0000 - Non-Spoofed
    0x0008 - IP/TCP Flow
    0x0010 - Remote - Egress port
    0x0100 - In LL List
    0x0000 - Server-side
    FCB FlaFlags: 0x8040
    0x0040 - Is a static FCB
    0x8000 - Handled an ACK

    1/ to clear use the comand 'sticky-purge ...' from llama mode.
    2/ To see if an entry exist of a particular ip address, use the command 'sho sticky-table l3-sticky ipaddress ...'
    Regards,
    Gilles.

  • How to clear the table control?

    Hi experts,
      I have a table control in the selection screen of my program.When i enter some input values in the selection screen and execute it some process is done in the background and get a status message on the selection screen itself that the process is finished.Once this is done i want to clear all the lines entered in table control in the selection screen.Can anyone please tell me how to do this?
    Thanks.
    dp.

    Hi,
    If the table control is created using internal table , then in PBO just clear and refresh that table
    PROCESS BEFORE OUTPUT
    CLEAR itab.
    REFRESH ITAB.
    The <internal table> here should be the internal table that u use to diaply in the table control
    Regards,
    Priyanka.

  • How to clear the table data at the time of leaving fromt the page

    Hi all,
    I have requirement to clear all the table data on the page. For that i have written code like
    public void clearRunCalcPage(){
    System.out.println("Inside clearRunCalcPage");
    this.getCmProcessView().executeEmptyRowSet();
    this.getCmProcessFiveRecordsView().executeEmptyRowSet();
    But for clearing i don't have any button and i don't have next button also, based on menu navigation i will move from 1 page to another. Here my problem is where can i put this login, i tried with the constructor of the page but that time i am getting errors when i came to the page.
    Can any one suggest me.

    Call a backing bean method on click of the next page and place the below code in the backing bean
              ViewCriteria vc = myView.getViewCriteria("criteriaName");
              vc.setProperty(ViewCriteriaHints.CRITERIA_AUTO_EXECUTE, false);Morgan.

  • How to clear Table

    Hi,
    i want to ask how to clear the table
    for example i have 4 row and 3 column
    and i already fill data inside it
    but i want to refresh it to add new data inside
    everytime i want to add new fresh data it alwas double
    become 8 row and 6 column
    how do i clear it?
    thax
    F!

    My favourite way to clear a table is to simply lift up one side and let everything just slide off.
    For your table, just tilt the monitor and watch that data disappear.
    Good luck.

  • Clearing a Table control

    Hi
    Can anyone tell me how to clear the table control.
    I have cleared the internal table .
    But it is not getting cleared.
    Cheers
    Christina

    REPORT  ZFI_CF_PLANING
            NO STANDARD PAGE HEADING
            MESSAGE-ID Z00.
    *&  TABLE DECLARATIONS
    TABLES: ZFI_CF_PLANING,ZFI_CF_TABMAIN.
    *&  DATA DECLARATIONS
    DATA: PAYDATE TYPE ZFI_CF_PLANING-CALDATE.
    data : t_cvalue type zfi_cf_planing-cvalue,
           t_cperiod type zfi_cf_planing-cperiod,
           t_cyear   type zfi_cf_planing-calyear,
    *RES,          "To Store Response Code of Dialog Box
          V_MODE(4),    "To Store sy-ucomm
          V_buper     TYPE T009B-POPER,
          v_gjahr     TYPE T009B-BDATJ,
          V_Dbuper     TYPE T009B-POPER,
          v_Dgjahr     TYPE T009B-BDATJ,
          V_QTY_VALUE TYPE ZFI_CF_PLANING-INVALUE,
          V_RAT_VALUE TYPE ZFI_CF_PLANING-INVALUE,
          V_TOT_VALUE TYPE ZFI_CF_PLANING-INVALUE,
          V_MAT_CONS  TYPE ZFI_CF_PLANING-INVALUE,
          V_CHECK     TYPE ZFI_CF_PLANING-INVALUE,
          V_code      TYPE ZFI_CF_PLANING-code,
          R_buper     TYPE T009B-POPER,
          R_gjahr     TYPE T009B-BDATJ,
          V_ACCNO     TYPE ZFI_CF_TABMAIN-ACCNO,
          V_ACCNO1     TYPE ZFI_CF_TABMAIN-ACCNO,
          PDATUM      TYPE D.
    *--Table Control Declaration
    CONTROLS MAIN TYPE TABLEVIEW USING SCREEN 100.
    *&  INTERNAL TABLE DECLARATIONS
    data : it_final type standard table of ZFI_CF_PLANING initial size 0
    with header line.
    *data : it_final2 type standard table of ZFI_CF_PLANING initial size 0
    *with header line.
    DATA : IT_CHECK LIKE ZFI_CF_PLANING OCCURS 1 WITH HEADER LINE.
    *&  START-OF-SELECTION
    START-OF-SELECTION.
      SELECT *
      INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
      FROM mara
      up to 100 rows.
    *--Calling the Screen
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          Setting the Toolbar and Titlebar
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'MENU'.
      SET TITLEBAR 'TITLE'.
      IF V_MODE = 'COPY'.
           SELECT *
             FROM ZFI_CF_PLANING
             INTO TABLE IT_FINAL
            where pyear = V_GJAHR
              and pperiod = V_BUPER
              and accno   = zfi_cf_PLANING-accno.
          SORT IT_FINAL BY BUOM DESCENDING.
          DATA : V_DES  TYPE ZFI_CF_TABMAIN-DESCRIP2.
           SELECT SINGLE
                  DESCRIP2
            FROM ZFI_CF_TABMAIN
            INTO V_DES
           WHERE CODE = 'EXSALE'
             AND ACCNO = ZFI_CF_planing-ACCNO
             or  CODE  = 'LSALE'.
            IF SY-SUBRC = 0.
              ZFI_CF_TABMAIN-DESCRIP2  = V_DES.
            endif.
    ENDIF.
      IF V_MODE = 'CLEA'.
      REFRESH IT_FINAL.
      CLEAR : V_MODE.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          Moving the modified records into other internal table
          and displaying the those in ALV POPUP GRID
    MODULE USER_COMMAND_0100 INPUT.
    *BREAK-POINT.
      CASE SY-UCOMM.
        WHEN 'EXIT' or 'CANC' OR 'BACK'.
          LEAVE PROGRAM.
        WHEN 'COPY'.
          V_MODE = SY-UCOMM.
          V_ACCNO1 = ZFI_CF_PLANING-ACCNO.
          V_Dbuper = ZFI_CF_PLANING-PPERIOD.
          v_Dgjahr = ZFI_CF_PLANING-PYEAR.
          CLEAR SY-UCOMM.
        WHEN 'PROC'.
          V_MODE = SY-UCOMM.
          V_ACCNO1 = ZFI_CF_PLANING-ACCNO.
          V_Dbuper = ZFI_CF_PLANING-PPERIOD.
          v_Dgjahr = ZFI_CF_PLANING-PYEAR.
          CLEAR SY-UCOMM.
        WHEN 'CLEA'.
          V_MODE = SY-UCOMM.
          CLEAR SY-UCOMM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SAVE_REC  INPUT
          Modifiying the current record of table control
    MODULE SAVE_REC INPUT.
    MOVE-CORRESPONDING ZFI_CF_PLANING TO IT_FINAL.
       MODIFY IT_FINAL INDEX MAIN-CURRENT_LINE.
       IF SY-SUBRC <> 0.
       APPEND IT_FINAL.
       ENDIF.
      IF V_MODE = 'PROC'.
          IF ZFI_CF_PLANING-CODE <> '' .
              data : v_code1 type ZFI_CF_tabmain-code.
              SELECT SINgLE CODE
              FROM ZFI_CF_CATMAster
              INTO V_CODE1
              WHERE CODE = ZFI_CF_PLANING-CODE.
              IF SY-SUBRC <> 0.
                MESSAGE I001(YMSG) WITH 'Invalid code'.
              ENDIF.
           ENDIF.
    ENDIF.
    ENDMODULE.                 " SAVE_REC  INPUT
    *&      Module  DISPLAY  OUTPUT
          text
    module DISPLAY output.
    MOVE-CORRESPONDING IT_FINAL TO ZFI_CF_PLANING.
    endmodule.                 " DISPLAY  OUTPUT
    *&      Module  COPY  OUTPUT
          text
    module COPY output.
    CLEAR IT_FINAL.
    READ TABLE IT_FINAL INDEX 1.
    MOVE-CORRESPONDING IT_FINAL TO ZFI_CF_PLANING.
    IF V_MODE = 'PROC'.
           ZFI_CF_PLANING-ACCNO = V_ACCNO1.
           ZFI_CF_PLANING-PPERIOD = V_DBUPER.
           ZFI_CF_PLANING-PYEAR   = V_DGJAHR.
            SELECT SINGLE DESCRIP2
            FROM ZFI_CF_TABMAIN
            INTO ZFI_CF_TABMAIN-DESCRIP2
           WHERE ACCNO = ZFI_CF_PLANING-ACCNO.
    CLEAR : V_MODE.
    ENDIF.
    IF V_MODE = 'COPY'.
           ZFI_CF_PLANING-ACCNO = V_ACCNO1.
           ZFI_CF_PLANING-PPERIOD = V_DBUPER.
           ZFI_CF_PLANING-PYEAR   = V_DGJAHR.
    CLEAR : V_MODE.
    ENDIF.
    endmodule.                 " COPY  OUTPUT
    flow logic code in screen level
    *PROCESS BEFORE OUTPUT.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT IT_FINAL WITH CONTROL MAIN CURSOR MAIN-TOP_LINE.
    MODULE DISPLAY.
    ENDLOOP.
    MODULE COPY.
    *PROCESS AFTER INPUT.
    PROCESS AFTER INPUT.
    MODULE QUIT AT EXIT-COMMAND.
    FIELD ZFI_CF_planing-ACCNO MODULE VALIDATE_ACCNO.
    FIELD ZFI_CF_PLANING-PYEAR MODULE VALIDATE_PYEAR.
    FIELD ZFI_CF_PLANING-PPERIOD MODULE VALIDATE_PPERIOD.
    MODULE USER_COMMAND_0100.
    LOOP AT IT_FINAL.
       MODULE SAVE_REC.
    ENDLOOP.
    MODULE CALCULATE.
    *MODULE CHANGE_SCREEN2.

  • How to clear data in Table Control.

    hi! all
    How to clear the data in table control.
    i have a Table control which displays column A data from the previous screen and allows to enter column B and column C and i have a button CLEAR, when i click CLEAR button the Data displaying in table control has to be cleared. how to do it.
    Regards,
    Nagulan

    Hi,
    Loop over the internal table of table control & clear data from table control.
    loop at tctab.
    clear tctab.
    modify tctab.
    endloop.
    Best regards,
    Prashant

  • How to call a idoc in abap program and updates catsdb table

    how to call a idoc in abap program and updates catsdb table
    thank you,
    Jagrut BharatKumar Shukla

    Hi Kishan,
    You can refer to following help document,
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm
    Regards,
    Meera

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • How to retrieve data from catsdb table and convert into xml using BAPI

    How to retrieve data from catsdb table and convert into xml using BAPI
    Points will be rewarded,
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Hi,
    This is not your requirment but u can try this :
    CREATE OR REPLACE DIRECTORY text_file AS 'D:\TEXT_FILE\';
    GRANT READ ON DIRECTORY text_file TO fah;
    GRANT WRITE ON DIRECTORY text_file TO fah;
    DROP TABLE load_a;
    CREATE TABLE load_a
    (a1 varchar2(20),
    a2 varchar2(200))
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY text_file
    ACCESS PARAMETERS
    (FIELDS TERMINATED BY ','
    LOCATION ('data.txt')
    select * from load_a;
    CREATE TABLE A AS select * from load_a;
    SELECT * FROM A
    Regards
    Faheem Latif

  • How to clear dhcp clients table

    Does anyone know how to clear the DHCP Clients Table?
    I have a WRV54G.
    Regards
    Solved!
    Go to Solution.

    I understand this is a very old post, but since I found it when I was looking for the same answer in 2009, I thought I would go ahead and give my $.02 worth.
    I have a different router, so this may not be present in yours.
    I use a  WRT54GLwith firmware version 4.30.7 and finally found on the Status page under "Local Network" a link to the DHCP table. You can click on that and delete the existing IPs.

  • Custom field handling in CATSDB table through BAPI

    Hi,
    I have enhanced CATSDB table using CI_CATSDB. I have added one field QTY of type DEC(4,2).
    to enter timesheet I have written one function as per following code. But system is giving error in statement shown in bold fonts. How to overcome from this problem?
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(EMPLOYEENUMBER) TYPE  HR_PERNR
    *"     VALUE(WORKDATE) TYPE  CATSDATE
    *"     VALUE(CATSHOURS) TYPE  CATSHOURS
    *"     VALUE(WBS_ELEMENT) TYPE  PS_POSID OPTIONAL
    *"     VALUE(ACTTYP) TYPE  LSTAR OPTIONAL
    *"     VALUE(QTY) TYPE  ZLHR_TIME_QTY OPTIONAL
    *"  EXPORTING
    *"     VALUE(CATSRECORDS_OUT) TYPE  TCATSDB_EXT
    *"  CHANGING
    *"     VALUE(RETURN) TYPE  BAPIRET2_T
      DATA:
        wa_catsrecords_in TYPE bapicats1,
        int_catsrecords_in TYPE TABLE OF bapicats1,
        wa_extensionin TYPE bapicats7,
        int_extensionin TYPE TABLE OF bapicats7,
        wa_bapi_te_catsdb TYPE bapi_te_catsdb,
        wa_catsrecords_out TYPE bapicats2.
      wa_catsrecords_in-employeenumber = employeenumber.
      wa_catsrecords_in-workdate = workdate.
      wa_catsrecords_in-acttype = acttyp.
      wa_catsrecords_in-wbs_element = wbs_element.
      wa_catsrecords_in-catshours = catshours.
      APPEND wa_catsrecords_in TO int_catsrecords_in.
      CLEAR wa_catsrecords_in.
      wa_bapi_te_catsdb-row = 1. 
      wa_bapi_te_catsdb-qty = qty.
      wa_extensionin-structure = 'BAPI_TE_CATSDB'.
      wa_extensionin-valuepart1 = wa_bapi_te_catsdb+0(240).
      APPEND wa_extensionin TO int_extensionin.
      CLEAR wa_extensionin.
      CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
        EXPORTING
          profile         = 'Z_DEMO'
          testrun         = ' '
          release_data    = ' '
        TABLES
          catsrecords_in  = int_catsrecords_in
          extensionin     = int_extensionin
          catsrecords_out = catsrecords_out
          return          = return.

    Hi,
       In BD64 you can do the segment level filtering. Go to BD64, search for your distribution model there drill down to "filter settings" the make the required segment filtering.
    Thanks,
    Asit Purbey.

Maybe you are looking for