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: 

Creating large idoc

Former Member
0 Kudos

Hi,

I am relatively new to SAP. I want to generate very large IDOC ( >=3GB) from SAP R/3 system and send it to my application. As of now, i used to create a MATCOR idoc using BD10. I didnt do any other configuration. But the size of the IDOC generated is small. Can some one tell me what configurations/settings i should do to generate large IDOC?

Thanks in advance,

Poornima.K

7 REPLIES 7

Former Member
0 Kudos

Hi Poornima,

What data you want to create the IDOC? Why do you need to send about 3 GB of data in a IDOC to your application, give the requirements clearly and we can try to help you?

Thanks,

Mahesh.

Former Member
0 Kudos

Hi Mahesh,

Thanks for the reply. Sorry for not clear in my previous post. This is my requirement:

We have an existing SAP Gateway solution which uses librfc.a and sends and receives document with SAP system. One of our client using our SAP gateway solution is not able to process large IDOC of size >=3.GB which they send it from their SAP system. We are not able to find the root cause of the problem as we are not sure how to configure the SAP system to send huge idocs. My queries are:

1) I want to create a large idoc( >=3GB) of type MATCOR.

2) What are the configurations i need to do in SAP system so that it can create huge idocs?

Hope my requirement is clear.

Thanks in advance,

Poornima.K

0 Kudos

Hi,

Basically there is no size limit for idocs.But we have size limit for data in the segments which cannot exceed more than 1000bytes.

I have checked the basic type MATCOR01 related to the message type MATCOR and found the followign information.

Header segment E1MARAC can appear from 1 to 9999 times max.(Calculate the corresponding bytes)

Item Segment E1MAKTC can appear from 1 to 99 times max(Calculate the corresponding bytes).

SO obviously you cannot send 3gb with this idoc.

For your information a segment can appear a maximum of 9999999999 times in an idoc( Calculate the no of bytes).

If you are sending the data to any middleware jus check whether it is capable of handing such a huge size idoc. Because practically i have faced many problems while sending an idoc to MQ-Series due to size constraints.

Cheers,

Hakim

Former Member
0 Kudos

Hi Hakim,

Thanks for the reply. If not with MATCOR type then can you suggest me some other type of idoc which i can generate >=3 GB. Most importantly i need to know what specific configuration i should make in SAP system so that it will generate huge idoc.

As of now i execute "bd10" transaction and send the file generated by the SAP system.

Please let me know if i can find any document that would help me in this.

Thanks in advance,

Poornima.K

0 Kudos

Hi

YOu need to edit the max no of times a particular segment can appear in an idoc in WE30 transaction code. BD10 will only help you to send materials. Nothing more..

Cheers,

Hakim

Former Member
0 Kudos

Hi Hakim,

But i am not able to change the number of segments in the MATCOR or MATMAS type of idoc using WE30. Am i missing something here? In SAP can we change the no. of segments for the predefined idoc type?

Thanks in advance,

Poornima.K

0 Kudos

Hi

Yes but you require access key to do so.

Cheers,

Hakim