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: 

...from inbound email (if_document_bcs) to a DMS document ?

Former Member
0 Kudos
140

Dear SAP gurus...

We are receiving inbound email, and we are planning to develope a rule in transaction SO50 for saving the email as a DMS document...

Please advice.

method if_inbound_exit_bcs~process_inbound.

try.

 

  data: document type ref to if_document_bcs.

  document = io_sreq->get_document( ).

*-------and now run a bapi for creating a dms document ???

Regards,

Erik

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
55

Try BAPI_DOCUMENT_CREATE2.

Regards,

Raymond

0 Kudos
55

Thanx for information....

I guess I can run method AS_MIMEDOCUMENT and receive MIME_DATA (data stream), but how can I create a DMS from a data stream ?