Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

A table for attachments

Former Member
0 Likes
2,543

Is there, in SAP, a table which shows me the number of documents attached to another one ?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,113

Check the table: DRAW

Regards,

Ravi

8 REPLIES 8
Read only

Former Member
0 Likes
2,114

Check the table: DRAW

Regards,

Ravi

Read only

0 Likes
2,113

Dear Ravi,

I've checked the table DRAW, but it doesn't show any data.....

Gandalf

Read only

Former Member
0 Likes
2,113

i hope there is no table which can give the no of attachments for sending mail

Read only

athavanraja
Active Contributor
0 Likes
2,113

which document you are talking about? you need to be bit more clear

Read only

0 Likes
2,113

I have to attach a file to a document created by t.code FB60.

Thanks!

Read only

0 Likes
2,113

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

Read only

0 Likes
2,113

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

Read only

0 Likes
2,113

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