cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP CLM Contract Generation

Former Member
0 Likes
483

Hello Experts,

Im creating word document contracts, when I uploaded a small size document it uploaded with no problems, but now Im trying to upload a word document with a bigger size and is taking a lot of time loading and never get upload.

I changed the size of the property:  attachments.maxSizeKB.buyers but is still not working.

Is there another property or configuration that I am missing?

thanks in advance

regards

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Likes

Hello Experts,

I am creating contract document from Template and getting error at the time of Cd generation.

But I am not understanding why this error is coming.

When I am creating CD with 1 clause then it is getting generated.

Is it the size issue?If yes then why I am not getting same issue in Development and Quality.

@Murtaza- Like you have suggested to maintain doc size as 15MB, but what is the path in CLM system to configure this.

Waiting for your response.

Thanks & Regards,

Tisha

former_member201768
Participant
0 Likes

Hi Martha,

Ask you basis administrator to change parameter from web.config file which is created during configuration of CLM

below is the path

C:\inetpub\wwwroot\WordService

and main parameter is maxRequestLength , increase it to 15MB, Default value is 4MB only

and other parameters are

<add key="fciDir" value="c:\fci"/>

  <add key="showWord" value="false"/>

  <add key="logLevel" value="info"/>

  <add key="wordRunNumber" value="200"/>

  <add key="requestTimeout" value="200"/>

  <add key="openFileTimeout" value="20"/>

  <add key="saveFileTimeout" value="20"/>

  <add key="closeFileTimeout" value="20"/>

  <add key="insertFileTimeout" value="30"/>

  <add key="compareDocsTimeout" value="45"/>

Thanks and Regards,

Murtaza Najmi

former_member89217
Contributor
0 Likes

There is one other cosideration. The bigger filesize might might take so much time it exceeds the timeout setting.  There is no exact spec on this as it all depends on network bandwidth. How big is the file that doesn't finish?

Gary

Former Member
0 Likes

Hello Gary

The file is 46.4KB but it has a a lot of tokens, so Im not sure of the end size with all the token's information.

Thanks a lot for your help

Regards

former_member89217
Contributor
0 Likes

I don't believe this is a size related problem. It is most likely a complexity/formatting problem in the file that does not work. I suggest you either use the logfile from the wordservice to show the problem or systematically reduce the complexity of the failing file to find the problem.

Regards,

Gary

Former Member
0 Likes

Hi,

do you see any error in the logs?

Regards,

Marc Romagosa

Former Member
0 Likes

Hello Marc,

I reviewd the logs and I found two warning messages:

The Following Error is throw by the VM [java.lang.stackOverflowError]. ErrorQueueHandler will just trace it. the caller component should take care to process it properly. Error details :N/A

The following unhandled exception: [java.lang.stackOverflowError] was detected in [Thread[GenerateDocBo.FinalXMLToDocThread,5,Dedicated_Application_Thread]]

Thanks for your helps

Regards