* To check if the document contains any attachments. *
In many scenario we need to check if the document contains any attachments and I have also explored and found one function module which works for all documents types.
The name of function module is ARCHIV_GET_CONNECTIONS
1. To check if Purchase order contains any attachment.
· If you click on CONNECTIONS internal Table It will gives you the details about attached document type here it is word doc in purchase order as shown in below snap shot.
2. To check if Purchase Requisition contains any attachment.
If you want to find all the Purchase orders which have attachments then you can use the FM as shown in below snap shot.
Pass EKKO table name as OBJECTTYPE
Execte(F8). It will give all the PO which contains attachment.
In similar way you can pass the table name as OBJECTTYPE to this FM. It will give you that total attached documents.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |