cancel
Showing results for 
Search instead for 
Did you mean: 

MSS Compensation Planning Notes Column Stroing garbage

Former Member
0 Kudos

Hi ,

Notes column in Compensation Planning ( MSS 600 , EP 7) when edited and long text ( > 78 )is entered is storing garbage.

I know the line/ row length of a the table communication the rfc is 78 fixed.

The problem is that the code below is correctly cutting the text of lines of 78 each but then does not store the table with multiple rows only the top row gets over written and stored.

Any ideas - how to add multiple rows to it ( the line highlighted ) -

Hrecm00Text textList = new Hrecm00Text();

String bufferText = "";

int index = 0;

if (noteText != null) {

while (index < noteText.length()) {

if (index + 78 < noteText.length()) {

bufferText = noteText.substring(index, index + 78);

} else {

bufferText = noteText.substring(index);

}

textList.setText_Line(bufferText);

index = index + 78;

input.addText_Tab(textList);

bufferText = "";

}

} else {

input.setText_Tab(new Hrecm00Text.Hrecm00Text_List());

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hrecm00Text is defined in Java Dictionary as structure . .. . of line text_line with length 78

Former Member
0 Kudos

Any one ?