Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

SAPSCRIPT total no.of pages passing as 1 on First page, but need total no.of pages on 1st page.

$
0
0

Hi,

 

I have an issue in SAP Script. I am not able to pass the last page number (Example: If output has  3 pages) in the first page window. In the first page window on the Change Editor, I am calling a subroutine in the SAP SCRIPT to printer program by passing parameters to that subroutine &SAPSCRIPT-FORMPAGES& . While debugging I chceked the value SAPSCRIPT-FORMPAGES is 1 passing to that subrotine. My issue is I need to pass no.pages 3 to that Subroutine when the first page running. I appreciate your help.

 

   Requiremnet: In that subroutine I am taking  no.of pages  and doing some logic and appending no.of pages to the return variable. ,and return the value back to SAP Script. But the returned value always showing the no.of pages is 1. I am not able to pass to that subroutine  no.pages 03.

 

 

Thanks for your help.

 

 

Monica

 

Message was edited by: Monica Tubati


Viewing all articles
Browse latest Browse all 8332

Trending Articles