How to set the filter object in distribution model
can any one pls help me
Hi,
Go to BD64 and select your message type which you want and double click on this message type.Now a popup will display and below this popup there is a pushbutton <i><b>Create filter group</b></i>.Press this pushbutton then you will get the all filter object in that message type here you will add filter values.
Before that you have chekc in BD59 tcode that is any filter object required is assigned to your message type or not if no filter object not assigned to you message type then you can add your required filter fields here.
Thanks,
shyla
Similar Messages
-
How to set the report path in a model plugin
I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible.
Thanks.
Solved!
Go to Solution.If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time). -
How to set the filter on a report to show the data for the Current Month
Hi all,
I am working on a report, which currently has this filter: Date First Worked is greater than or equal to 10/01/2010. This reports show the data for the current month, so at the beginning of each month we have to remember to change the date on the filter.
Does anyone know what the criteria should say, so that it automatically changes and shows the information for the current month, without us having to go in and change anything?
Any help would be greatly appreciated!
Thanks,
AAYou need to add a session variable to date fir worked assuming that this is a date field.
To do this open up the filter on the field then at then press add Variable then "session" and enter the following CURRENT_MONTH into the Server Variable section. -
How to set the field object's persence to "visible (Screen only)" by JavaScript?
Dear all,
I 'm new for designing Livecycle Form. As the title I mentained above, I only know the persence of field object can be configured by the JS code.
for example: this.presence = "visible";
or this.presence = "hidden"; ....
However, I want to configure the field object to visible (Screen only) by code. I had search all related key word, but I cannot find any information about this.
Question:
1. Are there any code in javascript to do that? Or any way to do this by code?Jack,
I dont get your question, can you explain it again.
M just curious to knw the Question
Thanks & Regards
Sunil Gupta -
How to set the Default values for Info Objects in Data Selection of InfoPac
Hi All,
Flat file Extracion:
How to set the Default values for Info Objects in Data Selection Tab for Info Package
ex: Fiscal Year Variant Info Object having values 'K4' 'Y2' etc in Flat file
Initially default value(not constant) for this info Object value should be 'K4' in Info Package
If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
Rgds,
CVHi,
suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
haritha -
How to set the selectedIndex when dataProvider is an XML object in DropDownList?
dataProvider was an XML object
How to set the selectedIndex when dataProvider is an XML object in DropDownList?
I do this:
<s:DropDownList id="dropDownList" requireSelection="true" selectedIndex="2"
labelField="lastName" dataProvider="{employeeService.lastResult.employees.employee}"/>
But always the first item is selected whatever the value of selectedIndex equals to.if i understand correctly, you want the selectedindex to be 2 when the DropDownList displays.
It might be the case that the dataprovider is being sought after it's already selected its index (as the dataprovider isn't already determined to begin with), so currently it's
- setting the selected index to default
- setting the selected index to 2 (your command)
- getting the dataprovider
- setting the selected index to default
try writing a function to set the DropDownList's selected index after it's received the information, or even just attach it to the employeeService result handler.
for quick testing sake you could just add
<s:DropDownList id="dropDownList" requireSelection="true" updateComplete="dropDownList.selectedIndex = 2"
labelField="lastName" dataProvider="{employeeService.lastResult.employees.employee}"/>
to see if my theory is correct. -
when importing images in Pages, how do I set the default object placement to "stay on page" and "no text wrap"?
Then use a Layout template.
I am a designer and I use Word Processing templates with layout breaks and all the other tools available because Layout templates are just WP templates with a lot of options removed.
Pages is not Indesign, but then Indesign is not Pages, …and Pages 5 is not Pages '09.
Unless your flyers are for the Web, why are you using Pages at all?
I am curious, what does your post have to do with the O.P.'s question? …and why are you posting it here?
Peter -
How to set the background for all components?
hi
Does anybody know how to set the DEFAULT background color in an application.. I need it because in jdk 1.3 the default bgcolor is grey and in 1.5 it is white.. and I wish white as well.. so to make it also white in jdk 1.3 I need to use the (a bit annoying) anyContainer.setBackground( Color.white ); and these are lots in my app.. So my question is: is there such an overall class with a function (say UIManager.setComponentsBackground( Color color ) ) for such a purpose?
any tip or link would be greatly appreciatedDoes anybody know how to set the DEFAULT background color in an applicationthis might get you close
import java.awt.*;
import javax.swing.*;
import java.util.Enumeration;
class ApplicationColor extends JFrame
public ApplicationColor()
setApplicationColor(Color.RED);
setLocation(400,300);
setDefaultCloseOperation(EXIT_ON_CLOSE);
JPanel jp = new JPanel(new BorderLayout());
jp.add(new JTextField("I'm a textfield"),BorderLayout.NORTH);
jp.add(new JComboBox(new String[]{"abc","123"}),BorderLayout.CENTER);
jp.add(new JButton("I'm a button"),BorderLayout.SOUTH);
getContentPane().add(jp);
pack();
public void setApplicationColor(Color color)
Enumeration enum = UIManager.getDefaults().keys();
while(enum.hasMoreElements())
Object key = enum.nextElement();
Object value = UIManager.get(key);
if (value instanceof Color)
if(((String)key).indexOf("background") > -1)
UIManager.put(key, color);
public static void main(String[] args){new ApplicationColor().setVisible(true);}
} -
How to use the filter facet on af:column
I have a column in my VO that is defined as a boolean and that shows as a selectBooleanCheckbox in my table. My table has filters on but above the boolean column it shows a regular input field.
I checked the filter facet and i also put a selectBooleanCheckbox in it but i don't know how to set the values so the data will be filtered when the value of the checkbox changes.
<f:facet name="filter">
<af:selectBooleanCheckbox id="cbFilt"/>
</f:facet>For an example that uses a selectOneChoice, easily adaptable to a selectBooleanCheckbox solution, please see:
Re: how create selectOneChoice in filter facet of af:column _ jdeveloper11g.
Regards,
Matthew -
How to get the view Object in UserDefined Action
Hi All,
Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows selected in the dropdown box.
The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
so for getting the view object in the the Action methods tell me what is the procedure for getting the current view object.Hello Vishal,
Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
wdContext.currentContextElement.setRowCount(
wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
Bala -
hi i am creating xml publisher and from OAF with parameters
cusname:
runreportdate:
go clear buttons
click go open report in pdf
SELECT hp.party_name CustomerName,
csi.incident_number SRNumber,
to_char(csi.incident_date,'DD-MON-YYYY') SRDate,
to_char(csi.close_date,'DD-MON-YYYY') SRCloseDate,
mtl.description SRItemName,
csi.summary Summary,
csi.problem_code,
csi.incident_address SRAddress,
csi.INCIDENT_COUNTRY SRCountry,
'31-DEC-2008' Reportrundate,
COUNT ( * ) over () cnt,
cis.name,
COUNT(
CASE
WHEN cis.name='Low'
THEN 1
END) over () Low,
COUNT(
CASE
WHEN cis.name='Medium'
THEN 1
END) over () Medium,
COUNT(
CASE
WHEN cis.name='High'
THEN 1
END) over () High1,
to_char(csi.incident_date,'MON-YYYY') SrMonth
FROM hz_parties hp,
hz_cust_accounts hca,
hz_contact_points hc,
cs_incidents_all_b csi,
ar_lookups arl,
cs_incident_severities_b cis,
mtl_system_items_kfv mtl
WHERE hca.cust_account_id =csi.account_id
AND hp.party_type IN ('PERSON','ORGANIZATION')
AND hp.status ='A'
AND hp.party_id = hca.party_id
AND hca.status ='A'
AND hp.party_id =hc.owner_table_id(+)
AND hc.owner_table_name(+) ='HZ_PARTIES'
AND hp.party_id =hca.cust_account_id
AND hc.contact_point_type(+)='PHONE'
AND hc.primary_flag(+) ='Y'
AND hc.status(+) ='A'
AND arl.lookup_type(+) = 'PHONE_LINE_TYPE'
AND arl.lookup_code(+) = hc.phone_line_type
AND hp.party_name='Business World'
AND csi.incident_date BETWEEN to_date('01-JAN-2000','DD-MON-YYYY') AND to_date('31-DEC-2008','DD-MON-YYYY')
AND cis.incident_severity_id=csi.incident_severity_id
AND mtl.inventory_item_id=csi.inventory_item_id
GROUP BY hp.party_name,
csi.incident_number,
csi.incident_date,
csi.close_date,
csi.summary,
csi.problem_code,
csi.incident_address,
cis.name,
csi.INCIDENT_COUNTRY,
mtl.description,
to_char(csi.incident_date,'MON-YYYY')
Am code
public void initQuery(String paramString1, String paramString2)
SrReportVOImpl vo=getSrReportVO1();
if ((paramString1 != null) && (!("".equals(paramString1.trim()))) && (paramString2 != null) && (!("".equals(paramString2.trim()))))
vo.setWhereClauseParams(null);
vo.setWhereClauseParam(0, paramString1);
vo.setWhereClauseParam(1, paramString2);
vo.executeQuery();
public XMLNode getPrintDataXML()
//SrReportVOImpl vo=getSrReportVO1();
OAViewObject vo = (OAViewObject)findViewObject("SrReportVO1");
//vo.initQuery(s,s1);
XMLNode xmlNode=(XMLNode) vo.writeXML(4,XMLInterface.XML_OPT_ALL_ROWS);
return xmlNode;
CO code
SrAMImpl am=(SrAMImpl)pageContext.getApplicationModule(webBean);
if(pageContext.getParameter("Go")!=null)
//am.searchSrDetails(pageContext,webBean);
String s=pageContext.getParameter("CustomerName");
String s1=pageContext.getParameter("RunReportDate");
am.initQuery(s,s1);
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition ="attachment;filename=ServiceReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
Serializable param[]={pageContext.getParameter("CustomerName"),pageContext.getParameter("RunReportDate")};
System.out.println("hiiii 12");
// Get the Data XML Output as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getPrintDataXML",param);
System.out.println("hiiii 13");
System.out.println(xmlNode.toString());
System.out.println("hiiii 14");
// Get the Data XML File as the XMLNode
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
APP_NAME,
TEMPLATE_CODE,
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF,
null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
pdfFile.flush();
pdfFile.close();
catch(Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(false);
System.out.println("hiiii 13");
if(pageContext.getParameter("Clear")!=null)
am.ClearFields(pageContext,webBean);
}can any one tell me how to set the bind parameters or setting parameterHi,
Could not understand your problem exactly. DId you try adding bind variables in the query like below:
AND hp.party_name='Business World'
AND csi.incident_date BETWEEN to_date('01-JAN-2000','DD-MON-YYYY') AND to_date('31-DEC-2008','DD-MON-YYYY')
change to
AND hp.party_name=:1
AND csi.incident_date BETWEEN :2 AND :3
Please note you will need three bind variables. Second and third for SR Dates.
~Amol -
How to get the profile object in simple java class (Property accessor)
Hi All,
Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
a.I dont have request object also to do request.resolvename.
b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
Advance Thanks.Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
getPropertyValue() {
super.getPropertyValue() // Chance of getting value set by Profile A.
// Perform logic
There is a chance that profile B getting the value set by Profile A and hence inconsistency.
How about doing this way??
Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
<attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
getPropertyValue()
//You have Profile item descriptor and also storeId property value.
// Use CustomCatalogTools.findSku();
// Use storeId, profile repository item, sku repository item to perform the logic
Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
-karthik -
Hi, I am using Indesign CS6, How to set the page size in Inches.
Hi, I am using Indesign CS6, How to set the page size in Inches.
All fields in InDesign can be entered in any measurement system. So, if you want to make an 8"x10" document and go to File>New Document and the window looks like this:
…you can type either 8 in or 8" into the Width field like this:
…and when you move to the next field, it will convert the eight inches into the equivalent number in the unit of measure that it is using at the moment, like this:
… (203.2 milimeters is the same as 8 inches). You can also enter a different measurement unit into other fields once the file is created, such as the width or height of a frame, or the position of an object in the X and Y coordinates.
If you would rather just work in inches instead of having to type the inches mark or abbreviation, go to InDesign>Preferences>General and select the Units & Increments tab. There you will see Ruler Units for Horizontal and Vertical at the top of the window. Set them to Inches and all of the fields will display in inches. If you do that to an open document, you will change the unit of measure for that document. If you do it while no documents are open, it will change the unit of measure for any new documents you create. To change the unit of measure for existing documents, you will have to open each and make the change. -
How to move the anchor object in indesign cs2 using js?
i can able to move the normal textframe and other objects but cant do this for anchor objects.
syntex: anchorobject.move([x value,y value],undefined,true)
how to move the anchor objects?
thanks
subhaCould it be that the anchord object in question won't move because you have it set to keep within margins which is preventing the move you're requesting? I've certainly run into that.
I've also run into the situation where the object model thinks the anchored object is in one place when it is actually in another because of that same keep within margins option. In this case, a move will apparently not work because the move is invisible, it being completely outside of the margins -- although that only applies to relative moves, I think.
Dave -
How to set the width of DataGridColumn dynamically?
What I want to do is, load data from a text file and put into a DataGrid component, the fields of ech record in the text have fixed length, and are seperated by a space, like this:
personal.txt
50 Uvwxyz Male 123456789
60 Hijklmn Male 67890123456789
30 Abcdefg Male 123456789012345
40 Opqrst Female 987654321012345678
the configuration file is column.xml:
<dgcolumn>
<personal>
<len>20</len>
<title>Name</title>
</personal>
<personal>
<len>3</len>
<title>Age</title>
</personal>
<personal>
<len>6</len>
<title>Sex</title>
</personal>
<personal>
<len>20</len>
<title>IdNumber</title>
</personal>
</dgcolumn>
First I load the column.xml into an arrColumn, then read the personal.txt and seperate the record by the width( "len" in the xml file ), and put the seperated fields into another arrField, set the arrayFld as the dataProvider of a DataGrid, thus, the title can be showed as the headerText of the DataGrid and the data can be loaded correctly.
private function handleComplete( event:Event ):void
var arrField:Array = new Array();
var arrFile:Array = loader.data.split(/\n/);
for( var i:int = 0; i < arrColumn.length; i ++ )
arrField[i] = convIcom( arrFile[i] );
adgFile.dataProvider = arrField;
trace( "The data has successfully loaded" );
private function convIcom( strRecord:String ):Object
var key:String = null;
var dataField:String = null;
var offset:int = 0;
var obj:Object = new Object();
if( strRecord.length > 0 )
for( var i:int = 0; i < arrColumn.length; i ++ )
dataField = strRecord.substr( offset, arrColumn[i].len );
key = arrColumn[i].title;
obj[key] = dataField;
offset += arrColumn[i].len + 1;
return obj;
<mx:DataGrid x="10" y="100" width="400" id="dgFile" />
The problem is, the width of the DataGridColumn is average, how to set the column width by the length of each field? I can calculate the rate of each field ( field / fields ), but I don't know how to change the property of the DataGridColumn.width.
Thanks for helping.In the above post, I pasted an old version of personal.txt, so I paste it again:
personal.txt
Uvwxyz 50 Male 123456789
Hijklmn 60 Male 67890123456789
Opqrst 40 Female 987654321012345678
Abcdefg 30 Male 123456789012345
And I have another question, when the data is loaded into the DataGrid, the fields of each record are ordered in alphabetical order ( the "Age" column will appear firstly, then "IdNumber", "Name", "Sex" ), not as the order in column.xml, how to make it keep the sequence of the xml file?
Thanks again.
Maybe you are looking for
-
Text message shows at reception
Even if im not using the phone, when i receive a text message, it lights up and anyone can read it.in the options, preview, i selected "none". i have an iphone 3G, in the earlier model, selecting that showed only the sender not the message.can anythi
-
Right way to declare field symbols
i am new to field symbols, pls help i want to know which is the right way of declaration ? types: begin of typ_tab, vbeln type vbap-vbeln, posnr type vbap-posnr, matnr type vbap-matnr, end of typ_tab. da
-
Problem in displaying totals based on the Unit of measurement.
Hi, I have Problem in displaying totals based on the Unit of measurement. I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely Matnr Quantity UOM 51
-
SQL Query (updateable report) CheckBox Update Problem
My process will update 1 or 2 rows, but fails on three or more rows. All the rows on the page can be processed, up to 2 at a time. The SQL Query Report can have 50 rows on a page. Only the check box and the hidden primary key column are returned by t
-
On Page Slider of Embedded Videos
I wanted to make a single page that stayed the same but in the middle had a video embedded but I wanted to add left and right arrows to slide between embedded videos on that page. This would allow my homepage to have all the videos cleanly accessible