on 02-04-2009 7:09 AM
Hi,
I am customizing standard dunning form according to our requirement. I have to include bank details of the company as footer in the form. If line items are less bank details should come in 1st page or if there are more line items it has to come in second page. It should be of dynamic window. How to do this?
regards
Hi,
Declare the footer information under text element in main window.
Example:
/E : Line_items
p1 : &Line_items&
/E : Company
p1 : &Company Name&
In program use another WRITE_FORM Function module at the end.
Example:
loop at <itab>.
WRITE_FORM---For line items.
endloop.
WRITE_FORM---Footer
This will work.
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use protect and endprotect for the footer window like
/:protect
Footer data
/:endprotect
You wont be getting any problems in future
Regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raj,
Include the text in the BOTTOM ..ENDBOTTOM of the window and display.
Regards,
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
Here u need to use dynamic windows.
Just put footer window and check for page number = form pages. If yes then only print what ever u want.
Regards,
KP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I did not get the context of dynamic window.If you are talking about the Main window the data is automatically flowed to the next page and if it is a variable window the data if more is truncated.
Now if this is a Main window With protect Endprotect we can Protect the data That is Flowing to other page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try to put all the text from the dynamic window between the following if-endif statement
/: IF &page& = &sapscript-formpages(c)& .
........
.......
......
/: ENDIF.
This way, all the bank details will only be displayed on the last page.
Regards,
George
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.