Idoc data record updating which tables ???

Hi,
I want to check Idoc posted in SAP , is updating which database tables ?
Could any one please help me ?
Idoc Basic type : RESAPS_SAVEMULTIPLE03
Message type : RESAPS_SAVEMULTIPLE
Thanks.

Hello,
If it is an inbound Idoc read on
For me the correct place to check which DB tables are being updated by the I/B idoc is the processing func. module which is associated with the process code.
Check in SDN for details on Process Codes & Processing func. modules.
BR,
Suhas

Similar Messages

  • SM58 - IDoc adapter inbound: IDoc data record table contains no entries

    Trying to send Idocs from SAP ECC6.0 via PI 7.0 up until 2 days ago there was no problem.
    Since yesterday, only one specific type of Idoc does not make it into XI (PI). In the Idoc monitor (WE02) the idocs that were created gives status 3 which is good. But all Idocs of that specific type (ZRESCR01) does not go to XI. I can only find them bakc in SM58 where it gives the following message:
    IDoc adapter inbound: IDoc data record table contains no entries
    I have checked SAP notes 1157385 and also 940313, none of them gives me any more insight into this error. I have also checked all the configuration in WE20, SM59, and in XI (repository and directory) and in XI IDX1, IDX2 but could not find anything that would cause this. I can also not think of anything that changed since 2 days ago.
    Please point me in the right direction.

    hi,
    i think in sm 58 u can find entries only when there is some failure in login credential .
    if there is change in IDoc structure than you have to reimport the idoc metadata defination at IDX2.otherwise not requird.
    please check the logical system name pointing to the your requird target system....
    please also verify thet your port should not be blocked.
    pls find the link it may help
    Monitoring the IDOC Adapter in XI/PI using IDX5
    regards,
    navneet

  • Cannot display archived idoc data records in SARA

    Hello,
    In our ERP system, we regularly archive idocs older than 6 months. To view these archived idocs I use transaction SARA (with archive object IDOC and infostructure SAP_IDOC_001) to search for the relevant idoc that has been archived. Once the idoc is displayed, I drill down further by clicking the magnify glass button which then displays the idoc levels:
    EDIDC               Control record (IDoc)
    EDIDD               Data record (IDoc)
    EDIDS               Status Record (IDoc)
    SRL_ARLNK      SREL: Archive Structure for Links
    When I try to view the Data Records, I get a message saying "You are not authorized to display table EDIDD". According to our Authorizations department, this is not an Auth issue but rather config setup or program issue.
    Why can't I view the archived idoc data records? Is there another way to view archived idoc data?
    Regards,
    Fawaaz

    Hi Jurgen,
    Thanks for moving my post to the correct space.
    Our Auth team is very confident that this is not a user auth issue. This could possibly be true because the idoc data resides on the following tables when in the database (before archive) - EDIDC, EDID4 & EDIDS. The idoc could then be viewed via transaction WE02 or the Data Browser (SE16). There is no EDIDD table in our ERP system so obviously no authorization object to assign to.
    Once the idoc is archived, the data is removed from the ERP tables and moved to our archive database/server for storage. So when trying to view the archived record, the system does not access the ERP tables but rather the archive directory (that it's mapped to in settings). I assume the SARA transaction merely displays the data in the same segments/grouping with these table names (mentioned above in my first post) but instead of EDID4 it displays EDIDD.
    According to the error longtext, "The check performed when data is read from the archive is the same as that of the Data Browser (transaction SE16)". So I was not involved with setting up our archiving procedure but could it be that table EDID4 was incorrectly mapped to table EDIDD in archives?
    Regards,
    Fawaaz

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • How to find which BAPI updates which table

    1) I am new to SAP. is there any way to find which BAPI updates which table.  I have been given task to write a custom progm to change sevice notifications using BAPI_ALM_MAINTAIN* .<br />
    <br />
    i would really appreciate if any one would come with suggestions.

    SELECT owner, object_type, object_name, object_id, status
      FROM SYS.dba_objects
    WHERE object_id IN (
                       SELECT     object_id
                             FROM public_dependency
                       CONNECT BY PRIOR object_id = referenced_object_id
                       START WITH referenced_object_id =
                                                        (SELECT object_id
                                                           FROM SYS.dba_objects
                                                          WHERE owner = :owner AND object_name = :NAME
                                                                AND object_type = :TYPE))-- Mahesh Kaila

  • IDOC Data record is appending with NULL characters instead of spaces.

    Hi Gurus,
    1)     We have created a port with Japanese characters for MATMAS05 (IDOC type) and trying to download an IDOC into an XML file using the ADAPTER, the actual data is less than the length of the IDOC string so we need to append the remaining spaces to each data record which in turn fills the segment pad but whereas in NON-UNICODE server the data record is appending with NULL characters instead of spaces.
    2)     For Japanese port the receiver port name in XML file is appearing with some junk characters in NON-UNICODE client, whereas in UNICODE client it is displaying the correct port name with Japanese characters.
    Your help will be appreciated.
    Thanks in Advance.

    ORA-06512 indicates a numeric or value-error line 2 seems to show to the first statement.
    Check the datatypes of your columns/items.
    Try to issue an update manually in SQL*Plus to see if it works generally.

  • Multiple record update in TABLE Control.

    Hi All,
    I m developing dialog program with table control.
    I want to know how to update multiple records through the table control if user selects more than one.
    Also depending on some condition i want to change the status of one reocrd and not the column as a display field and won't be editable. I have tried with loop at screen and modify screen, but it is showing the whole column as display only.
    ANy solution let me know

    Hi,
    pls chk this standard pgms.
    for examples on table control
    demo_dynpro_tabcont_loop
    demo_dynpro_tabcont_loop_at
    RSDEMO_TABLE_CONTROL
    chk a sample code.
    DATA :BEGIN OF int_table OCCURS 0,
           fld1 TYPE ztable-fld1,
            fld2 TYPE ztable-fld2,
            fld3 TYPE ztable-fld3,
            chk(1),
          END OF int_factor.
    *write the blow code in PAI
    LOOP AT int_table WHERE chk = 'X'.
    *modify the data base table
    MODIFY ztable FROM  int_table. "from header
    clear int_table
    ENDLOOP.
    regards
    Anver

  • Idoc data record not in XI

    Hi,
       When you import an Idoc (any Idoc - in my case it is SOPGEN01) in Repository, data record fields of idoc are not imported. You can see these fields in WE60 by checking the "Data rec" checkbox. The fields i need are SEGNUM, PSGNUM, HLEVEL.
    <b>  Do not confuse the above fields with the EDI_DC40 fields. I do not need EDI_DC40.</b>
    I searched SAP notes but could not find anything. Is this a limitation of XI, then its pretty bad.
      This same question was asked in May but no concrete answer was given.
    data record fields of idoc not found in XI

    Instead of going the hard way RFC loopups and mappings - i am thinking of a workaround for this limitation of XI.
    You know the number of child segments. In my case it is always 2. And i always need segment number of the parent segment(in this case E1LIPM0)
    -E1LIPM0                  segnum 1
        ---E1LIPV0              segnum 2
               ---E1LIPP0       segnum 3
    -E1LIPM0                  segnum 4    and so on
    So I will use a counter variable starting with 1 and increment it by 3 for each top parent level segemnt E1LIPM0, so i get numbers like 1, 4, 7, 10, etc. which is what i want.
    Points awarded to Sushil

  • IDOC - Data record

    Would some one explain me in what situation we will be having more than one Data Records in an IDOC? I am looking for a specific example if possible.
    Also, when we send PO to our Suppliers, if there are more than One PO for that supplier, whether I can send all of them in one IDOC?
    Please help me.

    Hi Mohan,
    There can be more then one DATA record if you send multiple line items or multiple objects.
    For example if you send multiple delivery items or sales order items then few data segments will be multiple.
    It basically depends on what you are sending.
    The control records will always be 1. WHich indicates who is the sender, the reciever, the idoc number and control related information.
    Data records will be one or more then one depending on what you are sending if you r sending multiple PO's for a single vendor or if u r sending multiple Deliveries for one acknowledgemtn then you will have multiple data records.
    There will also be more then one Status records. The IDOC passes through different stages or different milestone and each milestone will have a specific status indicator. So the status records can be more then one.
    Hope this helps
    Cheers
    VJ

  • IDOC Data Records

    I have the IDOC Number with me. How to fetch the Data Records from that ?

    If you want to read the idoc records in your program:
    use the folloing fms:
    Sample code:
      CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_READ'
        EXPORTING
          document_number = p_docnum
        IMPORTING
          idoc_control    = f_idoc_control
        EXCEPTIONS
          OTHERS          = 01.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                RAISING error_opening_idoc.
      ENDIF.
    * Read IDOC data segments
      CALL FUNCTION 'EDI_SEGMENTS_GET_ALL'
        EXPORTING
          document_number = p_docnum
        TABLES
          idoc_containers = t_idoc_data
        EXCEPTIONS
          OTHERS          = 01.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                RAISING error_reading_idoc.
      ENDIF.
    * Close IDOC
      CALL FUNCTION 'EDI_DOCUMENT_CLOSE_READ'
        EXPORTING
          document_number = p_docnum
        IMPORTING
          idoc_control    = f_idoc_control
        EXCEPTIONS
          OTHERS          = 01.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                RAISING error_closing_idoc.
      ENDIF.

  • Postion of data record in the table control

    Hi all,
    I am working on a module pool that has a table control which fetches the data from the Transparent table.
    Suppose there is data in the z-table formed and table control is showing the data record.
    i want to text boxes besides the table control, one of which will show me the value index of top row of the record set and other one will show me the value of last row appearing in that page of the table control.
    if i press page down then i should get new values in both the text boxes .
    please help me to get an idea what vales i will take to show the indexes.
    thanks
    ekta

    Thanks for you help.
    i have used a value 'n' which is no of rows that are on the one page of the table control.
    so when i do page down it will show me next values i.s values of the index currently on the table control next page.
    anyways thanks a lot

  • Master Data Source. Which tables

    Hi,
    Some additional attributes were added to Cost Center (not by me). I want to find out which tables are being used to populate those attributes? How do I find that out??
    Thanks in advance,
    Fran

    A.H.P., thanks for the reply, following is the code.
    I also want to find which "standard" table this master datasource is getting the data from anyway? and how do I generally find that out?
    PROGRAM CONVERSION_ROUTINE.
    Type pools used by conversion program
    TYPE-POOLS: RS, RSARC, RSARR, SBIWA, RSSM.
    Declaration of transfer structure (selected fields only)
    TYPES: BEGIN OF TRANSFER_STRUCTURE ,
      InfoObject 0CO_AREA: CHAR - 000004
        KOKRS(000004) TYPE C,
      InfoObject 0COSTCENTER: CHAR - 000010
        KOSTL(000010) TYPE C,
      InfoObject 0DATETO: DATS - 000008
        DATETO TYPE D,
      InfoObject 0DATEFROM: DATS - 000008
        DATEFROM TYPE D,
      InfoObject 0RESP_PERS: CHAR - 000020
        VERAK(000020) TYPE C,
      InfoObject 0COMP_CODE: CHAR - 000004
        BUKRS(000004) TYPE C,
      InfoObject 0BUS_AREA: CHAR - 000004
        GSBER(000004) TYPE C,
      InfoObject ZABTEI: CHAR - 000012
        ABTEI(000012) TYPE C,
      InfoObject ZCCCATERY: CHAR - 000001
        KOSAR(000001) TYPE C,
      InfoObject 0OBJ_CURR: CUKY - 000005
        WAERS(000005) TYPE C,
      InfoObject 0PROFIT_CTR: CHAR - 000010
        PRCTR(000010) TYPE C,
      InfoObject 0FUNC_AREA: CHAR - 000016
        FUNC_AREA(000016) TYPE C,
    END OF TRANSFER_STRUCTURE .
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    tables: /BIC/PZWWID_EMP.
    data: w_abtei(12)    type c,
          w_comp_code(4) type c,
          w_region(2)    type c,
          w_district(3)  type c,
          w_teritory(2)  type c value '00',
          w_distmgr      like /BIC/PZWWID_EMP-/BIC/ZWWID_EMP,
          w_regmgr       like /BIC/PZWWID_EMP-/BIC/ZWWID_EMP.
    $$ end of global - insert your declaration only before this line   -
          FORM COMPUTE_/BIC/ZREGION
    Compute value of InfoObject ZREGION
    in communication structure /BI0/MCOSTCENTER
    Technical properties:
        field name      = /BIC/ZREGION
        data element    = /BIC/OIZREGION
        data type       = CHAR
        length          = 000002
        decimals        = 000000
        ABAP type       = C
        ABAP length     = 000002
        reference field =
    Parameters:
    -->  RECORD_NO       Record number
    -->  TRAN_STRUCTURE  Transfer structure
    <--  RESULT          Return value of InfoObject
    <->  G_T_ERRORLOG    Error log
    <--  RETURNCODE      Return code (to skip one record)
    <--  ABORT           Abort code (to skip whole data package)
    FORM COMPUTE_/BIC/ZREGION
      USING    RECORD_NO LIKE SY-TABIX
               TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
               G_S_MINFO TYPE RSSM_S_MINFO
      CHANGING RESULT TYPE /BIC/OIZREGION
               G_T_ERRORLOG TYPE rssm_t_errorlog_int
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
    $$ begin of routine - insert your code only below this line        -
    DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    The first two bytes of the department field abtei defines the region
    The bytes 3 to 5 of the department field abtei defines the district.
    if TRAN_STRUCTURE-FUNC_AREA = '2100'.   "temporary - e.weiss
    w_comp_code =  TRAN_STRUCTURE-bukrs.
    w_abtei     =  TRAN_STRUCTURE-abtei.
    w_region    =  w_abtei+0(2).
    w_district  =  w_abtei+2(3).
    RESULT = w_region.
    else.           "temporary - e.weiss
      clear RESULT. "temporary - e.weiss
    endif.          "temporary - e.weiss
    returncode <> 0 means skip this record
      RETURNCODE = 0.
    abort <> 0 means skip whole data package !!!
      ABORT = 0.
    PROGRAM CONVERSION_ROUTINE.
    Type pools used by conversion program
    TYPE-POOLS: RS, RSARC, RSARR, SBIWA, RSSM.
    Declaration of transfer structure (selected fields only)
    TYPES: BEGIN OF TRANSFER_STRUCTURE ,
      InfoObject 0CO_AREA: CHAR - 000004
        KOKRS(000004) TYPE C,
      InfoObject 0COSTCENTER: CHAR - 000010
        KOSTL(000010) TYPE C,
      InfoObject 0DATETO: DATS - 000008
        DATETO TYPE D,
      InfoObject 0DATEFROM: DATS - 000008
        DATEFROM TYPE D,
      InfoObject 0RESP_PERS: CHAR - 000020
        VERAK(000020) TYPE C,
      InfoObject 0COMP_CODE: CHAR - 000004
        BUKRS(000004) TYPE C,
      InfoObject 0BUS_AREA: CHAR - 000004
        GSBER(000004) TYPE C,
      InfoObject ZABTEI: CHAR - 000012
        ABTEI(000012) TYPE C,
      InfoObject ZCCCATERY: CHAR - 000001
        KOSAR(000001) TYPE C,
      InfoObject 0OBJ_CURR: CUKY - 000005
        WAERS(000005) TYPE C,
      InfoObject 0PROFIT_CTR: CHAR - 000010
        PRCTR(000010) TYPE C,
      InfoObject 0FUNC_AREA: CHAR - 000016
        FUNC_AREA(000016) TYPE C,
    END OF TRANSFER_STRUCTURE .
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    tables: /BIC/PZWWID_EMP.
    data: w_abtei(12)    type c,
          w_comp_code(4) type c,
          w_region(2)    type c,
          w_district(3)  type c,
          w_teritory(2)  type c value '00',
          w_distmgr      like /BIC/PZWWID_EMP-/BIC/ZWWID_EMP,
          w_regmgr       like /BIC/PZWWID_EMP-/BIC/ZWWID_EMP.
    $$ end of global - insert your declaration only before this line   -
          FORM COMPUTE_/BIC/ZREGION
    Compute value of InfoObject ZREGION
    in communication structure /BI0/MCOSTCENTER
    Technical properties:
        field name      = /BIC/ZREGION
        data element    = /BIC/OIZREGION
        data type       = CHAR
        length          = 000002
        decimals        = 000000
        ABAP type       = C
        ABAP length     = 000002
        reference field =
    Parameters:
    -->  RECORD_NO       Record number
    -->  TRAN_STRUCTURE  Transfer structure
    <--  RESULT          Return value of InfoObject
    <->  G_T_ERRORLOG    Error log
    <--  RETURNCODE      Return code (to skip one record)
    <--  ABORT           Abort code (to skip whole data package)
    FORM COMPUTE_/BIC/ZREGION
      USING    RECORD_NO LIKE SY-TABIX
               TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
               G_S_MINFO TYPE RSSM_S_MINFO
      CHANGING RESULT TYPE /BIC/OIZREGION
               G_T_ERRORLOG TYPE rssm_t_errorlog_int
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
    $$ begin of routine - insert your code only below this line        -
    DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    The first two bytes of the department field abtei defines the region
    The bytes 3 to 5 of the department field abtei defines the district.
    if TRAN_STRUCTURE-FUNC_AREA = '2100'.   "temporary - e.weiss
    w_comp_code =  TRAN_STRUCTURE-bukrs.
    w_abtei     =  TRAN_STRUCTURE-abtei.
    w_region    =  w_abtei+0(2).
    w_district  =  w_abtei+2(3).
    RESULT = w_region.
    else.           "temporary - e.weiss
      clear RESULT. "temporary - e.weiss
    endif.          "temporary - e.weiss
    returncode <> 0 means skip this record
      RETURNCODE = 0.
    abort <> 0 means skip whole data package !!!
      ABORT = 0.

  • How to select set of unique data records from internal table

    Hi
    I am looking for a command in order to select all unique data-records from an internal table without using a loop. Does anybody know a command that could do this?
    <b><u>An illustrating example:</u></b>
    <i>Example:
    Table content
    a 1
    a 2
    a 3
    b 1
    b 2
    c 1
    c 2
    c 3
    d 1</i>
    So I am looking for a command that should provide a, b, c & d for the first column or 1, 2 & 3 for the second column<b></b>

    Hi,
    SELECT DISTINCT  MATNR
                    FROM MARA
                   into table i_mara.
    Best regards,
    Prashant

  • Modify IDoc data to update the counter!! How??

    Hi All,
    I have requirement to trigger custom Outbound IDoc from a custom program.
    Basically my IDoc structure has 3 segments
    1. TOP - Can coour only once in each IDoc
    2. HDR - Can occur only 5 times in each IDoc(under segment TOP)
    3. DET - Can occur n times in each IDoc ( under the segment HDR)
    say I have one field - COUNT in my TOP segment
    once the program is executed If 5 IDocs have triggered, then I have to update 5 in the COUNT field in each 5 IDocs.
    (Just basically to know how many IDocs have been triggened in that one specific run)
    Say I have field MATNR in my HDR segment.
    and
    I have a internal table populated with all the final data, with MATNR repeated.
    Each HDR is for one MATNR field.
    Now the question is what is the best way to find / update COUNT in my TOP segment.
    1 . Build a looping logic and find how many HDR segments can occur overall based on final internal table data and
    this number divide by 5 will give me total IDoc that will be created .
    2. Do I have any option to update the my TOP-COUNT filed after my all IDoc is created. Once all IDoc is created I can get the total number of IDocs. Can I edit and update the IDoc filed within my code, before commit work.

    Thanks for the replies.
    @RobvS could you please elaborate more. where can I seen the generated conversion program.
    @ Vinod . Thanks for your inputs to find the count while populating final internal table.
    I use MASTER_IDOC_DISTRIBUTE FM to create IDoc and before COMMIT work, I am able to use FM EDI_DOCUMENT_OPEN_FOR_EDIT passing IDoc number returned by previous FM, this FM is providing me the edidd internal table data. now how can I modify the internal table and update it to IDoc in my program is there any FM available ?
    Thanks.
    Edited by: Lokesh Naik on Feb 7, 2010 2:13 PM

  • Data not updating in table ,data transfered using DTW

    Hi Everybody,
    I had transfered data using DTW, it shows that data imported,but it not updated, that means it not shows in database.
    So please so me any solution to this.
    Regards,
    Srinivas

    Hi suda,
    I am giving he detailes of the BusinessObject
    BusinessObject =oUserLanguages
    template=oUserLanguages.csv
    i had copied the oUserLanguage.csv file and entered data into it and saved it(comma deliminated)
    steps:
    1.i had selected oUserlanguage object from list.
    2.i had selected source file (oUserLanguage.csv )
    3.the data properly matched and data is displayed when source tab is pressed. and ields are properly matched.
    4.three check boxes are checked.
    5.i had seen the message you are sucessfully specified required information for imporing data
    6.in lost step it shows like below
    Total:  2 business object(s)
    2 business object(s) imported successfully
    0 business object(s) not imported
    0 business object(s) updated successfully
    0 business object(s) not updated
    7.in log files status shows succeeded
    But I had cheked the languages , the data imported not shown.
    Regards
    srinivas

Maybe you are looking for

  • BAPI to create BP as a customer

    Hello I am unable to find a relevant BAPI that can update following fields in customer view while creating the BP in customer based role: Company Code Reconciliation Account Record Payment History Please advise Rakesh

  • Using portal admin console through an ssh tunnel?

    I'm trying to login on the portal admin over an established ssh connection: - profile server listen on hostname.subdomain.domain, port 8080 - an ssh tunnel (via portforwarding through a firewall) from client port 10000 to profile server 8080 - connec

  • T61 external monitor permenantl​y in sleeping mode

    Greetings, I want to run an external monitor with my T61 for desktop extention.  It was working fine, until I once booted up my PC before having switched on the external monitor.  Since that day I have never been able to display anything on the monit

  • Months view of Photos not display older months

    In the Photos application of N96, when I select [Months], only "Nov 09 - Nov 09" appears and when I select [Captured], only 9 photos that I took in November appear. All the other 651 photos that I took in previous months appears only in [All] categor

  • Strict a page only be called from a spesific page...

    How can i strict a page to be called from a spesific page? is this possible and if so how? for example: page a has link to page b if i call page a then click the link to call page b then the page will be displayed if i directly call page b the page w