cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC not accepting the length

Former Member
0 Kudos

Hello folks

A question : It is a File to IDOC scenario.

In sxmb_moni ,I can see the text field as 200 chars ,but finally in IDOC only 70 chars are displayed.

Is there any place in IDOC where we put the length of the fields ?

Any ideas/solution?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in the mapping you could see the max length under in the column Details.

The definition of the data types could be found with t-code SE11.

Regards

Patrick

Former Member
0 Kudos

Hello folks

I set the max length field in XI and in moni I see the 200 chars length but finally in IDOC the legth is 70 only .

In IDX2 I see the length set as 70 ,can I modify in IDX2?

Thanks

santhosh_kumarv
Active Contributor
0 Kudos

>>In IDX2 I see the length set as 70 ,can I modify in IDX2?

No.. you cant.. IDX2 just only reflects the metadata of IDoc from R3 system.

The field length can only be changes in R3 system through WE31.

Thanks

SaNV...

Former Member
0 Kudos

Hi,

> can I modify in IDX2?

I don't think so.

In IDX2 you load only the metadata from another system. This is where you have to change it. Use the tcodes mentionend above.

Regards

Patrick

Former Member
0 Kudos

Hello

Need some help : How do I change in WE31.

1) I see only segments BOX.

It does not ask which IDOC?

2) I cannot see an edit button to change the length. Could you guide.

Thanks

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

1. Go to WE31.

2. Give the segment name and click disply/edit button.

3. Select the data element that has length 200 and assign it the field.

4. Save and release the segment.

5. Reload the IDoc in IR and also in IDX2.

Thanks

SaNv...

Former Member
0 Kudos

Thanks Santosh and Patrick.

Have given you the points.

Regards

Answers (1)

Answers (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>Is there any place in IDOC where we put the length of the fields ?

Yes Definately. We define the field property like length,type etc in the segment editor WE31 in the R3 system.

You could even view these properties in IDX2 of XI.

Thanks

SaNv...