Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: ATP schedlin information is not coming from R3

$
0
0

Hi Hasan,

 

Thanks for the reply.

 

The FM CRM_CONFIRM_ADD_ITEM_EC is being called. But here when the routine put_to_atp is called, the IV_CONF_MODE is always set to 'C'. To get schedlin details we need to set it to 'D' and it will be set by BADI CRM_ATP_INFO_BADI.

 

The middleware parameters are also maintained.

Untitled.png

 

The problem that i am facing is, in the FM FM CRM_CONFIRM_ADD_ITEM_EC, the BADI CRM_ATP_INFO_BADI' is called at line 314. But in my case it never reached there because the check at line 307,

IF ( lv_lookup_only = true OR lv_extinf_defined = true ), always fails.

 

These two variables are set at line 227 by below FM -

 

CALL FUNCTION 'CRM_AV_CHECK_DEFINED'

       EXPORTING

         iv_header_guid    = iv_header_guid

       IMPORTING

         ev_apo_defined    = lv_apo_defined

         ev_r3_defined     = lv_r3_defined

         ev_lookup_only    = lv_lookup_only

         ev_extatp_defined = lv_extatp_defined

         ev_extinf_defined = lv_extinf_defined

         ev_apo_info_only  = lv_apo_info_only.





What configuration should i maintain, am i missing something here. Why varibles lv_extinf_defined and lv_lookup_only are always false?



Please suggest.


Thanks - Mahendra


Viewing all articles
Browse latest Browse all 8902

Trending Articles



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