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: 

Send Smartform Output to DMS

santosh_kumar94
Participant
0 Kudos
586

Dear all,

I have a requirement to send Smart-forms Output to DMS .

For Example : Suppose, i have to take a print of Production Order. so, whenever user clicks on print 1 copy should be saved to DMS.

How this can be achieved ??

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos
265

To manage the DMS, you could use these BAPI

  • BAPI_DOCUMENT_CREATE2
  • BAPI_DOCUMENT_CHANGE2
  • API_DOCUMENT_MAINTAIN2

And to convert a Smartform in PDF, check the chapter "Send the Smartform in PDF attachment with a text message" of my blog

4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos
265

I am surprise you did not find a lot of examples on internet about this

FredericGirod
Active Contributor
0 Kudos
266

To manage the DMS, you could use these BAPI

  • BAPI_DOCUMENT_CREATE2
  • BAPI_DOCUMENT_CHANGE2
  • API_DOCUMENT_MAINTAIN2

And to convert a Smartform in PDF, check the chapter "Send the Smartform in PDF attachment with a text message" of my blog

RAF
Active Contributor
0 Kudos
265

HI,

i did this once within the print program.

During printout get the formula (ADS) result pdf ( i thin it is binary) and send it to the DMS/Archive via function module ARCHIV_CREATE_OUTGOINGDOC_MULT

Sandra_Rossi
Active Contributor
0 Kudos
265

What kind of DMS, transaction codes CV* or external content repository?