IDOC- PORT CREATION
Hi all,
1. How to create the port.
2.wats the need of creating port.
3.port has to created for outbound or indound .
please give me the relevent answer.
Hi surprith,
check this..
Port Definition
The port definition defines the medium in which data is exchanged between the two systems in the ALE process, IDocs are transferred via memory. Six port types are available.
Transactional RFC (tRFC) ports used for ALE communication.
File ports used by EDI
CPI-C ports used to communicate with R/2 systems
Internet ports used to connect with Internet applications
ABAP-PI ports used to process data via the ABAP programming interface
XML ports used to process files in XML format.
Port Settings
Implementation Guide for R/3 Customizing (IMG) - Basis Components - Application Link Enabling (ALE) - Sending and Receiving Systems - Systems in Network - Asynchronous Processing
- Define Number Range for Ports
- Define Port
Transaction: Port Definition WE21
Port Definition
The port defines the technical characteristics of the connection between SAP and the Subsystem. It also defines the medium in which data is exchanged between the two systems. In the EDI process, IDocs are transferred to external systems via ports. The EDI processes use the file port. The type of port also depends on the receiving side. If the receiver cannot accept data in the medium used by a port, the port cannot be used. For example, the tRFC port cannot be used for EDI unless the receiving subsystem has support for tRFC.
Types of Ports
Port Function
Transactional RFC Used for ALE Communication
File Used by EDI
CPI-C Used to communicate with R/2 system
Internet Used to connect with Internet Application
ABAP-PI Used for Custom IDoc processing via ABAP Programming Interface
XML Used for processing files in IDoc/XML format
A port is a client-independent object. The parameters specified for port definitions are
 Port: The port name is any meaningful name that uniquely identifies the port.
 Description: This is for documentation purpose only.
 Version: The internal structure of the IDoc has changed in every major release.
