cancel
Showing results for 
Search instead for 
Did you mean: 

How I can lock some products in commpr01?

Former Member
0 Kudos

Hi,

I'd like to lock some products. I am trying with COM_PRODUCT_STATUS_SET program. I put the object_id and the status I1103 without test mode checked but the product is not locked.

No record is entered in CRM_JEST for the product.

Does anybody know how I can lock a product??

thankss

BR

Jorge

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

<u>Please use the following function modules which might help -></u>

<b>COM_PRODUCT_MAINTAIN

COM_PRODUCT_MAINTAIN_READ

COM_PRODUCT_IL_MAINTAIN

COM_PRODUCT_IL_MAINTAIN_SAVE

COM_PRODUCT_UI_MAINTAIN

COM_PRODUCT_UOM_MAINTAIN_READ

COM_PRODUCT_UOM_MAINTAIN_UPD

COM_PRODUCT_MAINTAIN_STATUS</b>

Hope this will help.

Please reward suitable points, incase it suits your requirements.

Regards

- Atul

Ramki
Active Contributor
0 Kudos

Hi

In COMMPR01 transaction, you can set the status to 'Locked'.

The lock status sets the field Xnosearch in comm_product

I do not think there should be entries in CRM_JEST.

Best regards

Ramki

Ramki
Active Contributor
0 Kudos

Okay. I was wrong.

I1103 is also set when locked in CRM_JEST for product GUID.

WHy don't you try FM COM_PRODUCT_MAINTAIN_STATUS ?

Best regards

Ramki

former_member194362
Discoverer
0 Kudos

Hi Ramki,

I am trying to set the lock status to locked in a report. I am using these function modules:

COM_PRODUCT_MAINTAIN

COM_PRODUCT_MAINTAIN_STATUS

COM_PR_SET_SAVE_LOCAL_ALL

But this is not working. Could you tell me how the COM_PRODUCT_MAINTAIN_STATUS should be used?

Thanks in advance and best regards,

Hans