i have one requirement in webdynpro abap.i need somme stuff to achive this.let me explain my requirement first.
i have one view as main having file upload UI element and one action button as CREATE. now i perform browse and selected one file . now i am going to perform action on that create button it is should generate one DMS document number against the selected file and strore this file in DMS storage location.for this i have used 'BAPI_DOCUMENT_CREATE2' bapi inside Action of CREATE BUTTON. but it is showing error like 'Error while checking in and storing: D:\file1.doc'
MESSAGE Error while checking in and storing: D:\file1.doc
but when i am executing the BAPI 'BAPI_DOCUMENT_CREATE2' directly while passing the same data to bapi it is generating the document number perfectly.
i am new for this webdynpro could you please suggest me how can i overcome this problem.