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 information

Former Member
0 Likes
642

HI all ,

I have pasted a piece of code below in the below code i have hard coded the sender partner number ,port ,and partner type and similarly for reciever side also how to get values from a table so that i dont need to hard code it .Any piece of sample code .It will work in development but how abt in quality and production

thanx in advance

itab_edidc-sndprn = 'SAPDX1_050'.

itab_edidc-sndprt = 'LS'.

itab_edidc-sndpor = 'SAPDX1'.

*-- Receiver information

itab_edidc-rcvprn = 'SAPD02_050'.

itab_edidc-rcvprt = 'LS'.

itab_edidc-rcvpor = 'SAPD02'.

itab_edidc-serial = sy-datum.

itab_edidc-serial+8 = sy-uzeit.

itab_edidc-direct = '2'.

itab_edidc-mestyp = 'ZPP_INFOR_SCHEDULE'.

itab_edidc-idoctyp = 'ZPP_INFOR_SCHEDULE'.

itab_edidc-refmes = itab_final.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
613

Hi,

select the receiver information from the table EDP13. Give the partner type of reciever, msgtyp, idoctype


  SELECT SINGLE rcvprn     " Partner Number of Receiver
                            rcvpor     " Receiver port
           FROM edp13
           INTO (itab-rcvprn,
                    itab-rcvpor)
          WHERE rcvprt  = 
                AND mestyp  = 
                AND idoctyp = 

regards,

teja.

HI all ,

I have pasted a piece of code below in the below code i have hard coded the sender partner number ,port ,and partner type and similarly for reciever side also how to get values from a table so that i dont need to hard code it .Any piece of sample code .It will work in development but how abt in quality and production

thanx in advance

itab_edidc-sndprn = 'SAPDX1_050'.

itab_edidc-sndprt = 'LS'.

itab_edidc-sndpor = 'SAPDX1'.

*-- Receiver information

itab_edidc-rcvprn = 'SAPD02_050'.

itab_edidc-rcvprt = 'LS'.

itab_edidc-rcvpor = 'SAPD02'.

itab_edidc-serial = sy-datum.

itab_edidc-serial+8 = sy-uzeit.

itab_edidc-direct = '2'.

itab_edidc-mestyp = 'ZPP_INFOR_SCHEDULE'.

itab_edidc-idoctyp = 'ZPP_INFOR_SCHEDULE'.

itab_edidc-refmes = itab_final.

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
613

hi,

check tables edppv,edpp1,edp13.

Read only

Former Member
0 Likes
613

checked the tables but no entries found corresponding to that message type ...... can you help me with a piece of sample code ......

Read only

Former Member
0 Likes
614

Hi,

select the receiver information from the table EDP13. Give the partner type of reciever, msgtyp, idoctype


  SELECT SINGLE rcvprn     " Partner Number of Receiver
                            rcvpor     " Receiver port
           FROM edp13
           INTO (itab-rcvprn,
                    itab-rcvpor)
          WHERE rcvprt  = 
                AND mestyp  = 
                AND idoctyp = 

regards,

teja.

Read only

uwe_schieferstein
Active Contributor
0 Likes
613

Hello Annpuareddy

You need to define the reuired ports for sender and receiver in transaction WE21. In WE20 you define the required partner profiles. Finally, you may need to define a distribution model (BD64).

All required ALE/IDoc transactions are displayed in a mini-IMG when you call transaction SALE.

Regards

Uwe