I have Table A, B and C. A to B and A to C linkage is using left outer join based on Project Key. So all projects listed in A will be displayed and common projects in B and c will fetch data.
Table B and C has project Phase. Now I need to create a group based on Project Key in GH1 and PRoject Phase in GH2.
I cannot add outer join for Project Phase between table B and C, that is the SAP BW restriction.
I tried to create GH2 based on formula
if {Proj_Phase_B}= {Proj_Phase_C} then
{Proj_Phase_B}
else if isnull({Proj_Phase_B}) and not(isnull({Proj_Phase_C})) then {Proj_Phase_C}
else if isnull({Proj_Phase_C}) and not(isnull({Proj_Phase_B})) then {Proj_Phase_B}
whenever Phase B = Phase C it works fine, problem appears when phase B is null it makes Phase C also null and all those rows are put then in the end.
I am damn sure that I am making a very simple mistake, need help.
-Raghu
Table B and C has project Phase. Now I need to create a group based on Project Key in GH1 and PRoject Phase in GH2.
I cannot add outer join for Project Phase between table B and C, that is the SAP BW restriction.
I tried to create GH2 based on formula
if {Proj_Phase_B}= {Proj_Phase_C} then
{Proj_Phase_B}
else if isnull({Proj_Phase_B}) and not(isnull({Proj_Phase_C})) then {Proj_Phase_C}
else if isnull({Proj_Phase_C}) and not(isnull({Proj_Phase_B})) then {Proj_Phase_B}
whenever Phase B = Phase C it works fine, problem appears when phase B is null it makes Phase C also null and all those rows are put then in the end.
I am damn sure that I am making a very simple mistake, need help.
-Raghu