cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice Printing Report/Smartforms RLB_INVOICE

Former Member
0 Kudos

Hi Experts

i am trying to get the information from Smartform , create PDF format and send to customer via email(Using TC:VF02) for that i did copy standard program "RLB_INVOICE" to Zprogram . i am getting the formname and FM name but not getting any information to Importing "ls_job_info".its giving an error like this "end command // missing in OTF data".please can anyone help me .

<

This the FM that i am using

  • call smartform invoice

CALL FUNCTION lf_fm_name

EXPORTING

archive_index = toa_dara

archive_parameters = arc_params

control_parameters = ls_control_param

  • mail_appl_obj =

mail_recipient = ls_recipient

mail_sender = ls_sender

output_options = ls_composer_param

user_settings = space

is_bil_invoice = ls_bil_invoice

is_nast = nast

is_repeat = repeat

IMPORTING

job_output_info = ls_job_info

  • document_output_info =

  • job_output_options =

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled =4

OTHERS =5.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

i got the spool id from standard program from there i changed the program according to my requirement.

Thanks for help

satyajit_mohapatra
Active Contributor
0 Kudos

Is your OTF data correct? OTF data starts and ends with '//'. Kindly check the OTF data in debugging mode.

Former Member
0 Kudos

Hi

its not pulling any data from importing ' job_output_info = ls_job_info'.i did debug the program .