-
Hi, would like to create a new document and check-in a local file. For that I'm calling the
This works to create a document only. But if I try to check a file additionally with BAPI_DOCUMENT_CREATE2 Does it has to do with with missing callback functionality in the pyrfc library? Better with another library? If I can use pyrfc for that, an example would be great. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello Bernhard, RFC callback functionality is not supported any more, no matter which library (Python, Node, Java ...) Whether to use another BAPI is hard to say, it depends on scenario, system release, requirements, etc. but there is nothing wrong with using After brief investigation, you could try calling the BAPI as described here: If you have access to ABAP dev environment, you can you call BAPI also from ABAP SE37 transaction or from ABAP report, to verify parameters and check if error related to Python/PyRFC. It does not seem to be the case, looks more like the right parameter combination needed to call this particular BAPI Kind regards, Srdjan |
Beta Was this translation helpful? Give feedback.
-
Hello Bernhard, this repository supports BAPIs and FMs consumption in general. There are many BAPIs and I am not familiar with usage details for all of them. For questions about BAPI_DOCUMENT_CREATE2 and other Document Management BAPIs, I would suggest to check with respective DMS experts and consultants. Sorry that I can't help with PF_FTP_DEST and PF_HTTP_DEST parameters either. Kind regards, |
Beta Was this translation helpful? Give feedback.
Hello Bernhard,
RFC callback functionality is not supported any more, no matter which library (Python, Node, Java ...)
Whether to use another BAPI is hard to say, it depends on scenario, system release, requirements, etc. but there is nothing wrong with using
BAPI_DOCUMENT_CREATE2
either.After brief investigation, you could try calling the BAPI as described here:
https://wiki.scn.sap.com/wiki/display/PLM/Calling+DMS+BAPIs+from+external+RFC+clients+without+using+CALLBACK+mechanism
https://blogs.sap.com/2013/11/25/create-an-sap-dms-document-attaching-a-file-from-the-application-server-and-checking-in-an-ftp-vault-with-automatic-filename-creation/
If you have access to ABAP dev enviro…