Idoc is getting posted successfully but no table entries found in but000

Hi Abapers
            IM working on CRM Business partner data Migration using LSMW idoc method with Message Type  CRMXIF_PARTNER_SAVE_M Basic Type  CRMXIF_PARTNER_SAVE_M02
i can see the status as 53 i.e crmxif_partner_save function module got posted successfully i have done debugging also.  but when i check in se11 but000 table its says for the specified business partner number no table entries found can any one help what exactly is happening quikly reply would help me to solve the issue.

Hi Madhu,
    I have checked the staus of longtext for that idoc where in i could see this message Function module CRMXIF_PARTNER_SAVE has been called successfully
Message no. BXX086
but when i debug once again the lsmw i could see in subroutine From Transfer_idocs the sy-subrc is getting 4 and one read statement is not fetching values what would be going wrong.
FORM transfer_idocs.
971
972       DATA:
973         l_text(132),
974         l_lines TYPE i,
975         l_idoc_nr_from TYPE i,
976         l_idoc_nr_to TYPE i,
977         l_idoc_nr_from_char(10),
978         l_idoc_nr_to_char(10),
979         l_edkp1 LIKE edkp1,                                     "YOG280800
980         l_edk21 LIKE edk21.                                     "YOG280800
981
982       READ TABLE gt_pack_edi_dc40 INDEX 1.
983       CHECK sy-subrc = 0.                                        (here sy-subrc =4 condtion is failing to proceed further)
984
985     * Senderdaten korrekt? YOG280800
986       l_edkp1-mandt = sy-mandt.                                 "YOG280800
987       l_edkp1-parnum = gt_pack_edi_dc40-sndprn.                 "YOG280800
988       l_edkp1-partyp = gt_pack_edi_dc40-sndprt.                 "YOG280800
989       CALL FUNCTION 'EDI_AGREE_PARTNER_READ'                    "YOG280800
990            EXPORTING                                            "YOG280800
991                 rec_edkp1       = l_edkp1.                      "YOG280800
992       IF sy-subrc <> 0.                                         "YOG280800
993         MESSAGE i810(/sapdmc/lsmw) WITH gt_pack_edi_dc40-sndprn "YOG280800
994                                         gt_pack_edi_dc40-sndprt."YOG280800
995         EXIT.                                                   "YOG280800
996       ENDIF.                                                    "YOG280800
997
998       l_edk21-mandt = sy-mandt.                                 "YOG280800
999       l_edk21-sndprn = gt_pack_edi_dc40-sndprn.                 "YOG280800
  l_edk21-sndprt = gt_pack_edi_dc40-sndprt.                 "YOG280800
  l_edk21-mestyp = gt_pack_edi_dc40-mestyp.                 "YOG280800
  l_edk21-mescod = gt_pack_edi_dc40-mescod.                 "YOG280800
  CALL FUNCTION 'EDI_AGREE_IN_MESSTYPE_READ'                "YOG280800
       EXPORTING                                            "YOG280800
            rec_edk21       = l_edk21.                      "YOG280800
  IF sy-subrc <> 0.                                         "YOG280800
    MESSAGE i811(/sapdmc/lsmw) WITH gt_pack_edi_dc40-mestyp."YOG280800
    EXIT.                                                   "YOG280800
  ENDIF.                                                    "YOG280800
Actionlog-Eintrag am Anfang
  IF g_flg_first_time = yes.
    CALL FUNCTION '/SAPDMC/LSM_ACTIONLOG_INSERT'
      EXPORTING
        project         = g_project
        subproj         = g_subproj
        object          = g_object
        stepnr          = '901'
      EXCEPTIONS
        parameter_error = 1
        insert_error    = 2
        OTHERS          = 3.
    g_flg_first_time = no.
  ENDIF.
  DESCRIBE TABLE gt_pack_edi_dc40 LINES l_lines.
  ADD l_lines TO g_cnt_records_transferred.
  DESCRIBE TABLE gt_pack_edi_dd40 LINES l_lines.
  ADD l_lines TO g_cnt_records_transferred.
  l_idoc_nr_from = g_cnt_transactions_transferred -
                   g_cnt_idocs_package + 1.
  l_idoc_nr_from_char = l_idoc_nr_from.
  l_idoc_nr_to = g_cnt_transactions_transferred.
  l_idoc_nr_to_char = l_idoc_nr_to.
  l_text = 'IDocs werden übertragen (& bis &) ...'(006).
  REPLACE '&' WITH l_idoc_nr_from_char INTO l_text.
  REPLACE '&' WITH l_idoc_nr_to_char INTO l_text.
  CONDENSE l_text.
  CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text = l_text.
  CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS'
    TABLES
      idoc_control_rec_40 = gt_pack_edi_dc40
      idoc_data_rec_40    = gt_pack_edi_dd40.
  CLEAR:
    g_cnt_idocs_package,
    gt_pack_edi_dc40[],
    gt_pack_edi_dd40[].
