Application Development 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: 

attachment to customer

Former Member
0 Kudos
43

HI,

I want to add document to customer master data. It means we have pdf documents(contract agggrement) on pc.I need to attch this documnets to bussiness partner in master.please can you send some code or some steps .

I found class :cl_crm_document.

but iam not able to implement it.

please give me some suggestions.

Thanks

swathi.

1 REPLY 1

Former Member
0 Kudos
21

Will the following BAPI's work for your case?

BAPI_DOCUMENT_CHANGE2

BAPI_DOCUMENT_CREATE

The documentation of these BAPI's states that Object Links can be added (see the OBJECTLINKS table parameter in both of these BAPI's). The business object (transaction SWO1) is DRAW.

You may also find something helpful in development class CV "Document Management".

Regards,

James Gaddis