on 09-21-2010 10:40 AM
Is it possible to use the AT NEW event within the logic of a Smartform? If yes how? I have an old report program which utilises the AT NEW event to organize how data is printed on the screen and I want to achieve the same effect using Smarforms. The following code is from the afforementioned program.
LOOP AT it_vbrp
AT NEW ishbegdt.
WRITE : "print something out.
ENDAT.
AT NEW ishtagr2.
WRITE : "print something else.
ENDAT.
ENDLOOP
Thanks in advance!
Edited by: rabbitisle on Sep 21, 2010 11:41 AM
Hi,
You could do it by using the sort radio button available in the TABLE node in the smartform..
Go thru the below link, which wud give step by step process of doing it.
http://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALINSAP+SMARTFORMS
Cheers,
Varna
Edited by: Varna17 on Sep 21, 2010 11:54 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The approach suggested by Varna17 is ideal for your requirement. Go ahead with that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try using the below in the smart form to acheive "At NEW command"
Table -> create (right click) -> flow logic -> command lines
Hope this may be helpful.
Regards,
Sharin Varghese
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.