Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: BOL Relation Between root object Product and BTOrder

$
0
0

Hi Viren,

 

I do not think there is a relationship between Product and Business Transaction. The easiest way is to write a query as mentioned below:

 

data: lt_guids     type crmt_object_guid_tab,

 

IF lv_product IS NOT INITIAL.

    SELECT DISTINCT header FROM crmd_order_index INTO TABLE lt_guids

                                                 WHERE      process_type_ix IN ('TA', 'ZTA' )

                                                  AND           product_id eq lv_product.

  ENDIF.

 

You can also add Inner Joins with CRMD_ORDERADM_H and CRM_JEST (for status) tables to add other restrictions.

 

Thank you

Anji


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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