cancel
Showing results for 
Search instead for 
Did you mean: 

UI Switch is not Working for Pricing and Invoicing Tab (item pricing) under Sales order

former_member228663
Participant
0 Kudos

Hi All,

I am trying to create one UI Switch for Sales order "Pricing and invoicing" Tab where I want to hide Item pricing item tab.

So for this I have created sales order XBO, UI Switch and Sales order OIF screen through Cloud application studio.

I opened the sales order OIF screen and open the Price Calculation tab under this tab there is one Pricing EC (Embedded Component) I open this EC and I have selected my "Item pricing" line item and open the Extensibility Explorer.

Under Extensibility Explorer there is one operation "Adjust Properties" I opened it and assign my created UISwitch here and change the fields properties as "visible - False " for all fields and activate the screen changes.

Now when I am going to open any sales order- invoicing and pricing tab i am getting error, even though I didn't created any Business Role with my created UI Switch and didn't assign it to any user.

Why this error is coming?

Please guide me the right way to achieve this.

Thanks,

Manoj Kannaujiya.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200567
Active Contributor
0 Kudos

Hi Manoj,

We experienced the same and raised an incident. As far as I remember, it was not solved yet.

Best Regards,

Fred

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Fred, Manoj,

@Fred: Do you expereince the dump in the same UI for a similar UI Switch?

@Manoj: Can you ensure that this the complete change you made to this UI?

Because more or less all KUT changes are based on the same technique and they work.

Bye,

   Horst

former_member228663
Participant
0 Kudos

Hi Fred,

Thanks !

Do you have any work around for this ?

If yes, please let me know.

Thanks,

Manoj Kannaujiya.

former_member200567
Active Contributor
0 Kudos

Hi Horst,

I meant UI dump is happening only in "Pricing_EC".  It seems Pricing_EC is used by several other UIs.

Best Regards,

Fred

former_member200567
Active Contributor
0 Kudos

Hi Manoj,

The solution is a bit funny. We removed the whole Pricing tap from unauthorized users using UI switch in Undefined anchor.

Best Regards,

Fred

former_member228663
Participant
0 Kudos

Hi Fred,

Thanks.

I am waiting for response from SAP for the same.

Hope they will come with a positive response.

Thanks,

Manoj kannaujiya.