‎2008 Jul 01 7:02 PM
Is there, in SAP, a table which shows me the number of documents attached to another one ?
thanks
‎2008 Jul 01 7:05 PM
‎2008 Jul 01 7:05 PM
‎2008 Jul 02 9:42 AM
Dear Ravi,
I've checked the table DRAW, but it doesn't show any data.....
Gandalf
‎2008 Jul 01 7:10 PM
i hope there is no table which can give the no of attachments for sending mail
‎2008 Jul 02 10:00 AM
which document you are talking about? you need to be bit more clear
‎2008 Jul 02 10:29 AM
I have to attach a file to a document created by t.code FB60.
Thanks!
‎2008 Jul 02 10:34 AM
to get list of all documents attached to the document (created via FB60) you can use FM
BDS_ALL_CONNECTIONS_GET
to create attachment programatically you can use FM
BDS_BUSINESSDOCUMENT_CREATEF
if you want to run the program which is going to attach documents, in batch mode (background) then search the SDN weblog area about attach document background, you will find sample code.
Raja
‎2008 Jul 02 1:54 PM
Launching the SE37 for the FM BDS_ALL_CONNECTIONS_GET
I have to fill in these fields:
LOGICAL_SYSTEM
CLASSNAME
CLASSTYPE
OBJKEY
CLIENT
ALL
NO_AL_DOCS
NO_GOS_DOCS
CHECK_STATE
- my document number is 2000044, doc. type KR
- I've attached a file. The attachmentFor is 100000020000442007
How can I obtain the attachments list?
Thanks
‎2008 Jul 03 11:12 AM
I've filled the fields in the FM BDS_ALL_CONNECTIONS_GET
in the follow way
LOGICAL_SYSTEM
CLASSNAME BKPF
CLASSTYPE BO
OBJKEY 1000*2007
CLIENT 200
ALL X
NO_AL_DOCS
NO_GOS_DOCS X
CHECK_STATE
With these data the FM DS_ALL_CONNECTIONS_GET
provide me the total number of file attached to the documents for tha Company code 1000, year 2007.
Unfortunately, the FM show me only the files attached via t.code OAOR. I can't see the files attached via t.code FB03 (or FB02) to the same document.
Is there a solution for this?
Thanks
Gandalf