Skip to Content
author's profile photo Former Member
Former Member

Logic for InfoObject Texts Data

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-Power 0-Other 0-Other 0-Other 1-No Power 0-Other 0-Other 1-Power Cut out 2-No Charging 0-Other 0-Other 1-Charge Unstable 2-Operation 0-Other 0-Other 0-Other 1-Freeze 0-Other 0-Other 1-System 2-Software 2-Software Application Issue 0-Other 0-Other 3-Detection Issue 0-Other 0-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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 08, 2016 at 01:01 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.