Message Edited by
shibu kurian
Similar Messages
-
Cannot find the maps stored in import manager during port creation
Hi All,
I am unable to find any maps that i saved in import manager during port creation ,the maps are not showing in dropdown list during port creation in console.Do i need to store the maps that i have in import manager in specific place under mdm server,so that i can see them during port creation.
All i need to do is assign my import map during inbound port creation,but i cannot find any maps in console.
Could I know whether i am storing my maps some where other than default location.
Thanks
AravindHi Aravind,
First of all check the remote system assigned to ur Port. After that go to import manager. When u logon to the import manager, u get a window "Connect to source". Mention the same remote system over there.Select the file type.Browse the file and map the fields,values,field matching and save the map. then unload the repo and assign the map to the port.
Second way is, u create the port first and give any particular remote system to it. Put the file (u want to use for mapping) in the ready folder of that port and in connect to source window select the type as port, remote system(ame as used port port) and port.then map and save. unload the repo and assign the map to port. Ready folder will be in ur server at location: C drive or D drive->SAP MDM 5.5 ->server->distributions->repo name->inbound->port code->ready. For this option, Ur port type should be manual. After assigning the map u can change it to automatic or keep it manual as per ur requirement.
Hope this solves ur problem.
Regards,
Dheeraj.
Edited by: Dheeraj Kumar on May 6, 2008 9:16 AM -
WSDL version used for port creation in SOAMANAGER for Netweaver 7.01 SP-5.
Hi,
Does SOAMANAGER refer to a particular version of WSDL while creating the logical ports for consumer proxies. I'm asking this because after one of the upgrades in our ECC system we find that the authentication configurations of the port are automatically done based on the WSDL now, however this was not the case earlier.
Also logical ports created manually are giving runtime exception (Soap FAult Code : 1). Does logical ports creation necessarily have to be done from WSDL.
Please throw some light on the above, if any of you have faced this issue already.
Regards,
Avishek.We got a reply from SAP that from NetWeaver 7.0 SP3, logical ports will be created based on Security policy mentioned in WSDL. We can however override this by creating the port manually and the SOAP fault code error can be resolved by manually entering the SOAP Action for each method of the Service in the 'Operation Specific' tab of the Logical Port details.
-
iam sending a data from 4.6c to 4.7,is it required to create two ports ?
orone port is reqiured ?plzzzzzzzz tell me ?Hi,
Are you maintaining both systems (4.6C and 4.7) and planning to use IDoc port for both inbound and outbound interface?
If you are then you need to create two IDoc ports (WE21) and attach them to the partner profile (WE20) for the corresponding message types.
If you only maintain the sender system (4.6) then you only need to create one IDoc port.
Regards,
Ferry Lianto -
How to generate IDOC while creation of Sales Orders
Hi
If i create a sales order means.. i want to trigger a IDOC with this ORDER data .. how can we do this.. when ever i'm creating a sales order it should be automatically trigger a IDOC , Because ehen ever sales ordre was created in R/3 system it should be transferred to some destination.. all the ALE configurations are done.. .
so, how can we trigger an IDOC based on Orders creation..
Thanks
BabuHi,
Here is the link
[Re: Idoc creation;
Regards
Sudheer -
IDOC for Creation of Production order and also adding components
Hi ,
I have a requirement like I get the data from a 3rd party system and using that i have to create production orders and also should be able to add more materials in COMPONENTS part of that Production order. I was looking for a BAPI which can handle this process.
And also can any one help me by letting me know is there any Message type available for handling this process of Production order creation and Adding extyra components to it.
I have a message type LOIPRO (for Production Order) and associated function modle CLOI_MASTERIDOC_CREATE_LOIPRO for creation of master IDoc, but not sure can i handle the Components part in this.
Please do send replies ASAP, its very urgent.
Or else atleast suggest me the other ways of doing this .
Also send me any BDC program if anyone has already developed for this.
Thanks
Kumar
Edited by: Phani Kumar Peddagopu on Mar 19, 2008 6:56 PMResolved .
-
IDoc and creation of sales order!!
Hi,
I need to create sales order using IDoc and the file will have multiple line items for sales order and it has to be dynamic, so whats the best way to do this?
Regards
GunjanHi
Check for the related IDOC types in EDBAS table and for related Message Types
in table EDMSG. take relavent one for your requirement and use.
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
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
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
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)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
Reward points if useful
Regards
Anji -
Sending Order Number via IDOC upon creation of Sales Order
Hi Experts,
I have a requirement where i receive an order from an external system to SAP as an IDOC.
Upon arrival, i have to create the Order in SAP and send the Order Number back to the external system in the form of IDOC.
How can i accomplish this? Kindly share your expertise on this with me.
Thanks in advance.
Regards,
KeerthiHi Gary,
Now when the Order is posted in SAP, i need a method which will automatically trigger the Outbound IDOC from SAP rather than me doing so manually.
Is there a way i can track the creation of the Order in SAP and somehow configure SAP to trigger the Outbound IDOC with the Order number automatically?
Thanks in advance,
Keerthi -
PI: File to IDOC port is empty in R/3 system
Hi,
We send an IDOC from PI. We can see the IDOC in R/3 (WE20) but the "port" is missing under "recipient infromation", there is no character in there. The other fields are all set. Where we have to set our port? In the communication channel is nothing to set.
Thanks
Ronny
Edited by: Ronny Pol on Feb 12, 2010 4:22 PMNo, we are not populating control record data in PI. We deactivated these fields...
Then I guess its unable to pick all the information(regarding sender/receiver port) from standard configuration.
Check the configuration once again that you have done(Abhijit's post above states the steps).
or
If you have time try the approach to populate EDIDC40 node in mapping and checking the option(Apply control record data from payload) in receiver IDOC channel.
Regards
Soumen... -
File- idoc, port in control segment not being populated
Hi guys,
I have a file->idoc scenario. Everything works fine, but the receiver port in control segment of idocs has no value. I'm surprised, because this is provided in the Idoc adapter so I thought it is taken from this parameter.
Any ideas, what could be wrong?
Thank you,
OlianYou pls set the indicator - Apply Control Record Values from Payload
If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values
http://help.sap.com/saphelp_nw70/helpdata/EN/96/791c42375d5033e10000000a155106/frameset.htm -
IDOCs performance creation between SAP and SAP Java Adaptor
Hi,
We have a legacy systemt that send some IDOCs to SAP ECC through a SAP JAVA connector. Problem is that we send the idocs and we detected that we have some performance issues on the IDOC creation.
We are using the SAP standard code and SM58, SMQ1, SMQ2, traces, etc etc seem to be fine.
As per customer requirement we have to use process inmediately on the partner profile. We also set the mass processing option but no difference .
We have also other functionalities that run on IDOCs and they are running fine without any performance issue on it .
Could someone help us?
Thanks a lot, SaperaHello,
What kind of performance issue u have noticed?
Check if below idoc_aae tuning note helps u...
1641541 - IDoc_AAE Adapter performance tuning
Thanks
Amit Srivastava -
We are generating Order05 IDOC and based on a particular condition some IDOCS are needed to be released to Receiving Partner otherwise they need to be collected in the Batch file for Processing.
Immediate Idocs needs to go to the PORT1 and Batch IDOCS needs to go to the PORT2
We have written a Z abap program to meet the above conditions, but our ABAPer says that its not Possible to send the IDOCS to two different Port condition?
Wheter ALE never allow to send an IDOC to more than one PORT?
Thanks.Hi,
I think you are using Z program to trigger IDoc?
Configure 2 different ports and assign partner profile , while creating you can use partner type LS and for other use US.
then use following fm and fill up the control record with port 1 and call fm
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = idoc_control
TABLES
communication_idoc_control = t_comm_control
master_idoc_data = t_idoc_data
then refresh the control record and fill with port 2 and call fm
aRs -
Hi,
Can somebody tell me the procedure in detail, how to create an IDOC interface for Order/Quote Confirmation including the transaction codes? I'll be very greatful.
Thanks,
John.The first step in creating a new IDOC is to create all the segments that go into that IDOC. There are some rules that have to be followed while creating the segments:
The name of that segment type must start with Z1
For each field in the segment you have to define a field name, a data element for the segment structure and a data element for the segment documentation.
The data element for the segment structure has to be of data type CHAR
The IDOC tools create overall three structures:
Z1nnnnn - field names
Z2nnnnn - data elements for structure definition
Z3nnnnn - data elements for documentation
IDoc type
IDoc structure type
Receiver port/partner type/partner number
Sender port/sender type/sender number -
hi all,
first of all let me tell you whats happenning presently with the system:
on changing the final invoice flag in PO,the output types ZNE3 is detemined by nace config which results in creation of the idoc which are finally used to send across the other system.
So,the requirement is whenever the final invoice flag in a PO is changed,the idoc should not get created at all.
i know,our goal is stop the entries to be created in NAST table since that only detemines the idoc types processing later.
Please give me suggestions on how to proceed on this?
RegardsHi,
all config can be done from transaction NACE. Check [SAP documentation|http://help.sap.com/saphelp_di471/helpdata/EN/c8/19878343b111d1896f0000e8322d00/frameset.htm] for more info.
Cheers -
Inbound Idoc port ???
Hi All,
I am working on proxy to IDoc_AAE scenario. Can anybody tell me from where inbound Idoc will take port?? I have imported inbound parameters in respective partner profile, but not sure from where this idoc is picking port value. Kindly suggest.
Thanks & Regards,
Rashmi JoshiHello,
If you already know the port no , you can do that by filling the EDIDC Segment of the Idoc .
Else the Idoc will be sent via the RFC destination configured in the rcver idoc channel
and during the TRFC call system will check for the existing partner profile (the entries set up in we21).
hope this helps .
rgds
Kishore
Maybe you are looking for
-
MacBook Pro 15" with extra display not showing right resolution
I have a MacBook pro 15" that I got just the other day and I hooked it up to a Dell monitor thats native resolution is 1440 x 900 but it doesn't show up in resolutions in preferences. Kinda annoying.
-
Been lied to Verizon is a fraud
My contract was up in July 2014 so I renewed it and was told that my price wouldnt go above 145 with taxes for 2 yrs. I just got out of the hospital yesturday and low and behold my bill is going up 20.00. I called them and they gave me the run around
-
Storage location mandatory for inter stock transfer
Hi, Document where only issuing plant has storage location and user has not entered storage location in destination tab. It is observed that where u201Cstorage locationu201D is missing in u201Cdestination tabu201D, system is not able to determine ba
-
Collect the records based on the field
Hi , I have a scenario like below. name id emailid X 1 XXX y 2 XXX z 3 YYY w 4 XXX So I want to send mail to XXX with X y and W information at a time i.e means in the single mail and mail should go
-
Project suddenly freezing as if I had too little ram!
Am on a deadline editing a project that's about 2 hours. I'm a little over an hour into it, it's a one-camera of a performance, and I'm mixing three sources of sound (left/right of mics into camera as well as some wav files recorded using a Zoom digi