Hello,
I am having trouble to define source structure for the Characteristics (proper TCODE is CT04) using LSMW-BAPI BUS1088.
My goal is to load those fields (characteristic main data):
Field Name | ATNAM | ATBEZ | ATMST | FORMAT | ATLEN |
---|---|---|---|---|---|
Data Type (C=CHAR) | C | C | C | C | C |
Field Length | 30 | 30 | 1 | 4 | 2 |
Field Description | Characteristic Name | Characteristic Description | Characteristic Status | Data Type of Characteristic | Number of characters |
DATA STARTS HERE => | Test001 | Test001 | 0 | CHAR | 30 |
Test002 | Test002 | 0 | CHAR | 30 | |
Test003 | Test003 | 0 | CHAR | 30 |
as well as characteristic line items:
Field Name | ATNAM | ATWRT | ATWTB | ATSTD |
---|---|---|---|---|
Data Type (C=CHAR) | C | C | C | C |
Field Length | 30 | 30 | 30 | 1 |
Field Description | Characteristic Name | Characteristic Value | Characteristic Value Description | Default Value |
DATA STARTS HERE => | Test001 | Value01 | Value Desc | X |
Test001 | Value02 | Value Desc | ||
Test002 | Value01 | Value Desc | X | |
Test002 | Value02 | Value Desc |
My Source Structure is:
- Source Structures
- Characteristic Head (Main Data)
- Characteristic Line Items
- Characteristic Head (Main Data)
I could not find any descent detailed guide, except this one (or some partial community messages): The Legacy System Migration Workbench (LSMW) — A Guide to Data Migration with BAPIs
The main problem is with Primary Key (or its equivalent) - header segment of this BAPI does not have nothing similar to characteristic primary key => How we can tell that characteristic in one spreadsheet (main data) is the same for line item data?
How to proceed?
Thanks,
sap#ninja