BAPI_DOCUMENT_GETDETAIL2 is working in SE37 but its not working in program. Can anyone please identify the problem why is it not working?