cancel
Showing results for 
Search instead for 
Did you mean: 

SM58

Former Member
0 Kudos

Hi Experts,

I am getting the error in trfc sm58

" EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is emp"

can you help me on this.

Regards,

Prasad.

Accepted Solutions (0)

Answers (3)

Answers (3)

prasanthi_chavala
Active Contributor
0 Kudos

Hi ,

You can refer to SAP Note 305375 which exactly describing the same issue.

Copied from Note FYI:

*************************

__Symptom__

The message 'EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty' is displayed after calling the ALE layer. The process is terminated and no IDoc is created on the database.

Cause and prerequisites

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.

*************************

Thanks,

Prasanthi.

anupam_ghosh2
Active Contributor
0 Kudos

Please check the data fields inside the EDI_DC40 segment, there are some fields that SAP has to fill on its own, such as

DOCNUM,CREDAT,CRETIM

you can try leaving some fields empty and try resending the idoc, and the IDoc can be received by SAP.

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

Maybe SAP note 305375 might help.

regards

Anupam

Former Member
0 Kudos

Hi Anupam ,

Is there any thing needed from PI side to do to aviod this error,my Basis team is asking me to delete it or not so I dont know what will be the business impact if they delete it can u help me on this.

Regards,

Prasad.

naveen_chichili
Active Contributor
0 Kudos

HI CHeck the below link and also SAP Note# 305375

Regards,

Naveen

anupam_ghosh2
Active Contributor
0 Kudos

Hi Prasad,

I don't think this is a PI side error. Now what you can do is to go to WE02 transcation in sender system.

Find out the contents of the idoc segment EDI_DC40 segment. Check out what other fields other than SNDPRN,SNDPRT,RCVPRN,RCVPRT are being populated from sender side. If you find other than these fields there are other field value being populated then for the time being stop these values being sent to PI server. You can copy the idoc value using we19 transaction, remove the values in EDIDC_40 segments all values other than SNDPRT,SNDPRN,RCVPRT and RCVPRN and send it to PI server. If this works then your problem is solved. Else check if recently idoc structure has undergone some structural changes thus important segment is not reaching PI server at all. Finally the SNDPRN,SNDPRT, RCVPRN and RCVPRT entries should be correct as per settings is partner profile maintained. Please check these with ABAP/R3 consultants in your team. Finally if your system is PI 7.1, then SAP note 305375 might not be applicable in your case(please check this).

regards

Anupam

Former Member
0 Kudos

Hi Prasad,

Please check the below link, you will find solution for your problem.

http://eai-technologies-and-their-pitfalls.blogspot.com/2008/02/edi-table-passed-to-edisegmentsaddbl...

Thanks,

Amar.

Former Member
0 Kudos

Hi,

Link is blocked can you explain what is the error,My Basis team asking me to delete is or not i dont know the business impact if they delete it help me on it.

Regards,

Prasad.