on 11-26-2010 9:49 AM
Hi Everyone,
I have created document through BAPI_DOCUMENT_CREATE2 and given the input values as below
DOCUMENTDATA:
DOCUMENTTYPE- DES
DOCUMENTDESCRIPTIONS:
LANGUAGE - EN
DESCRIPTION - TESTING FROM BAPI
OBJECTLINKS:
OBJECTTYPE - MARA
OBJECTKEY - 1000 MILES
DOCUMENTFILE:
WSAPPLICATION - TXT
DOCPATH - C:\USERS\V-KISHRK\DESKTOP
DOCFILE - WSDL.TXT
when i executed the function it returns Document number and other details, but when i check in CV01N with that document number
it showing error like data is not exsists.
DOCPATH and DOCFILE are from my desktop(local mechine).
Please tell me what input values i need to give.
Thanks,
Kishore
Hi
Are you executing this FM in SE37 or in a Z-program?
As "when i executed the function it returns Document number and other details, " means the docement is generated in system.
Regards
Neelima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes,
COMMIT WORK is important.
But the path should end with "\"
Are you using parameter pf_ftp_dest ?
When working from local machine it should be: 'SAPFTP'
When the application server shoul pull the document apply 'SAPFTPA' and place original in a share the application server can reach.
Regards
Daniel K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishore,
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
pf_ftp_dest = 'SAPFTPA'
....
IMPORTING
....
And perhaps see note 504692:
https://service.sap.com/sap/support/notes/504692
regards
Daniel
Hi
Please do commit work with "BAPI_TRANSACTION_COMMIT" and check in cv02n.
Regards
Neelima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
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.