Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

hi very critical requirement has given to me ANYBODY can help me in writing in SQL SAP HANA

$
0
0

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

 

 

Thanks

Raghav


Viewing all articles
Browse latest Browse all 6412

Trending Articles