cancel
Showing results for 
Search instead for 
Did you mean: 

Add header to Infospoke file?

Former Member
0 Kudos

Hello Experts,

Can we add header to the file generated from the Infospoke using BADI. Any suggestions and hints for the code highly appreciated.

Thanks,

BWer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi BWer,

BAdi implementation is made for this purpose but upto some extent like small addition of fields or manupulation of data you can do easily but the header requires lot of formating effort.

For your requirement I feel create a Process Chain use the Infospoke for extracting data in a file and after that include a ABAP Process in a Process Chain which will do the formating part like header.

In this case your ABAP code will be very simple and focused.

Hope this helps.

Regards,

Ashish

Former Member
0 Kudos

Wondering if we can add the header in the BADI itself. Is that a possibilty?

Many thanks in advance.

BWer

Former Member
0 Kudos

You cant simply add anything in BAdi implementation

You can only do the formating of data that's why I suggested you the other approach.

Former Member
0 Kudos

I am totally agreed with Ashish. I think The option of Process chain is simple and efficient way of handling it.

I don't think writing BADI is right way.

Regards

Sheshadri

Former Member
0 Kudos

Hi Ashish,

I have a requirement for creating headers to flat file exported from a infospoke .

Please can you give me a clue on the ABAP program you are talking about.

I really appreciate if you can share the code for me.

Thanks a lot !

Phillips

Answers (0)