cancel
Showing results for 
Search instead for 
Did you mean: 

CG50 Report Management - Report Additional info doesn't show number of pages

Former Member
0 Kudos

Hi,

In Report Management (CG50), the reports created used to have a number in Size in Pages field in the Additional Information screen (click on blue I icon), but for some reasons, the reports generated recently shows '0' in Size in Pages field, eventhough Size in bytes field contains a value (for example: 449462).

Please advice why this is happenning and how to fix it?

Thanks,

David

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can enable/disable the optimization with following section of the

WWI.INI of your generation server:

[Global]

;disable raw report optimization

OptRawReport=0

This will make the page number available, however the generation is considerably slower, so this is

not suggested.

Answers (1)

Answers (1)

Former Member
0 Kudos

HI David,

you have an answer, if you are able to differentiate the reports which does have the "size in pages" and which doesn't.

What i meant here - what is the process you followed to create the report. is it from specification work bench manually? by choosing the generation variant........if yes, what is the status of the report in CG50?

or you used CG36VEN/ CG36 to import the report?

In this case you can manually fill the field - Doc. size in pages.

The same appears in CG50.

while using the CG36VEN, the above field is mandatory and not accepts the blan value (or) "0".

If you have answers for above, we can discuss in more detailed.

Regards

kamal

Former Member
0 Kudos

Hi Kamal,

The reports which do not have "size in pages" were created from specification workbench by choosing gen variant. The status could be in Release1, Released or Historical.

Thanks,

David

christoph_bergemann
Active Contributor
0 Kudos

Dear David

normally SAP does calculate the number of pages correct and show the number of pages correct. I have never invested time to check how the number of pages are calculated and passed back to SAP to be stored in database so that you can the number of pages are displayed.

Could you may be check this: if generation variant does not have the default status "released" but e.g. "ready" you can regenerate the same report (using the same combination genvar language etc.); if so report will be in status "ready"; you should check if due to regeneration the "number of pages" is calculated correct; if the number is correct one can assume that there has been in the past my be a "connection" problem SAP <=> WWI so that the number of pages could not be calculated correct

Personally I believe it is not the work worth to invest to much time here, many things can go "wrong" in the interaction SAP <=> WWI Server <=> SAP (either DMS or Archive)

C:B.

PS: if somebody will invest time: i would be interested to get feedback how the number of pages are calculated etc.

Personally I would assume this:

The number of pages is an information which is stored in the WWI document; the WWI, which runs on generation server side, could as a "last" step before document is passed back to SAP retrieve the value and may be pass it back to SAP (using some tables structures etc.) to be stored in this table

PPS: may be check reefer to this page:http://www.se80.co.uk/sapfms/w/wwi_/wwi_generate_and_import2.htm

http://www.se80.co.uk/sapfms/w/wwi_/wwi_generate_and_import2.htmhttp://www.se80.co.uk/sapfms/c/c12k/c12k_gen_rawreport.htm could be of interest too

Former Member
0 Kudos

The report is not in Released status yet, I kept recreate the report but still getting '0' in 'size in pages'. Could it be something in the template that's causing this to happen?

Former Member
0 Kudos

HI David,

I don't think template causes this issues. It's purely in between WWI and DMS. It should calculate the size as well as the pages of the report, when it is saving to the directory.

I can see the the document type IBD, is picking the page no.s what ever we give. the other document types are getting created without manual intervention. we should focus more on DMS how these document types are not considering the page no.s while saving it to directory.

Regards

kamal

christoph_bergemann
Active Contributor
0 Kudos

Dear David

could please provide feedback regarding these questions:

1.) is the problem in prod, test or dev SAP system?

2.) does it happen with any spec id using the same genvar/language combination?

2a.) do you regerate only one report or do you start with a list of spec Id and then create reports?

3.) is the WWI layout like a normal MSDS or are we talking about a label template?

4.) are you are using DMS or do you use an archive to store documents ? With archive may be such effects might happen.

5.) is there any effect based on WWI server load to be detected (many users are generating at the same the reports)? regarding the calculation of pages?

6.) can you generate e.g. a final report shipment with the report/document (in this case normally it must be released); if i remember correct in report shipment the number of pages are once again shown

Did you tried to debug the report genration process to find the place at whcih the number of pages topic is written back to database?

may be check this as well; i believe that these two function modules are sued in the WWI generation process; so may be you can try to find more easily the "place" at which the number of pages are calculated

http://www.se80.co.uk/sapfms/c/c12j/c12j_wwi_raw_report_generate.htm

http://www.se80.co.uk/sapfms/c/c12j/c12j_wwi_raw_reports_create.htm

C.B.

Former Member
0 Kudos

Please see my answer below:

1.) is the problem in prod, test or dev SAP system?

All systems, Prod, test and dev.

2.) does it happen with any spec id using the same genvar/language combination?

Yes.

2a.) do you regerate only one report or do you start with a list of spec Id and then create reports?

Reports are created one at a time.

3.) is the WWI layout like a normal MSDS or are we talking about a label template?

This is for Packaging specification, report format is similar to MSDS.

4.) are you are using DMS or do you use an archive to store documents ? With archive may be such effects might happen.

DMS

5.) is there any effect based on WWI server load to be detected (many users are generating at the same the reports)? regarding the calculation of pages?

Only one report is generating at a time. And these reports are small, 2 or 3 pages the most.

6.) can you generate e.g. a final report shipment with the report/document (in this case normally it must be released); if i remember correct in report shipment the number of pages are once again shown

These reports are for Packaging specification, but I'm able to release them without any errors.  

From debugging the function modules, I can see the file size returned but not the page size.

christoph_bergemann
Active Contributor
0 Kudos

Dear David

the number of pages of the report is stored in "DRAW" field "RES4". By whatever reason: during the process to store the WWI document in DMS the field is not updated. As you topic is general (dev, test, prod) there might be a problem in DMS set up. I have never have had scuh a problem in the past.

I found the function group: C14S there some function modules exits which might be responisble for the "correct" calculation of the page number. Refer to e.g.: http://se37.com/Fmods/sitemap/fglists/groups%5Cz2YV.html

You should check other documents in DMS (not WWI ones). May be the some problem exists there too.

C.B.