Problem solve Get help with specific problems with your technologies, process and projects.

Sending SMTP email through SAP

For sending SMTP email thru SAP, you can use following function module.

For sending SMTP email through SAP, you can use following function module. 'SO_NEW_DOCUMENT_SEND_API1' You have...

to use SU01 and enter the Internet address for the UserID from which you are going to run the function module above.


CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'             
     EXPORTING                                        
          DOCUMENT_DATA              = MAILHEADER     
          DOCUMENT_TYPE              = 'RAW'          
          PUT_IN_OUTBOX              = 'X'            
     TABLES                                           
           OBJECT_CONTENT             = OBJCONT       
          RECEIVERS                  = RECEIVER       
     EXCEPTIONS                                       
          TOO_MANY_RECEIVERS         = 1              
          DOCUMENT_NOT_SENT          = 2              
          DOCUMENT_TYPE_NOT_EXIST    = 3              
         OPERATION_NO_AUTHORIZATION  = 4              
         PARAMETER_ERROR             = 5              
         X_ERROR                     = 6              
         ENQUEUE_ERROR               = 7

Dig Deeper on SAP Basis

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close