04-09-2009 11:52 AM
Hi All,
I am generating one IDOC for the message type LOIPLO, Idoc type LOIPLO01 with using the function module MASTER_IDOC_DISTRIBUTE. Function module is returning the idoc number, but if I go and see in WE02, it is saying "No idocs are selected".
For the partner package size is 1000. Is it the reason ?
Thanks,
sreenivas.
04-09-2009 12:32 PM
Hi,
Don't give any search criteria execpt for ur message type LOIPLO in WE02 and check..If the idoc is created definitely it will be shown..
Regards,
Nagaraj
04-09-2009 12:40 PM
Hi Nagaraj,
In the selection screen I gave nothing, except the date. Still it is not showing any idocs.
Thanks,
sreenivas.
04-09-2009 12:43 PM
Hi,
Did u search with message type....also one more thing u check that in we21, if u checked the check box trigger immediately.
Regards,
Nagaraj
04-09-2009 1:00 PM
Did you use "COMMIT WORK" after successful execution of MASTER_IDOC_DISTRIBUTE? Otherwise it will return the idoc number but actually will not post the idoc in the system.
Regards,
R
04-09-2009 1:02 PM
Check the table edid4,edidc,edids....Check in st22 or sm13 to check some runtime error has happend...
04-09-2009 2:01 PM
Hi,
Check you partner profile in WE20 and do you have a filter set up in the distribution model for that message type?
Regards,
Soumya.
04-09-2009 2:10 PM
Use COMMIT WORK after calling the FM. This should work.
Thanks
Kiran
05-01-2009 2:36 PM
There was the problem in partner profile. I have used collect idocs with 1000 and am processing some idocs, so it is not creating.
05-01-2009 2:47 PM
Correct the partner profile in WE21, and always perform COMMIT WORK after MASTER_IDOC_DISTRIBUTE call. Even if you create a wrong idoc with wrong partner profiles, it should be created and visible in WE02 - then it will have the wrong status - depending on the incoming/outcoming idoc type.