cancel
Showing results for 
Search instead for 
Did you mean: 

Open Hub - Add header line to file on server.

Former Member
0 Kudos

Hi All,

How can I add header description to the file being generated in the server from the Open Hub. The open hub generates a fiule with data fields only, however i want a header line.

Example

IF my data fields are displayed as below,

John M 12 2344

Thomas M 17 8960

Lin F 10 8467

Jan M 12 4323

I need to add, description as NAME above John, Thomas, Lin etc.

as GENDER above M,M,F etc.

as CODE above 12, 17,10 etc. and

as EXTENTION above 2344, 8960,8467 etc

Can anyone help.

Points will be assigned

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

i don't think this can be done even in BADI.

what you can do is once the Infospoke run is complete and the file generated , run a custom report for this.

in the custom report open a file dataset , write header and then close the file dataset.

then again open the file dataset in append mode , writhe the file that the infospoke generated and close the file dataset.

include this custom program after you infospoke run in the process chain.

Regards,

Neeraj.

Former Member
0 Kudos

Hi,

As I understand we get two files as output of Open Hub destination (Data file and Meta Data File) and it is not possible to combine metadata and data in single file.

Regards,

Durgesh.