‎2007 May 17 2:47 AM
Hi
In all outgoing idoc hearders port number field will be there. And the port number will be the one that is created in the sending system by using we21. Please correct me if I am wrong.
thanks
kumar
‎2007 May 17 4:28 AM
yes you are wright all the idoc header information is stored in the dictionary table EDIDC that is controle information for idoc it contains all the information like
1>who is sender.
2>who is receiver
3>which is the message type
4>between which logcal system
5>in which port idoc to be send to receiving ligical system
6>what is idocid
all information are stored in this table
that port what you created by the transaction WE21 that port you have to assign here
‎2007 May 17 2:50 AM
see the below :
WA_EDIDC-MANDT = SY-MANDT.
WA_EDIDC-MESTYP = 'ZEMP9'.
WA_EDIDC-IDOCTP = 'ZEMP9'.
wa_edidc-cimtyp = c_imtyp.
WA_EDIDC-RCVPRN = 'A000000043'.
WA_EDIDC-RCVPRT = 'LS'.
WA_EDIDC-CREDAT = SY-DATUM.
WA_EDIDC-CRETIM = SY-UZEIT.
append wa_edidc to i_edidc.
‎2007 May 17 3:10 AM
Hi seshu,
thanks for your reply ! I have one more question in mind. Is that prot number is of senders system or receiving system ??
If you are sending the idoc, is it like that port number of sender and recevier both shold be same ?? or we can give on our own ?? Is there any convention followed to give the port number in receiving system ??
thanks
kumar
‎2007 May 17 3:18 AM
‎2007 May 17 3:21 AM
is there any convention to be followed to give the port number on receiving system or we can give on our own ??
‎2007 May 17 4:01 AM
yes ,you can give own name,just goto we21 and create port
type would trfc(ALE) or file (EDI) and you will get pop up window.
here mention own port
‎2007 May 17 4:28 AM
yes you are wright all the idoc header information is stored in the dictionary table EDIDC that is controle information for idoc it contains all the information like
1>who is sender.
2>who is receiver
3>which is the message type
4>between which logcal system
5>in which port idoc to be send to receiving ligical system
6>what is idocid
all information are stored in this table
that port what you created by the transaction WE21 that port you have to assign here