Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

address in SF

Former Member
0 Kudos

Hi experts,

Iam trying to display address in Smartforms.In the smartforms, i have created address window. In that i have created program lines and given the code like this.

READ TABLE T_HDB INDEX '1'.

G_HDB-CADRNR = T_HDB-CADRNR. <b>" here iam passing address number</b>

In SAP address i have given <b>&G_HDB-CADRNR&</b>

While executing it is throwing error that "Error in address output (name not filled)".

Data is there in T_HDB. Where iam doing wrong.I saw in debugging mode.Iam getting data into T_HDB.

If i give G_HDB-CADRNR = '28582',Iam getting address.

Reward guaranteed

cheers

kaki

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Kaki,

Please set a break-point in your initialization as

Break 'Username' . --after read statement and check .

It seems ur w_tab-CARDNR definition is wrong.

Try this :

Define a variable in global data as :

V_CADRNR type KNA1-ADRNR.

READ TABLE T_HDB INDEX '1'. Remove the ' ' for 1.

Define as : READ TABLE T_HDB INDEX 1.

V_CADRNR = T_HDB-CARDNR.

Then pass in address element as &V_CADRNR&

Please try this.

Lanka

7 REPLIES 7

Former Member
0 Kudos

Try to display using

&T_HDB-CADRNR& instead.

Former Member
0 Kudos

Hi Kaki,

Please set a break-point in your initialization as

Break 'Username' . --after read statement and check .

It seems ur w_tab-CARDNR definition is wrong.

Try this :

Define a variable in global data as :

V_CADRNR type KNA1-ADRNR.

READ TABLE T_HDB INDEX '1'. Remove the ' ' for 1.

Define as : READ TABLE T_HDB INDEX 1.

V_CADRNR = T_HDB-CARDNR.

Then pass in address element as &V_CADRNR&

Please try this.

Lanka

0 Kudos

Hi Lanka,

I used break point and found T_HDB is not reading by Read table.


READ TABLE T_HDB INDEX 1.
 break-point. 
 G_HDB-CADRNR = T_HDB-CADRNR.

T_HDB-CADRNR showing nothing.But T_HDB is having data.

What might be the reason?

0 Kudos

Hi Kaki,

Can you Please let me know how you have defined your T_HDB.

IT looks like your T_HDB doesn't contain header .

Try this:

Define work area for T_HDB in global data.

Then:

Read table T_HDB into WA_HDB index 1.

V_CARDNR = WA_HDB-CARDNR.

Lanka

0 Kudos

Thanks murthy,

I got it.

cheers

kaki

0 Kudos

Hi Kaki,

I have send you the solution for 3 page issue also.

Please upload the enclosed .XML into a test smartform. You can find all the 3 pages were printing.

[code] <?xml version="1.0" encoding="utf-8" ?>

- <sf:SMARTFORM xmlns:sf="urn:sap-com:SmartForms:2000:internal-structure" xmlns="urn:sap-com:sdixml-ifr:2000" sf:language="EN">

- <HEADER>

<FORMNAME>ZTEST_KAKI</FORMNAME>

<CAPTION>New Form</CAPTION>

<MASTERLANG>E</MASTERLANG>

<LANGVECTOR>*</LANGVECTOR>

<DEVCLASS>$TMP</DEVCLASS>

<VERSION>00001</VERSION>

<FIRSTUSER>SCMGEN</FIRSTUSER>

<FIRSTDATE>2006-02-06</FIRSTDATE>

<FIRSTTIME>23:48:33</FIRSTTIME>

<LASTUSER>SCMGEN</LASTUSER>

<LASTDATE>2006-02-06</LASTDATE>

<LASTTIME>23:55:16</LASTTIME>

</HEADER>

- <INTERFACE>

- <item>

<IOTYPE>E</IOTYPE>

<NAME>DOCUMENT_OUTPUT_INFO</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SSFCRESPD</TYPENAME>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>E</IOTYPE>

<NAME>JOB_OUTPUT_INFO</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SSFCRESCL</TYPENAME>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>E</IOTYPE>

