Upload Property Master Data through LSMW
I am using the following BAPI to upload the Property Data through LSMW.
Business Object: BUS1502
Message Type: BUS1502_CREATE
Basic Type: BUS1502_CREATE03
There are two issues which needs to be addressed and hope that this forum can help me out.
1. In this BAPI, i dont see the field mapping for Company Code and Business Entity, both mandatory fields for creating a Property record.
2. Skipping the first step, i reached the step "Start IDoc Generation" in LSMW and get the following error.
EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty.
Anyone encountered these issues? Suggestions to resolve these issues?
First of all, good decision to use BAPI + LSMW it is the best way to load DATA specifically in REFX. Here's answer to your questions.
1. Pass Company code, BE, other header level fields in E1BUS1502_CREATE structure. This is the main Header structure of the Baisc type you are using. Create source structure with these fields and mapp it to the BAPI fields and you are all set.
2. Check the EDI_DC40 element, or other structures if you are passing values. SAP/System will fill/populate these values on its own, do not pass any values example in fields DOCNUM, CREDAT, etc.