Skip to Content
0
Former Member
May 22, 2014 at 10:09 AM

COM_PRODUCT_UI_MAINTAIN commit not working no errors messages

38 Views

Hello EveryBody,

I use the FM in order to update product. Unfortunately my product is not updated 😊

COM_PRODUCT_UI_MAINTAIN

Thye basics schema of calling is :

CALL FUNCTION 'ENQUEUE_E_COM_PRODUCT'

CALL FUNCTION 'COM_PRODUCT_UI_MAINTAIN'

EXPORTING

is_product = ls_prod_m

is_set = lt_set

iv_update_type = 'U' " Change Type

IMPORTING

et_bapireturn = lt_bapireturn

es_product = ls_product_out => Contains the correct value !

EXCEPTIONS

internal_error = 1

OTHERS = 2.

IF sy-subrc <> 0.

ENDIF.

CALL FUNCTION 'COM_PRODUCT_UI_SAVE' => No error

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' => No error

CALL FUNCTION 'DEQUEUE_E_COM_PRODUCT'. => No error

My problem comes from the fact that, my product and associates tables are not updated.

Strangely the update is

But the most surprinsing NO ERROR MESSAGE is returned or Throwed.

I am sure i doing something wrong somewhere, but without log or error message it is difficult

How I may access to any message error ?

Is there any help/ documentation on those function ?

Since I use the set Notion of set, should I use a lock on the SET table ?

Best regards

Abdou