Error in SM58 - EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is emp

Hi experts,
Can u please give your inputs regarding the error i am facing in T-Code SM58 "EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is emp".
Thanks in Advance,
Sangeetha Sadagopan.

Are you using custom function module to fill the IDOC fields?
If yes then try to debug the Custom function module and check that all the data are getting transfered to the IDOC segments or not.
Thanks,
Hetal

Similar Messages

  • EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is emp

    Hi gurus,
    I have too many entries in SM58 with error message: "EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is emp"
    Scenario is SOAP to IDOC.
    I checked in XML messages in the pipeline and in the Responses->IDocOutbound I could see the table structure also.
    I suppose the function INBOUND_IDOC_ASYNCHRONOUS is not accepting the outgoing IDOC from PI.
    Please through some light on what more can I check.
    Re,
    Vikash

    Check this SAP Note: https://service.sap.com/sap/support/notes/305375
    Ask the ABAP Team to find out more on the correction mentioned in the above note as it seems to be implemented in the sAP ECC system.
    Regards,
    Abhishek.

  • SM58: EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty

    Hi All,
    In SM58 of PI system, we see the above error. If we open the detailed error message, its actually for a aleaud idoc to be sent to a R/3 system. But we have disabled ALEAUD idocs for that r/3 system.
    Any suggestions on how to resolve the issue?
    Regards,
    Aarthi

    Hi Aarthi,
    we're currently facing the same issue. Could you please explain shortly, what you have deleted?
    I also tried to delete the entries in SM58, because nobody takes care for the ALEAUDs, but every day new entries are showing up.
    Kind regards,
    Juergen

  • EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty

    We are sending IDOCs from SAP PI to target SAP system. But the IDOCs are not posting and giving the following error below.
    EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty
    Any suggestions would be of great help.
    Regards & Thanks,
    Hari

    through LSMW we are getting post the only inboud idocs. which LSMW idoc method  ur using?

  • SM58 error: EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty

    Hi All,
    In SM58, we see the below error. If we open the detailed error message, its acutally for a aleaud idoc to be sent to a R/3 system. But we have disabled ALEAUD idocs for that r/3 system.
    Any suggestions on how to resolve the issue?
    Regards,
    Aarthi

    Hi Aarti,
    The error only occurs if all segments are deleted in the version
    change in the ALE outbound processing. The cause can be an incorrect
    filling of the IDocs by customers or an application or an incompatible
    entry for the IDoc type in the partner profile.
    please do the required correction in IDOC.
    Please refer sap note [305375|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_mid/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d333035333735%7d]
    Regards,
    Srinivas

  • SM58 : Internal error when accessing a table

    Hi there,
    We have just upgraded from R/3 4.7 to ECC 6.0. After the upgarde we face many "Internal error when accessing a table" in sm58. Is there any table mapping mismatched happened during unicode conversions? How to check the details? Most of the errors are SWW_WI_EXECUTE_INTERNAL_RFC, SWW_WI_CREATE_VIA_EVENT_IBF and etc which are workflow modules.
    can you help?
    Thanks.
    Regards,
    Thava

    Hi
    Have u checked this thread?
    problem in TRFC
    Error while executing Workflow: User is locked.
    /message/5804053#5804053 [original link is broken]
    Regards
    Sridhar Goli

  • How to handle the error " Table passed to EDI_STATUS_ADD_BLOCK is empty"

    Hi All,
    We are generating idoc for any material changes using change pointers.  Our requirement is the idoc should not generate for few plants.
    I have programed in the exit EXIT_SAPLBD11_001, in sucha a way that i am refreshing the table idoc_data for those few plants.
    But while generating idoc, am getting an error saying -   * " Table passed to EDI_STATUS_ADD_BLOCK is empty" . *
    Filtering at model view will not work( because I have 130 plants to be included and only 20 plants to be excluded ) .
    Is there negative filtering that can be done ? or any other way to overcome this error ?
    Please give your suggestions.
    Thank you,
    Kusuma

    Hi,
    You can achieve this by using the concept called BTE, BTE will help you to filter them. We have used that quiet successfully in my earlier project.
    BTE means Business Transaction Event.
    Thanks,
    Mahesh.

  • Fetching SSIS error message into Audit table using SP

    Hi Experts,
    I want to fetch SSIS Error Info along with Task Name into Audit table 'Error_Info' column. This is nvarchar(max) datatype, i wrote below Stored Procedure for this (Column names passing dynamically in SP)
    CREATE PROC [dbo].[usp_AuditErrorHandler]
    @AuditTableName nvarchar(MAX)
    ,@Audit_Status nvarchar(100)
    ,@Audit_ErrorDescription sql_variant
    ,@Audit_PkgEnd_dttm nvarchar(100)
    ,@task sql_variant
    ,@errordescription sql_variant 
    ,@Audit_ID nvarchar(10)
    ,@LogID INT
    AS
    BEGIN
    DECLARE @STRQuery NVARCHAR(MAX)
    SET @STRQuery = ' 
    UPDATE '+@AuditTableName+'
    SET '+@Audit_Status+' = ''Failed''
    ,'+@Audit_PkgEnd_dttm+' = GETDATE()
    ,'+@Audit_ErrorDescription+' = ''Task['+ @task +']:'+@errordescription +'''
    WHERE ' +@Audit_ID+ ' = ' + CAST(@LogID AS NVARCHAR)
    The above procedure is working fine in SSMS and inserting complete error info into table, but when i am executing thru SSIS Pkg i am getting error like
    "[Execute SQL Task] Error: Executing the query "exec usp_AuditErrorHandler ?,?,?,?,?,?,?,?" failed with the following error: "Incorrect syntax near '@P1'.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly."
    So, i tot of checking with string lenght and modifed the code by adding left () to @errordescription as below.
    UPDATE '+@AuditTableName+'
    SET '+@Audit_Status+' = ''Failed''
    ,'+@Audit_PkgEnd_dttm+' = GETDATE()
    ,'+@Audit_ErrorDescription+' = ''Task['+ @task +']:'+LEFT(@errordescription ,100)+'''
    WHERE ' +@Audit_ID+ ' = ' + CAST(@LogID AS NVARCHAR)
    Here, it is inserting till 119 chars, if i give more than 119 chars pkg is failing with above error.
    I want to get insert Complete error info into the column.
    Can anybody suggest on this?? 
    Thanks in advance !!!

    Thanks Arthur for the response, i have tried with the Sql_Variant data type also, here  procedure itself not creating and throwing below error.
    "The data types nvarchar(max) and sql_variant are incompatible in the add operator."
    This is the procedure i am using to fetch error info into Audit table.
    ALTER PROC [dbo].[usp_AuditErrorHandler]
    @AuditTableName nvarchar(MAX)
    ,@Audit_Status nvarchar(100)
    ,@Audit_PkgEnd_dttm nvarchar(100)
    ,@Audit_Task_ErrorCode nvarchar(100)
    ,@Audit_ErrorDescription SQL_VARIANT
    ,@errorcode nvarchar(max)
    ,@task SQL_VARIANT
    ,@errordescription SQL_VARIANT 
    ,@Audit_ID nvarchar(10)
    ,@LogID INT
    AS
    BEGIN
    SET NOCOUNT ON;
    DECLARE @STRQuery SQL_VARIANT
    BEGIN TRY
    SET @STRQuery = '    
    UPDATE  '+@AuditTableName+'
    SET     '+@Audit_Status+' = ''Failed''
           ,'+@Audit_PkgEnd_dttm+' = GETDATE()
           ,'+@Audit_Task_ErrorCode+' = '''+@errorcode+'''
           ,'+@Audit_ErrorDescription+' = ''Task['+ @task +']:'+ @errordescription +'''
    (Error is giving in this line)
    WHERE   ' +@Audit_ID+ ' = ' + CAST(@LogID AS NVARCHAR)
    EXEC (@STRQuery)
    END TRY 
    Below is the Audit Table Schema

  • Error ODS activation - sql error when accessing a table.

    Hi,
    sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
    -RSMPC 128, datapacket 3 is wrong, with status number 9
    -RSMPC 131
    -RSDRO 108 - communcation error (sql error when accessing a table)
    In sm21>
    -sql error when accessing a table
    -The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was  
    either                                                      caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b>   "(FORM)"                                                                    
    Since the caller of the procedure could not have expected this exception     
       to occur, the running program was terminated.                               
      The reason for the exception is:                                             
      The database system recognized that your last operation on the database      
      would have led to a deadlock.                                                
      Therefore, your transaction was rolled back                                  
      to avoid this.                                                                       
      ORACLE always terminates any transaction that would result in deadlock.      
      The other transactions involved in this potential deadlock                   
      are not affected by the termination.
    I have BW 3.5.
    Thank You very much.

    There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
    Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource.   You seem to indicate that you don't have this.
    Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
    You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
    You could be loading from two different datasources to the ODS at the same time.
    If any of these are true, I would look at bumping the INITRANS setting up.  Your DBA will probably need to do this for table and its indices.  There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered. 
    You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps. 
    Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
    Pizzaman

  • Error  " RFC Status :-  Lock table overflow "in event trace  ( SWEL )

    Hi experts ,
    I will not mention this post as URGENT but you guys can understand the importance as I am in PRD Support of my workflows .
    My Workflow is throughing error in SWEL  , as below   and after error its getting deactivated .
    The workflow is triigering based on the  BO : DRAW and event CREATED .
    Error :  RFC Status           Lock table overflow
    In feedback after error the message is : A system error has occurred in lock management .
    I have resolved the deactivation problem after error  , but   can any body please suggest me  what is the root cause of this error , so that i can try to avoid that error .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Nov 20, 2008 5:58 AM

    This error I have not faced. i will suggest you to check SWU3 transaction Code and check everything is configured. Also check SM12 and SM58. Also I will ask you to contact the Basis Guys related to this issue. Also check WF-BATCH is having all the authorization required. Try to replicate this from the system where Workflow is working.
    Thanks
    Arghadip

  • RFC Error in SM58 Commit fault com.sap.aii.af.rfc.afcommunication

    Have a RFC interface between Sap R/3 and XI. Submit RFC request: call function 'Z_PGM'
            in background task
            destination 'XID'
            tables
              it_zmsfi_labels = t_table.
    Getting error in SM58 in R/3 : Commit fault com.sap.aii.af.rfc.afcommunication.Rf cAFWException: alternat
    Message no. SR053
    Any ideas? If I do test connection on in SM59 on TCP connection it's Ok.

    call function 'Z_PGM'
    in background task
      destination 'XID'
    tables
    it_zmsfi_labels = t_table.
    <b>COMMIT WORK.</b>
    This should solve your problem.
    regards
    SKM

  • Error while dropping a table

    Hi All,
    i got an error while dropping a table which is
    ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
    i know learnt that -600 error is related to dba. now how to proceed.
    thanks and regards,
    sri ram.

    00600 errors should be raised as service request with Oracle as it implies some internal bug.
    You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
    http://support.oracle.com

  • Error when creating a Table...

    Hi,
    I'm getting an error as follows .
    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    where
    a.CNTCT_KEY = s.CNTCT_KEY and a.SCN_NUM=s.SCN_NUM
    and a.ACTVTY_DT = to_date('03/17/2013','mm/dd/yyyy')
    and s.SCN_OPEN_DT = to_date('03/15/2013','mm/dd/yyyy')
    and a.SRC_SYS_DESC = 'FACET');
    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    ERROR at line 1:
    ORA-00957: duplicate column name
    Please advise
    Regards,
    Narayan

    Fixed the issue

  • Error messages in a table

    Hi everyone,
    I have a problem when displaying error messages in a table (with values, not based on a model)
    In a column I have an inputText and a validation that checks valuechangelistener. If not true, throw an error message for that component.
    facesContext.addMessage (client, message);
    The table is a DropTarget so each time dragging the dragsource to the table renders the table and missed the error message.
    I had thought to save the id of the components in a list and the dragDropEndListener force to be redisplayed.
    The problem is that the IDs of the components varies each time the table is rendered so even save the id of the components is worthless because they are not the same.
    Anybody can help me?How I can re-display the errors of the components?
    I can not use validator instead of valuechangelistener

    I am not sure if you want something like highlighting the components which have errors -
    If yes , then try this code bit
    public void addMessage(UIComponent component, FacesMessage.Severity type,
    String message) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(type, message, null);
    fctx.addMessage(component.getClientId(fctx), fm);
    You can call the method like this addMessage(this.componentName,FacesMessage.SEVERITY_ERROR,ErroMessage)
    -Sudipto

  • Error while loading AS400 table

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

Maybe you are looking for