on 08-07-2008 9:05 AM
Hi All,
My user requirement is to print data with different currencies on different pages in SMARTFORMS. Like all the records with currency USD on one page and SGD on other page. So, when ever i get a new currency in internal table i need to print on new page.
So i try to insert command in the Table and in general attributes i set it to 'Go to new page' and use the condition.
Even i try /: NEW-PAGE [PAGE_NAME]
But not working.. Pls help me.
If possible pass me with screen shots
Thanks..
Srikanth
([SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf])
In your LOOP/TABLE block, did you
- On first node, Data tab, sort on Currency, check the "End of control lvl" box
- Click on the End node that should have appeared, after the Total "Program lines" nodes and "Text" nodes add a "Command" node, on this node check the "Go to new page".
If that does not give the expected result, you may have to break your LOOP/TABLE in one-currency-table and process those one by one. (A loop node with a table node in it maybe)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth,
First sort your table with currency field.
Under the loop node... create alternate node...
Check the event on sort begin for currency field ... you get an event node create under the loop.
Under that create command node... make sure you check the check box not in first page in the conditions tab of the command node.
Then display the data.
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
try like this.
if itab-currfieldname = 'INR'.
PROTECT
FIELD NAMES.
ENDPROTECT.
if itab-currfiedname = 'SGD'.
PROTECT
FIELD NAMES.
ENDPROTECT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.