Skip to Content
0
Former Member
Dec 02, 2009 at 11:05 AM

How to add bussiness area in BADI "FEB_BADI"

700 Views

Hello,

We have implemented electronic bank statement (EBS).We have two GL codes.

One is clearing a/c for both issues and receipts.

One is main bank a/c.

When system posts reco entry automatically,system does not update business area in main bank a/c line item.

For example,reco entry in case of receipts,

PK GL code Bus.area Amount

40 12340(Main Bank) 45000

50 12341(Clearing) XYZ 45000

For updating bussiness are I am using badi "FEB_BADI" . i have added the below code but i am getting abap dump in insert satement.

how to declare wa_ftpost & insert the values in t_ftpost.

data : begin of wa_ftpost,

stype(1) type c,

count(1) type c,

fnam(20) type c,

fval(20) type c,

end of wa_ftpost.

wa_ftpost-stype = 'P'.

wa_ftpost-count = 1.

wa_ftpost-fnam = 'BSEG-GSBER'.

wa_ftpost-fval = 'U183'.

INSERT wa_ftpost INTO t_ftpost.

t_ftpost is type standard table.

Kindly help us in resolving the abaove issue.

Regards,

Rachel

Edited by: Rachel on Dec 2, 2009 12:06 PM