cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on BADI_FIAA_DOCLINES

Former Member
0 Kudos
703

Hi All,

If anyone implemented and worked on the BADI BADI_FIAA_DOCLINES, please reply back.

Our Requirement: If an asset has four invoices and these are settled to another asset using AIBU, the standard program settles the sender line items to the receiver as one line item in the receiver. Our requirement is to settle each line item in the sender as a separate line item in the receiver. We achieved this using an Enhancement Spot. In addition we need to we need to update the accounting details with Assignment number, Item text etc. For this we implemented the BADI BADI_FIAA_DOCLINES and trying to change the entries of CT_ACCIT .We were able to fetch details from V_ANEPK using fields like

BUKRS Company Code

ANLN1 Main Asset Number

ANLN2 Asset Subnumber

GJAHR Fiscal Year

AFABE Real depreciation areabukrs

BWASL Asset Transaction Type

AUGLN Current number of the clearing asset line item

BUDAT Posting Date in the Document

BUREG Distribution rule group.

But we will get more than 1 entry with the above keys. Please let me the know the procedure of how to update the accounting details. Please suggest me if there are any other BADI, EXIT or Enhancement Spot to achieve this.

Thanks in advance,

Deepthi.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

MarkusBredel
Advisor
Advisor
0 Kudos

Hi,

you can not add document lines in ACCIT with method CHANGE_DOCUMENT.

If you have to add document lines, you must find a way to integrate BAdI method ADD_DOC_LINES into your scenario.

Regards,

Markus