Triggered by this forum post Issue of blank lines removal in address in master page in Adobe form, I’ve decided to tackle a topic that has been eating at me for some years.
Why do developers seem so reluctant to use address nodes in forms?
This is not a criticism of Anindita, the author of the post who has inherited a form and understandably wants to minimise the amount of change. It’s more a result of spending years having to convince developers that address nodes and not individual text fields are the best way to deliver this functionality.
"I was only doing what I was taught"
My own theory as to why this is not adopted puts the blame squarely with the SAP training material. We’re all familiar with the flight model that is used in the ABAP training (I found my original ABAP training certificate from 1991 recently, and as I recall that course used the same model). But the problem is that this model pre-dates the introduction of Central Address Management (or Business Address Services as it seems to be called now). So while it’s fine for the programming courses, the form development courses tend not to give CAM or BAS the focus it deserves. While the courses for SAPScript, Smartforms and adobe forms all cover the topic of the address node, none of them include the topic in the exercises.
When I taught the SAPscript and Smartform courses myself I always checked table ADRC in the training system and found some valid address numbers to both demonstrate their use and include the topic in the exercises, but any trainer focusing solely on the material will inevitably skim over this topic.
"I was only doing what I was told"
My other theory is that developers are following Functional Specs too closely. A form FS will often include a mock-up something like this;
Then rather than challenging the specific example or just using an address node because it’s best practice, the developer will slavishly follow what has been specified. And in the relatively clean data of a project test system all will be well, only when the vagaries of production data are introduced do blank lines appear in the address, and by then there’s a reluctance to make fundamental changes to forms.
The advantages to address nodes are many, compression of blank lines, prioritisation of lines when space is limited, international formatting, fewer fields passed from the print program or initialisation. I could cover these in detail, but they’re all covered in the SAP help and there’s not a great deal I could add to that.
Now, like any technique I’m sure there are disadvantages to address nodes and please use the comments section to point out their shortcomings. Otherwise, go out there and champion the often forgotten address node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |