cancel
Showing results for 
Search instead for 
Did you mean: 

Inventory IDs management

Former Member
0 Kudos

Hello experts,

I built a customized interface to sap me but I am facing a problem with Inventory IDs.

I need to replace an existing inventory ID in a resource in setup with another compatible one.

Using .../manufacturing-papiservices/InventoryServiceWSService

I am able to do a lot of nice things (find, check, add, update, etc etc)

but I can't remove the Inventory ID from a Slot.

I had a look at .../manufacturing-papiservices/CompTimeLogServiceWSService and

there is a method to find the time log records (getCurrentAndPendingComponentTimeLogRecords)

and another one to close all the component time logs (closeAllCompTimeSlots) but I am not able

to find a way to do it only for one Slot or one Inventory ID.

Can you help me?

Many thanks in advance for the answers.

BR,

Dino

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Alex,

sorry for the late answer but I found the solution 🙂

To do what I need I do:

  1. Get the slot configuration with "ReadSlotGroup"
  2. Get the inventory IDs from the table "COMP_TIME_ASSY_DATA"
  3. Unload the slot configuration with "UnloadSlotGroup"
  4. Replace (in memory) the requested inventory ID with the new one
  5. Do a replenish of the slot configuration (in memory) with "ReplenishSlotGroup"
  6. Activate the slot configuration with "ActivateSlotGroup"

It is very fast!

Thank you very much for your support!

Have a nice day!

Dino

0 Kudos

Thank you for update, Dino!

Answers (1)

Answers (1)

0 Kudos

Hi Dino,

Indeed, such PAPI to remove loaded inventory in case of splice does not exist. As far as I understand you should be able to remove and re-load the whole slot configuration setup on resource. As long as it works for you, I do not think additional PAPI will be provided.

Kind regards,

Alex.

Former Member
0 Kudos

Hi Alex,

sorry for the late answer.

Many thanks for your support.

To remove and change the whole slot configuration I need to get the detail of the slots (Inventory IDs per slot) to be able to reload everything in the right way. Can you help me to find a way to get this info?

BR,

Dino

0 Kudos

Hi Dino,

My turn to say sorry for delay

Is it still an actual question? If yes, did you try unloadSlotGroup request under SlotGroupConfigurationServiceWSService?wsdl   ? I have not tested it yet and can be wrong, but sounds appropriate.

Kind regards,

Alex.