Application Development and Automation 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: 
Read only

Duplicate IDOC created for basic type PEXR2002

Former Member
0 Likes
539

Hi,

We are using PEXR2002 idoc for some document postings in FI. For a segment EIEDP02, when trying to write a BELNR field value which exceeds its size of CHAR 35. Its creating a duplicate segment with same key value. Because of this, the idoc not getting created and ends up in error.

Could you please anyone help me in this regard?

Thanks and Regards,

Vimala P

3 REPLIES 3
Read only

alex_m
Active Contributor
0 Likes
489

Pls give more clarity on the issue, BELNR length is 35 because of whats the problem?..

Read only

Former Member
0 Likes
489

Hi,

In our process, the EIEDP02-BELNR value is actually filled with document text field value which is of length more than 35. What is happening right now is, if the length of document text having more than 35 characters and then with first 35 character of BELNR value one segment is created. And it again create one more segment EIEDP02 with BELNR value having the rest of the fields value(>35 characters). Thus creates duplicate segments which results in IDOC creation failure

Thanks and Regards,

Vimala P

Read only

alex_m
Active Contributor
0 Likes
489

Why you are passing the header text to BELNR first?. there is no meaning to pass the text field to a document number filed.. See you can use other segment to pass the text value.. May be try with htis segment E1IDT01..