<NAME>JOB_OUTPUT_OPTIONS</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SSFCRESOP</TYPENAME>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>ARCHIVE_INDEX</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>TOA_DARA</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>ARCHIVE_INDEX_TAB</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>TSFDARA</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>ARCHIVE_PARAMETERS</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>ARC_PARAMS</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>CONTROL_PARAMETERS</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SSFCTRLOP</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>MAIL_APPL_OBJ</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SWOTOBJID</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>MAIL_RECIPIENT</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SWOTOBJID</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>MAIL_SENDER</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SWOTOBJID</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>OUTPUT_OPTIONS</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>SSFCOMPOP</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>I</IOTYPE>

<NAME>USER_SETTINGS</NAME>

<TYPING>TYPE</TYPING>

<TYPENAME>TDBOOL</TYPENAME>

<OPTIONAL>X</OPTIONAL>

<BYVALUE>X</BYVALUE>

<DEFAULTVAL>'X'</DEFAULTVAL>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>X</IOTYPE>

<NAME>FORMATTING_ERROR</NAME>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>X</IOTYPE>

<NAME>INTERNAL_ERROR</NAME>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>X</IOTYPE>

<NAME>SEND_ERROR</NAME>

<STANDARD>X</STANDARD>

</item>

- <item>

<IOTYPE>X</IOTYPE>

<NAME>USER_CANCELED</NAME>

<STANDARD>X</STANDARD>

</item>

</INTERFACE>

- <sf:VARHEADER>

- <sf:item>

<PAGEFORMAT>DINA4</PAGEFORMAT>

<CPI>10.00</CPI>

<LPI>6.00</LPI>

<STDSTYLE>SYSTEM</STDSTYLE>

- <sf:PAGETREE>

- <sf:NODE>

<NODETYPE>RP</NODETYPE>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>PA</NODETYPE>

- <sf:OBJ>

- <sf:PAGE>

- <NAME>

<INAME>PAGE1</INAME>

</NAME>

<CAPTION>New Page</CAPTION>

- <NEXTPAGE>

<INAME>PAGE1</INAME>

</NEXTPAGE>

<NUMB_MODE>I</NUMB_MODE>

<NUMB_TYPE>A</NUMB_TYPE>

<PAGEORTN>P</PAGEORTN>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>PA</OBJTYPE>

<INAME>PAGE1</INAME>

<CAPTION>New Page</CAPTION>

</item>

</T_CAPTION>

</sf:PAGE>

</sf:OBJ>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>WI</NODETYPE>

- <sf:OBJ>

- <sf:WINDOW ID="350">

- <NAME>

<INAME>MAIN</INAME>

</NAME>

<CAPTION>Main Window</CAPTION>

<WTYPE>M</WTYPE>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>WI</OBJTYPE>

<INAME>MAIN</INAME>

<CAPTION>Main Window</CAPTION>

</item>

</T_CAPTION>

- <sf:PROC_CTRL>

- <sf:NODE ID="373">

<NODETYPE>RC</NODETYPE>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>CO</NODETYPE>

- <sf:OBJ>

- <sf:CODE>

- <NAME>

<INAME>%CODE1</INAME>

</NAME>

<CAPTION>New Program Lines 1</CAPTION>

- <CODE>

<item>BREAK SCMGEN.</item>

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

<item />

</CODE>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CO</OBJTYPE>

<INAME>%CODE1</INAME>

<CAPTION>New Program Lines 1</CAPTION>

</item>

</T_CAPTION>

</sf:CODE>

</sf:OBJ>

<sf:SUCC />

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>TI</NODETYPE>

- <sf:OBJ>

- <sf:TEXT>

- <NAME>

<INAME>%TEXT1</INAME>

</NAME>

<CAPTION>New Text 1</CAPTION>

<APPMODE>P</APPMODE>

- <TEXT>

- <item>

<TDFORMAT>*</TDFORMAT>

<TDLINE>text for first page1</TDLINE>

</item>

</TEXT>

