Hi,
I'm enchancing Context Menu for jump targets, I'm trying to create RRI for specific structure memeber ID. If you see the below code i have specified which structure value need to used for RRI, but the problem is when i save and execute on browser its not showing me the context menu. Can anyone please tell me what I'm missing in this code.
SAPBWAddToMenu("Rolling-12-Months","myMenuProcessor","1","STRUCTURE_VALUE","3WCRC22OV2B6EO3E98YSW4XFX", "X","TOP","","");
unction
myMenuProcessor(parameter,cell_type,filter,parameter1,parameter2,item,dataprovider,x,y)
{
switch (parameter)
{
case "1":
SAPBWOpenWindow(SAP_BW_URL_Get() + "&CMD=RRI&DATA_ROW=" + y +
"&DATA_COLUMN=" + y + "&IOBJNM=3WCRC22OV2B6EO3E98YSW4XFX&RRI_RECEIVER=QURY0003&DATA_PROVIDER=" + escape(dataprovider) ,"Rolling-12-Months",600,400);
break;
}
}
Thanks in Advance.
Regards,
Deepak
Hi,
it has to say STRUCTURE_MEMBER
SAPBWAddToMenu("Rolling-12-Months","myMenuProcessor","1","STRUCTURE_MEMBER","3WCRC22OV2B6EO3E98YSW4XFX", "X","TOP","","");
as documented in
http://help.sap.com/saphelp_nw04/helpdata/en/80/0b863be3047e19e10000000a114084/frameset.htm
Also make sure you have the correct UID for the structure (not the structure member) specified.
Heike
Add a comment