‎2018 Nov 05 4:54 PM
I would like to be able to execute SE16 in the background. Then, save the ouput to a shared network drive.
Is this something that it can be done in SAP ECC ?
‎2018 Nov 06 11:56 AM
‎2018 Nov 05 5:25 PM
Not sure about SE16; it lives within a function group but SE16N calls program RK_SE16N. You should be able to direct the output when setting up the background job.
If the goal is to get the output product to a network drive, then you can do that manually from the results display of SE16 using the menu path:
System->List->Save->Local File
The system will display a dialog box and you can then select the target location from the dialog box.
‎2018 Nov 05 5:40 PM
Thank you Loyd.
I have found limiitations on SE16N; the same on SE16. SE16N does not output all the fields from a table. For example, table MARA that has 230 fields .. SE16N does not output all the 256 fields. I am not sure if this an user restriction or if it is a limitation on SE16N (RK_SE16N program).
Any idea on this restriction ?
‎2018 Nov 06 7:44 AM
jbarberena2, if you want to save all the fields, SE16 in background (or SE16N) is not your choice.
Better to write a custom report that writes a file on the server.
The max output lenght, if i remember well, it's 255 characters for the list generated by the background job (or you have to create a custom endless page) and you'll have the same problem.
‎2018 Nov 06 11:56 AM
‎2018 Nov 06 2:12 PM
florian.henninger Thank you for the information.
I will look at this function as it appears that it will be provide me with what I am looking for.
From the code below from the funtion; if I understand it correctly, I can make the "i_field_seperator = ',' " char1" to be any character I want. For example I can change it to "i_field_seperator = '|' " char1" ... From this sample, I am making the field seperator to be a pipe delimited character .... is this correct ?
CALL FUNCTION 'CBRC_LIB2_CONVERT_ITAB_TO_CSV' "
EXPORTING
i_field_seperator = ',' " char1 Separator
‎2018 Nov 07 11:53 AM