cancel
Showing results for 
Search instead for 
Did you mean: 

Context mapping for multiline element

Former Member
0 Kudos

Hello

I am working on a scenario where I am binding multiline context elements for my line items. i.e. I am having RFC multiline structure imported as model into web dynpro.

I created necessary Context mappings but needs to understand whether we will have to explicitly set the table values into the table parameters or context mappings will take care of that?

Thanks in advance.

Regards

Rajeev

Accepted Solutions (1)

Accepted Solutions (1)

lajitha_menon
Contributor
0 Kudos

Hi there,

If the cardinalities allow , context mapping should take care of populating data. You dont have to write any code for that. Table will be populated automatically.

Regards,

Former Member
0 Kudos

Thanks for the reply. but how to create input fields into table multiple rows. actually i created table and added input fields.i increased table property of visibleRowCount which increased the rows of the table. But in that case, it creates the input fields with same names and id into another rows.

So just wanted to confirm whether table view can be used incase of input fields (specially incase where line items for PO or SO are to be entered)?

Regards

Rajeev

Former Member
0 Kudos

Hi,

You can create another column in the table by so you bind to the required.

Regards,

Saravanan K

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Rajeev

As I understand your question you need to provide InputFields not for all rows in the table but only for multiselected ones. Am I right?

In the case you can try to make all InputFields in not-selected rows as read-only or just disable them. In general you can change behaviour and view of row's InputField depending on the row properties in the table. Let me now if you need more information about how to implement this.

In addition, you can also use such table control as CellVariant. With it you can insert more then one cell editor in each cell of a table. For example, for some rows the cell editor can be as InputField, for others - as TextView.

BR

Sergei

Answers (0)