ENDFORM.                    "TRANSFER_IDOCS

Similar Messages

  • MDMGX Transaction Error "No Table entries found"

    Hi All,
    I wanted to extract the reference data of ECC using the MDMGX Transaction but was getting the following error
    "No Table entries found"
    i searched in MDM thread and followed the below link but still i am facing the same error
    link: [MDMGX Configurations;
    Please help
    Regards,
    Sharma

    Hello Abhishek,
    Thanks for the reply.
    Well i do not have a file to upload in Upload ports and check tables i expected it to be loaded along with the business content.
    I have checked the below SAP note but i do not have a login ID for sap service marketplace.
    Vendor (SAP Note 1318478)
    Where else can i get the files specific to business objects? or can i prepare my own text file for the same?
    If i can prepare my own file can i get the format of the file which will help me in preparing the text file.
    Thanks in Advance.
    Sharma.

  • Scenario is HTTP to db. In HTTP client, when Sender is Business Component, Pi is getting data successfully but when Business system is used as sender Pi is not getting any message in sxi monitor. Please help

    Scenario is HTTP to db. In HTTP client, when Sender is Business Component, Pi is getting data successfully but when Business system is used as sender Pi is not getting any message in sxi monitor. Please help

    Hi Ankita,
    Try to trace at ICM level, Go to smicm transaction
    Set level to 3.
    Later send your request. Finally trace the request in:
    When you have seen the log, check if any exception is raised with your request or the request and share it here.
    Regards.

  • No table entries found for specified key

    Hi All,
    I have developed a program to upload data from flat file with the help of GUI UPLOAD. It is succesfully updating data in my Z-table.
    Whenever I tried to view the content of table for specific field, message shows No table entries found for specified key. However if I add * as a suffix, it shows the data & when I directly Execute table it also displays the data.
    I have also cross checked the spaces before or after the specific content, no space found.
    Only two fields are creating this issue Individually (one of them is key field)
    Regards
    Mukul Maheshwari

    Hi Dear ,
    Here i had implemented program go through it you can understand easily.
    While creating table give one field as primary as you know that.
    tables zdata1.
    data it_tab type TABLE OF zdata1 WITH HEADER LINE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\Documents and Settings\E50039\Desktop\data.txt'     ***************File path
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = it_tab
    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_tab.
    zdata1-no1 = it_tab-no1.
    zdata1-name = it_tab-name.
    zdata1-empid = it_tab-empid.
    insert zdata1.
    ENDLOOP.
    Flat file
    1 name1 empid1
    2 name2 empid2
    note: Give the tabspace between values in flat file.
    Edited by: Aditya.G on Oct 12, 2011 10:22 AM

  • Idocs not getting posted from XI to R/3

    Hi guys,
    We have set up a file-to-Idoc scenario that seems to work fine, but when the number of idocs to be posted in R/3 reaches a certain number, (3,500) all idocs are getting rolled back and nothing happens in R/3.
    It seems to me that there should be a parameter to set this up.
    Any ideas?

    Hi,
    report RSEOUT00. To determine the package size, specify the maximum number of IDocs.
    The number of IDocs in a file is specified by the parameter “Maximum number of IDocs” in the program RSEOUT00.
    see SAP Note 814393
    Please refer
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b
    Example Program for Mass Processing IDocs
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21760251ce11d189570000e829fbbd/frameset.htm
    Thanks
    Swarup

  • Idoc not getting posted into XI

    Hello Experts,
    I am trying IDoc-XI-File senario...
    I have configured, ALE on backend system. Configured IDX1 and IDX2 in XI system.
    At sender the Idoc has been sent without any errors.
    But when I check in XI using SXMB_MONI there are no messages. Idoc is not getting posted into XI.
    Please suggest as I am struck at this point. I am using XI 7.0
    Thanks
    Suma

    Hi,
    Kindly verify the ALE steps that you have performed...
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    Step 6)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 7)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    Reward points if helpful...
    PrasHaNt

  • IDOC not getting posted into BPM

    Hello Friends,
    I have a scenario where i am using Async/sync bridge in BPM to convert an IDOC message into webservices.
    I have configured the BPM correctly without any sematic errors.
    Whenever I post an IDOC, i get an error message saying - "Party and service not defined"
    Do I need to "START" a BPM from somewhere??
    Im getting stuck at the starting itself
    Please help me friends!
    Regards,
    Lakshmi

    Hi,
    in ID, in your R/3 business system, from menu go to Adapter specific identifiers......then a popup window will come.......then in that window, your logical system for IDOC may be blank.......click on Compare SLD button at below, then your logical system field should be filled with the logical system you have defined for your r/3 system in your SLD.
    Then again send your IDOC from r/3 to XI.
    Regards,
    Rajeev Gupta

  • Idoc not getting post

    Hi Friends,
    i am using transaction WPUK , there if i enter eann number starting from 1, for ex. 1WMDP000023 Then idoc posted but
    if i enter eann number starting from 0, for ex. 0OA103403929908 , idoc not gettign post , error is eann number not exist or not maintained against the material number, but i have already maintained via MM42 in basic view.
    pls suggest what i should do, i am already debugging but can't resolve it.

    Hi Medha,
    Give the leading zeros and check.
    Regards,
    madhu.

  • Plz Help:Idoc not getting posted

    In my requirement some of the idocs are not getting posted.The error message is "Balance not zero".Idoc type is "INVOIC01".In my requirement they told to look into the standard sap pgm"SAPLMRMC" in that FM MRM_AMOUNT_COMPARISON.Please give me suggestions to proceed.

    Hi Hema,
    Please check the invoice data that your are trying to send. From the error it seems that the IDoc is failing the data validations that must be placed in the program/FM that is used to generate/post the IDoc.
    Regards,
    Ashwinee

  • MB1C transaction - material doc posted sucessful but MSEG table not updated

    Hi Experts,
    Standard transaction MB1C to post material documents... posted the document successfully and i get the message "Document 4900001978 posted" but when I go and check the table MSEG.. the entry is not found.
    Any ideas why is that not updated in table MSEG?
    In the program SAPMM07, which module updates the table MSEG?
    All ideas are welcome and highly appreciated.

    Hi Balu,
    I checked in tx. ST22 and there was no such thing happened. In MB1C tx, i got the info "document 49000.. posted". How can I find where they are updating the table MSEG.
    Thanks for your efforts.

  • IDOC Not getting Posted in PI from CRM

    HI All,
    I had Configured,
    in CRM side : SM59,WE21,BD54,WE20
    in XI side: datatypes,MT,MI, Maaping not yet done, IDX1,SM59
    Idoc is not getting displayed in XI system.
    I had a small Question, Do we need to Configure all the setting in XI for Getting IDOC from CRM.
    Thanks in Advance,
    Sriram.

    Hi Jag,
    Thanks for the reply.
    1.CRM: go to Tcode-WE81 and check message type CRMXIF_PARTNER_SAVE created?
    Yes exists
    2.CRM: Execute Tcode-WE82, Check message type CRMXIF_PARTNER_SAVE has relevant IDOC type and version.
    yes both message type and basic type exists
    3.XI: Did you import right Message type and IDOC type in to IR in XI?(name will be like Message_type.IDOC type)
    yes imported CRMXIF_PARTNER_SAVE.CRMXIF_PARTNER_SAVE01 in IR.
    When i see in Table EDMSG in XI system i am not finding the value CRMXIF_PARTNER_SAVE, but this value Exists in CRM system
    in XI i m not finding the message type in WE81 and WE82.
    Thanks in Advance,
    Sriram

  • Idoc not getting posted in R/3

    scenario - file to idoc
    This Scenario is now executing properly and in SXMB_Moni it is also showing new generated IDOC number.
    But when I tried to locate same IDOC in R/3 system i am not able to locate it.
    In IDX5 tcode is showing error msg - "No authorization to send IDocs with message type ZTEST".

    hi,
    go to the RFC destination that you use
    to post IDOCs (from receiver IDOC adapter) - transaction SM59
    and go to it's logon/secutiry tab
    and check if the user which is defined over there
    has the right authorizations to post idocs in R3
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Inbound IDOC not getting posted in database

    Hello All,
    I have a similar problem below:
    http://www.sapfans.com/forums/viewtopic.php?t=59840&highlight=inboundaleconfiguration
    Currently, I have distributed exchange rates from my sending system to my receiving system. When I check on the IDOC status, it is set to status 03 (Data passed to port OK) but on the receiving system, I am unable to find any IDOCs received.
    I have checked more than 3 times the ALE configuration and I'm really stuck now.
    I have already looked in to tRFC Queue (SM58) but I don't know how to trace the errors. The message I'm getting in SM58 is "Client M88 is not available. Please choose an existing client." However, I tested the connection from the sending system to the receiving system and it works OK.
    I'd appreciate any help.
    Regards,
    Kristine

    Hello Kristine,
    I'm "afraid" to make any suggestions if you say you have checked the ALE configuration more than 3 times....
    However the message you are getting suggests the client specified for the partner system is not correct. If you double click on the Target system in the overview of transaction SM58 you will go into the RFC destination; is the client specified there really ok?
    If all is ok you might you in the debug mode: Copy the transaction id from the overview and goto SE38. Put a break-point in program RSARFCSE (if you don't put a break-point before you execute you will have a hard job to get there because it is a system program). Then start the program using the transaction id and set 'Forced'.
    Regards,
    John.

  • Inbound Idoc not getting posted

    Hi,
    I am facing a problem in posting an Inbound Idoc of Baisc type INVOIC02 and Message type INVOIC.
    The Idoc stays in status 51 and the error is "Function Code cannot be selected".
    I have checked the Function module, it is already assigned to the process code.
    Please help me.
    Thanks in advance.
    Regards,
    Rachit.

    Hello Kristine,
    I'm "afraid" to make any suggestions if you say you have checked the ALE configuration more than 3 times....
    However the message you are getting suggests the client specified for the partner system is not correct. If you double click on the Target system in the overview of transaction SM58 you will go into the RFC destination; is the client specified there really ok?
    If all is ok you might you in the debug mode: Copy the transaction id from the overview and goto SE38. Put a break-point in program RSARFCSE (if you don't put a break-point before you execute you will have a hard job to get there because it is a system program). Then start the program using the transaction id and set 'Forced'.
    Regards,
    John.

  • Idoc not getting posted

    Hi All,
            We are posting the Business partner data from HR to CRM through Idocs.  Though we are able to get almost all the Business Partners in CRM, one of the idoc is showing the message 'Application document not fully posted'. When i checked the status record it says that:
    Message no. HRALX00_ORG246
    In order to further process business partners, the system must determine the internal keys for the business partners. An error occurred when trying to determine these keys.
    The error occurred in function module RH_ALEOX_BUPA_WRITE_O when calling BUP_PARTNER_GUID_CONVERT (error code 2).
    If you have any inputs regarding the error, please help us.
    Thanks & Regards,
    Rahul.

    hi,
    go to the RFC destination that you use
    to post IDOCs (from receiver IDOC adapter) - transaction SM59
    and go to it's logon/secutiry tab
    and check if the user which is defined over there
    has the right authorizations to post idocs in R3
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Vendor line items BAPI/FM required

    Hi, 1 . I need to fetch vendor open line items for selection parameters: a) vendor b) Company code c) document type (S_blart - all doc types except clearing doc type) d) Posing date (Very important) All are the select options. (Say i fetch data from

  • PCI 7330 not recognized in Windows 7

    When I transferred my 7330 motion controller board to another PC, it is not recognized in MAX. Windows system put it as unknown PCI board.  The PC runs on Windows 7. LabVIEW 2010 and MAX 4.7 were installed. What could be the reason for the 7330 not b

  • Raw files WITH audio appear in timeline WITHOUT audio

    I have many files that absolutely HAVE audio appear with none in the timeline. The track itself is there, but the waveform is flat, no sound, and nothing in the source monitor. However, when you "reveal in finder" that particular clip, and play it th

  • HT201210 my phone will not restore

    I HAVE BOUGHT S/HAND IPHONE BUT WILL NOT RESTORE FROM MY BACKUUP /HELP

  • Music skips in slideshow

    Combined 6 songs in Garageband. Saved so iLife can recognize. Added the music to slideshow w/ slides to fit the music. There are 74 photos with over 17 minutes of music. First part goes fine but about 1/2 way thru 5th song, it reverts to the first so