Skip to Content


Hi Gurus,

I am having issues with the following senario and require abap, loading to a DSO.


Material Error Code

S-123 01|23|5|1

A-123 23|4

B-124 20


Materil error code

S-123 01

S-123 23

S-123 5

S-123 1

A-123 23

A-123 4

B-124 20

I have to split the records at '|' and add a new record if multiple error codes exist. Any help is appreciated.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2014 at 11:36 AM


    You must have material number and error code as key fields in your DSO. This will ensure that all the unique combinations of material no. and error codes are update in the DSO.

    You can write the code at the transformation level. Counting the no. of "I" present in the error code for each material and then looping as many times you can update the unique combination of material no. and error code to the DSO.



    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.