hallo,
ich habe unter 46c ein smartformsformular erstellt, das per email versendet werden soll. nach dem upgrade auf erp2005 wird kein sendeauftrag mehr erstellt, obwohl kein fehler zurueck kommt.
wer hat erfahrungen damit gemacht? hier mein formularaufruf:
SE11-Strukturendefinition ZSSMARTFORMS:
MEDIUM CHAR01
USER_SETTINGS TDBOOL
.INCLUDE SSFCTRLOP
.INCLUDE SSFCOMPOP
RLOGSYS LOGSYS
ROBJTYPE SWO_OBJTYP
ROBJKEY SWO_TYPEID
RDESCRIBE SWO_DESCRB
SLOGSYS LOGSYS
SOBJTYPE SWO_OBJTYP
SOBJKEY SWO_TYPEID
SDESCRIBE SWO_DESCRB
gv_repid = sy-cprog.
gv_table_type = 'ADSMTP'.
gs_comm_values-adsmtp-smtp_addr =
ABC@test.de'.
.
* Fill import parameter for function OPEN_FORM
CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
EXPORTING
pi_comm_type = 'INT' " E-Mail
pi_comm_values = gs_comm_values
pi_country = 'DE'
pi_repid = gv_repid
IMPORTING
pe_itcpo = gs_options
pe_device = gs_zssmartforms-device
pe_mail_recipient = gs_mail_recipient
pe_mail_sender = gs_mail_sender
EXCEPTIONS
comm_type_not_supported = 1
recipient_creation_failed = 2
sender_creation_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
EXIT.
ENDIF.
gs_zssmartforms-rlogsys = gs_mail_recipient-logsys.
gs_zssmartforms-robjtype = gs_mail_recipient-objtype.
gs_zssmartforms-robjkey = gs_mail_recipient-objkey.
gs_zssmartforms-rdescribe = gs_mail_recipient-describe.
gs_zssmartforms-slogsys = gs_mail_sender-logsys.
gs_zssmartforms-sobjtype = gs_mail_sender-objtype.
gs_zssmartforms-sobjkey = gs_mail_sender-objkey.
gs_zssmartforms-sdescribe = gs_mail_sender-describe.
* Fill subject line of the E-Mail
gs_options-tdtitle = 'Jobanforderung'.
gs_options-tdtitle+15 = t9s007b-jobname.
gs_zssmartforms-tdtitle = gs_options-tdtitle.
* smartformdruck
CALL FUNCTION 'Z_FORMULAR'
EXPORTING
is_parameter = gs_zssmartforms
iv_xx = 'XX'
IMPORTING
ev_rc = gv_rcode
ev_rctext = gv_rctext.
im FB Z_FORMULAR:
* Ausgabegerät für Smart Forms Ausgabe
data: gs_smartforms_geraet TYPE ssfctrlop,
gs_smartforms_output TYPE ssfcompop,
gs_smartforms_recipient TYPE swotobjid,
gs_smartforms_sender TYPE swotobjid.
CLEAR gs_smartforms_geraet.
CLEAR gs_smartforms_output.
CLEAR gs_smartforms_recipient.
CLEAR gs_smartforms_sender.
MOVE-CORRESPONDING p_is_parameter TO gs_smartforms_geraet.
MOVE-CORRESPONDING p_is_parameter TO gs_smartforms_output.
gs_smartforms_recipient-logsys = p_is_parameter-rlogsys.
gs_smartforms_recipient-objtype = p_is_parameter-robjtype.
gs_smartforms_recipient-objkey = p_is_parameter-robjkey.
gs_smartforms_recipient-describe = p_is_parameter-rdescribe.
gs_smartforms_sender-logsys = p_is_parameter-slogsys.
gs_smartforms_sender-objtype = p_is_parameter-sobjtype.
gs_smartforms_sender-objkey = p_is_parameter-sobjkey.
gs_smartforms_sender-describe = p_is_parameter-sdescribe.
* Funktionsbaustein zum Ausrucken des Formulares
CALL FUNCTION p_gv_fname
EXPORTING
* archive_index =
* archive_parameters =
control_parameters = gs_smartforms_geraet
* mail_appl_obj = appl_object_id
mail_recipient = gs_smartforms_recipient
mail_sender = gs_smartforms_sender
output_options = gs_smartforms_output
user_settings = p_is_parameter-user_settings
* Übergabestrukturen am das Smartforms Formular
is_xx = P_xx
TABLES
it_xx = gt_xx
* importing document_output_info =
* job_output_info =
* job_output_options =
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Hier bekomme ich den SY-SUBRC = 0 zurueck.. in der SOST ist aber kein sendeauftrag erzeugt worden.
HAT HIER JEMAND AEHNLICHES ERFAHREN??
ich braeuchte ziemlich dringend einen tip..
gruss
bitfummler