on 09-17-2008 11:24 AM
Inserting data in internal table in multiple lines.
This is done in JCO code as below.
How to achive the similiar requirment in Webdynpro.
JCO COde
JCO.Table input = function.getTableParameterList().getTable("T_LINES");
input.appendRow();
// standard text format for sap - not to be displayed
input.setValue("*","TDFORMAT");
// text in each table row
input.setValue(data,"TDLINE");
Hi Raghu,
Try following:
<Z_Table_ModelClass_name> input = new <Z_Table_ModelClass_name>();
// standard text format for sap - not to be displayed
input.setValue("*","TDFORMAT");
// text in each table row
input.setValue(data,"TDLINE");
function.addT_LINES(input);
If you do not know what to replace for <Z_Table_ModelClass_name>, place cursor inside the bracket in parameter brackets of code line function.addT_LINES(<place cursor here>) and press ctrl + space.. You will come to know object of which model class to pass.
Warm Regards,
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.