03-27-2006 1:32 PM
Hi,
I have a requirement of BDC for FB01 transaction. but can any one tell me how to take care different screen for different account types or GL.
If you have done some BDC for FB01 transaction or some other way but bdc only. please send me the details
thanks
03-27-2006 1:38 PM
hi,
1) postings like that with transaction fb01 should not be programmed with bdc- but with bapi or report rfbibl00 (here's a docu-pls read!)
2)each account in fi has a field-status, which is customized by Transaction OB14. Here's the dependance to the screen in your transaction. You can use the fm
FI_FIELD_SELECTION_DETERMINE
3) if you've to assign cost-centre, you can select table cska with the G/L account
Andreas
03-27-2006 1:38 PM
hi,
1) postings like that with transaction fb01 should not be programmed with bdc- but with bapi or report rfbibl00 (here's a docu-pls read!)
2)each account in fi has a field-status, which is customized by Transaction OB14. Here's the dependance to the screen in your transaction. You can use the fm
FI_FIELD_SELECTION_DETERMINE
3) if you've to assign cost-centre, you can select table cska with the G/L account
Andreas
03-27-2006 1:46 PM
Hi Andreas,
Can you send me how to use rfbibl00 report and the sample file . If possible any sample program to do this to my below mentioned email address
thanks..
email address : goel_pankaj@hotmail.com
03-27-2006 1:59 PM
Anurag,
I have done this, and I can tell you it's a really really painfull work! I would highly recommend BAPI or some other mean.
However, if you have no choice, you can see the account type and create your screens differently for each type, like:
* get account types (SKB1-FSTAG)
DATA: v_ktonr_numc10 TYPE numc10.
SELECT bukrs saknr fstag FROM skb1 INTO TABLE t_skb1.
*...
LOOP AT t_posting_data ASSIGNING <post>.
* ...
v_ktonr_numc10 = <post>-ktonr.
READ TABLE t_skb1 ASSIGNING <skb1>
WITH KEY bukrs = <post>-bukrs
saknr = v_ktonr_numc10
BINARY SEARCH.
CASE <skb1>-fstag.
WHEN 'G001'.
* create screen
* ...
WHEN 'G004'.
* create different screen* ...
ENDCASE.* ...
ENDLOOP.
I must stress out again: this is a very tedious and difficult way to acomplish what you want. Good luck!
Igor
03-27-2006 1:48 PM
03-27-2006 1:52 PM
Hi
It's not easy to get the right screen, you need to know the kind of account, why don't you use the standard tool as BAPI or program RFBIBL00?
Max