Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: ERROR during INNER JOIN in SQL SAP HANA

$
0
0

hi Madhusudan

 

could you help me out in getting below requirement in SQL SAP HANA pls

 


we need to get REGION dat using below  inputs ...


Steps to get the region data in CRM

 

  1. 1. Get the Object ID ( OBJID )from TABLE  HRP1000 by passing to the field Sale Org (L001,L002…) to field MC_SHORT, PLVAR = 01, OTYPE = “O”, ENDDA = “31.12.9999”
  2. 2. Get SOBID from the  table  HRP1001 by passing OBJID from step1 & PLVAR = 01, OTYPE = “O”, ENDDA = “31.12.9999”, RSIGN = “A” – This will give you the 1st higher level
  3. 3. You can get the description (MC_STEXT) of 1st higher level from HRP1000 by passing OBJID = SOBID from step 2, PLVAR = 01, OTYPE = “O”, ENDDA = “31.12.9999”
  4. 4. Keep doing the 2nd step by passing the SOBID from step2 to OBJID to HRP1001 and PLVAR = 01, OTYPE = “O”, ENDDA = “31.12.9999”, RSIGN = “A” to get next higher level and do the Step 3 to get the description
  5. 5. You need keep doing the step 2 and 3 till you don’t get any row from step 2

Viewing all articles
Browse latest Browse all 9165

Trending Articles



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