<STYLE_NAME>SYSTEM</STYLE_NAME>

- <TEXT_AREA>

<ENABLED>F</ENABLED>

<NCOLS>0</NCOLS>

<NROWS>0</NROWS>

</TEXT_AREA>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>TI</OBJTYPE>

<INAME>%TEXT1</INAME>

<CAPTION>New Text 1</CAPTION>

</item>

</T_CAPTION>

- <T_TEXT>

- <item>

<SPRAS>E</SPRAS>

<TXTYPE>F</TXTYPE>

<INAME>%TEXT1</INAME>

<LINENR>000001</LINENR>

<TDFORMAT>*</TDFORMAT>

<TDLINE>text for first page1</TDLINE>

</item>

</T_TEXT>

</sf:TEXT>

</sf:OBJ>

<sf:SUCC />

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>CM</NODETYPE>

- <sf:OBJ>

- <sf:COMMAND>

- <NAME>

<INAME>%COMMAND1</INAME>

</NAME>

<CAPTION>New Command 1</CAPTION>

<NEWPAGE>X</NEWPAGE>

- <PAGENAME>

<INAME>PAGE2</INAME>

</PAGENAME>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CM</OBJTYPE>

<INAME>%COMMAND1</INAME>

<CAPTION>New Command 1</CAPTION>

</item>

</T_CAPTION>

</sf:COMMAND>

</sf:OBJ>

- <sf:COND>

- <sf:CONDITION>

- <NAME>

<INAME>%CONDITION8</INAME>

</NAME>

<CAPTION>New Alternative 8</CAPTION>

- <COND>

- <item>

<COP>EQ</COP>

<OP1>SFSY-PAGENAME</OP1>

<OP2>'PAGE1'</OP2>

<ICON>@20\QSelect: Equal to@</ICON>

</item>

</COND>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CD</OBJTYPE>

<INAME>%CONDITION8</INAME>

<CAPTION>New Alternative 8</CAPTION>

</item>

</T_CAPTION>

</sf:CONDITION>

</sf:COND>

<sf:SUCC />

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>CM</NODETYPE>

- <sf:OBJ>

- <sf:COMMAND>

- <NAME>

<INAME>%COMMAND2</INAME>

</NAME>

<CAPTION>New Command 1</CAPTION>

<NEWPAGE>X</NEWPAGE>

- <PAGENAME>

<INAME>PAGE3</INAME>

</PAGENAME>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CM</OBJTYPE>

<INAME>%COMMAND2</INAME>

<CAPTION>New Command 1</CAPTION>

</item>

</T_CAPTION>

</sf:COMMAND>

</sf:OBJ>

- <sf:COND>

- <sf:CONDITION>

- <NAME>

<INAME>%CONDITION9</INAME>

</NAME>

<CAPTION>New Alternative 8</CAPTION>

- <COND>

- <item>

<COP>EQ</COP>

<OP1>SFSY-PAGENAME</OP1>

<OP2>'PAGE2'</OP2>

<ICON>@20\QSelect: Equal to@</ICON>

</item>

</COND>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CD</OBJTYPE>

<INAME>%CONDITION9</INAME>

<CAPTION>New Alternative 8</CAPTION>

</item>

</T_CAPTION>

</sf:CONDITION>

</sf:COND>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:PROC_CTRL>

</sf:WINDOW>

</sf:OBJ>

- <sf:OUTATTR>

- <sf:OUTATTR>

- <NAME>

<INAME>%OUTATTRIB1</INAME>

</NAME>

<CAPTION>New Display Option</CAPTION>

<U_WFRAME>PT</U_WFRAME>

<U_WBOXV>CM</U_WBOXV>

<U_WBOXH>CM</U_WBOXH>

<WLEFT>2.50</WLEFT>

<U_WLEFT>CM</U_WLEFT>

<WWIDTH>16.00</WWIDTH>

<U_WWIDTH>CM</U_WWIDTH>

<WTOP>2.50</WTOP>

<U_WTOP>CM</U_WTOP>

<WHEIGHT>25.20</WHEIGHT>

