Tagged: TABLES component
I want to process some records that i have received via a trfc call in a TABLES parameter. I want to create a array with the entries from the EDI_DD40 tables attribute.
But whatever i try i can’t get the entries from the tables structure into an array of type string.
Could someone tell me what is wrong with this model ?
Attached some screenshots of the model
Retry of attachment.
I want to transfer the entries of the IDOC_DATA_REC attribute of the TABLES compontent to an E2E array with an element to type string.
This array is called EDI_DD40 and will be the input for the expansion node.
The model is fine.
What is not working?
Be aware that the statement will not copy the array but only set a reference:
set EDI_DD40 = self.IDocTable.IDOC_DATA_REC_40;
If you want to copy the values of an object or array you have to use the copy() method.
I have tried this, but no result.
it just skips the statement completely.
What to do ?
I used the Tables component instead of the TABLES and this did solve the issue for me.