cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping of input Stream data onto a file at respective fields

Former Member
0 Kudos

Hi,

Can Anyone provide me info regarding how to Map (Using Java Mapping) a Huge amount of Incoming Arrays of Data from an IDOC onto a File in its Specified Fields?. If Possible provide me some examples.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If I understood your question correctly then you want to store the incoming file (binary data) into MDM Binary Objects or some other table. This can be done easily using the Java API.

For example, if you want to save file XYZ.dat in MDM, then you need to read the file and create a byte array or InputStream. Now once you have the file in binary format, you can use BinaryBlobRecord to create a record of that type and assign the binary value that you have in the byte array. After this you need to use CreateRecordCommand to create the record by passing the BinaryBlob Object.

Hope this helps!!

Cheers,

Arafat