<U_WHEIGHT>CM</U_WHEIGHT>

- <BORDER>

- <LEFTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</LEFTATTR>

- <TOPATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</TOPATTR>

- <RIGHTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</RIGHTATTR>

- <BOTTOMATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</BOTTOMATTR>

</BORDER>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>OA</OBJTYPE>

<INAME>%OUTATTRIB1</INAME>

<CAPTION>New Display Option</CAPTION>

</item>

</T_CAPTION>

</sf:OUTATTR>

</sf:OUTATTR>

- <sf:COND>

- <sf:CONDITION>

- <NAME>

<INAME>%CONDITION1</INAME>

</NAME>

<CAPTION>New Alternative 1</CAPTION>

- <OCOND>

<FPAGE>X</FPAGE>

</OCOND>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>CD</OBJTYPE>

<INAME>%CONDITION1</INAME>

<CAPTION>New Alternative 1</CAPTION>

</item>

</T_CAPTION>

</sf:CONDITION>

</sf:COND>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>PA</NODETYPE>

- <sf:OBJ>

- <sf:PAGE>

- <NAME>

<INAME>PAGE2</INAME>

</NAME>

<CAPTION>New Page</CAPTION>

- <NEXTPAGE>

<INAME>PAGE1</INAME>

</NEXTPAGE>

<NUMB_MODE>I</NUMB_MODE>

<NUMB_TYPE>A</NUMB_TYPE>

<PAGEORTN>P</PAGEORTN>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>PA</OBJTYPE>

<INAME>PAGE2</INAME>

<CAPTION>New Page</CAPTION>

</item>

</T_CAPTION>

</sf:PAGE>

</sf:OBJ>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>WI</NODETYPE>

- <sf:OBJ>

- <sf:WINDOW ID="805">

- <NAME>

<INAME>MAIN1</INAME>

</NAME>

<CAPTION>New Window 1</CAPTION>

<WTYPE>T</WTYPE>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>WI</OBJTYPE>

<INAME>MAIN1</INAME>

<CAPTION>New Window 1</CAPTION>

</item>

</T_CAPTION>

- <sf:PROC_CTRL>

- <sf:NODE ID="828">

<NODETYPE>RC</NODETYPE>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>TI</NODETYPE>

- <sf:OBJ>

- <sf:TEXT>

- <NAME>

<INAME>%TEXT2</INAME>

</NAME>

<CAPTION>New Text 2</CAPTION>

<APPMODE>P</APPMODE>

- <TEXT>

- <item>

<TDFORMAT>*</TDFORMAT>

<TDLINE>Text on page 2</TDLINE>

</item>

</TEXT>

<STYLE_NAME>SYSTEM</STYLE_NAME>

- <TEXT_AREA>

<ENABLED>F</ENABLED>

<NCOLS>0</NCOLS>

<NROWS>0</NROWS>

</TEXT_AREA>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>TI</OBJTYPE>

<INAME>%TEXT2</INAME>

<CAPTION>New Text 2</CAPTION>

</item>

</T_CAPTION>

- <T_TEXT>

- <item>

<SPRAS>E</SPRAS>

<TXTYPE>F</TXTYPE>

<INAME>%TEXT2</INAME>

<LINENR>000001</LINENR>

<TDFORMAT>*</TDFORMAT>

<TDLINE>Text on page 2</TDLINE>

</item>

</T_TEXT>

</sf:TEXT>

</sf:OBJ>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:PROC_CTRL>

</sf:WINDOW>

</sf:OBJ>

- <sf:OUTATTR>

- <sf:OUTATTR>

- <NAME>

<INAME>%OUTATTRIB4</INAME>

</NAME>

<U_WFRAME>PT</U_WFRAME>

<U_WBOXV>CM</U_WBOXV>

<U_WBOXH>CM</U_WBOXH>

<U_WLEFT>CM</U_WLEFT>

<WWIDTH>2.00</WWIDTH>

<U_WWIDTH>CM</U_WWIDTH>

