‎2009 Jan 08 10:42 AM
Hai Every one....
I created a idoc structure with one header segment and 2 item segments. but when i created ale message type interface for it , it showing only header segment in interface defenition
How to link header and item segment correctly so that it creates proper interface defenition..?
The steps i did is:
i had created a bapi ( ZBAPI_SCNDATA_3 ) which will insert records in to the table.
and added it in bussiness object ZZZTEST.
i have to pass three fields through idocs
i created 2 segments in we31.
first segment has only one field ( header segment)
second field have two fields(chield segments)
then i created idoc type in we30
added the first segment at level 1 with max and min as 1
added second segment at level 2 with min as 1 and max as 50
then created the message type in we81
linked the message type with idoc type in we82
linked with function module in we 57
then in object i created ale message type by double clicking on it .
the interface is genarated for the object
But in the interface the segment is only one with three fields
ie not showing header and chield segments seperatly
when i checked standard interfaces its showing parent and child segments in interface.
Please help me...
‎2009 Jan 15 6:27 AM
check in the Basic Type in WE30, Header is Parent and Item is at Child level.
Debug your Process code ZBAPI_SCNDATA_3, while filling data in the IDOC structure.
Sandeep
‎2009 Jan 15 6:30 AM
Hai sandeep,
in we30 , header segment is at level 1 and item segments are at level 2 itself.
regards
sarath p