Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Need to get value for the field file_id in BAPI_DOCUMENT_GETDETAIL2


In BAPI_DOCUMENT_GETDETAIL2 , the field in tables parameter BAPI_DOC_FILES2-FILE_ID is always coming empty for most of the document


May I know at what type of input condition this fieldd could be populated?

Please let me know.


Bala Raja

Former Member
Former Member replied


The file id is only available if the document has been checked into SAP. This is done when the attachments are uploaded to the document, there is a check in button. If the file isn't checked in then the source resides outside of SAP (i.e. on the network or local PC directory).


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question