‎2013 Sep 20 11:01 AM
Hi.. A file is coming from third party system. I want to receive that idoc and create a employee in SAP. How to create RFC destination and other steps plz suggest me....
‎2013 Sep 20 11:08 AM
‎2013 Sep 20 1:29 PM
If a third party system is sending a file and you want to receive it in terms of IDoc you will need a translator program. Check this link for details
‎2013 Sep 20 1:37 PM
You can also explore function module "EDI_DATA_INCOMING" which works with "FILE PORT (WE21)"
As per docmentation in SE37: The function module is used in the test program for IDoc inbound processing.
Usage example:
data: complete_filename like edi_path-pthnam,
portname like edipo-port.
* Assign values to an actual parameter
complete_filename = '/usr/sap/C11/SYS/idoc/idocs.inb'.
portname = 'EDIPORT'.
* Call FM
call function 'EDI_DATA_INCOMING'
exporting
pathname = complete_filename
port = portname
exceptions
others = 1.
‎2013 Sep 20 1:31 PM
Hi Ravi,
Create :
Segment Creation WE31
Basic IDOC Type Creation WE30
Message Type Creation WE81
Assign Message Type To Basic IDOC Type WE82
Assign FM to Logical Message WE57
Define I/P method for Inbound FM BD51
Create Process Code WE42
Configuring Process codes for Inbound Idocs in SAP - Supplier Relationship Management - SCN Wiki
Now for this IDoc
Define partner profile and port in WE20 and WE21.
Its a long process better would be a flat file upload.
Regards