cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get accounting number when i/p is Invoice number(MIRO)

former_member190312
Active Participant
0 Kudos

Hi all,

While creating Invoice in MIRO , it is creating two document. one is Invoice number

& the other is Accounting number for payment.

Is there any FM or table relation which will give Accounting Number as output when the input will be invoice number?

Thanks

pabi

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

The Invoice number is stored in the account document header, BKPF-AWKEY = RBKP-BELNR + RBKP-GJAHR, you can restrict account document related to invoice document with BKPF-AWTYP = 'RMRP'.

(I know AC_DOCUMENT_SENDER to display source document of an account document, or MRM_AC_DOCUMENT_SENDER_RMRP for RMRP type documents AND AC_DOCUMENT_RECORD the reverse way)

Regards,

Raymond

Answers (1)

Answers (1)

former_member190312
Active Participant
0 Kudos

please answer my querry. it's urgient. Thanks.