cancel
Showing results for 
Search instead for 
Did you mean: 

PROBLEM WITH RV_ACCOUNTING_DOCUMENT_CREATE FUNCTION MODULE

0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

How do I use this function module? I don´t saw any usage references.

thank´s

0 Kudos

The objetive to this customer transacton is to correct differences in CO-PA documents by material

0 Kudos

Yes Gábor,

This is the objetive (change some positions of the documents if the material is different). I think that these type of module functions can´t use to some positions of one document.