90% encontró este documento útil (10 votos)
4K vistas20 páginas

Configuracion Edocument

Este documento describe cómo definir el tipo de interfaz para documentos electrónicos (eDocument) y asignar clases de eDocument a transacciones. Explica cómo mostrar eDocumentos mediante el método DISPLAY_EDOCUMENT y proporciona detalles sobre parámetros como el estado del eDocumento. También cubre cómo cancelar eDocumentos en EDOC_COCKPIT cambiando el estado a "cancelar".

Cargado por

ruzuriaga2
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como DOCX, PDF, TXT o lee en línea desde Scribd
90% encontró este documento útil (10 votos)
4K vistas20 páginas

Configuracion Edocument

Este documento describe cómo definir el tipo de interfaz para documentos electrónicos (eDocument) y asignar clases de eDocument a transacciones. Explica cómo mostrar eDocumentos mediante el método DISPLAY_EDOCUMENT y proporciona detalles sobre parámetros como el estado del eDocumento. También cubre cómo cancelar eDocumentos en EDOC_COCKPIT cambiando el estado a "cancelar".

Cargado por

ruzuriaga2
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como DOCX, PDF, TXT o lee en línea desde Scribd

FIBF

Activar documentos de tipos de fuente para sociedad


Definir tipo de interface para eDocument
Utilización

En esta actividad Customizing especifique el tipo de interface que desea utilizar para generar ficheros eDocument
(en formato XML) y para enviar estos ficheros a los sistemas externos. Puede escoger entre las opciones
siguientes, dependiendo de qué variante de solución de eDocument esté utilizando:

 Solución completa eDocument con implementación estándar de SAP: Seleccione Implementación


estándar utilizando AIF -STANDAR
 Solución completa de eDocument: Seleccione Proxy AIF (para servicios Web) - AIF_PROXY

 eDocument con posibilidades de comunicación específicas de cliente: Seleccione AIF utilizado para la
generación de XML – AIF_XML

 Solución básica eDocument y habilitación básica eDocument: Seleccione Específico de cliente


-CUSTOM

Withholding Tax Certificates (WTC) 

Collection Tax Certificates (CTC).

Para certificados seleccionar PE_WTC*


Asignar tipo de eDocument a tipo de documento contable
Texto breve

Definir que una clase de documento contable es relevante para la creación de un eDocument

Asignar clase de eDocument a transacción de verificación de


IO IF_EDOC_INTERFACE_CONNECTOR   DISPLAY_EDOCUMENT

____________________________________________________

[Link].
Display eDocument

Functionality
You can use this method to implement the Display eDocument function in the Create and Submit eDocument
report (EDOC_COCKPIT). In your implementation, you can define which type of output you want the eDocument
to be displayed, such as in XML, PDF, HTML, or others.

You can implement the method to display the eDocument before its submission, to preview the eDocument you
want to submit, or after, to view the submitted eDocument. By checking the status you see in the eDocument
status column in the report, you can distinguish if the system has displayed the preview or the submitted
eDocument. For the preview case, you can also implement some automatic checks.

You can store in the application log of the eDocument any message generated either from the checks or from the
display of eDocuments.

Result
The system calls this BAdI method when you click on the Display eDocument. The system displays an error
message if the CX_DISPLAY_DONE parameter is not set to abap_true.

If you set the parameter CV_DISPLAY_DONE to abap_true the system does not raise the error message during
the execution of the Display eDocument function. Therefore, set it to abap_true in your implementation if the
display is successful.

If you fill the CT_LOG_MESSAGE parameter, the system stores the messages in the application log of the
eDocument and notifies the user to check the log.

Parameter
Importing Parameter Description

IV_EDOC_GUID eDocument: GUID

Changing Parameter Description

CV_DISPLAY_DONE (X) Display executed; ( ) Display not executed

CT_LOG_MESSAGE Messages to be stored in the application log

Notes
Use the RETRIEVE_BY_EDOC_GUID method of the CL_EDOCUMENT class to get an instance of the
eDocument.

Use then the GET_STATUS_FLAG_VALUE method of the CL_EDOCUMENT class for the eDocument status or
the MS_EDOCUMENT-proc_status attribute of the eDocument instance to process the status.
Anular el documento de compensación
Por EDOC_COCKPIT, seleccionar documento y cambiar el estatus a cancelar eDocument
Trace
Cl_edoc_adaptador

Badi_edocument_pe
Vacío
No hay procesos para

Para contingencias

Sinolee el estándar
Iv_feature es el valor de edoc_usage_basic o full
Alfinal

Ver nota
SM30

EDOPROCSTEPMODEV
**

También podría gustarte