2013 Jun 06 10:26 AM
Hi,
I have found that when use the FUNCTION 'WRITE_FORM' with exporting parameters type = 'BOTTOM' the records of out for my Sapscript have been duplicates in the bottom of my page. Someone why know ?
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ITEM_LINE'
window = 'MAIN'
function = 'APPEND'
type = 'BOTTOM'
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
OTHERS = 7.
2013 Jun 06 10:36 AM
Is there any specific reason to use bottom... because as you are using the element it will by default append at the bottom
Try just with the element and the window... it will trigger appropriately.
BR
2013 Jun 06 2:28 PM
Hi,
Just takes you back to the basic definitions. Hope the link helps all. and yes Quoted from the SAP Bible
The system interprets this parameter only for output to the main window.
The parameter determines the area of the main window into which you want to output the element.
Possible values:
'TOP' header area
'BODY' main area
'BOTTOM' footer area
Default value: 'BODY'
http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba41494511d182b70000e829fbfe/content.htm
Cheers,
Arindam
2013 Jun 27 5:52 PM
sorry for my explanation .... but wanted to say that this function was ejecunte in my SAPscript Main window so I went to the last record repeated X times (the last record in the internal table) as the loop turns which contained this function with type = 'BOTTOM '
2013 Jun 27 5:52 PM
sorry for my explanation .... but wanted to say that this function was ejecunte in my SAPscript Main window so I went to the last record repeated X times (the last record in the internal table) as the loop turns which contained this function with type = 'BOTTOM '
2013 Jun 27 10:36 PM
Hi,
Still not very clear to me but I would suggest reading the link BOTTOM when passed as a parameter takes you to the footer area.
Cheers,
Arindam
2013 Jun 27 6:12 PM