on 09-08-2012 12:52 PM
Hi,
I am calling a bapi to run in background from .net.I want to store the documents directly to storage categories (DMS_C1_ST).
Can anyone provide me the solution ASAP.
Regards,
veeramani
Hi,
You can use the structure BAPI_DOC_FILES2 for the internal table to be passed in the BAPI . For storagecategory you can hard code ur category.
It should be something like this.
Data:
lt_documentfiles type table of bapi_doc_files2.
refresh lt_documentfiles.
clear ls_documentfiles.
* BUILD 'DOCUMENTFILES' TABLE
ls_documentfiles-documenttype = ls_datatab-doc_type..
ls_documentfiles-documentnumber = '*'.
ls_documentfiles-documentpart = '000'.
ls_documentfiles-documentversion = '00'.
ls_documentfiles-sourcedatacarrier = 'PC'.
ls_documentfiles-storagecategory = 'DMS_C1_ST'
translate ls_datatab-filetype to upper case.
ls_documentfiles-wsapplication = ls_datatab-filetype.
Hope this helps.
Best Regards,
Simran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.