Get Shipment Id Associated with Product

I got it with:

[code]

<?php $_shipment = Mage::getModel('sales/order_shipment')->loadByIncrementId($shipid); $itemsCollection = $_shipment->getItemsCollection(); foreach($itemsCollection as $item) { $_product = $item->getName(); } echo $_product; ?> [/code]

That’s magento!