Application Development and Automation 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: 
Read only

Address template in SMARTFORMS

Former Member
0 Likes
875

Hi,

We have this template in smartforms where we can pass the address number and it displays the address in the smartform. I want to get exactly those address lines but in my internal table. Is there any standard FM / Methods which returns back the address which the smartform would be showing?

1 ACCEPTED SOLUTION
Read only

Private_Member_7726
Active Contributor
0 Likes
631

Hi,

It's FM ADDRESS_INTO_PRINTFORM, which is wrapped by FM SSFCOMP_WRITE_ADDRESS for Smartform Composer runtime.

The way you get to the logic is: insert address node into form and remember your node name, generate smartform, go display the generated FM, refresh navigation index for the generated FM, and then do a global search for your node name. You should find SSFCOMP_WRITE_ADDRESS call in the generated code.

The very wide interface of ADDRESS_INTO_PRINTFORM is a "challenge" (disaster), but it is documented so I hope you'll figure it out

Cheers

Janis

Hi,

It's FM ADDRESS_INTO_PRINTFORM, which is wrapped by FM SSFCOMP_WRITE_ADDRESS for Smartform Composer runtime.

The way you get to the logic is: insert address node into form and remember your node name, generate smartform, go display the generated FM, refresh navigation index for the generated FM, and then do a global search for your node name. You should find SSFCOMP_WRITE_ADDRESS call in the generated code.

The very wide interface of ADDRESS_INTO_PRINTFORM is a "challenge" (disaster), but it is documented so I hope you'll figure it out

Cheers

Janis

1 REPLY 1
Read only

Private_Member_7726
Active Contributor
0 Likes
632

Hi,

It's FM ADDRESS_INTO_PRINTFORM, which is wrapped by FM SSFCOMP_WRITE_ADDRESS for Smartform Composer runtime.

The way you get to the logic is: insert address node into form and remember your node name, generate smartform, go display the generated FM, refresh navigation index for the generated FM, and then do a global search for your node name. You should find SSFCOMP_WRITE_ADDRESS call in the generated code.

The very wide interface of ADDRESS_INTO_PRINTFORM is a "challenge" (disaster), but it is documented so I hope you'll figure it out

Cheers

Janis