2015 Apr 21 2:23 PM
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?
2015 Apr 21 5:06 PM
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,
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?
2015 Apr 21 5:06 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |