Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty

former_member188831
Contributor

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..

Thanks,

Mahesh.Gattu

2 REPLIES 2

Former Member
0 Kudos

Hi,

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.

0 Kudos

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...

Thanks,

Maheshkumar gattu