Skip to Content

EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty

In CRM I am using LSMW to load the data.

while i am running idoc generation step my job is getting cancelled and the job log says the below error like

EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty.

when i try again.. it goes fine for some more time and create few more idoc then get cancelled again with the save above reason.

so not sure why this is happening it get cancelled randomly after creating some idocs.

Please let me know is any one got same issue and got the solution, what could be the issue and how to fix it..



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2012 at 03:41 AM


    The error "EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty"* was thrown by the SAP .NET connector after sending an IDoc to SAP. The reason was that we've set data fields inside the EDI_DC40 element that SAP had to fill on its own, such as

    • DOCNUM
    • CREDAT
    • CRETIM
    • RCVPOR
    • SNDPOR
    • DOCNUM from the DATAHEADERREC element

    Now, we are leaving these empty, and the IDoc can be received by SAP.

    Thus, if you get the same error, check which fields you should set, and which SAP should set on its own.

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks Karhik for your response.

      As i mentioned this i am doing thru LSMW , while creating idocs step it is giving this error, i am processing around 1.5 millions of records.

      after this error if i run it will create at that particular record then it some place it gives the error.

      like randomly it is giving the above mentioned error.

      any how i verified already above parameters before posting this thread, they are good.

      Please advise for further...


      Maheshkumar gattu

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.