log file handling in BDC
I want to store the log message into a folder on aplication server of BDC process (either success or error msg).
Folder path is taken from the user, n i want to store these success n error msg logs into different folder(1 for success n 2nd for error) for this i think i need to create these 2 folders at run time n store logs in corresponding folder. Is it possible.. if yes thn please guide me.
Thanks in advance...
helpful answer will be rewarded.
Kev Mycock replied
Try FM BRAN_DIR_CREATE to create a folder.
However consider - if the BDC is being run by many users, then they would need write access to the application server. This maybe isn't good for security purposes...
If you just want to store the results of BDC for troubleshooting etc, then you could instead create a bespoke DB table and store the results there when they happen. Less involved than having lots of files sitting around...