Advertisement
yaramohamed78

Untitled

Apr 24th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ABAP 0.78 KB | None | 0 0
  1.   SELECT r~ZZID r~ZZCOMPANY_CODE r~ZZCOST_CENTER r~ZZSR_NUMBER r~ZZDATE r~ZZSERVICE_TYPE r~ZZRQSTTS r~CREA_USER r~CREA_TIME r~CHNG_USER r~CHNG_TIME r~ZZASSIGNED_TO l1~ZZDESC as ZZSERVICE_DESC l2~ZZDESC as ZZSTATUS_DESC T~BUTXT as ZZCOMPANY_NAME
  2.   INTO CORRESPONDING FIELDS OF TABLE req
  3.   FROM ZFI_DISPOSAL_REQ as r
  4.   LEFT JOIN ZFI_LOOKUP as l1 ON  l1~ZZLKUPID = r~ZZSERVICE_TYPE
  5.   LEFT JOIN ZFI_LOOKUP as l2 ON  l2~ZZLKUPID = r~ZZRQSTTS
  6.   LEFT JOIN T001 as T ON  T~BUKRS = r~ZZCOMPANY_CODE
  7.   WHERE ( r~ZZCOMPANY_CODE in ZZCOMPANY_CODE )
  8.    and   ( r~ZZCOST_CENTER in ZZCOST_CENTER )
  9.    and   ( r~ZZSR_NUMBER in ZZSR_NUMBER )
  10.    and   ( r~ZZDATE in ZZDATE )
  11.    and   ( r~ZZSERVICE_TYPE in ZZSERVICE_TYPE )
  12.    and   ( r~ZZRQSTTS in ZZRQSTTS )
  13.    and   ( r~ZZASSIGNED_TO = i_fa_specialist ).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement