on ‎2013 Feb 21 11:56 AM
Hi guys,
I am in using the BAPI BAPI_DOCUMENT_CREATE2 for Data Migration.
Consider 2 Systems Source - S Target - T and Document Number D1
Now the Problem.
Suppose i am creating Document D1 on my system and checking it in it stores the orignal path as my system path for the file. This does not matter if i am opening the document from anyother system. But when i am using the CREATE FUNCTION MODULE it does not consider it to be checed in and it checks the DOCFILE variable of table T_DOCUMENTFILES and picks the file from there.
The error message i am getting is unable to check in FIle "\\................................"" this is the same value stored in t_documentfiles-DOCFILE
This is not what i want.
My purpose is to pick any document number and migrate its attached files picking the path from the Storage Category.
Any help would be grateful
Thanks and Regards.
Devrath Sampat
Request clarification before answering.
Hi Devrath,
regarding your description I don't think that the BAPI will be the best solution. I think that it would be even better to use the IDOC functionality and transfer document info records by using DOCMAS IDOCs from transaction BDA5.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Devrath,
regarding BDA5 I can tell you that you have to enter the document data and of course the logical system value. Because this is important for sending the documents to the right target system.
The logical system values could be customizing in transaction WE20 and this partner profiles are the basis for a correct ALE transfer.
I hope that this information could be useful for you.
Best regards,
Christoph
| User | Count |
|---|---|
| 26 | |
| 14 | |
| 10 | |
| 9 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.