<U_WTOP>CM</U_WTOP>

<WHEIGHT>2.00</WHEIGHT>

<U_WHEIGHT>CM</U_WHEIGHT>

- <BORDER>

- <LEFTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</LEFTATTR>

- <TOPATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</TOPATTR>

- <RIGHTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</RIGHTATTR>

- <BOTTOMATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</BOTTOMATTR>

</BORDER>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>OA</OBJTYPE>

<INAME>%OUTATTRIB4</INAME>

</item>

</T_CAPTION>

</sf:OUTATTR>

</sf:OUTATTR>

<sf:SUCC />

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>WI</NODETYPE>

- <sf:OBJ>

<sf:WINDOW IDREF="350" />

</sf:OBJ>

- <sf:OUTATTR>

- <sf:OUTATTR>

- <NAME>

<INAME>%OUTATTRIB3</INAME>

</NAME>

<CAPTION>New Display Option</CAPTION>

<U_WFRAME>PT</U_WFRAME>

<U_WBOXV>CM</U_WBOXV>

<U_WBOXH>CM</U_WBOXH>

<WLEFT>2.50</WLEFT>

<U_WLEFT>CM</U_WLEFT>

<WWIDTH>16.00</WWIDTH>

<U_WWIDTH>CM</U_WWIDTH>

<WTOP>2.50</WTOP>

<U_WTOP>CM</U_WTOP>

<WHEIGHT>25.20</WHEIGHT>

<U_WHEIGHT>CM</U_WHEIGHT>

- <BORDER>

- <LEFTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</LEFTATTR>

- <TOPATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</TOPATTR>

- <RIGHTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</RIGHTATTR>

- <BOTTOMATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</BOTTOMATTR>

</BORDER>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>OA</OBJTYPE>

<INAME>%OUTATTRIB3</INAME>

<CAPTION>New Display Option</CAPTION>

</item>

</T_CAPTION>

</sf:OUTATTR>

</sf:OUTATTR>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>PA</NODETYPE>

- <sf:OBJ>

- <sf:PAGE>

- <NAME>

<INAME>PAGE3</INAME>

</NAME>

<CAPTION>New Page</CAPTION>

- <NEXTPAGE>

<INAME>PAGE1</INAME>

</NEXTPAGE>

<NUMB_MODE>I</NUMB_MODE>

<NUMB_TYPE>A</NUMB_TYPE>

<PAGEORTN>P</PAGEORTN>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>PA</OBJTYPE>

<INAME>PAGE3</INAME>

<CAPTION>New Page</CAPTION>

</item>

</T_CAPTION>

</sf:PAGE>

</sf:OBJ>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>WI</NODETYPE>

- <sf:OBJ>

- <sf:WINDOW ID="1172">

- <NAME>

<INAME>MAIN2</INAME>

</NAME>

<CAPTION>New Window 1</CAPTION>

<WTYPE>T</WTYPE>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>WI</OBJTYPE>

<INAME>MAIN2</INAME>

<CAPTION>New Window 1</CAPTION>

</item>

</T_CAPTION>

- <sf:PROC_CTRL>

- <sf:NODE ID="1195">

<NODETYPE>RC</NODETYPE>

- <sf:SUCC>

- <sf:item>

- <sf:NODE>

<NODETYPE>TI</NODETYPE>

- <sf:OBJ>

- <sf:TEXT>

- <NAME>

<INAME>%TEXT3</INAME>

</NAME>

<CAPTION>New Text 3</CAPTION>

<APPMODE>P</APPMODE>

- <TEXT>

- <item>

<TDFORMAT>*</TDFORMAT>

<TDLINE>text on page 3</TDLINE>

</item>

</TEXT>

<STYLE_NAME>SYSTEM</STYLE_NAME>

- <TEXT_AREA>

<ENABLED>F</ENABLED>

<NCOLS>0</NCOLS>

<NROWS>0</NROWS>

</TEXT_AREA>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>TI</OBJTYPE>

<INAME>%TEXT3</INAME>

<CAPTION>New Text 3</CAPTION>

