Skip to Content
0
Jul 23, 2019 at 09:14 AM

PROBLEM WITH RV_ACCOUNTING_DOCUMENT_CREATE FUNCTION MODULE

193 Views

Hi experts,

We have developed a custom transaction (ZKE4S)to Post-accounting invoices in CO-PA. This transaction has a similar behavior that the KE4S standard transaction. We do the next steps:

1. RV_INVOICE_REFRESH

2. RV_INVOICE_DOCUMENT_READ

3. RV_ACCOUNTING_DOCUMENT_CREATE

In our transaction, we have this Select parameters at the first screen:

1.png

At this example, we have a document with three positions with three different materials:

2.png

Then problem is when we check this document at KE24 transaction for this document. If we only change one posistion of this document, the RV_ACCOUNTING_DOCUMENT_CREATE function module changes two positions of this document.


Can only use the RV_ACCOUNTING_DOCUMENT_CREATE function module for one position for this document?

4.png

KE24 before execution of custom transaction:

ke24-before-execution.png

The RV_ACCOUNTING_DOCUMENT_CREATE change two positions after execution the ZKE4S transaction for

PSANCLUM020L82 material:

zke4s-first-screen.png

- ZKE4S transaction after execution:

zke4s-after-execution.png

- KE24 after execution of custom transaction:

ke24-after-execution-of-zke4s.png

Is it posible to update only one position of one document with the RV_ACCOUNTING_DOCUMENT_CREATE function module?

Very thank´s.

Attachments

1.png (43.3 kB)
2.png (28.6 kB)
4.png (72.3 kB)