‎2010 Feb 26 2:41 AM
Hello
I'm trying to create an lsmw project for Inpection Plan (QP01) and when I get to the READ DATA this pops out
-
LSM Workbench: Import Data For Z_TEST, Z_QM, Z_INSPLAN2
02/26/2010 - 10:31:14
File(s) Read: C:\Documents and Settings\rog1234\Desktop\INS_HEADER.txt
C:\Documents and Settings\rog1234\Desktop\INS_CHARACTERISTICS.txt
C:\Documents and Settings\rog1234\Desktop\INS_MATERIAL.txt
C:\Documents and Settings\rog1234\Desktop\INS_OPERATIONS.txt
File Written: Z_TEST_Z_QM_Z_INSPLAN2.lsmw.read
Source Structure Read Written Not Written
ZINSCHAR 1 0 1
ZOPERATIONS 1 0 1
ZMATERIAL 1 1 0
ZHEADER 1 1 0
Transactions Read: 1
Records Read: 2
Transactions Written: 1
Records Written: 2
-
The program only writes for two structures. Why doesn't it write for the others?
‎2010 Feb 26 7:18 AM
Hi,
Go to step Maintain Source Fields .
press FIELDS WITH SAME NAME.
For eg: if you have two strucutre A and B like
structure A: MATNR, WERKS, COUNTRY
Structure B: MATNR, TEXT .
If you press FIELDS WITH SAME NAME it will highlight MATNR since its common in both the structure.
If you have same material number in both files then only the records are read from both the structure otherwise it wont.
FOR EG:
Data for A: 1 plant1 india
2 plant2 india
Data B: 1 abc
in this above case 2 records in structure A will be read
and 1 record in B will read since record for material number 2 is not in B data file.
Hope it helps.
Regards,
Shanmugavel
‎2010 Feb 26 7:58 AM
But I'm only testing the lsmw for now. I'm just trying to upload one record, just so I can see if it works
I am using four structures and I assigned a file for each one of them. When I go to the read data step only the first two structures had their data written
Edited by: obie villamosa on Feb 26, 2010 4:04 PM
‎2010 Feb 26 9:42 AM
Hi,
All the 4 files has data. If yes can you provide the data ?
Regards,
Shanmugavel