</item>

</T_CAPTION>

- <T_TEXT>

- <item>

<SPRAS>E</SPRAS>

<TXTYPE>F</TXTYPE>

<INAME>%TEXT3</INAME>

<LINENR>000001</LINENR>

<TDFORMAT>*</TDFORMAT>

<TDLINE>text on page 3</TDLINE>

</item>

</T_TEXT>

</sf:TEXT>

</sf:OBJ>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:PROC_CTRL>

</sf:WINDOW>

</sf:OBJ>

- <sf:OUTATTR>

- <sf:OUTATTR>

- <NAME>

<INAME>%OUTATTRIB5</INAME>

</NAME>

<U_WFRAME>PT</U_WFRAME>

<U_WBOXV>CM</U_WBOXV>

<U_WBOXH>CM</U_WBOXH>

<U_WLEFT>CM</U_WLEFT>

<WWIDTH>2.00</WWIDTH>

<U_WWIDTH>CM</U_WWIDTH>

<U_WTOP>CM</U_WTOP>

<WHEIGHT>2.00</WHEIGHT>

<U_WHEIGHT>CM</U_WHEIGHT>

- <BORDER>

- <LEFTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</LEFTATTR>

- <TOPATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</TOPATTR>

- <RIGHTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</RIGHTATTR>

- <BOTTOMATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</BOTTOMATTR>

</BORDER>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>OA</OBJTYPE>

<INAME>%OUTATTRIB5</INAME>

</item>

</T_CAPTION>

</sf:OUTATTR>

</sf:OUTATTR>

<sf:SUCC />

</sf:NODE>

</sf:item>

- <sf:item>

- <sf:NODE>

<NODETYPE>WI</NODETYPE>

- <sf:OBJ>

<sf:WINDOW IDREF="350" />

</sf:OBJ>

- <sf:OUTATTR>

- <sf:OUTATTR>

- <NAME>

<INAME>%OUTATTRIB2</INAME>

</NAME>

<CAPTION>New Display Option</CAPTION>

<U_WFRAME>PT</U_WFRAME>

<U_WBOXV>CM</U_WBOXV>

<U_WBOXH>CM</U_WBOXH>

<WLEFT>2.50</WLEFT>

<U_WLEFT>CM</U_WLEFT>

<WWIDTH>16.00</WWIDTH>

<U_WWIDTH>CM</U_WWIDTH>

<WTOP>2.50</WTOP>

<U_WTOP>CM</U_WTOP>

<WHEIGHT>25.20</WHEIGHT>

<U_WHEIGHT>CM</U_WHEIGHT>

- <BORDER>

- <LEFTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</LEFTATTR>

- <TOPATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</TOPATTR>

- <RIGHTATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</RIGHTATTR>

- <BOTTOMATTR>

<THICKNESS>0.00</THICKNESS>

<THICKNESSU>PT</THICKNESSU>

<DISTANCE>0.00</DISTANCE>

<DISTANCEU>CM</DISTANCEU>

- <COLOR>

<RED>000</RED>

<GREEN>000</GREEN>

<BLUE>000</BLUE>

<TRANS>000</TRANS>

</COLOR>

</BOTTOMATTR>

</BORDER>

- <T_CAPTION>

- <item>

<LANGU>E</LANGU>

<OBJTYPE>OA</OBJTYPE>

<INAME>%OUTATTRIB2</INAME>

<CAPTION>New Display Option</CAPTION>

</item>

</T_CAPTION>

</sf:OUTATTR>

</sf:OUTATTR>

<sf:SUCC />

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:item>

</sf:SUCC>

</sf:NODE>

</sf:PAGETREE>

</sf:item>

</sf:VARHEADER>

</sf:SMARTFORM>[/code]

Lanka

0 Kudos

hey lanka,

now i m facing the smae problem . my issue is that. when i m using the address window it is giving the output. but it is not in correct format. i hav to arrange the as per client requirement. in output postal code is coming first and city is coming later. but requirement is city should come first and then postal code.