Passing Range Parameter for BO Publication for Dynamic Recepient list
Hello,
We have a Crystal report on top of BEx and we are passing input values for the parameters using another Crystal Report.
We are trying to pass a date range from Dynamic Recipient List to date prompt under personalization.
The format in which we are trying to pass is "05/06/2010 : 09/22/2010" and we are getting the below error in log file:
Document for recipients {} failed: Internal error.
Document for recipients {} failed: Cannot Map Multiple Profile Values to a Single Parameter Field: {[ZOC_DATE]} in Report: ABC_VendorFiscal.
Document for recipients {} failed: Internal error. (FBE60502)
How do we the pass values to date range?
Regards,
Vishal
I came accross the same problem with BIP 4.0 and CR2011 on BW MDX.
By searching on the SAP notes I have found this one which is apparently only a workaround:
1544713
Kind regards,
Sylvain
Similar Messages
-
How can i pass the parameter for strored procedure from java
dear all,
I am very new for stored procedure
1. I want to write the strored procedure for insert.
2. How can i pass the parameter for that procedure from java.
if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from javaHi Ram,
To call the callable statement use the below sample.
stmt = conn.prepareCall("{call <procedure name>(?,?)}");
stmt.setString(1,value);//Input parameter
stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
stmt.execute();
seq = (int)stmt.getLong(2);//Getting the result from the procedure. -
Address List and RecipientFilter for dynamic distribution lists
Hi guys
I am trying to setup a Address List in exchange that contains dynamic distribution lists specified by the list name. So address List abc should contain dynamic distribution lists with list names "def" and "ghi" and "jkl"
So far I have come up with below which displays all dynamic distribution lists. this works but how can I now filter further to specific lists?
New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and (ObjectClass -eq 'msexchdynamicdistributionlist'))}
Example of what I am trying to acheive:
New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and ((ObjectClass -eq 'msexchdynamicdistributionlist') -and ('msexchdynamicdistributionlist' -eq 'def') -or ('msexchdynamicdistributionlist' -eq 'ghi') -or ('msexchdynamicdistributionlist' -eq
'jkl'))}Hi,
I have some tests in my environment using Exchange 2013. You can use the following cmdlet to create an address list that contains specified distribution group members.
New-AddressList -Name test3 -RecipientFilter {((Alias -ne $null) -and (MemberOfGroup -eq 'CN=Sales,CN=Users,DC=contoso,DC=com'))}
Note that it can't work for dynamic distribution group. In your case, I haven't found a parameter for dynamic distribution group in Exchange, your understanding will be appreciated.
Hope my clarification can be helpful to you.
Best regards,
Amy Wang
TechNet Community Support -
Setting user parameter for system - save - list - options
i want to set the user parameter for system > save > list > options so user dont need to select every time for any option.
Moderator message - Title modified because the page renderer can't handle ">".
Edited by: Rob Burbank on Nov 10, 2009 9:15 AMNot Answerd
-
4.x: Document Link passing range parameter to a WebI rpt using BEx query
I'm new to working with BEx queries, so I may use the wrong terminology. I'm trying to create a document hyperlink from one WebI report to another. Both are based on BEx queries, which I didn't create, nor do I have access to modify. The BEx query for the target report has a parameter, Fiscal year/period, which is a range parameter. The displayed value in a report or in pick lists is in the format "JUL 2010". The key is in the format "K4/007/2010".
I have tried using the Document Link expert to configure passing the range parameter, but have been unsuccessful. The typical result is an error message, ERR_WIS_30270, which is most likely the result of an incorrect format for passing the range. I've not been able to locate adequate documentation that describes the syntax for passing a range value to a BEx parameter. I've successfully created Document Links to reports using BEx queries that have a parameter that requires a single value, and I've done Document links in non-Bex reports in 3.1 without issues.
Has anyone successfully passed a range value to a BEx paramter? If so, what syntax did you use?
The environment is BI 4.0, sp 2 (14.0.2.439)
Edited by: Steve Green on Oct 7, 2011 8:04 PMMarianne,
Thanks for the heads up on the fixpack. I tried looking at the note # you sent, but a search of SAP Notes says that the note has not been released. However, reviewing the Fixed Issues in fixpack 6 shows the following item:
ADAPT01580012
Link to a WebIntelligence report using syntax OpenDocument fails when target document contains a prompt
based on a BEx variable of type Interval. Error message is "An internal error occurred while calling
'answerPromptEx' API. (Error: ERR_WIS_30270)".
Behavior is now correct and refresh operation takes into account interval answer passed in OpenDocument URL.
Now we just need to upgrade to fp 2.6 to see if it resolves this issue. I've also opened a ticket with support, so I'll see what they say.
Edited by: Steve Green on Oct 12, 2011 7:27 PM -
Need solution for dynamic pick lists in Crystal Reports
Does anyone have a good solution for creating a dynamic pick list for a Crystal Report that is based off of a BW Query without having to use a BW user input variable? In many cases it is not practical to use a BW variable to generate a dynamic pick list due to the high number of possible member values and the highly dynamic nature of the particular characteristic (customers, materials, etc.). In my understanding the LOV Server is not an option when dealing with SAP BW. Anyone else running into this issue with Crystal and SAP BW?
Hi Mike,
we once solved this by creating LOVs in BusinessView Manager. I am not sure if you can use the BW Publisher in this scenario as we did not use it. We published the reports directly to the BOE server for some reasons.
Creating a LOV in BusinessView manager is really easy. You can create cascading prompts, shedule refreshing of the lists, ...
By using the cascading prompt feature you can make prompts like this:
First enter the customer number (or pick it from a list) and then the second list, which holds the materials only has shows the ones which had been purchased by that customer. I think this is what you are looking for.
You should give it a try!
Thorsten -
MailTips for Dynamic Distribution Lists - wrong number of recipients
We use Exchange 2013 and Outlook 2013. We have a Dynamic Distribution List ([email protected]) configured on Exchange. It contains 75 users, I confirmed it using below cmdlets in Exchange management shell
$all = Get-DynamicDistributionGroup [email protected]
Get-Recipient -RecipientPreviewFilter $all.recipientfilter
When I use Outlook to create a new email to [email protected] there is a MailTip displayed mention about 87 of recipients, it should be 75 users.
Settings on our Exchange servers are as below:
[PS] C:\Windows\system32>Get-OrganizationConfig | fl *mailtip*
MailTipsAllTipsEnabled : True
MailTipsExternalRecipientsTipsEnabled : False
MailTipsGroupMetricsEnabled : True
MailTipsLargeAudienceThreshold : 25
MailTipsMailboxSourcedTipsEnabled : True
Any idea how to troubleshoot it?In Active Directory attributes for this group are as below
msExchGroupMemberCount =
87msExchGroupExternalMemberCount
= 0
Regarding
files under %ExchangeInstallPath%GroupMetrics there is only cookie file modified yesterday and
it contains as below:
DC=domain,DC=com;12/28/2014 13:11:15;05/14/2013 20:02:24
Just created new dynamic distribution group with the same filter as for group all (for test purpose). There is no MailTip for this new group now. Is it possible to force \ speed up group metrics generation? -
Error while setting input parameter for dynamic process - GP
Hi All,
I am using CAF 7.1 GP.
Here I have to start a process dynamically and it is working fine.
But, when I tried to set value for input parameter of this process by
IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
params.setAttributeValue("Val","MyValue");
( <b>Val</b> is the name of grouped input parameter ), it is giving
com.sap.caf.eu.gp.exception.api.GPInvocationException: Structure with name input and namespace http://wwww.sap.com/nw/eup/gp does not have an attribute with name Val and namespace null.
But no where I have mentioned http://wwww.sap.com/nw/eup/gp.
I dont have any structures in my input and output.
Here is my full code
try
IGPProcess process = null;
IUser tl_user =UMFactory.getUserFactory().getUserByLogonID("fahad");
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(tl_user);//, user.getLocale());
process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("F5D76840A56F11DC983B001966243CAD",userContext);
wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
int rolenum = process.getRoleInfoCount();
wdComponentAPI.getMessageManager().reportSuccess("Number is "+rolenum);
IGPProcessRoleInstance roleInstance=null;
IUser ho_User=null;
for (int i = 0; i < rolenum; i++)
wdComponentAPI.getMessageManager().reportWarning("Role Text is "process.getRoleInfo(i).getText()" Role Name is "+process.getRoleInfo(i).getRoleName());
if(i==1)
ho_User = UMFactory.getUserFactory().getUserByLogonID("poornendu");
roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
roleInstance.addRuntimeDefinedUser(ho_User);
roles.addProcessRoleInstance(roleInstance);
if(i==2)
ho_User = UMFactory.getUserFactory().getUserByLogonID("fahad");
roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
roleInstance.addUser(ho_User);
roles.addProcessRoleInstance(roleInstance);
wdComponentAPI.getMessageManager().reportSuccess(""+process.getStructure().getItemCount());
IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
<b>params.setAttributeValue("Val","MyValue");</b>
String pName=wdContext.currentContextElement().getProcessName();
IGPProcessInstance prInstance = rtm.startProcess(process,pName,"This process has been started using the GP public API",tl_user,roles,params,tl_user);
catch(Exception e)
wdComponentAPI.getMessageManager().reportException(""+e);
Can anyone help me on this.
Thanks,
Fahad HamsaHi Experts,
I solved it myself.
The problem was, I have to make the input parameter as exposed. Thats all
Anyway, thanks for the support.
Regards,
Fahad Hamsa -
Pass URL parameter for zip code
In this fake url I want to pass the zip code value of the confirmed BP into "zipcode"
https://acme.com/locator.jsp?zip=zipcode
from the other post I have read the parameter name would be "zipcode" and thru the transaction launcher I am able to assign parameter value =
//selectedClmBpLinkRelationship/BpRelLinkBusinessPartner/BuilStandardAddressRel/POSTL_COD1
The transaction launcher is opening the launcher but not passing the value into the field. The window opens but the field is not filled with the zip code.
If I open a new ie browser and put in url
https://acme.com/locator.jsp?zip=60001
the url is reached and 60001 is filling the zip code field.
Is there an easy way to debug and see if any value is getting passed?
Am I conceptually on base for what I am trying to do?Hi Shwetha,
That got me pointed in the right direction where we could get it to work.
For others, these were some other points we used to get it to work.
1. in the IMG where the url is defined don't add the ZIP parameter here so our IMG entry = https://acme.com/locator.jsp?
when the page launched correctly the parameters showed https://acme.com/locator.jsp?&zipcode=60001
2. for zip code parameter value we used //currentCustomer/BuilStandardAddressRel/POSTL_COD1 >> this goes in the transaction launcher with parameter zipcode and is then visible in the IMG entry "copy/delete launch transactions" -
(Do I) Need to update legacy WMI filter for Dynamic Distribution List
Wrapping up migration from Exchnage 2003 to Exchange 2010. Have one special DDL called "Everone" that filters for all users with mailboxes AND that are not disabled. This is used for broadcast notices and the second paramater eliminates
NDR's generated by disabled AD accounts that still have mailboxes.
Here is the filter that was created in Exchange 2003:
(&(!cn=SystemMailbox{*})(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)(|(homeMDB=*)(msExchHomeServerName=*))) )))
(I hope that pasted right)
I will be removing the old Exchange 2003 server soon and need to know if the DDL filter needs to be upgraded before I remove the old server (will it break if not).
Additionally, I think it may need to changed it to an OPATH compatible filter from the EMS and would need help with how to do that. The canned options do not seem to cover the "only enabled users" paramater.Hi,
Have you checked the suggestion Ed provided?
Is there any update with your issue?
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Amy Wang
TechNet Community Support -
Hi,
If the Time Card was already existing, now while creating DAY using create_day_bb procedure, how can i pass the parameter
for p_resource_id.
Thanks.Hi,
If the Time Card was already existing, now while creating DAY using create_day_bb procedure, how can i pass the parameter
for p_resource_id.
Thanks. -
Hi,
I need to pass a parameter for one lov and am trying to pass with the code:
In the page that calls the Lov step (vinculo = 1)
<bc4j:messageLovField
name="CodPessoaAluno"
attrName="CodPessoaAluno"
columns="10"
required="yes"
message="Informe o Nome do Aluno"
prompt="Codigo"
shortDesc="Clique no botao para escolher o Nome do Aluno"
onClick="openWindow(window,
'../../sigep/lov/LovPessoas.uix?vinculo=1',
'lovWindow',
{width:700, height:525},
true,
'dialog',
FunLovRetorno);
return false;">
</bc4j:messageLovField>
In the event of the Lov page I try to catch vinculo.
public static EventResult SgCreate( BajaContext bc, Page page, PageEvent event)
int vinculo = Integer.parseInt(event.getParameter("vinculo").toString());
String quantTrains =
"select max(nvl(rownum,0)) quant "+
"from pe_vinculos a " +
" ,pe_vinculo_grp_inf b " +
"where a.vinc_cod_vinculo = b.vinc_cod_vinculo " +
"and b.vigi_sta_ativo = 'S' " +
"and a.vinc_cod_vinculo = " + vinculo + " " +
"order by b.vigi_num_ordem " ;
However, null arrives in vinculo. How I can catch this value?
Fernando. parameter to lov and I try passHard to say; does the URL in the browser still contain "vinculo"? If you call PageEvent.getParameterNames(), do you see all (or any) of the parameters you expect?
-
Passing a parameter to a thread
HI,
could you please tell me how to pass parameters to threads?
ThanksHi,
First of all, this is the first time that I am using threads.
My question was as folllows:
suppose that I have (5) unsorted values stored in a vector (V1), and in my code I generate (5) threads each thread must read one of the values from (V1) , add it to a new vector (V2), then sort (V2).
for example : if v1 = {5,4,3,2,1} , then the first thread reads{5} and store it in v2, the second thred reads{4} , store it in v2 and sort the new list (i.e. {4,5}) and so on.
I thought that it is may be possible to pass a parameter (for example 5,4,5,2,1) to the run( ) / start( )method of the thread so that this method can use this passing parameter in the run( ) method.
Best Regards,
Ahmad -
Crystal Report Dynamic Parameter for SAP B1 version 8.8
Hi, does anyone have problem with the dynamic parameter prompt for Crystal Report in SAP B1 version 8.8?
For example:
1. For static parameter that allows multiple value --> In SAP B1 v8.8, there is a check-box and a "..." button next to it. When you click the "..." button, a new window appear with a list of values to choose.
2. For static parameter that does not allow multiple value --> In SAP B1 v8.8, there is one field with a drop-down menu.
3. For dynamic parameter that allows multiple value and does not allow range values --> In SAP B1 v8.8, just one field for us to key in the value. Shouldn't this be the same as No. 1?
4. For dynamic parameter that does not allow multiple value and does not allow range values --> In SAP B1 v8.8, same as No.3 above. Shouldn't this be the same as No. 2?
How do I get no. 3 dynamic parameter that allows multiple value and does not allow range values to have a check-box and a "..." button next to it to allow us to select multiple values?Hi Shwu Hua Gan,
Thank you for your reply.
Please forgive me as I don't really understand what you are saying here. To be honest, I'm very new to Crystal Report and my understanding of CR is just the very basics. I'm actually not from a technical background which makes it more difficult.
In your reply:
Ie, you create a parameter in Crystal report, and by using the token eg:Mytest@select * from OCRD, it gives you the benefits of selecting the list from the database.
How do you do this by using the token? All I did is just select the parameter type (dynamic) and then select the table. When I preview the report in SAP B1 8.8, it doesn't prompt me like how I expect it to be. It is a blank field that I have to key in the value myself and then only the report will generate. Sometimes I don't remember what value to key in, so I have to do a formatted search for the blank field. After the report is generated, I can reselect the value (multiple values) from the CR viewer panel toolbar and refresh the report. -
How to pass a value to the export parameter for a method (public instance)?
Hello,
I am trying ABAP OO newly. How to pass a value to the export parameter for a method (public instance) called in a report? This *export parameter has a reference type of structure.
Thanks in advance,
RanjiniHi,
"class definition
class lcl... definition.
public section.
method m1 imporitng par type ref to data. "now you can pass any reference to the method, but this way you have to maintain this reference dynamically inside the method (you can't be sure what that reference is really "pointing" at)
endclass.
"in program
data: r_lcl type ref to lcl...
create object r_lcl.
call method r_lcl
exporting
par = "pass any reference variable here
Regards
Marcin
Maybe you are looking for
-
I just brought a movie from itunes on my iphone and im trying to sync them onto my mac so they can be in my itunes library, how do i do this?
-
Field missing when running the KSB1 transaction in Back ground
Hi, With the help of Zreport am executing the KSB1 transaction in back ground and after execution of KSb1 am retrieving the report output and am displaying. Issue is when am running Zreport in back ground the the output of KSB1 is giving the output
-
Camera Raw Apparently Not Present On Second Installation Of Elements 10
I have installed Elements 10 onto my desktop which works fine. When opening a .NEF file or when opening a JPEG using 'Open As Raw', the Camera Raw interface comes up. I have also installed Elements 10 onto my netbook. Whilst the prgram itself works f
-
Hi All, user_key is of varchar2(50) datatype Table values user_key 600050001 600050002 600050003 600050004 600050005 600238902 select distinct user_key from app_user where user_key between '600050005' and '600050001'; no output select distinct user_k
-
Can't access Time Machine settings when AirPort (WiFi) is on.
Problem: My iMac (2.66 MHz Inter Core Duo) with 10.5.8 needs an upgrade to Maverick...it is connected to my home network with AirPort I have a NAS on my home network (Verbatim MediaShare 2TB) wired connected, which I have had working as a drive for T