on 10-21-2009 6:32 AM
Hi,
I have a web service integrated and dragged and dropped the request node on the screen.
The node contains a strucutre, hence it is shown as table on screen.
When I execute, I do not see any rows. How to create 1 by default.
And depeniding on requirement, user would add the rows. How to create defualt row and create new row on button click.
I tired to use Tablename.rowname.instanceManager.addInstance(1); but it did not work.
Please help me!!!
Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Oct 21, 2009 7:33 AM
Hello,
you need to create a table subform, next the row subform with the fields within. Set your table subform content to flowed (Subform - Object - Content). Mark your row subform to repeat for each data item (Object - Binding tab). Set true MIN count and value 1 and set init value true and init value 1 (or any other reasonable number:)). That should be a good start, regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Describe what you´ve done son far.
As I mentioned earlier you need to:
- use the appropriate subform structure, flowed content and repeat subform for each data item
- you need to have selected mincount on row = 1
- you need to use the dynamic form in SAP (enabled in WD) or work outside SAP in LCD
- you need to place a button with the script working with the row subform instance manager
If you omit anything on this list, it won´t work
Your LCD version is ok, I use the same one, that is not a problem.
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aditya,
This only works for dynamic PDF forms. You can easily check this in Designer Preview (under Edit -> Form properties -> Preview). For the runtime it is also important. Most of the times it is a dynamic PDF but for example if you use an FP-based print program.
Regards,
Juergen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.