‎2007 Oct 24 2:21 PM
actually I am sick of writing test programs for every function I want to test using ABAP.
So why it is (made) impossible to generate input data for a table as input parameter of a functionmodule?
Has really nobody ever tested this stuff when the test function was implemented in SE37 or was this bug implemented on purpose to generate work?
‎2007 Oct 24 2:25 PM
Andreas,
You can input data into the internal table by:
Test FM
> Testing initial screen --- click on the table icon against your table parameter
> Input your input data in the fields
> to Input more lines in the table.. press Insert Line (icon with plus sign)
After this press back button.
Now, you will have your test data in the tables.
Regards,
Naimesh
‎2007 Oct 24 2:42 PM
No, the above solutions only work if the table is given within the tables construction.
A normal table as a input parameter can be clicked, but the system will refuse to create an input line.
reagards
Andreas Kaiser
‎2007 Oct 24 4:23 PM
hi Andreas,
if you create a parameter within IMPORT parameters, and you TYPE it to a transparent table, that will be a structure in the FM and not an internal table. This is why you cannot create more lines during FM testing
hope this helps
ec
‎2007 Oct 24 4:36 PM
No, when I say internal table that means internal table.
That logic inconsistancy that database tables are defined using structures is known to me.
Is there someone left here who did not yet surrender to the SAP habit to allow only flat data structures?
‎2007 Oct 24 2:26 PM
Hey!
Don't loose heart.
You can enter Data.
When you double click on the table icon it show a complex long squeezed line .
So you can oversome thins by clickin a button tool bar which show tree Heirarchy.
Then you would be able to see field's and enter data in front of 'em
Cheers!
Nishant