on 09-07-2009 11:50 AM
Dear Experts,
Is there any standard function module to update the characteristic value in DMS module?
The requirement is:
A document is having a superior document. This superior document is having a characteristic field. And the status of this superior document is released (and locked). On assigning some value to a characteristic of child document, the characteristic of superior document should be populated with some value.
Is this possible through function module? please provide solution aif any...
Thanks
Sandeep
Dear Sandeep,
based on your description I think that the DMS BAPI_DOCUMENT_CHANGE2 could be useful for this action. This BAPI could be used to change existing document info record data and also its classification.
First I would recomment you to use BAPI_DOCUMENT_GETDETAIL2 which reads out the current data for a document info record. This data can then be modified by you and handed over to BAPI_DOCUMENT_CHANGE2. After the CHANGE2 BAPI was executed please use BAPI_TRANSACTION_COMMIT to realise the changes also in the database tables.
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.
Hello,
You populate an internal table with :
DATA wt_classalocation TYPE TABLE OF bapi_class_allocation WITH HEADER LINE.
DATA wt_characteristicvalues TYPE TABLE OF bapi_characteristic_values WITH HEADER LINE.
wt_characteristicvalues-classtype = '017'.
wt_characteristicvalues-classname = 'CUS_XXX'.
wt_characteristicvalues-charname = 'CUS_DATE_CREATE'.
WRITE sy-datum to wt_characteristicvalues-charvalue.
APPEND wt_characteristicvalues.
wt_classalocation-classtype = '017'.
wt_classalocation-classname = 'CUS_XXX'.
APPEND wt_classalocation.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
......
TABLES
characteristicvalues = wt_characteristicvalues
classallocations = wt_classalocation
.....
Thierry
Dear Sheild
This can be done with BAPI. Get in touch with your ABABP consultant he will guide you.
With Regards
Mangesh Pande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
12 | |
11 | |
6 | |
5 | |
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.