cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Quote: Hide column based on indicator

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186648
Active Contributor
0 Kudos

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-app...

Thanks, Pradeep.

Former Member
0 Kudos

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

former_member186648
Active Contributor
0 Kudos

Hi Jurgen,

Could you share the dump screen.

Thanks, Pradeep.

Former Member
0 Kudos

Hello Pradeep,

here is a screenshot of the dump.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Jürgen,

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

HTH,
Horst

Former Member
0 Kudos

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

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Jürgen,

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

Bye,
Horst

Former Member
0 Kudos

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

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

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