Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2801

Re: Change Mail Subject for Billing Doc in VF31

$
0
0

Hi Sree,

 

Goto Your Driver Program  

 

Might already Declared check & change your subject

 

data :gv_subject TYPE sodocchgi1.

 

gv_subject -obj_descr  =    'Your VF31 Subject '

gv_subject - sensitivty =    'P'.



pass your subject value to gv_subject -obj_descr   and try


CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'

           EXPORTING

             document_data              = gv_subject  " Your subject add here ,

             document_type              = 'HTM'

             put_in_outbox              = 'X'

             commit_work                = 'X'

           TABLES

             object_header              = it_table

             object_content             = it_table

             receivers                  =  it_table

           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

             OTHERS                     = 8.



Kabil


Viewing all articles
Browse latest Browse all 2801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>