cancel
Showing results for 
Search instead for 
Did you mean: 

Logic for InfoObject Texts Data

Former Member
0 Kudos

Dear experts,

I am currently implementing a reporting solution for error codes.

For every number in the code I have created an InfoObject.

The error code definition looks as follows:

1-Power0-Other0-Other0-Other
1-No Power0-Other0-Other
1-Power Cut out
2-No Charging0-Other0-Other
1-Charge Unstable
2-Operation0-Other0-Other0-Other
1-Freeze0-Other0-Other
1-System
2-Software
2-Software Application Issue0-Other0-Other
3-Detection Issue0-Other0-Other
1-Game Card
2-SD Card
3-Disc Drive

From the service provider, we are only getting the numers but not the corresponding texts, e.g. 1     2     0     1

This would mean I want to report the following texts: Power     No Charging     Other     Charge Unstable

As you can see, the columns have values whose text depends on the value in front e.g. If first number is 2 and second number is 1 it would mean Operaton-Freeze and not Operation-No Power.

My question is now how to implement this kind of logic. Is there any way to do this with Text Masterdata in the Infoobjects?

Thank you very much in advance!

Best Regards

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200967
Active Participant
0 Kudos

Hi Michael,

If you can get the error codes as a single infoobject vlaue and if the number of unique error codes are limited you can always hard code the text value according to error code, like if error code comes as 1201 , text can be hardcoded to "POWER NO CHARGING OTHER CHARGE".

Regards

Manpreet