Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3585

Re: Bypass Releasing to Accounting

$
0
0

Hi

 

If the block is not in place in TVFK then the system is trying to generate the FI document but
for some reason it cannot complete the posting.

 

If you have to check this you can put a breakpoint in function RV_INVOICE_DOCUMENT_ADD
where the system call FI (function RV_ACCOUNTING_DOCUMENT_CREATE) see below

 

RV_INVOICE_DOCUMENT_ADD
...

* Erzeugen RF-Beleg und schreiben auf die Datenbank
    if ( xvbrk-rfbsk = ' ' or
       ( xvbrk-rfbsk = 'A' and kom-posting eq 'H' ) ) and
        i_no_fi_doc is initial.
      if not i_blart is initial.
        automatic_dp = charx.
      endif.

      call function 'RV_ACCOUNTING_DOCUMENT_CREATE'      >>>>

If you press F6 at this call the system will execute the FI posting.
You can then check the system message fields to see what the real reason for the failure is in FI.

These fields will show you the real error if there is any. 

SY-MSGID
SY-MSGTY
SY-MSGNO

Then you can check in 'AC_DOCUMENT_CREATE' for the failure reason in FI.

Hope it helps you further 
Kind regards
Brian


Viewing all articles
Browse latest Browse all 3585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>