Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with CLAF_CLASSIFICATION_OF_OBJECTS

Former Member
0 Likes
2,201

Hi,

I calling Function module 'CLAF_CLASSIFICATION_OF_OBJECTS' for a given Class and characteristic description , I am reading its value.

The characteristic value is not mandatory to maitained , so when no data was maintained for a given Class and characteristic description space was coming as output from the Function module which is correct.

But strangely for some reason when I run the same program and when no data is maitained , the charcteristic value instead of giving space it is giving '?' , any idea why this happens ?

Regards,

Senthil

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,534

Hi,

if ausp1 = ? ... then it indicates there is no characteristics value maintained. I think so the space is coming because once it was maintained and then later the value was deleted may be. So in your condition you can surely consider ? and space both.

I think so the ? will be mentioned in the documentation of fm itself. Did you check it ????

Read only

0 Likes
1,534

Hi Keshav,

I did cross checked theFM ,,, there is no mention of this .

Will also cross check whether this issue exsists even without giving any value into classification in the first instance.

Regards,

Senthil

Read only

Former Member
0 Likes
1,534

Hi senthil,

This FM will always behave in this way only.

so no need to worry just add condition in your program to check ?.

I have done in my many progrms in this way.

hope this will help you.

Thanks,

dhiraj.

Read only

0 Likes
1,534

Hi Senthil,

That is the standard behaviour, when there no value it shows '?'.

Regards,

Kusuma

Read only

Former Member
0 Likes
1,534

OK