How to remove all records(Truncate) In SalesForce Object before load data in to it ?

I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

Similar Messages

  • How to remove duplicates records from output ?

    how to remove duplicates records from output ?  i used delete adjacent but duplicates records are coming again ..suggest me

    hi shruthi,
    thanks for ur answer ..but duplicates records coming again
    here is my code >> plz check it out
    *& Report  ZCRM_TROUBLE_TICKET
    REPORT  zcrm_trouble_ticket.
    TYPES : BEGIN OF ty_qmih,
            qmnum TYPE qmnum,
            equnr TYPE equnr,
            iloan TYPE iloan,
            ausvn TYPE ausvn,
            ausbs TYPE ausbs,
            auztv TYPE auztv,
            auztb TYPE auztb,
            iwerk TYPE iwerk,
            END OF ty_qmih,
            BEGIN OF ty_qmel,
            qmnum TYPE qmnum,
            qmtxt TYPE qmtxt,
            indtx TYPE indltx,
            priok TYPE priok,
            strmn TYPE strmn,
            strur TYPE strur,
            ltrmn TYPE ltrmn,
            ltrur TYPE ltrur,
            objnr TYPE qmobjnr,
            arbpl TYPE lgwid,
            vkorg TYPE vkorg,
            vtweg TYPE vtweg,
            spart TYPE spart,
            END OF ty_qmel,
            BEGIN OF ty_ihpa,
            parnr TYPE i_parnr,
            parvw TYPE parvw,
            objnr TYPE qmobjnr,
            END OF ty_ihpa,
            BEGIN OF ty_crhd,
            arbpl TYPE arbpl,
            objid TYPE cr_objid,
            END OF ty_crhd,
            BEGIN OF ty_crtx,
            ktext TYPE cr_ktext,
            objid TYPE cr_objid,
            END OF ty_crtx,
            BEGIN OF ty_qmfe,
            fecod TYPE fecod,
            fegrp TYPE fegrp,
            qmnum TYPE qmnum,
            END OF ty_qmfe,
            BEGIN OF ty_qmur,
            urcod TYPE urcod,
            urgrp TYPE urgrp,
            urtxt TYPE urstx,
            qmnum TYPE qmnum,
            END OF ty_qmur,
            BEGIN OF ty_iloa,
            tplnr TYPE tplnr,
            iloan TYPE iloan,
            END OF ty_iloa,
            BEGIN OF ty_output,
            qmnum TYPE qmnum,
            equnr TYPE equnr,
           iloan TYPE iloan,
            ausvn TYPE ausvn,
            ausbs TYPE ausbs,
            auztv TYPE auztv,
            auztb TYPE auztb,
            iwerk TYPE iwerk,
            qmtxt TYPE qmtxt,
            indtx TYPE indltx,
            priok TYPE priok,
            strmn TYPE strmn,
            strur TYPE strur,
            ltrmn TYPE ltrmn,
            ltrur TYPE ltrur,
           objnr TYPE qmobjnr,
           arbpl TYPE lgwid,
            vkorg TYPE vkorg,
            vtweg TYPE vtweg,
            spart TYPE spart,
            parnr TYPE i_parnr,
            parvw TYPE parvw,
            arbpl TYPE arbpl,
           objid TYPE cr_objid,
           arbpl1 TYPE arbpl,
            ktext TYPE cr_ktext,
            fecod TYPE fecod,
            fegrp TYPE fegrp,
            urcod TYPE urcod,
            urgrp TYPE urgrp,
            urtxt TYPE urstx,
            tplnr TYPE tplnr,
            END OF ty_output.
    DATA : it_qmih TYPE STANDARD TABLE OF ty_qmih,
           it_qmel TYPE STANDARD TABLE OF ty_qmel,
           it_ihpa TYPE STANDARD TABLE OF ty_ihpa,
           it_crhd TYPE STANDARD TABLE OF ty_crhd,
           it_crtx TYPE STANDARD TABLE OF ty_crtx,
           it_qmfe TYPE STANDARD TABLE OF ty_qmfe,
           it_qmur TYPE STANDARD TABLE OF ty_qmur,
           it_iloa TYPE STANDARD TABLE OF ty_iloa,
           it_output TYPE STANDARD TABLE OF ty_output,
           wa_qmih TYPE ty_qmih,
           wa_qmel TYPE ty_qmel,
           wa_ihpa TYPE ty_ihpa,
           wa_crhd TYPE ty_crhd,
           wa_crtx TYPE ty_crtx,
           wa_qmfe TYPE ty_qmfe,
           wa_qmur TYPE ty_qmur,
           wa_iloa TYPE ty_iloa,
           wa_output TYPE ty_output.
    INITIALIZATION.
      REFRESH : it_qmih,
                it_qmel,
                it_ihpa,
                it_crhd,
                it_crtx,
                it_qmfe,
                it_qmur,
                it_iloa,
                it_output.
      CLEAR:     wa_qmih,
                 wa_qmel,
                 wa_ihpa,
                 wa_crhd,
                 wa_crtx,
                 wa_qmfe,
                 wa_qmur,
                 wa_iloa,
                 wa_output.
    start-of-selection.
      SELECT  qmnum
              equnr
              iloan
              ausvn
              ausbs
              auztv
              auztb
              iwerk
              FROM qmih
              INTO  TABLE it_qmih.
      SORT it_qmih BY qmnum .
      DELETE ADJACENT DUPLICATES FROM it_qmih COMPARING qmnum equnr iloan ausvn ausbs auztv auztb iwerk.
      SELECT   qmnum
               qmtxt
               indtx
               priok
               strmn
               strur
               ltrmn
               ltrur
               objnr
               arbpl
               vkorg
               vtweg
               spart
               FROM qmel
               INTO TABLE it_qmel
               FOR ALL ENTRIES IN it_qmih
               WHERE qmnum = it_qmih-qmnum.
      SORT it_qmel BY qmnum.
      DELETE ADJACENT DUPLICATES FROM it_qmel COMPARING  qmnum
                                                         qmtxt
                                                         indtx
                                                         strmn
                                                         strur
                                                         ltrmn
                                                         ltrur
                                                         objnr
                                                         arbpl
                                                         vkorg
                                                         vtweg
                                                         spart.
      IF it_qmel IS NOT INITIAL.
        SELECT parnr
               parvw
               objnr
               FROM ihpa
               INTO TABLE it_ihpa
               FOR ALL ENTRIES IN it_qmel
               WHERE objnr = it_qmel-objnr.
      ENDIF.
      DELETE ADJACENT DUPLICATES FROM it_ihpa COMPARING  parnr
                                                         parvw
                                                         objnr.
      IF it_qmel IS NOT INITIAL.
        SELECT arbpl
               objid
               FROM crhd
               INTO TABLE it_crhd
               FOR ALL ENTRIES IN it_qmel
               WHERE objid = it_qmel-arbpl.
      ENDIF.
      DELETE ADJACENT DUPLICATES FROM it_crhd COMPARING  arbpl
                                                         objid.
      IF it_qmel IS NOT INITIAL.
        SELECT ktext
               objid
               FROM crtx
               INTO TABLE it_crtx
               FOR ALL ENTRIES IN it_crhd
               WHERE objid = it_crhd-objid.
      ENDIF.
      DELETE ADJACENT DUPLICATES FROM it_crtx COMPARING ktext
                                                        objid.
      IF it_qmih IS NOT INITIAL.
        SELECT fecod
               fegrp
               qmnum
               FROM qmfe
               INTO TABLE it_qmfe
               FOR ALL ENTRIES IN it_qmih
               WHERE qmnum = it_qmih-qmnum.
      ENDIF.
      SORT it_qmfe BY qmnum.
      DELETE ADJACENT DUPLICATES FROM it_qmfe COMPARING fecod
               fegrp.
      IF it_qmih IS NOT INITIAL.
        SELECT urcod
               urgrp
               urtxt
               qmnum
               FROM qmur
               INTO TABLE it_qmur
               FOR ALL ENTRIES IN it_qmih
               WHERE qmnum = it_qmih-qmnum.
      ENDIF.
      SORT it_qmur BY qmnum.
      DELETE ADJACENT DUPLICATES FROM  it_qmur COMPARING urcod
                                                         urgrp
                                                         urtxt.
      IF it_qmih IS NOT INITIAL.
        SELECT  tplnr
                iloan
                FROM iloa
                INTO TABLE it_iloa
                FOR ALL ENTRIES IN it_qmih
                WHERE iloan = it_qmih-iloan.
      ENDIF.
      DELETE ADJACENT DUPLICATES FROM it_iloa COMPARING tplnr
                                                        iloan.
      LOOP AT it_qmih INTO wa_qmih.
        wa_output-qmnum = wa_qmih-qmnum.
        wa_output-equnr = wa_qmih-equnr.
       wa_output-iloan = wa_qmih-iloan.
        wa_output-ausvn = wa_qmih-ausvn.
        wa_output-ausbs = wa_qmih-ausbs.
        wa_output-auztv = wa_qmih-auztv.
        wa_output-auztb = wa_qmih-auztb.
        wa_output-iwerk = wa_qmih-iwerk.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_qmel INTO wa_qmel WITH KEY qmnum = wa_qmih-qmnum.
        wa_output-qmtxt = wa_qmel-qmtxt.
        wa_output-indtx = wa_qmel-indtx.
        wa_output-priok = wa_qmel-priok.
        wa_output-strmn = wa_qmel-strmn.
        wa_output-strur = wa_qmel-strur.
        wa_output-ltrmn = wa_qmel-ltrmn.
        wa_output-ltrur = wa_qmel-ltrur.
       wa_output-objnr = wa_qmel-objnr.
       wa_output-arbpl = wa_qmel-arbpl.
        wa_output-vkorg = wa_qmel-vkorg.
        wa_output-vtweg = wa_qmel-vtweg.
        wa_output-spart = wa_qmel-spart.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_ihpa INTO wa_ihpa WITH KEY objnr = wa_qmel-objnr.
        wa_output-parnr = wa_ihpa-parnr.
        wa_output-parvw = wa_ihpa-parvw.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_crhd INTO wa_crhd WITH KEY objid = wa_qmel-arbpl.
        wa_output-arbpl = wa_crhd-arbpl.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_crtx INTO wa_crtx WITH KEY objid = wa_crhd-objid.
        wa_output-ktext = wa_crtx-ktext.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_qmfe INTO wa_qmfe WITH KEY qmnum = wa_qmih-qmnum.
        wa_output-fecod = wa_qmfe-fecod.
        wa_output-fegrp = wa_qmfe-fegrp.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_qmur INTO wa_qmur WITH KEY qmnum = wa_qmih-qmnum.
        wa_output-urcod = wa_qmur-urcod.
        wa_output-urgrp = wa_qmur-urgrp.
        wa_output-urtxt = wa_qmur-urtxt.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
        READ TABLE it_iloa INTO wa_iloa WITH KEY iloan = wa_qmih-iloan.
        wa_output-tplnr = wa_iloa-tplnr.
        APPEND wa_output TO it_output.
        CLEAR wa_output.
      ENDLOOP.
      DELETE ADJACENT DUPLICATES FROM it_output  COMPARING        qmnum
                                                                  equnr
                                                                  ausvn
                                                                  ausbs
                                                                  auztv
                                                                  auztb
                                                                  iwerk
                                                                  qmtxt
                                                                  indtx
                                                                  priok
                                                                  strmn
                                                                  strur
                                                                  ltrmn
                                                                  ltrur
                                                                  vkorg
                                                                  vtweg
                                                                  spart
                                                                  parnr
                                                                  parvw
                                                                  arbpl
                                                                  ktext
                                                                  fecod
                                                                  fegrp
                                                                  urcod
                                                                  urgrp
                                                                  urtxt
                                                                  tplnr.
    *CALL FUNCTION 'STATUS_TEXT_EDIT'
    EXPORTING
      CLIENT                  = SY-MANDT
      FLG_USER_STAT           = ' '
       objnr                   =
      ONLY_ACTIVE             = 'X'
       spras                   = en
      BYPASS_BUFFER           = ' '
    IMPORTING
      ANW_STAT_EXISTING       =
      E_STSMA                 =
      LINE                    =
      USER_LINE               =
      STONR                   =
    EXCEPTIONS
      OBJECT_NOT_FOUND        = 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.
    *CALL FUNCTION 'READ_TEXT'
    EXPORTING
      CLIENT                        = SY-MANDT
       id                            =
       language                      =
       name                          =
       object                        =
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
    tables
       lines                         =
    EXCEPTIONS
      ID                            = 1
      LANGUAGE                      = 2
      NAME                          = 3
      NOT_FOUND                     = 4
      OBJECT                        = 5
      REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *LOOP AT IT_OUTPUT INTO WA_OUTPUT.
    *WRITE : / WA_OUTPUT-qmnum,
             WA_OUTPUT-equnr,
             WA_OUTPUT-iloan,
             WA_OUTPUT-ausvn,
             WA_OUTPUT-ausbs,
             WA_OUTPUT-auztv,
             WA_OUTPUT-auztb,
             WA_OUTPUT-qmtxt,
             WA_OUTPUT-indtx,
             WA_OUTPUT-strmn,
             WA_OUTPUT-strur,
             WA_OUTPUT-ltrmn,
             WA_OUTPUT-ltrur,
             WA_OUTPUT-objnr,
             WA_OUTPUT-arbpl,
             WA_OUTPUT-parnr,
             WA_OUTPUT-parvw,
             WA_OUTPUT-objid,
             WA_OUTPUT-ktext,
             WA_OUTPUT-fecod,
             WA_OUTPUT-fegrp,
             WA_OUTPUT-urcod,
             WA_OUTPUT-urgrp,
             WA_OUTPUT-urtxt,
             WA_OUTPUT-tplnr.
    *ENDLOOP.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
      BIN_FILESIZE                    =
          filename                        = 'E:\CRM1.TXT'
      FILETYPE                        = 'ASC'
      APPEND                          = ' '
         write_field_separator           = '|'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
        TABLES
          data_tab                        = it_output
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Firefox hangs on opening requiring force quit I have snow leopard mac It hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise m

    Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
    == This happened ==
    Every time Firefox opened
    == I tried to update firefox add-ons ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Try a new profile. See [[Recovering important data from an old profile]]

  • How to remove all CIM in SLD

    Hi all
    i would like to remove all software component from current SLD. i am not telling reimport new released CIM and Contents Version.
    how to remove all related component to make empty SLD BOX?
    Regards and Thanks in advance
    Tony

    david,
    goto SLD-> software catalog -> products / s/w components...
    now when u open any particuler product, the ris an button of REMOVE, click tht to remove tht product and all its related components else,
    select ur component u want to delete and then again click REMOVE, u will be deleting only tht componenet...
    so u need not delete all the components or products, just the ones u dont find useful...
    regards...
    vishal

  • How to remove all instance in a repeatable subform (bis)

    Hi Niall,
    A few years ago, you helped a user who asked "How to remove all instance in a repeatable subform". Please could you do again with approximately the same problem ?
    In a click event, I have the script "_CarteEN.addInstance();". Well ! Many cards appear. To protect them, I put above a mask (it's a button with a background Fill). Now, how can I do to remove all masks with only one click using the resetdata or anything else...
    I try this but it doesn't work.
    while (flowedSubform.CarteEN._CacheCV.count > 2)
         flowedSubform.CarteEN._CacheCV.removeInstance(1);
    Many thanks for your help !

    There is no subform named "flowedSubform"
    The "CacheCV" is not a container object (subform). so you can't access the instanceManger of this object.
    the below lines should work
    while(_CarteEN.count >1)
         _CarteEN.removeInstance(1);
    Nith

  • How to remove all transitions?

    I used the automate to sequence with default transition. A few dozens of transitions were added to the sequence.
    How to remove all the transitions without deleting the sequence and starting from scratch please?
    Thanks in advance.

    The difference in file size you are seeing is because you are only using motionless stills in your movies. No motion, and no effects. Some codecs allows for file size reduction by writing first and last frame information for a still, regardless of the length in the video sequence. Why the transition increases file size is because the codec actually has to write info for each frame in the length of the transition.
    This is not going to be the case with anybody working with actual video clips, or if someone adds motion to their stills. The codec then has to write information for every frame, resulting in a larger file size. For most projects, transitions will not make any significant change in file size.

  • How to remove all ALV buttons?

    Hello all.
    Does anyone know how to remove all the ALV buttons?
    I now the IT_EXCLUDING option, but is there a different and
    faster way?
    (I'm using ALV classes).
    Thanks!

    hii..
    All the ALV Toolbar Buttons can be removed in Single Shot.
    There is a method in CL_GUI_ALV_GRID->SET_TOOLBAR_VISIBLE.
    it is protected method create class that is inheriting from CL_GUI_ALV_GRID.
    CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          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.
    Set visible to '0' will disable all the buttons.
    Example Program:
    *DATA DECALRATIONS
    TYPES : BEGIN OF ty_sflight,
           carrid TYPE sflight-carrid,
           connid TYPE sflight-connid,
           Fldate TYPE sflight-fldate,
           price TYPE sflight-price,
           currency TYPE sflight-currency,
      END OF ty_sflight.
    DATA : IT_SFLIGHT TYPE TABLE OF TY_SFLIGHT,
            WA_SFLIGHT TYPE TY_SFLIGHT.
    DATA : IT_FCAT TYPE LVC_T_FCAT ,
            WA_FCAT TYPE LVC_S_FCAT.
    data : o_cont type REF TO cl_gui_custom_container ,
            o_grid type REF TO cl_gui_alv_grid.
    CLASS LCL_ALV DEFINITION INHERITING FROM CL_GUI_ALV_GRID.
       PUBLIC SECTION.
         METHODS : M1.
       ENDCLASS.
       CLASS LCL_ALV IMPLEMENTATION.
         METHOD M1.
           CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          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.
         ENDMETHOD.
         ENDCLASS.
       START-OF-SELECTION.
         CALL SCREEN 200.
    *&      Module  STATUS_0200  OUTPUT
    module STATUS_0200 output.
       SET PF-STATUS 'ZDC'.
    *  SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
    module USER_COMMAND_0200 input.
    CASE SY-UCOMM.
       WHEN 'BACK'.
         LEAVE TO SCREEN 0.
         ENDCASE.
    endmodule.                 " USER_COMMAND_0200  INPUT
    *&      Module  GET_DATA  OUTPUT
    module GET_DATA output.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF TABLE IT_SFLIGHT
                                                              UP TO 50 ROWS.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '01'.
    WA_FCAT-fieldname = 'CARRID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '02'.
    WA_FCAT-fieldname = 'CONNID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '03'.
    WA_FCAT-fieldname = 'FLDATE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '04'.
    WA_FCAT-fieldname = 'PRICE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '05'.
    WA_FCAT-fieldname = 'CURRENCY'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CREATE OBJECT o_cont
       EXPORTING
    *    parent                      =
         container_name              = 'C1'
    .DATA O_ALV TYPE REF TO LCL_ALV.
       CREATE OBJECT O_ALV
       EXPORTING
         I_PARENT = O_CONT.
    CALL METHOD o_ALV->set_table_for_first_display
       CHANGING
         it_outtab                     = IT_SFLIGHT
         it_fieldcatalog               = IT_FCAT
    CALL METHOD O_ALV->M1.  "method called to remove all the toolbar buttons
    endmodule.

  • How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS

    Dear gurus,
    how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
    Arun

    Hi,
    Take a look:
    http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
    Regards,

  • How to remove all superscripts?

    How to remove all superscripts from large document?
    I tried to use find/replace and then find format, but i could not find superscript checkbox.

    In Find/Change , under Find Format, go to the Basic Character Formats section and it's in the Position dropdown on the lower right.

  • How to remove all nodes (except root node)from a Jtree?

    How to remove all nodes (except the root node)from a Jtree?

    Either:
    - remove all children of root.
    - save the root node, throws away the tree model, build a new TreeModel with the saved root, set the new TreeModel in the JTree.
    - implement your own TreeModel, which would support an emptyExceptRoot() method.
    IMHO, using the DefautlTreeModel and DefaultMutableTreeNode does lead to all sorts of small problems when the app evolves, and implementing your own TreeNode and TreeModel is not that hard and much more efficient.

  • How to remove all pictures of iPod Touch

    How to remove all the pictures from my iPod Touch 32GB.All the solutions ive tried off the net have failed.

    For photos taken by or saved to the iPod you can delete them by selecting them and then tapping the delete/trash can icon.
    For photos synced to the iPod you need to connect the syncing computer and unsync them
    How to Remove Synced Photos From an iPad | Chron.com
    Or use a third-party program like TouchCopy or PhoneView.

  • How to remove all hyperlinks at once?

    Hi guys,
    I want to know how to remove all hyperlinks in a text at once. I know how to remove one link at a time. But it's time consuming if you paste a text with a lot of hyperlinks.
    Thanks,
    Adriano.

    Duplicate your document for safe then drag and drop the icon of the copy of the icon of this script saved as an application.
    --[SCRIPT remove links]{code}
    Enregistrer le script en tant qu'Application ou Progiciel : remove links.app
    Déposez le sur le bureau par exemple.
    Glisser-déposer l'icône d'un document Pages sur celle du script
    va éliminer tous les Hyperliens et signets prédsents dans le document.
    On peut également qlisser déposer un fichier index.xml.
    +++++++
    Save the script as an Application or an Application Bundle: remove links.app
    Store it on the desktop for instance.
    Drag and drop the icon of a Pages document on the script's icon
    to remove the Hyperlinks and Bookmarks embedded in the document.
    We may also drag & drop an index.xml file.
    Yvan KOENIG (Vallauris, FRANCE)
    16 février 2009
    enhanced 17 février 2009
    --=====
    property removeBookmarks : true
    true = remove the bookmarks
    false = don't remove the bookmarks *)
    property removeLinks : true
    true = remove the Links
    false = don't remove the Links *)
    property liste : {}
    --=====
    on open (sel)
    set theDoc to (item 1 of sel) as text
    tell application "System Events" to tell disk item theDoc
    set nn to name
    set uti to type identifier
    set isPackage to package folder
    end tell
    if nn is "index.xml" then
    my traiteIndex(theDoc)
    else if uti is not in {"com.apple.iwork.Pages.Pages", "com.apple.iwork.pages.sffpages"} then
    error "Not a Pages document !"
    else if isPackage then
    -- here the document is a package
    if theDoc ends with ":" then set theDoc to text 1 thru -2 of theDoc
    tell application "Finder"
    set the_index to (theDoc & ":index.xml")
    set indexGzAvailable to exists file (the_index & ".gz")
    set indexAvailable to exists file the_index
    end tell -- Finder
    if indexGzAvailable then
    if indexAvailable then tell application "Finder" to delete file the_index
    my expandIndex(the_index & ".gz")
    my traiteIndex(the_index)
    else
    if indexAvailable then
    my traiteIndex(the_index)
    else
    error "No Index available !"
    end if
    end if -- indexGzAvailable
    else
    -- here the document is a flat one
    tell application "Finder"
    set cont to (container of file theDoc) as text
    set name of file theDoc to (nn & ".zip")
    end tell -- Finder
    set theDocZ to cont & nn & ".zip"
    my expandDoc(theDocZ, theDoc)
    tell application "Finder"
    set name of file theDoc to (nn & "yk")
    set theDocF to cont & nn & "yk"
    set the_index to (theDocF & ":index.xml")
    set indexAvailable to exists file the_index
    end tell -- Finder
    if indexAvailable then my traiteIndex(the_index)
    end if -- nn …
    end open
    --=====
    on traiteIndex(theIndex)
    local theKey1, theKey2, theKey3, theKey4, theKey5, itm, itm1, itm2, itm2
    my nettoie()
    (* Lis le contenu du fichier Index.xml *)
    set texte to read file theIndex from 1
    if removeBookmarks then
    (* supprime les descripteurs de signets *)
    set theKey1 to "<sf:bookmark sf:name"
    set theKey2 to "</sf:bookmark>"
    if texte contains theKey1 then
    set my liste to my decoupe(texte, theKey1)
    repeat with i from 2 to count of my liste
    set itm to my decoupe(item i of my liste, theKey2)
    set itm1 to item 1 of itm
    set itm1 to text (1 + (offset of ">" in itm1)) thru -1 of itm1
    set itm2 to my recolle(items 2 thru -1 of itm, theKey2)
    set item i of my liste to (itm1 & itm2)
    end repeat -- i
    set texte to my recolle(my liste, "")
    end if
    end if -- removeBookmarks
    Here are samples of Hyperlinks in the index.xml file
    --link to bookmark
    <sf:p sf:style="paragraph-style-32">
    <sf:bookmark sf:name="page 3" sf:ranged="true" sf:page="3">
    page 3
    </sf:bookmark>
    <sf:br/>
    --link to URL
    <sf:p sf:style="paragraph-style-32">
    <sf:link href="http://discussions.apple.com/thread.jspa?threadID=1905618&amp;tstart=0" sf:style="SFWPCharacterStyle-7">
    <sf:span sf:style="SFWPCharacterStyle-7">
    Change cell color if number is different from previous cell
    </sf:span>
    </sf:link>
    <sf:br/>
    --link to an other Pages document
    <sf:p sf:style="paragraph-style-32">
    <sf:link href="pages:///Users/yvan_koenig/Documents/Sans%20titre%20-%20copie.pages#un%20 signet%20externe">
    <sf:file-alias sf:file-alias="0000000001ae000200010c4d6163696e746f7368204844000000000000000000 000000000000c45c8cef482b00000008a77c1853616e73207469747265202d20636f7069652e7061 67657300000000000000000000000000000000000000000000000000000000000000000000000000 000000360f06c5c03419000000000000000000010002000009200000000000000000000000000000 0009446f63756d656e747300001000080000c45c70cf0000001100080000c5c0260900000001000c 0008a77c0008a76f00006bdf000200414d6163696e746f73682048443a55736572733a7976616e5f 6b6f656e69673a446f63756d656e74733a53616e73207469747265202d20636f7069652e70616765 7300000e0032001800530061006e00730020007400690074007200650020002d00200063006f0070 00690065002e00700061006700650073000f001a000c004d006100630069006e0074006f00730068 0020004800440012003455736572732f7976616e5f6b6f656e69672f446f63756d656e74732f5361 6e73207469747265202d20636f7069652e7061676573001300012f00001500020012ffff0000"/>
    <sf:span sf:style="SFWPCharacterStyle-7">
    vers autre document
    </sf:span>
    </sf:link>
    <sf:br/>
    if removeLinks then
    (* supprime les descripteurs de liens *)
    set theKey1 to "<sf:link href="
    set theKey3 to "<sf:span sf:style="
    set theKey4 to "</sf:link>"
    set theKey5 to "</sf:span>"
    if texte contains theKey1 then
    set my liste to my decoupe(texte, theKey1)
    repeat with i from 2 to count of my liste
    set itm to my decoupe(item i of my liste, theKey4)
    set itm1 to item 2 of my decoupe(item 1 of itm, theKey3)
    set itm1 to text (1 + (offset of ">" in itm1)) thru -1 of itm1
    set itm1 to item 1 of my decoupe(itm1, theKey5)
    set itm2 to my recolle(items 2 thru -1 of itm, theKey4)
    set item i of my liste to (itm1 & itm2)
    end repeat -- i
    set texte to my recolle(my liste, "")
    end if -- texte contains
    This piece of code takes care of a bug in the save as Pages '08 process.
    A link to an other document is not completely disabled so the 'disabled' link remains blue.
    The link is stored this way:
    <sf:p sf:style="paragraph-style-32">
    <sf:span sf:style="SFWPCharacterStyle-7">vers autre document</sf:span>
    <sf:br/>
    when it would be:
    <sf:p sf:style="paragraph-style-32">
    vers autre document
    <sf:br/>
    if texte contains theKey3 then
    set my liste to my decoupe(texte, theKey3)
    repeat with i from 2 to count of my liste
    set itm to my decoupe(item i of my liste, theKey5)
    set itm1 to item 1 of itm
    set itm1 to text (1 + (offset of ">" in itm1)) thru -1 of itm1
    set itm2 to my recolle(items 2 thru -1 of itm, theKey5)
    set item i of my liste to (itm1 & itm2)
    end repeat -- i
    set texte to my recolle(my liste, "")
    end if -- texte contains
    end if -- removeLinks
    set lineFeed to ASCII character 10
    if texte contains (lineFeed & lineFeed) then set texte to my recolle(my decoupe(texte, lineFeed & lineFeed), lineFeed)
    if texte contains (return & return) then set texte to my recolle(my decoupe(texte, return & return), return)
    set eof of file theIndex to 0
    write texte to file theIndex
    my nettoie()
    end traiteIndex
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on nettoie()
    set liste to {}
    end nettoie
    --=====
    (* Expands the zip file z in the container d, z and d are pathnames as strings *)
    on expandDoc(z, d)
    do shell script "unzip " & quoted form of (POSIX path of (z)) & " -d " & quoted form of (POSIX path of (d))
    end expandDoc
    --=====
    on expandIndex(f)
    do shell script "gunzip " & quoted form of (POSIX path of (f))
    end expandIndex
    --=====
    on lisIndex_xml(f)
    local t
    try
    set t to ""
    set t to (read file f)
    end try
    return t
    end lisIndex_xml
    --=====
    on compactIndex(nDoc)
    local aliasNDoc
    set aliasNDoc to nDoc as alias
    write leTexte to aliasNDoc starting at 0
    do shell script "gzip " & quoted form of POSIX path of aliasNDoc
    end compactIndex
    --=====
    --[/SCRIPT](code}
    Yvan KOENIG (from FRANCE samedi 14 mars 2009 20:55:42)

  • How to remove "all day" as the default setting in iCal?

    How to remove "all day" as the default setting in iCal? The iCloud calendar works by double-clicking but the local behaves differently.

    Hello Valerie,
    the default - "all day" or "time based" - depends on the view in iCal. In month view the default is "all day",
    in week view or day view it is a time interval, if you use "File -> New Event". If you add the event by double clicking into the calendar, it will depend on the section you are clicking - in the all day section you will add an all-day event, in the time-grid you will enter an event with start-end time.
    Regards
    Léonie

  • How to remove all columns and cells in numbers

    how to remove all columns and cells in numbers

    Click on the Table's icon in the Sheets list. Press delete.
    Done.
    Regards,
    Barry

  • File Dialog - How to remove all files pattern in LV 8.x

    How to remove "all files" pattern in LV 8.x in the file dialog.
    Is it possible?
    Thanks
    Dany
    Dany Allard

    If it is a security issue, you will probably need to implement a custom dialog and actively filter for file types.  No matter what pattern you have showing, the user can type a pattern into the dialog and get anything they want.  In addition, file extension is not sufficient to determine file type.  You should probably check the file itself to ensure it is an HTML file and does not have any embedded nastiness.
    Fortunately, custom dialogs are easy to make.  Using the event structure, you can filter inputs as well, so that only HTML files will be accepted.  Good luck.  Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for

  • Color Management in Lightroom 4

    By default, Lightroom uses the Pro Photo color space "with the same gamma curve as sRGB," according to something I read somewhere. Now Pro Photo is a very wide color space, wider than any monitor can display - even my wide-gamut (Adobe RGB) monitor.

  • Difference in Amount between BI Report and GL Account

    Hi, Regarding the difference between BI report and GL, We found duplicated records in the data source 0FI_GL_4. (The difference was in an another account which did not match with the GL.) 1.Account: 123456   G/L Balance: $430,382.41   BI Report:    

  • Battling claro-search. Address bar no longer displays "About Home". Instead I get "Go to Website" Problem?

    I have been battling Claro-search. I have tried all displayed fixes including running Superantispyware and Malwarebytes. Every time I restart Firefox 16.0.1 the claro-search items show up in "About:config". My concern is that the address bar displays

  • Search Example-PGM BAPI_CONTRACT_CREATEFROMDATA

    Hallo, who could provide a demo program with FUBA "BAPI_CONTRACT_CREATEFROMDATA" for the generation of SD-Contracts (VA41). My utility (procedure, program) only generates the text: "Vendor(selling)  receipt still incomplete ... Furthermore I would li

  • Saving a fillable pdf

    I want to create a fillable pdf.  I need to be able to email the blank form to users.  I need to be able to print the completed form w/out losing data.  Would like to be able to email the completed form also, w/out losing data.  I don' t need the for