Skip to Content
0

Unable to load exception name in design studio.

Jun 15, 2017 at 07:56 AM

93

avatar image

Hi

I want to list out exceptions which are created in back end Bex query to list box in design studio.

Issue is, when I use method GetConditionalFormatName(Exception ID) to get description of exceptions, I am always getting name as Exception1 even though proper name is maintained in back end query.

I am using following script to populate exception name in list box.

var Exception = DS_2.getConditionalFormats();

Exception.forEach(function(element, index){


LISTBOX_EXCEPTION.addItem(element,DS_2.getConditionalFormatName(element);

});

I know that correct answer is mentioned in following thread but the same is not working in my case.

https://archive.sap.com/discussions/thread/3662623

Thank you in advance.

Darshil Shah

10 |10000 characters needed characters left characters exceeded

Hi Darshil,

Can you double check your BEx Query and also post a screenshot of the exception definitions in Query Designer? I have just tested your code and it returns the correct exception names in my case.

Regards,

Mustafa.

0

Hi Mustafa,

Exceptions are defined correctly in back end Bex query.

As requested, Please find following screen shots,

Bex screen shot,

Design studio screen shot,

Does it look like any language related issue?

Thanks,

Darshil Shah

mjtvx.png (27.5 kB)
p0o0m.png (24.6 kB)
0

Hi Darshil,

I don't think it would be a language related issue. Here are some more questions though:

1) Are you running this application locally or on the BIP?

2) What version of Design Studio are you running? If you are executing on BIP, what version of BIP are you running? (By the way, you should always include this information whenever you post a question.)

Regards,

Mustafa.

0

Hi Mustafa,

Next time will keep in mind to include platform information in post.

I am checking application at local as well as BI platform level.

We are using Design studio 1.6 SP3 and BIP 4.2 SP3

Thanks,

Darshil Shah

0

Is your BIP Design Studio add-on version exactly the same version as your Design Studio client, i.e 1.6 SP3?

0

Hi Mustafa,

I need to check with basis team.

Will check and let you know.

Thanks,

Darshil Shah

0
Show more comments

Hi Mustafa,

BIP design studio addon version is 16.4.1 while design studio client version is 16.3.1

Thanks,

Darshil Shah

0
Show more comments

Are your exceptions active in the BEx query? There is a flag on the right

Also, can you run your BEx query and do the exceptions actually appear in the Query Designer?

0

Hi Tammy,

All the exceptions are active and also I can see after executing Bex query.

Thanks,

Darshil Shah

avyhc.png (38.8 kB)
0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tammy Powlas
Jun 15, 2017 at 09:45 AM
0

Darshil - does this SAP Note apply to your exceptions? See https://launchpad.support.sap.com/#/notes/1372271/E

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Tammy,

Thanks you for your update.

I am just trying to get the description of exception defined in backend system however issue highlighted in SAP note is for exception highlighting features.

Thanks,

Darshil Shah

0

Darshil - how about limiting the number of exceptions, then try running your application in Design Studio again?

Also, the logon shows Joachim, but I assume you logged in as yourself? Just wondering if it is a possible SAP Community issue. Thank you

0

Hi Tammy,

Even I tried with only 2 exceptions but still it is not working.

Thanks,

Darshil Shah

0