Skip to Content
avatar image
Former Member

Table that link Contract and FI doc

Hello Guru:

when display Contract condition, each cash flow line will show status "POSTED" and we can double click to see FI doc.

which table link this together please.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 06, 2011 at 05:32 PM

    Manthan,

    Documents Posted in REFX can be viewed in REFX tables VIRADOC (header) and VIRADOCITEM (item), iyou can use Doc.Ref.Key (REFDOCID) field from header table to view FI documents posted in FI ledger table BKPF field (AWKEY). When you click on the Cashflow Posted item, a standard FM is called which uses this ref key to find FI document.

    Thanks,

    Jag

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      To add to what Jagannath has provided.

      To find out the A/c document for a posted condition I have done the following.

      VICNCN - Select the RE KEY [INTERNO]

      VICDCFPAY Field INTERNO = VICNCN INTERNO gives you the cashflow.

      VICDCFPAY -REFGUID - Select this value and then link it to VIRADOC - DOCGUID. [ For posted / processed payment conditions this column will not be blank ]

      Select VIRADOC - REFDOCID and provide it as input to BKPF - AWKEY which provides you with FI-document details.

  • Dec 06, 2011 at 07:11 PM

    Hi,

    When you double click on item, system calls the FM BAPI_ACC_DOCUMENT_RECORD or BAPI_ACC_DOCUMENT_DISPLAY.

    Ex.: Import parameters

    OBJ_TYPE REACI

    OBJ_KEY 10006789201100000001

    OBJ_SYS QARCLNT200

    regards,

    Srini

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 07, 2011 at 02:49 AM

    .

    Add comment
    10|10000 characters needed characters exceeded