I have following issues with my form in webdynpro abap.
1. I have created a main node called ZKPS_TEST and under that I have included three nodes and two attributes.
the three nodes are as follows:
TIME_DATA With cardinality 1..1 --> to upload a row
TIME_SHEET_DATA with cardinality 1..n --> Dynamic Internal table rows
TIME_COST_DATA with cardinality 1..n --> Dynamic Internal table rows.
I have created an interface and mapped to the form.
When I click on Insert Row Button i am getting a dump saying "Number of Elements of the Collection of Node MAIN.1.ZKPS_TEST Violates the Cardinality.". Please guide me how to solve this error.
2. I have to create three more buttons onto the form as follows:
a. Save button to save the entered data
b. Submit button to submit for approval.
c. Total button to validate the total hrs entered on the form.
As the submit action is already used for Insert Row button. How can i create these three buttons and where should write code for the same.
Please do the needful at the earliest.
Thanks in advance.