on 09-28-2015 10:41 AM
Hi Experts,
Our client have one requirement which is not standard we need to customize that so its require Z_Development efforts
he require one tab in purchase order document so once he click on that particular tab it open one document which is already stored in DMS
can you please help me how could i configure this into DMS.
Many Thanks,
Aniruddha
HI,
I have created one folder in DMS under that i created some document,now i have to provide reference to ABAP person how could he check how many document are their in the folder and which is recent one so he can fetch the recnt document from folder.
Suppose Their are some folder's in which i stored some document in DMS now abaper want to fetch particular document from the folder how could he fetch that document from folder.
Many thanks for your previous response.
Regards,
Aniruddha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aniruddha
Hope your ABAP colleague is aware of the user-exit where this code goes.
He needs to call the FM:
call function 'BAPI_DOCUMENT_GETOBJECTDOCS'
exporting
OBJECTTYPE = 'EKPO'
OBJECTKEY = LV_OBJKY "concatenate PO no and PO item no.
tables " gives DMS document details.
DOCUMENTLIST = LT_DOCLIST.
The LT_DOCLIST table will have the DMS document details for this PO item.
Once you get this, READ this table and call the CV02N/CV03N transaction using the CALL TRANSACTION method with the parameters IDs of the 4 fields and don't forget to use SKIP FIRST SCREEN.
This should be fine i guess. Your ABAP colleague should be able to figure out things.
Let me know if you need more detail.
Regards,
Harsh
Hi,
I have created one document under the cv01n transaction now i want to link that document with customization tab when user click on tab that particular document get open each and every time abap person asking for the object thru which he can call that particular document
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the user exit of the custom tab, you may have to write a code the call the CV02N/CV03N t-code.
The code here will involve a call the FM: BAPI_DOCUMENT_GETOBJECTDOCS (let me know if you need the sample code for this).
The returned DOCUMENTLIST table would have the document details (like the document no, document part, document version and document type).
Next you call the CV02N/CV03N via BDC/BAPI.
Hope this helps.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
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.