Buenas tardes, quisiera saber en donde podria buscar en donde se alojan las plantillas de los contratos de los empleados, ya que debo ingresar una nueva plantilla hecha en word y modificar la que ya existe. Favor su ayuda.
no se si te refieres a esto:
h_tps://help.sap.com/saphelp_sourcing_70_p/helpdata/es/da/207cc3d4e740859fc79319db2ea9f6/frameset.htm
suerte
Hola @Patati bueno creo que no supe explicar. Creo que se encuentra en un container. Pero primera ves que veo esto no se si podras ayudar como buscar.
Copio Codigo donde creo que deben estar
FORM load_container .
CHECK cl_control IS INITIAL.
CALL METHOD c_oi_container_control_creator=>get_container_control
IMPORTING
control = cl_control.
* CREATE OBJECT cl_container
* EXPORTING
* container_name = 'CON_WORD'.
* CALL METHOD cl_container->set_visible
* EXPORTING
* visible = space.
CALL METHOD cl_control->init_control
EXPORTING
r3_application_name = 'Base R/3'
inplace_enabled = space
inplace_scroll_documents = space
parent = cl_container
register_on_close_event = 'X'
register_on_custom_event = 'X'
no_flush = ' '.
gwa_doc_signature-prop_name = 'DESCRIPTION'.
gwa_doc_signature-prop_value = gd_plaren.
APPEND gwa_doc_signature TO gdt_doc_signature.
CREATE OBJECT cl_doc_instance.
CALL METHOD cl_doc_instance->get_info
EXPORTING
classname = doc_classname
classtype = doc_classtype
object_key = doc_object_key
CHANGING
components = gdt_doc_components
signature = gdt_doc_signature
EXCEPTIONS
nothing_found = 1
error_kpro = 2
internal_error = 3
parameter_error = 4
not_authorized = 5
not_allowed = 6.
CALL METHOD cl_doc_instance->get_with_url
EXPORTING
classname = doc_classname
classtype = doc_classtype
object_key = doc_object_key
CHANGING
uris = gdt_doc_uris
signature = gdt_doc_signature
EXCEPTIONS
nothing_found = 1
error_kpro = 2
internal_error = 3
parameter_error = 4
not_authorized = 5
not_allowed = 6.
FREE cl_doc_instance.
READ TABLE gdt_doc_uris ASSIGNING <fs_uris> INDEX 1.
IF sy-subrc EQ 0.
CALL METHOD cl_control->get_document_proxy
EXPORTING
document_type = document_type
register_container = ' '
IMPORTING
document_proxy = cl_document.
CALL METHOD cl_document->open_document
EXPORTING
open_inplace = space
document_url = <fs_uris>-uri
protect_document = ' '.
CALL METHOD cl_document->has_form_interface
IMPORTING
is_available = has.
IF has IS NOT INITIAL.
CALL METHOD cl_document->get_form_interface
IMPORTING
f_interface = cl_handle.
IF cl_handle IS NOT INITIAL.
CALL METHOD cl_handle->get_data
EXPORTING
all = 'X'
IMPORTING
fields = gdt_table.
CALL METHOD cl_handle->protect
EXPORTING
protect = ' '.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. " LOAD_CONTAINER
AQUI selecciona la plantilla a utilizar:
SPAN { font-family: "Courier New"; font-size: 10pt; color: #C0C0C0; background: #16152B; } .L0S31 { color: #3CB371; } .L0S32 { color: #FF00FF; } .L0S33 { color: #FFDA6A; } .L0S52 { color: #009DE0; } .L0S55 { color: #FF00FF; } .L0S70 { color: #808080; } *PLANTILLA A IMPRIMIR
CLEAR: gd_plaren,
ld_tiplant.
IF r_plain EQ 'X'.
ld_tiplant = 'I'.
ELSEIF r_plare EQ 'X'.
ld_tiplant = 'R'.
*Added by Gurvinder Kaur tkt-6173: undetermined contract- Start
ELSEIF r_acti = 'X'.
ld_tiplant = 'A'.
ELSEIF r_renon = 'X'.
ld_tiplant = 'N'.
ELSEIF r_ingrr = 'X'. "A-SOFTECH ARC 21012019
ld_tiplant = 'A'.
ELSEIF r_renor = 'X'. "A-SOFTECH ARC 21012019
ld_tiplant = 'A'.
*Added by Gurvinder Kaur tkt-6173: undetermined contract- End
ELSE.
ld_tiplant = 'U'.
ENDIF.
READ TABLE gtd_constantes ASSIGNING <fs_constantes> WITH KEY field = 'PLANTI' const = ld_tiplant low = pnpbukrs-low.
IF sy-subrc EQ 0.
gd_plaren = <fs_constantes>-high.
ENDIF.
Este tema se cerró automáticamente 91 días después del último post. No se permiten nuevas respuestas.