문제

I am trying to backup the reports using SAP BO SDK in C#, but i am not able to figure out as to how to specify a location on disk.

도움이 되었습니까?

해결책

Your question is a little unclear, so my response will be somewhat generic.

If you are trying to copy a report in CMS to a different CMS folder, all you need to do is create a copy of the underlying infoObject, and set its parent_id to the id of the destination CMS folder (Alternatively, change the name of your copy). The location on disk is all managed by the input file server, so you don't need to worry about it.

If you need to backup the report somewhere on the server, you'll need to get a hook to the content stream and write it to a file as you would with any other stream. In this case, you are responsible for providing a file location and name.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top