Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Accounting document entry date

Former Member
0 Likes
2,644

Is there a function to get the Accounting document entry date? Given the batch number (charg) and Number of material document (mblnr)

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
1,278

Hi ,

You can check in the table for the creation date ..

by giving the below inputs.

thanks,

Krishna

Read only

Former Member
0 Likes
1,278

Hi,

Goto BKPF table, based on BWKEY(mblnr and gjahr) select the BELNR (ACCOUNTING DOCUMENT NUMBER) .

This is easiest way to select the accounting document number.

Thanks,

Neptune.M

Plz reward if it helps.

Read only

Former Member
0 Likes
1,278

Hi,

There is no FM to extract FI document details using material batch and document number.

Easiest way could be select statement. You can extract FI document creation date from BKPF table. use following values to extract FI document using material document no.

BKPF-AWKEY = Concatenate MKPF-MBLNR and MKPF-GJAHR

BKPF-AWTYP = 'MKPF'

Regards,

Naren

Read only

Former Member
0 Likes
1,278

hi ,

try this FM <b>AC_DOCUMENT_RECORD</b>, to get the Accounting Documents . For Export parameters just search for this FM in MIRO program , put a break-point, where u will come to know how to use this FM .

Option 2 : Get the MBLNR for the CHARG from MKPFMSEG ,and get AWKEY from this like MBLNRMJAHR pass this one to BKPF to get the Accounting Document @ Header Level.

Regards

Prabhu