¿Hay alguna RFC o BAPI la aplicación de la rsscd001 transacción para la visualización de documentos de modificación en SAP?

StackOverflow https://stackoverflow.com/questions/4193232

  •  11-10-2019
  •  | 
  •  

Pregunta

Me gustaría saber si hay alguna funciones RFC o BAPI a los documentos de cambio de visualización basado en consulta de entrada en SAP. El requisito de cliente es implementar un sistema de monitor de java en SAP sin añadir funciones ABAP de SAP en el servidor.

He intentado hacer uso de las funciones 'RFC_READ_TABLE', que está en desuso según los documentos oficiales, para leer la tabla CDPOS y CDHDR y unirse a ellos. Pero, como dijo vwegert, para atravesar los CDPOS mesa es realmente el tiempo que cuesta, ya que contiene mil millones de entradas de la tabla.

Mi intención de esta consulta es encontrar cambios a todos los datos bancarios de los vendedores.

¿Alguna otra idea?

Muchas gracias de antemano!

¿Fue útil?

Solución

The least resource-consuming way to do this would be to use the workflow runtime system to actively notify the java application whenever a change document is written. You don't have to write any ABAP functions to do this, just setup the workflow engine (using the automatic customizing) and customize the event generation (documentation). Then, you write a java service that connects to the SAP system using JCo and registers as an RFC server using a destination of Type TCP/IP and a registered program ID. This java server program has to provide a function module handler that can be called using tRFC from the SAP system. Finally, add a linkage entry that will tell the workflow runtime system to call your java program each time a change document is written.

Of course, this will only record the changes that happen after installation, not the historical changes.

Otros consejos

warning : I'm not very familliar with this field.

The RFC function BAPI_VENDOR_FIND (BAPI Vendor) seems to be used to find vendor based on values in table. You could use it to check gainst the modification date. This is not perfect, as there is no relationnal operator, only equals, and you'll have to check against several dates...

hopes this helps Guillaume

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top