Quantcast
Channel: SCN: Message List - SAP CRM: Master Data & Middleware
Viewing all articles
Browse latest Browse all 4270

Re: download the equipments along with its warranty information data

$
0
0

Hi Sunil,

 

Not sure but strangely as I check the code of the FM : CRM_CREATE_OBJECT_FROM_EQUI , which is called for replication of the equipment from ecc to crm. I see that the code responsible for warranty addition will never be called( initially only )  :

 

 

IF gc_warrenty_load IS NOT INITIAL.   "gc_warrenty_load is hardcoded as space

         PERFORM set_warrenty_data

           USING it_equi_dmbdoc

           CHANGING ls_message_ext

                    ct_error_segments.

       ENDIF.


Hence, I believe that you have to create a new implementation of the BADI , CRM_EQUI_LOAD , copying all the code of the standard impl. CRM_EQUI_LOAD_STDIMP. Then you have to write custom code in ENLARGE_COMPONENT_DATA , to handle the warranty addition.


The code will hit if in R3AC1 , for adapter object EQUIPMENT , the table BGMKOBJ is marked active.


/Hasan

 

Message was edited by: hasan rafiq , as per below response from Anindya !


Viewing all articles
Browse latest Browse all 4270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>