2005 Nov 21 7:57 PM
Hi,
I am doing a BDC for F-43 transaction... & in my T_BDCDATA internal table all fields for FVAL are getting populated except for the WRBTR (currency feild). For this field I tried using 13(length given in BSEG table) as well as 16(output length)in my flat file ... but nothing getting populated. Can somebody give me other solution for populating this field??...
Please Help.
-SB.
2005 Nov 21 8:11 PM
Hi,
For the amount field first declare a variable
say v_wrbtr(18)type c,
write T_BDCDATA-WRBTR to v_wrbtr.
condense v_wrbtr.
finally populate v_wrbtr to BDC table.
Hope this will solve your problem.
Thanks
Rajeev
Hi,
I am doing a BDC for F-43 transaction... & in my T_BDCDATA internal table all fields for FVAL are getting populated except for the WRBTR (currency feild). For this field I tried using 13(length given in BSEG table) as well as 16(output length)in my flat file ... but nothing getting populated. Can somebody give me other solution for populating this field??...
Please Help.
-SB.
2005 Nov 21 8:02 PM
Can you post the relevant code where you fill this field? Is your character field having the value left-justified, with no seperators except the decimal point? Also, this field probably is line item data, so are you using the correct index like WRBTR(01), WRBTR(02) etc?
Srinivas
2005 Nov 21 8:11 PM
Hi,
For the amount field first declare a variable
say v_wrbtr(18)type c,
write T_BDCDATA-WRBTR to v_wrbtr.
condense v_wrbtr.
finally populate v_wrbtr to BDC table.
Hope this will solve your problem.
Thanks
Rajeev
2005 Nov 21 8:35 PM
Hi,
For correct results, you should use:
data: L_WRBTR_CHAR(16) type C.
write BSEG-WRBTR to L_WRBTR_CHAR currency BKPF-WAERS (Or your Currency Field).
T_BDCDATA-WRBTR = L_WRBTR_CHAR.
Cheers,
Bhanu