Skip to Content
0

Sales Quote: Hide column based on indicator

Nov 03, 2016 at 01:36 PM

123

avatar image

Hi community,

I would like to switch the visibility of some columns in the sales quote items based on an indicator. I extended the sales quote BO and added an indicator element to the Item node, then on the OIF screen I click on Adjust Properties for the items table. Then I set the Visible flag to Bound and selected my extension field.

However, if I open the screen in my browser an dump error message occures and I am not able to open the Items tab.

Is there a possibility to hide a column based on an element on the BO (since this functionality is given in the UI Designer)?

Thanks and best regards,

Jürgen

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Horst Schaude
Nov 03, 2016 at 02:37 PM
0

Hello Jürgen,

Did you activate the OIF after setting the property?
Did you clean up the cache of your browser?

HTH,
Horst

Show 6 Share
10 |10000 characters needed characters left characters exceeded

Hello Horst,

yes, I did both things - unfortunately they didn't stop the dump from occuring when I switch to the items tab.

Best regards,

Jürgen

0

Hello Jürgen,

If you undo your changes: Does the dump go away?
Because it may have some other issues. :-(

Bye,
Horst

0

Hello Horst,

yes if I undo my changes (delete the 'AddCondition' entry under Adjust Properties) the dump is gone and it works like it was before my change.

Thanks, Jürgen

0

Hello Jürgen,

I just learned that it is not possible to bind to an indicator which is NOT at the Root node level. :-(
(Hmm, let's say: it is possible, but won't work)

Is there any chance to move the indicator to the Root node?

Bye,
Horst

0

Hello Horst,

okay, that was also my thought.

Actually I want the indicator to be on the Root node, but I cannot select it on the binding (it does not show). Therefore I created one on the Item node, which is selectable but - as you said - won't work.

It seems like there is something missing, since it would make sense to be able to bind the visibility to an indicator on Root level.

Thanks, Jürgen

0

Hello Jürgen,

Okay, I forgot that the binding takes only the fields from the same node. :-(

I hope the colleague how is working on the issue with "indicator on sub-node" finds a solution.

Sorry,
Horst

0
Pradeep Kumar N
Nov 04, 2016 at 05:31 AM
0

Hi Jurgen,

Could you share the dump screen.

Thanks, Pradeep.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Pradeep,

here is a screenshot of the dump.

dump.png (99.5 kB)
0
Pradeep Kumar N
Nov 08, 2016 at 03:06 AM
0

Hi Jurgen,

There is no much information in the screenshot, hence:

1.Confirm if the dump is causing by the extension field by removing it and check if there is no dump
2. If there is dump after adding it, then report incident

You could also refer:

https://blogs.sap.com/2015/12/09/how-to-make-a-ui-flexibledynamic-using-ui-switch-in-sdkpdicloud-applicationstudio/

Thanks, Pradeep.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Pradeep,

I am sure that this change causes the dump to occur. An incident has been reported to on the 27th of October - no answer so far.

I am aware of UI switches, but I need this visibility to be dynamic, depending on said indicator element.

Thanks, Jürgen

0