Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

idoc header

Former Member
0 Likes
1,310

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,093

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,093

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.

Read only

0 Likes
1,093

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

Read only

0 Likes
1,093

receiving system

Read only

0 Likes
1,093

is there any convention to be followed to give the port number on receiving system or we can give on our own ??

Read only

0 Likes
1,093

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

Read only

Former Member
0 Likes
1,094

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