cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic execution of a toolbar in a Table-view

Former Member
0 Kudos

Hi friends!

Based upon a BAPI I retrieve a lot of fields, and make some calculations.

Now, I want to add a filter based only on the rows, where one field I calculated is "true". I can do the calculation of the field only after the BAPI has returned the data.

And then my question is how to only display the "subset" of the data in the table.

I tried use a filter, but apparently I cannot use a filter based on a table.. only direct from BAPI+s.

Any other ideas would be welcome in how to achieve this.

/jakob

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

You can add a bollean field to the outport of the BAPI and set it to be calculated as you want, and then drag the Filter from the bapi and use this field for filter.

Regards,

Luba.

Former Member
0 Kudos

That sounds good.

But how do I add a boolean field to the outport? Pls clarify.

Is it in the Visual Composer - or is it in the back-end (eg. modifying the BAPI).

And if it is in the VC - then how do I add the field, via a table or just as a field?

Sorry for all the questions, but it seems that we are getting to a solution. Hopefully. I will sure remember to award points afterwards.

Best regards

Jakob Diness

Former Member
0 Kudos

1. Select the outport of the bapi

2. Go to the configuration panel

3. In the output field add another field , set his type and name (the field will be added in blue color)

4. Stand on the added field and at the bottom add the calculation formula in the compute field.

Now you can use the new field as he was one of the bapi's fields.

Hope this helped you,

and don't forget to give points.

Regards,

Luba.

Former Member
0 Kudos

Thx a lot, I learn a bit every day )

Answers (0)