‎2010 Apr 14 8:49 AM
Hi Gurus,
I am using direct input for uploading General Task Lists (IA05) in the system. The following parameters have been defined in the system for this:
Object 0490
Method 0000
Program Name IBIP
Program Type B
Source Structures
TEST_STRUCTURE
TLOPERATIONS
Strucuture Relation
IBIPTLST IBIP: Task List header <<<< TEST_STRUCTURE Test Src Structure
IBIPTLOP IBIP: Task List Operation <<<< TLOPERATIONS Operations in a Task List
Also I have defined and assigned two different files to the Source Structures. Using Read Data, it reads both the files, but writes only the TL Header Data File onto the MAYFAIR_MAYFAIRTLUPLD_MAYFAIRTLUPLD.lsmw.read.
How could I resolve this issue as the operations are not being created for the task list yet the task list is ceated again and again.
Regards
Usman
‎2010 Apr 14 10:27 AM
Hi,
But keep in mind, that read program needs to find some kind of relation between header and item.
Thats why you should define structures as follows:
STRUC1:
key1
key2
header_data1
header_data2
header_data3
STRUC2
key1
key2
item_data1
item_data2
item_data3
If you do so, program will know which item goes to which header. If you didn't do it, system reads only header data - search for corresponding item data but couldn't find anything.
In LSMW step 5 (mapping) you do not have to pass fields key1 and key2 to any LSMW structure, because they are used only to identify relation header <-> item.
Regards,
MC
‎2010 Apr 14 9:29 AM
Hi,
are you sure you have the same fields (key fields) defined in both structures? It is necessary to allow linking corresponding rows from both structures.
‎2010 Apr 14 10:14 AM
The Source Structures that I have defined manually have different fields but the TL Optns Srce Structure is at a lower level than its superior structure and I have maintained the field mapping with the System standard structures that IBIPTLST and IBIPTLOP have the same fields as my source structures. The problem that i am having is : when I import data in the import file it only picks up data for the structure TLHeader and not for TL Optns. Why is it so?
‎2010 Apr 14 10:27 AM
Hi,
But keep in mind, that read program needs to find some kind of relation between header and item.
Thats why you should define structures as follows:
STRUC1:
key1
key2
header_data1
header_data2
header_data3
STRUC2
key1
key2
item_data1
item_data2
item_data3
If you do so, program will know which item goes to which header. If you didn't do it, system reads only header data - search for corresponding item data but couldn't find anything.
In LSMW step 5 (mapping) you do not have to pass fields key1 and key2 to any LSMW structure, because they are used only to identify relation header <-> item.
Regards,
MC