Creating IDoc Packets
If you send master data directly, a function module creates an IDoc for each master data object, for example, material. In most cases more than one master data object can be passed to the function modules for IDoc creation.
Have a look into these links :
For IDOC Packaging refer this blog:
Also follow this useful link bu Michal Krawczyk
PS : reward points if helpful
Idoc Packaging is just take the same data and posting into sevelral idocs...so, if any error in the one idoc posting means..(the problem is with the data only).. so, remaining idocs also containing the same data.. so, we will get the errors for remaining idocs also...
small doubt.. are u sending the same data as multiple idocs.. is it correct.. or.. you are sending different data for each idoc..
havent worked with idoc packagin but i hope that this needs to be handeled in the target system. in the target system instead of having the option process immedialey in the partner profile have the option collect idocs enabled. check the user exit for idoc posting and if one idoc fails have logic implemeted so that the trailing idocs also fails.