2008 Jul 10 8:02 AM
Hi all,
I will be loading data for Real Estate using LSMW through BAPI's.
Here's my scenario--
Let's say I have identified couple of fields in the database table which are not there in the BAPI.
So, I need to add these fields in the BAPI.
I have gone through documents in SDN.
They say add the fields in BAPI Table extension.---
What is confusing to me is, if the field already exists in the database table; why should I Create a structure with these fields and then pass to the (ExtensionIn).
I need some clarity here please.
Any inputs are welcome.
Warm regards,
Hari Kiran.
Vinod just comment the line and it will work.I have done the same and it is working.
2008 Jul 10 8:08 AM
2008 Jul 10 9:46 AM
It seems,
I need to create the structure in SE11 with the key field and the fields which I want to add to the BAPI.
Then in the BAPI, I need to pass this structure name to "ExtensionIn ".
That's it.
I am not adding the already exiting fields in the table to the table. I am only creating the structure with those fields and pass the structure name to the BAPI.
Regards,
Hari Kiran
2008 Jul 27 12:52 PM
Hi Gurus
I am using the extension parameters of BAPI to load some customized fields for the object-BUILDING in REAL ESTATE MODULE using LSMW-BAPI.
Here's the code-
*Target Field: E1BPPAREX-VALUEPART1 Data part of BAPI extension paramet
DATA:
lt_extension_in TYPE TABLE OF bapiparex,
ls_extension_in TYPE bapiparex,
ls_ci_data TYPE rebd_building_ci.
ls_ci_data-zgisx = hsouthernwater-zgisx.
ls_ci_data-zgisy = hsouthernwater-zgisy.
ls_ci_data-zdeed = hsouthernwater-zdeed.
ls_ci_data-zland = hsouthernwater-zland.
ls_ci_data-zsite = hsouthernwater-zsite.
ls_extension_in-structure = 'CI_DATA'.
ls_extension_in-valuepart1 = ls_ci_data.
CALL METHOD cl_abap_container_utilities=>fill_container_c
EXPORTING
im_value = ls_ci_data
IMPORTING
ex_container = ls_extension_in-valuepart1
EXCEPTIONS
OTHERS = 0.
e1bpparex-valuepart1 = ls_extension_in-valuepart1.
I AM GETTING THE ERROR IN THE LINE-
ls_extension_in-valuepart1 = ls_ci_data.
SAYING THAT
ls_extension_in-valuepart1 and ls_ci_data. are mutually not convertible
I have written the same code for 3 objects in RE-The code was working fine in those objects.But in object- building i am getting this error..
Anyone out there please help me regarding this..
Thanks in advance.
2008 Aug 07 2:22 PM
Hi
I'm having a similar problem where trying to upload building data using LSMW + BAPI but even tho the idoc is sucessfully posted the custom fields are not getting populated in SAP. I'm 99.9% sure the structure in VALUEPART1 is correct. Have you had a similar problem. Funny how it is working OK for LAND, RENTAL & BUSINESS ENTITY.
Has any one got the building upload to work for RE-FX (Flexible Real Estate)
Vin
2008 Aug 08 10:57 AM
Vinod just comment the line and it will work.I have done the same and it is working.
2008 Aug 11 9:05 AM
Hi
Please could you explain which code i need to comment. for valuepart1 in the LSMW i have the following code:-
Target Field: E1BPPAREX-VALUEPART1 Data part of BAPI extension paramet
E1BPPAREX-VALUEPART1+0(15) = ZBUILDING-ZZ_DIOCESE.
E1BPPAREX-VALUEPART1+15(50) = ZBUILDING-ZZ_PRED_USE.
E1BPPAREX-VALUEPART1+65(20) = ZBUILDING-ZZ_DEED.
E1BPPAREX-VALUEPART1+85(10) = ZBUILDING-ZZ_CCREF.
E1BPPAREX-VALUEPART1+95(10) = ZBUILDING-ZZ_PBREF.
E1BPPAREX-VALUEPART1+105(10) = ZBUILDING-ZZ_SHREF.
E1BPPAREX-VALUEPART1+115(10) = ZBUILDING-ZZ_IPDREF.
E1BPPAREX-VALUEPART1+125(10) = ZBUILDING-ZZ_MAREF.
E1BPPAREX-VALUEPART1+145(10) = ZBUILDING-ZZ_VALREF.
E1BPPAREX-VALUEPART1+155(21) = ZBUILDING-ZZ_ECON_REG.
E1BPPAREX-VALUEPART1+176(19) = ZBUILDING-ZZ_TENURE.
E1BPPAREX-VALUEPART1+195(43) = ZBUILDING-ZZ_MIXED.
E1BPPAREX-VALUEPART1238(2) = ZBUILDING-ZZ_LIST0(2).
transfer_record
As you can tell i am writing the data from the file ZBUILDING and then doing a a transfer record.
How can this be handled?
Thank you for the reply earlier much appreciated.
Cheers, Vin
2008 Sep 18 4:49 PM
Hi,
I have the same pb, have anybody found the solution
thanks
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |