Hi,
Can we create a new version with bapi_document_craete2? If it is possible please tellme where to pass parameters?
Shilpa
Request clarification before answering.
Hi,
yes you create a new version Document with BAPI 'BAPI_DOCUMENT_CREATE2' also. The BAPI has an importing parameter DOCUMENTDATA, pass the document values here.
DOCUMENTDATA-DOCUMENTTYPE = 'SPE'.
DOCUMENTDATA-DOCUMENTNUMBER = ' ' "any existing document number
DOCUMENTDATA-DOCUMENTVERSION = 'C' "new version
DOCUMENTDATA-DOCUMENTPART = '000'
DOCUMENTDATA-DESCRIPTION = 'Test DIR'.
Pass with above values into the BAPI in SE37 and test it. Call BAPI_TRANSACTION_COMMIT after the above BAPI in sequence.
Thanks & regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 12 | |
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 3 | |
| 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.