2008 Jul 08 10:00 AM
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.
2008 Jul 08 10:38 AM
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.
2008 Jul 08 10:06 AM
2008 Jul 08 10:23 AM
checked the tables but no entries found corresponding to that message type ...... can you help me with a piece of sample code ......
2008 Jul 08 10:38 AM
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.
2008 Jul 09 4:43 AM
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