2014 Mar 13 7:35 AM
If I select 10 po's for print then any possiblity to count how many pages only po contain
any command in smartforms.
2014 Mar 13 7:40 AM
Hi Alok,
just count the no of PO in your internal table.
DATA : LCOUNT TYPE I.
DESCRIBE TABLE your internal table name LINES LCOUNT.
here lcount will give the no of PO, in your internal table
then through it you can count your pages , but please tell me how many pages a line item of each PO will be, you know it ?
You can create a COUNTER of type i inside of your smartforms, and let it run as shown below
DESCRIBE TABLE your internal table name LINES LCOUNT.
COUNTER = COUNTER + 1.
and in the last of your smartforms, you can create a command node in the condition tab puy
COUNTER < LCOUNT.
2014 Mar 13 10:46 AM
2014 Mar 13 10:53 AM
Please brief , what you wants to know, its not clear from what you have written
2014 Mar 13 11:17 AM
sir,
I print header window po number and main window po data . header window also print the po data related to the po number .
so there is mismatch po number in header is not coming with related to po .
2014 Mar 13 11:26 AM
Hi Alok,
yes sometimes you will find it a problem, so why not you have created your header data in main window too, if there is no bulk data to be change , please create your header data in the main window itself. You can create template or anything in main window for your header data, just increase the size of main window and decrease the header window, and create it in main window, if you have any difficulty in achieving this, then please revert.
2014 Mar 13 8:01 AM
Hi,
Can you use system SFSY-FORMPAGES and SFSY-JOBPAGES ?
http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c67ddf311d3b574006094192fe3/content.htm
Regards.