Application Development 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: 

Capturing the entry when posting the document using Tcode FB01

Former Member
0 Kudos

Hi all

I have a situation here.Tcode FB01 is used for posting.

when a posting document is created and then viewed using FB03 two entries are getting created for account types S (G/L accounts) and D ( Customers).

i can see these entries in BSEG table.

I want to capture customer number(KUNNR) in the same document number of BSEG table where the account type is S (G/L accounts) from the other record of account type D ( Customers) if any such exists.

I knew that there is an involvement of enhancement in this case. Can anyone suggest me to how to proceed with this development?

Any suggestions are highly appreciated.

thanks in advance

sonali

2 REPLIES 2

Former Member
0 Kudos

Hi,

Which information do you want to capture..

Anyways check the link for how to implement BTE for accounting document.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef...

Thanks,

Naren

Former Member
0 Kudos

if you are posting directly to FI (FB01) -> you can use BTE as suggested previously.

If your accounting doc is posted from SD -> you can use exits like exit_saplv60b_008 where all items are available in xaccit,xaccr internal tables.