Code: Alles auswählen.
* Diagnose für Druck aufbereiten
call method <pub__service>->api__get_value
EXPORTING
i_alias = 'ZPPHDIAG'
IMPORTING
e_value = <pub__my>->g_diag.
*Bemerkung für Druck aufbereiten
call method <pub__service>->api__get_value
EXPORTING
i_alias = 'ZPPBEMERK'
IMPORTING
e_value = <pub__my>->g_bemerk.
CALL FUNCTION 'NameFUBA'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
gs_diagn = <pub__my>->g_diag
gs_bemerk = <pub__my>->g_bemerk
* 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
.
Code: Alles auswählen.
data: l_bemerk type N2_STEXT_TAB.
*Bemerkung für Druck aufbereiten
call method <pub__service>->api__get_value
EXPORTING
i_alias = 'ZPPBEMERK'
IMPORTING
e_value = l_bemerk.
CALL FUNCTION '/NAMEFUBA'
EXPORTING
BEMERKUNG = l_bemerk
.