on 06-08-2011 12:58 PM
Hello everyone,
I've coded this:
METHOD check_in_attachments.
CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
EXPORTING: documenttype = dokar
documentnumber = doknr
documentpart = doktl
documentversion = dokvr
PF_HTTP_DEST = 'SAPHTTP'
PF_FTP_DEST = 'SAPFTP'
IMPORTING: return = return
TABLES: documentfiles = documentfiles.
IF return-type CA 'EA'.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
ENDMETHOD.
and I'm calling this method from my webdynpro for ABAP program but I'm getting the error:
Error while checking in and storing: c:\myfile.txt
When I invoke the same method from a report it works all right.
The destinations SAPHTTP and SAPFTP are working okay (report RSHTTP05 ).
Could any one help me on this?
Thank you.
Hi,
I dont have an idea about this fm. But I think so it uses gui screens or something else like that. If it is true you can not use this fm in WDA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.