06-25-2008 11:42 AM
dear friends,
Iam trying with Idoc in that what is the neeed of creating Segment (we31)
Regards
reddy
06-25-2008 11:46 AM
hi,
idoc is a container and the data u need to send is sent through segments which consists of fields.
06-25-2008 11:45 AM
Hi,
Idoc is a container which contains the data
in the form of segments.
So we need to created segments in idoc.
The physical format of the IDocs records is always the same. Therefore, the application data must be converted into a 1000 character string.
Fill the data segments which make up the IDoc :
An IDoc is a file with a rigid formal structure. This allows the correspondents to
correctly interpret the IDoc information. Were it for data exchange between SAPsystems
only, the IDoc segments could be simply structured like the correspondent DDIC structure of the tables whose data is sent.
However, IDocs are usually transported to a variety of legacy systems which do not run SAP. Both correspondents therefore would agree on an IDoc structure which is known to the sending and the receiving processes.
Transfer the whole IDoc to an internal table, having the structure of EDIDD :
All data needs to be compiled in an internal table with the structure of the standard
SAP table EDIDD. The records for EDIDD are principally made up of a header
string describing the segment and a variable length character field (called SDATA)
which will contain the actual segment data.
Regards,
Jagadish
06-25-2008 11:46 AM
hi,
idoc is a container and the data u need to send is sent through segments which consists of fields.
06-25-2008 11:46 AM
06-25-2008 11:50 AM
hiiii
read following link
http://www.erpgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
this will clear your problem.
regards
twinkal
06-25-2008 11:52 AM
Hi,
Look into the following link.
http://saptechnical.com/Tutorials/ALE/CustomIDOC/Create.htm
it is very usefull ....
Jaya Vani
06-25-2008 11:56 AM
Segment contains different fields. The IDOC can store data for the fields which are there in the different segments. Basic Type Consists of Different Segments and Basic Type is related with Message Type.
06-25-2008 1:46 PM
Hi,
For the IDOC to carry the data , segments need to be created as the data is in this form. Without creation of segments, IDOC cannot hold the data to be carried.
Regards..
kiran
06-25-2008 5:41 PM
a special form of segment might be helpfull - it allow generic transfer of own data (Z-Tables):
Field 1: STRUCTURE_NAME (containing the name of a DDIC Structure)
Field 2: DATA (Containing data to be filled into this structure)
ATTENTION: ALE / IDOCS all works with character fields only - so before moving data into the structure (outbound) and after getting the data from the structure (inbound) conversions must be done for numeric fields, dates and time. This requires that both users for outbound and inbound processing have the same settings for that conversions.
Kind regards,
HP