on 09-11-2012 6:41 AM
Hi all,
When BAPI_DOCUMENT_CREATE2 is called in webdynpro abap it is not generating correct document no.(10000000322 ) but when i execute seperately the correct number is getting generated (like AP01DRW1000230). i have checked giving the host name, pf_ftp_dest and pf_http_dest also, still its not working...
can anyone help me on this.
Thanks all,
This function module returns docnr , it is correct ( number is correct )
To open the document you have to use following function module
'BAPI_DOCUMENT_CHECKOUTVIEW2'
'SCMS_DOC_READ'
'SCMS_BINARY_TO_XSTRING'
Before calling the FM 'BAPI_DOCUMENT_CHECKOUTVIEW2' you have to read data deom databse
select single * from dms_doc_files
into ls_dms
where doknr = lv_doc_num.
Here lv_doc_number is the number , returned by BAPI_DOCUMNET_CREATE2.
Please let me know if you have any problem
Thanks
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.