SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to link Price change document with accounting document

0 Kudos

Hi,

I'm working on a report where i need to link the Price change document table MLHD or MLIT with Accounting document with table BKPF or BSEG table.

Immediate response in highly appreciated.

Best Regards.

Hemanta Kumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

Use functiona module  FI_DOCUMENT_RECORD

with below parameters

I_AWTYP        =        'PRCHG'

I_AWREF       =     mlhd-belnr

I_AWORG      =     mlhd-KJAHR

bukrs              = MLIT-BUKRS

in the result table T_DOCUMENTS you will get all the documents realted to accounting and controling,

select one with  AWTYP   =  'BKPF'  this is your accounting document

Regards

Ganesh

View solution in original post

2 REPLIES 2

Former Member
0 Kudos

HI,

Use functiona module  FI_DOCUMENT_RECORD

with below parameters

I_AWTYP        =        'PRCHG'

I_AWREF       =     mlhd-belnr

I_AWORG      =     mlhd-KJAHR

bukrs              = MLIT-BUKRS

in the result table T_DOCUMENTS you will get all the documents realted to accounting and controling,

select one with  AWTYP   =  'BKPF'  this is your accounting document

Regards

Ganesh

0 Kudos

Dear Sawant,

Super !!!

I already shared the FSD with similar approach.

Passed MLIT-BELNR & KJAHR in BKPF - AWKEY to get BKPF-BELNR

Best Regards,

Hemanta Kumar