Field catalog issue in Data archiving

Hi Experts,
We are facing issue in SAP CRM Data Archiving info structure. I have created the fieldcatlog for the service Ticket( CRM_SERORD archive object) and Act On ( CRM_ACT_ON archive Object).
in our scenario, multiple Business partner(Consumer, orgnisational and employee) are attached to each Service ticket, in my ZARxx tables are storing the one entry means one service ticket and one Business partner.
My requirment is it should show all the business partners for each service ticket.
Could you please help me on this.
Regards,
Srini

Hi Srini,
We have the same problem for our project. Did you find a solution for this problem ?
Best regards,
Nevets

Similar Messages

  • Field catalog issue using REUSE_ALV_FIELDCATALOG_MERGE

    Hello experts,
    I am using FM REUSE_ALV_FIELDCATALOG_MERGE and the field catalog is created fron the program.
    The field catalog finds the date field from the program but my internal table has been changed to make the date output YYYY/MM/DD.
    When I input the internal table in FM REUSE_ALV_GRID_DISPLAY the output displays the date as DD/MM/YYYY which is not what I want.
    How can I get FM REAUSE_ALV_GRID_DISPLAY to output the date in the format YYYY/MM/DD which is in my input table.
    I have spent a lot of time researching SDN on this but cannot find a similar solution however I did find some examples of changing the field catalogue. Can anybody suggest this is the way to go and if I would use the edit mask field in the field catalog or is there a better way.
    Thanks for any suggestions

    I think you can use a field exit for this.
    This means creating a field element and a domain in the data dictionary, the domain will need to have a conversion exit set by putting an entry in the 'Convers. Routine' field, eg MYDAT.
    You will need to create two function mdules as below:
    eg, CONVERSION_EXIT_MYDAT_OUTPUT
    and CONVERSION_EXIT_MYDAT_INPUT
    Your internal table will now need to refer to the data element you have created instead of the one you are currently using. ALV should automatically pick up the conversion exits and show the ouitput as you desire.
    FUNCTION CONVERSION_EXIT_MYDAT_OUTPUT.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT) TYPE  DATS
    *"  EXPORTING
    *"     REFERENCE(OUTPUT)
    concatenate input(4) '/' input4(2) '/' input6
    into output.
    ENDFUNCTION.
    FUNCTION CONVERSION_EXIT_MYDAT_INPUT.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT)
    *"  EXPORTING
    *"     REFERENCE(OUTPUT) TYPE  DATS
    data l_string type string.
    l_string = input.
    replace all occurrences of '/' in l_string with ' '.
    output = l_string.
    ENDFUNCTION.

  • Build field catalog for dynamic data objects

    Hi
    Could you please tell me how to build a field catalog (ooops alv)  for an internal table which is a dynamic data object.
      TYPES: BEGIN OF t_addsubty,
             subty TYPE subty,
             pernr TYPE persno,
             END OF t_addsubty.
      TYPES: ty_addsubty type t_addsubty occurs 1.
    i have data object using these
            CREATE DATA dref3 TYPE (g_type1).
            ASSIGN dref3->* TO <fs_dp>.
    where g_type1 refers a data type which i defined in the program. g_type1 = ty_addsubty. 
    now <fs_dp> refers to an internal table.
    now i want to build a field catalog for this internal table.
    In my program <fs_dp> structure is not always the same. i.e now it is ty_addsubty but for some other conditions the structure is different.
    please help me out.
    regards
    badri

    Here some piece of code, which shows how it works:
    <SNIP>
    type-pools:
         abap.
    DATA:
      lr_tabledescr          TYPE REF TO cl_abap_tabledescr,
      lr_structdescr     TYPE REF TO cl_abap_structdescr.
    field-symbols:
      <lw_component>     type abap_compdescr_tab.
    TYPES:
         BEGIN OF t_addsubty,
              subty TYPE subty,
              pernr TYPE persno,
         END OF t_addsubty.
    TYPES:
         ty_addsubty type t_addsubty occurs 1.
    CREATE DATA dref3 TYPE (g_type1).
    ASSIGN dref3->* TO <fs_dp>.
    lr_tabledescr ?= cl_abap_tabledescr=>describe_by_data( <fs_dp> ).
    assert condition lr_tabledescr is bound.
    lr_structdescr ?= lr_tabledescr->get_table_line_type( ).
    loop at lr_structdescr->components assigning <lw_component>.
    *     do whatever you want with the information about
    *     the components of the structure
    endloop.
    </SNIP>
    Do not forget to reward points...

  • Field catalog issue

    Hi ppl
           I am building a field catalog for standard table 'API_VALI' , why am I not getting field catalog in xfield?
    TYPE-POOLS: slis.
    DATA: xfield      TYPE slis_t_fieldcat_alv,
    Code:
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname      = 'API_VALI'
        CHANGING
          ct_fieldcat                   = xfield
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.

    As ABAP_TECHINCAL has written, for standard tables you don't have to send the parameter i_internal_tabname . Instead you have to send the table name in the parameter i_structure_name.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = 'API_VALI'
    CHANGING
    ct_fieldcat = xfield
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    See the sample program given in the link below. It shows, how to create Field Catalog for INTERNAL TABLES
    http://www.erpgenie.com/abap/code/abap28.htm
    Also check the link
    field catalog generation using merge function

  • What is FIELD CATALOG means

    I saw in the forum field catalog using alv, reuse_alv_Fieldcatalog etc
    Actually What is meant by field catalog?????
    Can i know the purpose of it.
    thanks arvind

    Hi Aravind,
    see the below code how to declare field catalog and declare the heading and output..
    Declare field catalog..
    DATA : gc_selfield     TYPE slis_selfield,
           gt_fieldcat_drd TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    All the fields declared in gt_fieldcat_drd-fieldname are fields in the Internal table and output tbale..
    *     Building field catalog
        gt_fieldcat_drd-seltext_m = 'STO / ICSTO'.
        gt_fieldcat_drd-fieldname = 'EBELN'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'Item '.
        gt_fieldcat_drd-outputlen = 4.
        gt_fieldcat_drd-fieldname = 'EBELP'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'Material'.
        gt_fieldcat_drd-outputlen = 18.
        gt_fieldcat_drd-fieldname = 'MATNR'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'Material Desc'.
        gt_fieldcat_drd-outputlen = 30.
        gt_fieldcat_drd-fieldname = 'MAKTX'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'RecPlnt'.
        gt_fieldcat_drd-outputlen = 4.
        gt_fieldcat_drd-fieldname = 'WERKS'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'ShipPlnt'.
        gt_fieldcat_drd-outputlen = 4.
        gt_fieldcat_drd-fieldname = 'RESWK'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
        gt_fieldcat_drd-seltext_m = 'BatchNum'.
        gt_fieldcat_drd-fieldname = 'CHARG'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
    *   Begin of PJ040809
        gt_fieldcat_drd-seltext_m = 'Vendor Lot'.
        gt_fieldcat_drd-outputlen = 30.                               "Field size declaration
        gt_fieldcat_drd-fieldname = 'VENLOT'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
    *   End of PJ040809
        gt_fieldcat_drd-seltext_m = 'OpenQty'.
        gt_fieldcat_drd-fieldname = 'MENGE'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
    if delivery date is not initial.                         "in the Outptu if delivery date is there the it will show column else it will not show
        gt_fieldcat_drd-seltext_m = 'Delvry Date'.            "Field Heading
        gt_fieldcat_drd-fieldname = 'EINDT'.
        APPEND gt_fieldcat_drd.
        CLEAR : gt_fieldcat_drd.
    endif.
    Then call the function moduel to dispaly..
    and pass the field catalog..
    Regards,
    Prabhudas

  • Issue to make mandatory field(SELD/BBD and Date of manufactor)in migo for particular Material type and material Number starting with'1' series.

    Hi friend,
    i have issue regarding mandatory  self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type.
    i want to make mandatory above field during GR from migo..any one let me know exit or badi for that to full fill this goal..
    Regard's,
    shaikh Khalid.

    Hi Shaikh
    First of all Thread is not closed seconldy as a good practice if you have resolved your issue kindly document it here so that it may help someone in future
    Nabheet

  • Using instruction for creating field catalog to archive object "MM_MATNR"

    Hi all,
    I need a using instruction for creating a new field catalog to archive object "MM_MATNR". I'd like to create a field catalog using some fields of tables mara, makt, mvke and marc.
    Thanks for your help!

    Hi,
    Go to following link;
    [Material Master Archiving|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f75a80-867f-2d10-7aa6-ac164e43e89f?quicklink=index&overridelayout=true]

  • URGENT ISSUE ! PLS SEE IT ( related to cureency field in field catalog)

    Hi  Gurus,
    I have populated the field catalog inf like this.
        is_FIELDCATALOG-FIELDNAME   = 'W_EXT_AMOUNT'.
        is_FIELDCATALOG-SELTEXT_M   = 'Extended Amount'.
        is_FIELDCATALOG-COL_POS     = 4.
        IS_FIELDCATALOG-OUTPUTLEN   = 16.
        is_FIELDCATALOG-REF_FIELDNAME     = 'WAERS'.
        is_FIELDCATALOG-REF_TABNAME     = 'T001'.
       IS_FIELDCATALOG-CFIELDNAME  = 'DMBTR'.
        is_fieldcatalog-ctabname = 'BSIS'.
        APPEND IS_FIELDCATALOG TO IT_FIELDCATALOG.
       CLEAR  IS_FIELDCATALOG.
    Data : W_EXT_AMOUNT type DMBTR.
    I calculated it using
    W_EXT_AMOUNT = IS_ERROR-AMOUNT * P_NETAMT.( amount is of type                                                                               
    DMBTR)
    in the out put Amount is displayed with value 0,00
                        W_EXT_AMOUNT displayed as blank
    when i print it for spool generation, its giving following dump
    DUMP analysis.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKKBL" had to be terminated because
    come across a statement that unfortunately cannot be executed.
    You attempted to access an unassigned field symbol
    (data segment 95).
    This error may occur if
    - You address a typed field symbol before it has been set with
    ASSIGN
    - You address a field symbol that pointed to the line of an
    internal table that was deleted
    - You address a field symbol that was previously reset using
    UNASSIGN or that pointed to a local field that no
    longer exists
    - You address a global function interface, although the
    respective function module is not active - that is, is
    not in the list of active calls. The list of active calls
    can be taken from this short dump.
    SourceCde
    2785 case gs_out-field_colcount.
    2786 when 001.
    2787 if gs_out_flags-slave ne 'X'.
    2788 assign <fm01> to <field>.
    2789 gs_fc = gs_mfc01.
    2790 else.
    2791 assign <fs01> to <field>.
    2792 gs_fc = gs_sfc01.
    2793 endif.
    2794 when 002.
    2795 if gs_out_flags-slave ne 'X'.
    2796 assign <fm02> to <field>.
    2797 gs_fc = gs_mfc02.
    2798 else.
    2799 assign <fs02> to <field>.
    2800 gs_fc = gs_sfc02.
    2801 endif.
    2802 when 003.
    2803 if gs_out_flags-slave ne 'X'.
    2804 assign <fm03> to <field>.
    2805 gs_fc = gs_mfc03.
    2806 else.
    2807 assign <fs03> to <field>.
    2808 gs_fc = gs_sfc03.
    2809 endif.
    2810 when 004.
    2811 if gs_out_flags-slave ne 'X'.
    >>>> assign <fm04> to <field>.2813 gs_fc = gs_mfc04.
    2814 else.
    2815 assign <fs04> to <field>.
    2816 gs_fc = gs_sfc04.
    2817 endif.
    Note : problem may be with field catalog population since if i remove W_EXT_AMOUNT it is working fine, not giving any dump.
    Pls see.
    Thanks & Regards
    Srinivas Rao

    Hi see this code and try again.
    REPORT  zn_alv_complex                          .
    TABLES : vbrk .
    TYPE-POOLS : slis .
    CONSTANTS : gc_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
    TYPES : BEGIN OF ty_vbrk ,
                 vbeln TYPE vbrk-vbeln ,
                 vkorg TYPE vbrk-vkorg,
                 vtweg TYPE vbrk-vtweg,
                 kunrg TYPE vbrk-kunrg,
                 END OF ty_vbrk,
            BEGIN OF ty_vbrp,
              vbeln TYPE vbrp-vbeln,
              posnr TYPE vbrp-posnr,
              matnr TYPE vbrp-matnr,
              netwr TYPE vbrp-netwr,
              END OF ty_vbrp,
           BEGIN OF ty_final,
              vbeln TYPE vbrk-vbeln ,
              posnr TYPE vbrp-posnr,
              matnr TYPE vbrp-matnr,
              netwr TYPE vbrp-netwr,
                 vkorg TYPE vbrk-vkorg,
                 vtweg TYPE vbrk-vtweg,
                 kunrg TYPE vbrk-kunrg,
                 END OF ty_final .
    DATA : it_vbrk TYPE TABLE OF ty_vbrk,
           it_vbrp TYPE TABLE OF ty_vbrp,
           it_final TYPE TABLE OF ty_final ,
           wa_vbrk TYPE ty_vbrk,
           wa_vbrp TYPE ty_vbrp,
           wa_final TYPE ty_final ,
           git_event TYPE slis_t_event,
           git_layout TYPE slis_layout_alv,
           git_fieldcat TYPE slis_t_fieldcat_alv,
           gwa_fieldcat TYPE slis_fieldcat_alv.
    SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,
                     s_vkorg FOR vbrk-vkorg,
                     s_vtweg FOR vbrk-vtweg.
    START-OF-SELECTION .
      SELECT vbeln vkorg vtweg kunrg
        FROM vbrk
        INTO TABLE it_vbrk
       WHERE vbeln IN s_vbeln
         AND vkorg IN s_vkorg
         AND vtweg IN s_vtweg .
      SELECT vbeln posnr matnr netwr
        FROM vbrp
        INTO TABLE it_vbrp
         FOR ALL ENTRIES IN it_vbrk
       WHERE vbeln = it_vbrk-vbeln .
      LOOP AT it_vbrp INTO wa_vbrp .
        READ TABLE it_vbrk INTO wa_vbrk WITH KEY vbeln = wa_vbrp-vbeln .
        wa_final-vbeln = wa_vbrk-vbeln.
        wa_final-posnr = wa_vbrp-posnr.
        wa_final-netwr = wa_vbrp-netwr.
        wa_final-matnr = wa_vbrp-matnr.
        wa_final-vkorg = wa_vbrk-vkorg.
        wa_final-vtweg = wa_vbrk-vkorg.
        wa_final-kunrg = wa_vbrk-kunrg.
        APPEND wa_final TO it_final.
        CLEAR : wa_vbrk , wa_vbrp , wa_final .
      ENDLOOP .
      PERFORM sub_fieldcatalog.
      PERFORM sub_layout_init CHANGING git_layout.
      PERFORM sub_build_event USING git_event[] .
      PERFORM sub_alv_display.
    *&      Form  SUB_FIELDCATALOG
          text
    FORM sub_fieldcatalog.
      REFRESH git_fieldcat.
      gwa_fieldcat-col_pos = 0.
      gwa_fieldcat-fieldname = 'VBELN'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 14.
      gwa_fieldcat-seltext_l = 'Billing Doc.' .
      gwa_fieldcat-seltext_m = 'Billing Doc.' .
      gwa_fieldcat-seltext_s = 'Billing Doc.' .
      APPEND gwa_fieldcat TO git_fieldcat .
      gwa_fieldcat-col_pos = 1.
      gwa_fieldcat-fieldname = 'POSNR'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 5.
      gwa_fieldcat-seltext_l = 'Item.' .
      gwa_fieldcat-seltext_m = 'Item' .
      gwa_fieldcat-seltext_s = 'Item' .
      APPEND gwa_fieldcat TO git_fieldcat .
      gwa_fieldcat-col_pos = 2.
      gwa_fieldcat-fieldname = 'VKORG'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 14.
      gwa_fieldcat-seltext_l = 'Sales Org' .
      gwa_fieldcat-seltext_m = 'Sales Org' .
      gwa_fieldcat-seltext_s = 'Sales Org' .
      APPEND gwa_fieldcat TO git_fieldcat .
      gwa_fieldcat-col_pos = 3.
      gwa_fieldcat-fieldname = 'VTWEG'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 14.
      gwa_fieldcat-seltext_l = 'Dist. Ch.' .
      gwa_fieldcat-seltext_m = 'Dist. Ch.' .
      gwa_fieldcat-seltext_s = 'Dist. Ch.' .
      APPEND gwa_fieldcat TO git_fieldcat .
      gwa_fieldcat-col_pos = 4.
      gwa_fieldcat-fieldname = 'MATNR'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 18.
      gwa_fieldcat-seltext_l = 'Material' .
      gwa_fieldcat-seltext_m = 'Material' .
      gwa_fieldcat-seltext_s = 'Material' .
      APPEND gwa_fieldcat TO git_fieldcat .
      gwa_fieldcat-col_pos = 5.
      gwa_fieldcat-fieldname = 'NETWR'.
      gwa_fieldcat-tabname = 'IT_FINAL'.
      gwa_fieldcat-outputlen = 14.
      gwa_fieldcat-seltext_l = 'Price' .
      gwa_fieldcat-seltext_m = 'Price' .
      gwa_fieldcat-seltext_s = 'Price' .
      gwa_fieldcat-do_sum    = 'X' .
      APPEND gwa_fieldcat TO git_fieldcat .
    ENDFORM .                    "SUB_FIELDCATALOG
    *&      Form  sub_alv_display
          text
    FORM sub_alv_display .
      DATA : gv_repid TYPE sy-repid .
      gv_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = gv_repid
          i_callback_user_command = 'USER-COMMAND'
          is_layout               = git_layout
          it_fieldcat             = git_fieldcat
          i_save                  = 'A'
          it_events               = git_event[]
        TABLES
          t_outtab                = it_final
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    ENDFORM .                    "sub_alv_display
    *&      Form
          text
    FORM sub_layout_init CHANGING xyt_layout TYPE slis_layout_alv.
      CLEAR xyt_layout .
      xyt_layout-colwidth_optimize = 'X'.
      xyt_layout-zebra = 'X' .
    ENDFORM.                    "SUB_LAYOUT_INIT
    *&      Form  SUB_BUILD_EVENT
          text
         -->XT_EVENT   text
    FORM sub_build_event USING xt_event TYPE slis_t_event .
      DATA : lwa_event TYPE slis_alv_event .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = xt_event
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      READ TABLE xt_event WITH KEY name = slis_ev_top_of_page INTO
    lwa_event.
      lwa_event-form = gc_top_of_page.
      IF sy-subrc EQ 0 .
        MODIFY xt_event FROM lwa_event TRANSPORTING form WHERE name =
        gc_top_of_page.
      ENDIF.
    ENDFORM.                    "SUB_BUILD_EVENT
    *&      Form  TOP_OF_PAGE
          text
    FORM top_of_page .
      CONSTANTS : lc_s TYPE char01 VALUE 'S'.
      DATA : lv_ecfld(250) TYPE c ,
             lwa_header TYPE slis_listheader ,
             lv_date(10) TYPE c,
             lv_user(10) TYPE c,
             lit_alv_header TYPE slis_t_listheader .
      CLEAR : lv_user ,  lv_date .
      CLEAR : lwa_header .
      lwa_header-typ = 'S'.
      lv_ecfld = 'User'.
      lwa_header-key = lv_ecfld .
      lwa_header-info = sy-uname.
      APPEND lwa_header TO lit_alv_header .
      CLEAR : lwa_header .
      lwa_header-typ = 'S'.
      lv_ecfld = 'Date'.
      lwa_header-key = lv_ecfld .
      lwa_header-info = sy-datum .
      APPEND lwa_header TO lit_alv_header .
      CLEAR : lwa_header .
      lwa_header-typ = 'S'.
      APPEND lwa_header TO lit_alv_header .
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = lit_alv_header.
    ENDFORM .                    "TOP_OF_PAGE
    Regards,
    Nihar Swain .

  • Issue while generating Field catalog using LVC_VARIANT_SELECT

    Hello Folks,
      When i passed the default field catalog to the function module LVC_VARIANT_SELECT... for which the field name that is passed is standard field and the table name i was passing is Internal table ( Which is mandatory for my Req). As i am not passing the table name that exists at the DB level to the default field catalog .. this function module LVC_VARIANT_SELECT is returning all the field types as CHAR ( Irrespective of the field). This is causing me a problem in calculating totals ( standard functionality - throwing me message 'Column cannot be calculated' ) in my ALV_tree.
      I have to use the Function Module LVC_VARIANT_SELECT ( Since i have a variant logic associated) and the Internal table to generate the field catalog .and i want  to achieve the functionality of total,Avg ,,,,etc.. Any idea is appreciated.

    Got the Solution ... Passes Ref-table and Ref-field ... it gives totals for currency and quantity fields

  • Issue with date-related sorting fields in iTunes 8

    This really is just a small glitch, but it's got me wondering. For all of my files in iTunes - songs, podcasts, etc., all of the sorting fields that deal with dates (Date added, last played, etc.) give the correct day and year, but give the month as January. For example, any song that I add today would return a date of 1/14/08 instead of 12/14/08. The dates included in the ID3 tags for these files are also messed up in the same way.
    Obviously, this doesn't affect my day-to-day use of iTunes; just thought it was an odd little bug.

    Perhaps it would pay to check your date/regional settings (sorry I rarely play with Macs so I'm not certain of the settings layout) to make sure the short date format makes sense, i.e. reads MM/DD/YYYY or something similar.
    tt2

  • CS-MARS, data archiving issue.

    Hello at all.
    I'm using CS-MARS-20.
    Reimaged, restored and upgraded to software version 6.1.8, I'm not able to start data archiving successfully.
    I have configured data archiving using a remote SFTP server, click Apply, Start and Activate: data archiving status is running, service is enabled and remote server is available.
    But MARS doesn't archive nothing!
    Using another SFTP remote client with the same account used from appliance, I can create folders, files and remove.
    Any ideas?
    Thanks.
    Regards.
    Andrea

    Now we are moving to a NFS solution.
    Data archiving status is running, archiving service is enabled and remote server is available but events, incidents and configuration are not exported.
    I can use CLI (pnexp command) to export configuration successfully.
    Any ideas?
    Why data archiving doesn't work?
    Thanks.
    Andrea

  • Issue MM PO Archiving

    Hello all,
    we had an issue in archiving Purchase Orders.
    Frist of all, we have a large number of open purchase orders. Means that the "delivery complete" flag is missing and the "final invoice" flag is missing.
    These PO´s cant be deleted.
    So these flags have to be set. We created a report which uses ME22N and sets those flags. After this, our issue appeared.
    Unfortenally many purchase orders created new messages and send them directly to the vendor. Had a lot of trouble with this.
    How can this happen? Why is this flag a indicator for message determination?
    How can i prevent this?
    I coud set the flags directly on the DB, but our company doesn´t want to make updates direclty on db.
    Any ideas?
    thanks for help

    Hi Christian,
    Other idea. If you don't want to change any customizing, you can create your own Outputs routine numbers in VOFM to rule this requirement. In SPRO/ Mat.managament / purchasing / messages / output control / accesses sequence, you can set it and avoid to create the message. See SAP Note 39462 - Expand field catalog in message determination for purchasing to create a new field (for instance, date of PO). You can set a condition to set SY-SUBRC = 4 (ie: output not created) if the difference in days is greater than n days.
    I hope this helps you
    Regards
    Eduardo

  • How to Create Field Catalogs (More than one Source Table)

    Hi Data Archiving Experts,
    Could you please help me how to create the Field Catalogs (More than one Source Table). If any one is having example that will help.
    My scenario:
    Currently we are archiving on CRM Data archiving project. We are facing one issue on creating field catalog with more than one source table.
    Ex: ST -- BP1
                  BP2
                  BP3
    ST info store in one table and BP1 -- BP 3 info sotre in another table. with current field catalog we are getting ST -- BP1. Our requirment is we need to show the ST  -- BP3 How we can achive this.
    Regards,
    Srini

    Hi,
    I don't think its possible to create fieldcatalog for different tables,
    but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
    populate the data from different table to that dummy table
    then create fieldcatalog for that table and pass it in the function module...
    Regards,
    Siddarth

  • Change field catalog in VT05 - Selective logs for collective run

    Hi,
    Through transaction VT05, we can check shipment log which having following ALV field Catalog.
    Collective run
    Date
    Time
    User
    Transaction code
    Operating mode
    Problem class
    Expiry date
    Keep until expiry
    Processing status
    But if we want check Delivery number for particular Collective Run then we have to click that collective run and then can check for the Delivery number.
    Actually our requirement is to add one more column in above ALV field Catalog of Delivery Number.
    I have searched for Enhancements and BADIs, but I did not found suitable one for VT05 log.
    Can any one help me out for above issue for adding one more column in above ALV field Catalog of Delivery Number (along with above mentioned ALV field catalog in output) of VT05 log report.

    Thanks Nabheet once again...
    I would like to show you the coding what I have done in implemented implicit Enhancements.
    Following code is written under implemented implicit Enhancements - ZSHIPMENT_DETAIL
    Properties of Enhancement Implementation           ZSHIPMENT_DETAIL                          (Active)
    Enhancem. Technique:  Source Code Plug-In
    Description           Showing SHIPMENT Detail in output
    Package               $TMP
    Original Language     EN
    Created               MNIKAM       02/09/2012
    Last Changed          MNIKAM       02/19/2012
    Superordinate Enhancement Implementation     ZSHIPMENT
    Enhanced Development Object:   V54X
    SAPLV54X          Static Enhancement Point/Section     \PR:SAPLV54X\FO:LOG_HEADER_DISPLAY\SE:BEGIN\EI
    ENHANCEMENT 1  ZSHIPMENT_DETAIL.    "active version
    TYPE-POOLS: szal.
      DATA: g_l_header_extr     TYPE header_extr.
      FIELD-SYMBOLS: <f_g_l_header_extr>  TYPE header_extr.
      DATA: g_l_log_link        TYPE log_link.
      FIELD-SYMBOLS:  <f_g_l_log_link>  TYPE  log_link.
      DATA: g_l_t_lognumbers    TYPE szal_lognumbers WITH HEADER LINE.
      FIELD-SYMBOLS: <f_log_nr> TYPE  log_nr.
      data: messages    TYPE TABLE OF balm.
      FIELD-SYMBOLS:  <f_l_s_message> TYPE balm.
      DATA: l_tabix TYPE sy-tabix.
    LOOP AT G_HEADER_EXTR_TAB ASSIGNING <f_g_l_header_extr> WHERE status ne 1.
          CLEAR: l_tabix.
          l_tabix = sy-tabix.
          READ TABLE g_log_link_tab ASSIGNING <f_g_l_log_link>
                                     WITH KEY fccnu = <f_g_l_header_extr>-fccnu
                                     BINARY SEARCH.
           READ TABLE  <f_g_l_log_link>-log_tab ASSIGNING <f_log_nr> index 1.
           CLEAR: g_l_t_lognumbers.
           g_l_t_lognumbers-item = <f_log_nr>-log_nr.
           APPEND g_l_t_lognumbers.
           CLEAR: messages.
           CALL FUNCTION 'APPL_LOG_READ_DB_WITH_LOGNO'
            TABLES
              lognumbers = g_l_t_lognumbers[]
              messages   = messages.
          delete messages WHERE MSGNO ne 371 AND MSGNO  ne 494 AND  MSGNO ne 491.
          LOOP AT messages  ASSIGNING <f_l_s_message> WHERE  LOGNUMBER = <f_log_nr>-log_nr
                                                       AND  ( MSGTY   = 'S' or  MSGTY = 'W' )   "Message Type S-success & W-warning
                                                       AND  MSGID     = 'VW'
                                                       AND  ( MSGNO   = 371 or MSGNO  = 494 or MSGNO = 491  ).  "Message Numbr through which Shipment Number gets
                   <f_g_l_header_extr>-tknum =  <f_l_S_message>-MSGV1.      "SHIPMENT NUMBER
                   CLEAR: g_l_t_lognumbers[].
                   exit.
          ENDLOOP.
    ENDLOOP.
    ENDENHANCEMENT.
    Thanks again,
    Mahesh Nikam.

  • Runtime error in Field catalog creation

    when i try to create the field catalog using the following code.
    am getting *'Field Symbol Is not assigned' Runtime error.*
    Please give me idea how to resolve this issue.
    data: wa_field type slis_fieldcat_alv,
            t_field type slis_t_fieldcat_alv.
    LOOP AT t_role INTO wa_role.
        wa_field-col_pos = count1.
        wa_field-fieldname = wa_role-agr_name.
        wa_field-datatype = 'CHAR'.
        wa_field-ref_fieldname = 'AGR_NAME'.
        wa_field-ref_tabname = 'AGR_1251'.
        APPEND wa_field TO t_field.
        count1 = count1 + 1.
      ENDLOOP.
    Suitable  Answers rewarded with maximum points....
    it's Urgent...
    Give me Quick Reply.

    Error is having following short text.
    Field symbol has not yet been assigned.
    Error analysis                                                            
        You attempted to access an unassigned field symbol                    
        (data segment 92).                                                                               
    This error may occur for any of the following reasons:                
        - You address a typed field symbol before it is set using ASSIGN      
        - You address a field symbol that points to a line in an internal table
          that has been deleted                                               
        - You address a field symbol that had previously been reset using     
          UNASSIGN, or that pointed to a local field that no longer exists    
        - You address a global function interface parameter, even             
          though the relevant function module is not active,                  
          that is it is not in the list of active calls. You can get the list 
          of active calls from the this short dump.                           
    Please tell me how to correct this error.
    It is very Urgent..

Maybe you are looking for