on 2008 Nov 20 8:16 PM
1. I'm using BAPI_DOCUMENT_CREATE2 to create new DIRs for a document type Z03. However, when I try to use the same BAPI to create new versions for existing DIRs for this same document type I get the error E26 014 "Document type Z03 can only assigned numbers internally". I assume due to our Z03 configuration I will have to use BAPI_DOCUMENT_CREATENEWVRS2 to create a new version for an existing DIR, correct?
2. How do I use BAPI_DOCUMENT_CREATE2 to create long text for the Description field (Document Data tab)? I'm trying to use the tables parameter LONGTEXTS but I'm obviously missing something.
We're on R/3 4.7.
Thanks,
Brad
Request clarification before answering.
1. BAPI_DOCUMENT_CREATE2 should also work for creation of new version. Check if u have versioning on or not for Z01. Probably note "1018184" should help u.
BAPI_DOCUMENT_CREATENEWVRS2 is lso a gud option if u want to copy some data from previous version of DIR.
2. u need to set "X" for usage of long text assignment in the BAPI.
Points Appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
15 | |
9 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.