on 12-30-2009 10:20 AM
Hello,
I need to make some local checkouts of documents from DMS SAP in a Web Dynpro Java application.
I develop a specific Bapi which is using the following functions : bapi_document_getdetail2 and
bapi_document_checkoutmodify2.
This Bapi works well when I call it from an abap program.
But when I try to call it from a WD Java application, the part of my bapi which interacts with the local workstation don't work.
By example, when I try a checkout into C:\... or into
server\.... :
- it works when this Bapi is called by an abap program.
- it doesn't work when this Bapi is called by a WD Java application.
Could you help me ?
Thanks a lot for your help.
Mathieu
The solution is :
- checkout on the application server (CVAPI_DOC_CHECKOUTMODIFY)
- read the file (READ DATASET)
- transform to xstring (SCMS_BINARY_TO_XSTRING)
- export by BAPI
- read the xstring field in WD java application (IWDResource)
- popup to edit the file locally (IWDWindow)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.