06-28-2007 2:47 PM
can any body pls tell me the concept in idoc for transactional data psl urgent
06-28-2007 2:48 PM
hi
see the link
http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm
Reward points for useful Answers
Regards
Anji
06-28-2007 2:50 PM
hi pandu..
In transactinal data IDOC can be generated by two ways..
through output settings in NACE and setting partner profilw in WE20
and by writing code in a user exit using MIDOC_MATER_DISTRIBUTE FM
cheers.
06-28-2007 2:52 PM
IDOC is an Intermediate document. It is data container.
IDOC TYPE is like the structure of idoc u r transfering.
suppose u r transfering material master details, SEGMENT
conatining structure of material master is assigned to
IDOC TYPE. IDOC is like instance of STRUCTURE IDOC TYPE
which contains data. SEGMENT is nothing but collection of fields.
It contains 3 records,
Control Records (data stores in EDIDC),
Data Records (Data stores in EDID4),
Status Records (Data Stores in EDIDS ).
To transfer data from tables from one client to another, IDOCS will be used.
We should also know how to configure the ALE settings between the systems to distribute the data.
SAP uses a single IDoc type for several logically related messages. For example, the Orders IDoc type (ORDERS02) is used for several messages, such as Order (ORDERS), Order Response (ORDRSP), and Order Change (ORDCHG).
WE31 TO CREATE SEGMENT
WE30 TO CREATE IDOC TYPE AND ASSIGN SEGMENT TO IT
WE81 CREATE MESSAGE TYPE ( MESSGAE (OUTPUT) TYPE
GIVES THE MEANING OF IDOC)
WE82 ASSIGNMENT MESSAGE ( OUTPUT ) TYPES TO IDOCS
TYPES.
WE19 TEST TOOL FOR IDOC PROCESSING
WE02 IDOC LIST
WE05 IDOC LIST
BD10 SEND ARTICLE
WEDI SAP EASY ACCESS IDOC AND EDI BASIS
WE41 DISPLAY OUTBOUND PROCESS CODE
WE42 DISPLAY INBOUND PROCESS CODE
OYSN NUMBER RANGES FOR IDOCS
SM59 SETTING UP RFC DESTINATION
WE21 PORT DEFINATION
WE55 FUNCTION MODULE FOR FILENAME (IDOC)
WE20 PARTNER PROFILE
SALE DISPLAY IDOCS (IMG FOR IDOCS)
RSECHK07 TESTING THE PARTENER PROFILE
SM59 TESTING THE RFC DESTINATION
The IDoc, before being saved in the database, goes through a syntax check and other validations. If there are no errors, the IDoc gets a status of 30 which means IDoc ready for dispatch to ALE Service.
06-28-2007 2:52 PM
Define the Logical Systems
and then assign those to clients
Define port and partner profiles
Create distribution model and here u need to specify the msgtypes
Generate partner profiles and then run the suitable program for your req to post the data.
u can do all the above specified settings in SALE tcode.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
06-28-2007 2:53 PM
06-28-2007 2:50 PM