on 05-22-2014 11:09 AM
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
Hi Abdou,
Could you check SLG1 and sm13 as well?
This could give you more details.
Best regards
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Christophe,
Thank you very much for your Hint.
I did not know the SLG1 and SM13 transaction.
I found what I was looking for in the table et_bapireturn .
In fact there was message containing message of type A.
A means Aborted.
The message tells you which fields is making trouble.
Best regards
Abdou
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.