Hi all. I am making great progress on my first BSP page, but now I am confused. I am calling a SAP function ADDRESS_INTO_PRINTFORM. It returns a structure that looks like this:
LINE0 C 80 Joe's Taco House LINE1 C 80 Winton Location LINE2 C 80 1234 McDonalds Blvd LINE3 C 80 HIGASHI-SHINMACHI 373-0015 LINE4 C 80 JAPAN LINE5 C 80 LINE6 C 80 LINE7 C 80 LINE8 C 80 LINE9 C 80
I want to display the address exactly as it is shown in the last colunm,
Joe's Taco House Winton Location 1234 McDonalds Blvd HIGASHI-SHINMACHI 373-0015 JAPAN
with the display field adjusting to then number of lines returned. At first I though I would use a table view. So I created a table view with the following code:
<hbj:tableView
id ="CustomerData"
table = "<%=Adress_Prin_Form%>"
visibleFirstRow = "1"
visibleRowCount = "1"
design ="TRANSPARENT"
/>
When running the code, I am getting a runtime error that Adress_Prin_Form is not a table.
Adress_Prin_Form is defined as:
types: htab8 type ADRS_PRINT. Adress_Prin_Form TYPE HTAB8
What am I doing wrong???
Thanks