on 01-08-2011 12:19 AM
Hi,
We are facing a strange issue related to Catalog transfer. Actually our suppliers are passing a UOM FOT which is not maintained in our system. When catalog got transferred it is throwing error
u201CIncomplete items in catalog. Only complete items were transferredu201D
We are trying to map that UOM by implementing BADI BBP_CATALOG_TRANSFER, but the real problem is ENRICHED_ITEM_DATA structure is coming blank. My main concern is this , why ENRICHED_ITEM_DATA is coming blank.
Can anyone please help on this?
Regards
Praveen
Hi Praveen,
This data will be taken in through lt_oci_item_data, if you are using the BAdi to change the UOM then ensure you also clear table ET_MESSAGES in the BAdi too as the table is called again for error checking after Badi call and of the error still exists, it will again clear your UOM field even though you have since ammended it in the BAdi.
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
Thanks a lot for guiding. After further analysis I found following points
1. The ENRICHED_ITEM_DATA is coming blank
2. ET_SC_ITEM_DATA is also coming blank.
3. CATLOG_CONTENT has value
3. ET_SC_MESSAGES has one value u201CE |BBPWS |017 |Unit of measure FT is not
an ISO code.u201D.
4. When i am clearing this message and mapping my UOM then its not showing the line Item.
Code that I have written:
DATA: ITAB_WA TYPE bbp_ws_oci_item_s.
LOOP AT CATALOG_CONTENT INTO ITAB_WA.
wa_index = sy-tabix.
*loop at catalog_content INTO ITAB_WA.
*Clear ET_SC_MESSAGES.
*
ITAB_WA-Unit = 'FOT'.
*
MODIFY CATALOG_CONTENT FROM ITAB_WA index wa_index..
clear ET_SC_MESSAGES.
clear: wa_index, ITAB_WA.
endloop.
Note: When I am not clearing the ET_SC_MESSAGES then its throwing error
u201CIncomplete
items in catalog. Only complete items were transferred".
This error is not there in ET_SC_Messages. I wondering from where this has come.
Please help, will provide points once it is solved.
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.