ABAP HR - PYXX_READ_PAYROLL_RESULT not fetching results
My first 2 FM's are fetching the correct values . Now I am passing the SEQNR(00005 in my case) returned by 2nd FM to the 3rd FM ( PYXX_READ_PAYROLL_RESULT ) , the table payroll remains empty.I checked in debug mode also that payroll-INTER-RT is empty whereas in debugger mode i can see that SEQNR has been set correctly by the 2nd FM. Below is my code
TABLES : PERNR.
TYPES: BEGIN OF RGDIR.
INCLUDE STRUCTURE PC261.
TYPES: END OF RGDIR.
DATA: RGDIR TYPE TABLE OF RGDIR WITH HEADER LINE,
SEQNR LIKE PC261-SEQNR,
payroll TYPE pay99_result,
rt_line TYPE LINE OF hrpay99_rt.
GET PERNR.
CALL FUNCTION 'CU_READ_RGDIR'
EXPORTING
PERSNR = PERNR-PERNR
TABLES
IN_RGDIR = RGDIR
CALL FUNCTION 'CD_READ_LAST'
EXPORTING
BEGIN_DATE = PN-BEGDA
END_DATE = PN-ENDDA
IMPORTING
OUT_SEQNR = SEQNR
TABLES
RGDIR = RGDIR.
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
CLUSTERID = 'RX'
EMPLOYEENUMBER = PERNR-PERNR
SEQUENCENUMBER = SEQNR
CHANGING
PAYROLL_RESULT = payroll
LOOP AT payroll-INTER-RT INTO rt_line.
write:/ rt_line-LGART.
ENDLOOP.
amber22 wrote:
I made the following changes as u suggested.The GET_RELID function is fetching value of rel_id as 'IN' which i think should be correct since I am executing Indian Payroll. But the last FM gives runtime error "illegal type'. I tried passing the value of clusterid as constant "IN" but still it gives the same error. Only when i give its value as 'RX' , it doesnt give error but then it doenst fetches any result also.
>
>
>
rel_id LIKE PCL2-RELID..
>
> CALL FUNCTION 'PYXX_GET_RELID_FROM_PERNR'
> EXPORTING
> EMPLOYEE = PERNR-PERNR
> IMPORTING
> RELID = rel_id.
>
> CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
> EXPORTING
> CLUSTERID = rel_id
> EMPLOYEENUMBER = PERNR-PERNR
> SEQUENCENUMBER = SEQNR
> CHANGING
> PAYROLL_RESULT = payroll.
>
> LOOP AT payroll-INTER-RT INTO rt_line.
> write:/ rt_line-LGART.
> ENDLOOP.
Since you are reading the payroll results of India, you have to change the declaration of 'payroll' as below
DATA:
payroll TYPE payin_result,
the current declaration
DATA:
payroll TYPE pay99_result,
would only give you the international part of the payroll and you have to inform the FM that you only want to read the international part through the importing parameter 'READ_ONLY_INTERNATIONAL'.
and 'CLUSTERID' is a optional parameter of the FM, if you don't feed any value to that it itself determines its value.
-Rajesh.
Similar Messages
-
Query not fetching results and shows executing
All,
When I run a query from SQL Plus I am getting query results immediately table with more than 50,000 rows), but when I run from TOAD or PL/SQL Developer am not getting any result and all I see is query executing no error message also.
Surprising part is I am able to see results if the table is less than 100 rows in SQL Plus, TOAD and PL/SQL Developer.
Please tell me is there anything I have to do in the database configuration, I am facing this issue due to database move to a new server.
Thanks in advanceAnand,
I don't see this as an issue with TOAD or PL/SQL Developer, the reason is using my TOAD or PL/SQL Developer I am able to connect to the copy of this database (DEV) and able to fetch results. Only in the database I migrated to the new server I am not able to fetch results from connecting through any application, the only place I am able to run and get results is SQL PLUS.
So I believe this is something which I am missing in my database configuration or in my new server.
Please help me
Thanks in Advance -
Resource Search in cProjects 4.0 not fetching results
Hi All,
Working on cProjects 4.0, I have specified the qualifications catalog and selected a few items from the catalog for a role. These are the items I have set for the resource (Business Partner). However, when I do a 'Resource Search' at the front end, the system does not throw the list of resource I expect the system to do.
Where could I be going wrong?
Thanks all...Hi Zhenbo,
Thanks for your response. This, however, does not help.
As mentioned, I have defined the qualification catalog and selected the qualifications for the role. The resouce (BP) does have the required qualifications. However, the 'Resource Search' fetches no results.
Do I have to have the resources defined in WFM to be able to fetch? I guess no...
Do suggest.
Thanks and Regards... -
People Picker JS Control not fetching all the users...
Hi,
I am using Java Script people picker control. It fetching information for users but not all. I used following code block to get the control working. Why is not fetching all the users?? Where as OOTB people picker fetches same user. This does not make sense.
My environment is SharePoint online.
// Run your custom code when the DOM is ready.
$(document).ready(function () {
// Specify the unique ID of the DOM element where the
// picker will render.
initializePeoplePicker('peoplePickerDiv');
// Render and initialize the client-side People Picker.
function initializePeoplePicker(peoplePickerElementId) {
// Create a schema to store picker properties, and set the properties.
var schema = {};
schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
schema['SearchPrincipalSource'] = 15;
schema['ResolvePrincipalSource'] = 15;
schema['AllowMultipleValues'] = true;
schema['MaximumEntitySuggestions'] = 50;
schema['Width'] = '280px';
// Render and initialize the picker.
// Pass the ID of the DOM element that contains the picker, an array of initial
// PickerEntity objects to set the picker value, and a schema that defines
// picker properties.
this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
Here is the link from Microsoft explaining it.
How to: Use the client-side People Picker control in SharePoint-hosted apps: https://msdn.microsoft.com/en-us/library/office/jj713593.aspx
Appreciate any help or workaround here.
Thanks.Hi,
In my case im usign customize people picker. it is better to use in delelopement since you have the control and customization.
I have used select2 (https://select2.github.io/examples.html) drop down control and create a people picker
You can use the same REST call to populate data.
function initApproversPicker(success, fail) {
var data = { results: [] };
var executor = new SP.RequestExecutor($$.getAppWebUrlUrl());
executor.executeAsync(
url: $$.getAppWebUrlUrl() + "/_api/web/siteusers",
method: "GET",
contentType: "application/json;odata=verbose",
headers: { "Accept": "application/json; odata=verbose" },
success: function (dt) {
$.each(JSON.parse(dt.body).d.results, function (i, ele) {
data.results.push({ id: ele.Id, text: ele.Title });
executor.executeAsync(
url: $$.getAppWebUrlUrl() + "/_api/web/sitegroups",
method: "GET",
contentType: "application/json;odata=verbose",
headers: { "Accept": "application/json; odata=verbose" },
success: function (dt) {
$.each(JSON.parse(dt.body).d.results, function (i, ele) {
data.results.push({ id: ele.Id, text: ele.Title });
$("#WFApprovers").select2({ data: data, multiple: true });
if (success) {
success();
error: function (d, errorCode, errorMessage) {
if (fail) {
fail();
utils.log(errorMessage);
error: function (d, errorCode, errorMessage) {
utils.log(errorMessage);
Melick Rajee http://melick-rajee.blogspot.com -
Same query takes different time to fetch result from Database
Hi all,
I am having a scenario in which a query is taking different time keeping other environmental variables constant.
When that query runs for 1 user it takes just 2 minutes to fetch result and the DB connection becomes inactive after fetching the result.
But if I run the same query after some time in similar environment it takes 25 minutes. sometimes 40 minutes to execute and give the result to the app server from the same database.
I am not able to understand this behavior from DB. Can anybody try to explain this behavior?
The details of the DB are,
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
OS Details:
Windows 2008 server Enterprise Edition.
I tried analyzing that query in oracle, it recommended there are lots of hard parsing in that query.
Regards,user10915512 wrote:
Hi all,
I am having a scenario in which a query is taking different time keeping other environmental variables constant.
When that query runs for 1 user it takes just 2 minutes to fetch result and the DB connection becomes inactive after fetching the result.
But if I run the same query after some time in similar environmentBut not exactly the same environment. So what is different that it is only "similar"?
it takes 25 minutes. sometimes 40 minutes to execute and give the result to the app server from the same database.
I am not able to understand this behavior from DB. Can anybody try to explain this behavior?Run a statspack on the 'well behaved' query and on the 'not well behaved' query. Compare and contrast the results.
>
The details of the DB are,
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
OS Details:
Windows 2008 server Enterprise Edition. To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates ...."
>
>
I tried analyzing that query in oracle, it recommended there are lots of hard parsing in that query.
Regards, -
Function Module does not fetch value
Hi All,
I am using the fm RV_PRICE_PRINT_HEAD to fetch condition records. When I run this fm in SE37 for a particular document(vbeln) number, the values are fetched correctly into the internal tables TKOMV and TKOMVD.
The same fm does not fetch values when I run for second time for the same document(vbeln). This means :
1) I will go to SE37, type RV_PRICE_PRINT_HEAD, supply the export parameters in COMM_HEAD_I, execute it and obtain the condition records (Till this time absolutely fine)
2) Now, press Back (F3), Let the export parameters in "COMM_HEAD_I" will remain same. Just press Execute (F8). Then condition values are not fetched.
Could any body help in this regard...
Thanks
Thimmappa HegdeHi
I have given you the other alternative bcoz there is a limitation while calling this FM: RV_PRICE_PRINT_HEAD.
If you see the comments and code of Include: LV61AA11, you can understand the problem.
<b>* mechanism to controll which conditions are already part of table TKOMV
Every time a pricing result is read from database the key is put into
TABGL. Also TABGL is updated if we've lines in TKOMV assigned to a
special key but entry in TABGL (case 2).
Originally TABGL was established to handle following pathological
case: condition successfully read from DB -> entry in TABGL. Then all
read conditions where deleted during processing (e.g. manually
deletion etc.). If we run into this routine again no records should
be redetermined from DB...</b>
read table tabgl with table key knumv = komk-knumv
transporting no fields.
Case 1:
conditions have been already read because there is a fitting entry in
TABGL. Exit immediately if caller doesn't want to force DB access.
if sy-subrc eq 0. ---><b> First time SY-SUBRC NE 0 so no problem</b>
if generell_lesen ne 'X'. <b>--> Later runs SY-SUBRC eq 0 and generell_lesen value is SPACE</b>.
exit.
endif.
else.
Hope this clarifies your doubt now.
Kind Regards
Eswar -
Issue with VC/2 - not fetching the invoice details
Hi All,
We have an issue with TCode VC/2 in ECC 6. This is not fetching( not showing) the Invoice documents under the header "Last SD Documents".
It is fetching the sales documents like orders, credit memo/debit memo requests but not the invoice documents.
PLease help on this.
Thanks in advance.
Edited by: Harini Kesani on Jan 12, 2010 8:25 PMIs it possible that 'last SD document' means 'last sales document', not 'last billing document'? Unfortunately, I'm unable to confirm - we don't use this transaction. You can also check what tables are used in this transaction (get help from an ABAPer or Basis) and then check if there is correct data in those tables. It might be using info structures or index tables, which may need to be populated first.
-
Not fetching any operations of a service in VC
HI,
I am trying to connect to SR in CE 7.1 machine from VC 7.1. I am done with all the prerequisites required for VC to connect to SR.
I have defined
1. UDDI_DESTINATION
2. CLASSIFICATION_DESTINATION
3. BACKEND DESTINATION.
4. Service Registry.
In VC when I select "Search In" in Search Panel. I selected "SERVICE REGISTRY" and System
In order to fetch the services and their operations but it is not fetching any operations of a service which we published in SR other than that for default services we could see all the services and there operations in VC .
What could be the reason? What to do for getting the operations in VC?
Thanks
SrikanthHi,
I experience the same problem in EhP1 NWCE 7.1 Preview (the latest fom SDN) with VC 7.1. I made the settings according to this guide: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/605303db-9d5f-2a10-e0a2-c0e1c8af9e96
It worked fine with NWCE 7.1 SP3, but with the new CE version I get no search results for enterprise services (ES). I can open the classification dialog (Advanced Search) and browse to the service I want to use, but when I click on search it finds nothing.
Is there a problem with the new CE version?
Regards
André -
ABAP/4 open SQL array results in dupl
Hi All,
The contract in SRM is not transferred to ECC. When checked the outbound queue through smq1, it says 'ABAP/4 open SQL array results in dupl ' for the program name given as SAPMSSY1. I learnt that this occurs when trying to insert a record in
the database and that record already exists with the same key. Debug didn't help and also searching for the relevant notes. Please suggest.
Thanks.
Regards,
AnuradhaHi Anuradha,
please implement the note 1092012 into the backend system, and retest.
Eventually if you have a BAdI (e.g. the BBP_CTR) deactviate it also temporary to check the infulence.
Regards,
Peter -
Af:query does not fetch rows on submit but does hit on page refresh
Hello:
Thanks for looking at this post...
I'm using Jdev 11.1.1.3.0 and trying to get a simple ADF Web app to fetch data from the database. I'm using af:query on the left to enter the search criteria and af:table on the right to display the result. It seems when enter the search criteria and hit search button in the query panel, the rows are not fetched in the table on the right. But when the browser refresh button is hit, it shows the data
Any ideas on what I'm doing wrong?
Thanks for the help.
Edited by: SmDas on Nov 8, 2010 5:57 PMWell I followed the note you had pointed out, and implemented the same for two LOV's. I'm getting "Server Exception during PPR, #3". Would be able to identify where I'm going wrong please.
FYI: I'm using a UI template that is stripped won from Oracles Dynamic tab template
1. parent LOV
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="QcChiptypeVViewRO"
Version="11.1.1.56.60"
BindingStyle="OracleName"
CustomQuery="true"
RowClass="com.qualcomm.qdt.fwk.model.QdtViewRowImpl"
ComponentClass="com.qualcomm.qdt.fwk.model.QdtViewObjectImpl"
DefClass="com.qualcomm.qdt.fwk.model.QdtViewDefImpl"
PageIterMode="Full"
UseGlueCode="false">
<DesignTime>
<Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
<Attr Name="_isExpertMode" Value="true"/>
</DesignTime>
<SQLQuery>
<![CDATA[SELECT QcChiptypeV.CHIPTYPE
FROM QC_CHIPTYPE_V QcChiptypeV]]>
</SQLQuery>
<ViewAttribute
Name="Chiptype"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="42"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CHIPTYPE"
Expression="CHIPTYPE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="42"/>
</DesignTime>
</ViewAttribute>
</ViewObject>
2. Child LOV
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="QcMcnVViewRO"
Version="11.1.1.56.60"
BindingStyle="OracleName"
CustomQuery="true"
RowClass="com.qualcomm.qdt.fwk.model.QdtViewRowImpl"
ComponentClass="com.qualcomm.qdt.fwk.model.QdtViewObjectImpl"
DefClass="com.qualcomm.qdt.fwk.model.QdtViewDefImpl"
PageIterMode="Full"
UseGlueCode="false">
<DesignTime>
<Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
<Attr Name="_isExpertMode" Value="true"/>
</DesignTime>
<Variable
Name="chiptype"
Kind="viewcriteria"
Type="java.lang.String"/>
<ViewAccessor
Name="QcChiptypeVViewRO1"
ViewObjectName="com.qualcomm.qdt.model.lov.QcChiptypeVViewRO"
RowLevelBinds="true"/>
<SQLQuery>
<![CDATA[SELECT QcMcnV.MCN,
QcMcnV.CHIPTYPE
FROM QC_MCN_V QcMcnV]]>
</SQLQuery>
<ViewAttribute
Name="Mcn"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="MCN"
Expression="MCN"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Dependencies>
<Item
Value="Chiptype"/>
</Dependencies>
</ViewAttribute>
<ViewAttribute
Name="Chiptype"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="42"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CHIPTYPE"
Expression="CHIPTYPE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="42"/>
</DesignTime>
</ViewAttribute>
<ViewCriteria
Name="QcMcnVViewROCriteriaChiptype"
ViewObjectName="com.qualcomm.qdt.model.lov.QcMcnVViewRO"
Conjunction="AND">
<Properties>
<CustomProperties>
<Property
Name="displayOperators"
Value="InAdvancedMode"/>
<Property
Name="autoExecute"
Value="true"/>
<Property
Name="allowConjunctionOverride"
Value="true"/>
<Property
Name="showInList"
Value="true"/>
<Property
Name="mode"
Value="Basic"/>
</CustomProperties>
</Properties>
<ViewCriteriaRow
Name="vcrow5"
UpperColumns="1">
<ViewCriteriaItem
Name="QcMcnVViewROCriteria_vcrow5_Chiptype"
ViewAttribute="Chiptype"
Operator="="
Conjunction="AND"
Value=":chiptype"
IsBindVarValue="true"
Required="Optional"/>
</ViewCriteriaRow>
</ViewCriteria>
</ViewObject>
3. JSF page
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
<f:facet name="copyright">
<af:outputText value="2010 Qualcomm Inc. All Rights Reserved."
id="ot10"/>
</f:facet>
<f:facet name="about">
<af:navigationPane id="np3" hint="buttons">
<af:commandNavigationItem text="About" id="cni5"/>
<af:commandNavigationItem text="Privacy" id="cni6"/>
</af:navigationPane>
</f:facet>
<f:facet name="navigation">
<af:panelAccordion id="pa1">
<af:showDetailItem text=" Asset Details" id="sdi1">
<af:panelGroupLayout layout="vertical" id="pgl1">
<af:panelHeader text=" " id="ph1">
<af:query id="qryId1"
headerText="Search Criteria (Use % as wildcard)" disclosed="true"
value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
saveQueryMode="hidden"/>
</af:panelHeader>
</af:panelGroupLayout>
</af:showDetailItem>
<af:showDetailItem text="More Info" id="sdi2"/>
</af:panelAccordion>
</f:facet>
<f:facet name="globalLinks">
<af:navigationPane id="np2" hint="buttons"
inlineStyle="text-align:right;">
<af:commandNavigationItem text="Help" id="cni4" action="noop"/>
<af:commandNavigationItem text="Sign out"
id="commandNavigationItem1"
action="noop"/>
</af:navigationPane>
</f:facet>
<f:facet name="status"/>
<f:facet name="globalToolbar"/>
<f:facet name="globalSearch"/>
<f:facet name="globalTabs">
<af:navigationPane id="np1">
<af:commandNavigationItem text="Device Query/Update" id="cni1"
selected="true" partialSubmit="false"/>
<af:commandNavigationItem text="Asset Return" id="cni3"
action="dummy" rendered="false"/>
</af:navigationPane>
</f:facet>
<f:facet name="welcome">
<af:panelSplitter id="ps1" orientation="vertical">
<f:facet name="first">
<af:panelCollection id="pc1" defaultToolbarItemDisplay="icon">
<f:facet name="menus">
<af:menu text="Options" id="m2" rendered="false">
<af:commandMenuItem text="Printable Page" id="cmi2">
<af:showPrintablePageBehavior/>
</af:commandMenuItem>
<af:commandMenuItem text="Download" id="commandMenuItem1">
<af:exportCollectionActionListener exportedId="t2"
type="excelHTML"
title="Asset Details"/>
</af:commandMenuItem>
</af:menu>
</f:facet>
<f:facet name="toolbar">
<af:toolbar id="t1">
<af:commandToolbarButton id="ctb1"
hoverIcon="/images/view_image.gif"
text="Export to Excel">
<af:exportCollectionActionListener exportedId="t2"
type="excelHTML"
title="Asset Details"/>
</af:commandToolbarButton>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.QcDeviceTrackingVO1.collectionModel}"
var="row"
rows="#{bindings.QcDeviceTrackingVO1.rangeSize}"
emptyText="#{bindings.QcDeviceTrackingVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.QcDeviceTrackingVO1.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.QcDeviceTrackingVO1.collectionModel.selectedRow}"
selectionListener="#{bindings.QcDeviceTrackingVO1.collectionModel.makeCurrent}"
rowSelection="single" id="t2"
columnSelection="single"
partialTriggers=":::ph1 :::qryId1">
<af:column sortProperty="Serialnum" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Serialnum.label}"
id="c28" width="103">
<af:outputText value="#{row.Serialnum}" id="ot17"/>
</af:column>
<af:column sortProperty="Assettag" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Assettag.label}"
id="c7" width="107">
<af:outputText value="#{row.Assettag}" id="ot24"/>
</af:column>
<af:column sortProperty="Chiptype" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Chiptype.label}"
id="c18" width="26">
<af:outputText value="#{row.Chiptype}" id="ot27"/>
</af:column>
<af:column sortProperty="Mcn" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Mcn.label}"
id="c11">
<af:outputText value="#{row.Mcn}" id="ot13"/>
</af:column>
<af:column sortProperty="Mcnrev" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Mcnrev.label}"
id="c8">
<af:outputText value="#{row.Mcnrev}" id="ot3"/>
</af:column>
<af:column sortProperty="Assignedto" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Assignedto.label}"
id="c15">
<af:outputText value="#{row.Assignedto}" id="ot32"/>
</af:column>
<af:column sortProperty="Location" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Location.label}"
id="c24">
<af:outputText value="#{row.Location}" id="ot19"/>
</af:column>
<af:column sortProperty="Locationfullname" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Locationfullname.label}"
id="c14">
<af:outputText value="#{row.Locationfullname}" id="ot26"/>
</af:column>
<af:column sortProperty="Locationtype" filterable="true"
sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Locationtype.label}"
id="c13">
<af:outputText value="#{row.Locationtype}" id="ot28"/>
</af:column>
<af:column sortProperty="Description" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Description.label}"
id="c21">
<af:outputText value="#{row.Description}" id="ot22"/>
</af:column>
<af:column sortProperty="Assignment" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Assignment.label}"
id="c30">
<af:outputText value="#{row.Assignment}" id="ot34">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.QcDeviceTrackingVO1.hints.Assignment.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Createddate" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Createddate.label}"
id="c1">
<af:outputText value="#{row.Createddate}" id="ot15">
<af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Createddate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Lastid" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Lastid.label}"
id="c33">
<af:outputText value="#{row.Lastid}" id="ot9">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.QcDeviceTrackingVO1.hints.Lastid.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Lportfolioitemid" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Lportfolioitemid.label}"
id="c23">
<af:outputText value="#{row.Lportfolioitemid}" id="ot23">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.QcDeviceTrackingVO1.hints.Lportfolioitemid.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Lkeycontactid" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Lkeycontactid.label}"
id="c4">
<af:outputText value="#{row.Lkeycontactid}" id="ot11">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.QcDeviceTrackingVO1.hints.Lkeycontactid.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Fullname" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Fullname.label}"
id="c22">
<af:outputText value="#{row.Fullname}" id="ot6"/>
</af:column>
<af:column sortProperty="Status" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Status.label}"
id="c16">
<af:outputText value="#{row.Status}" id="ot21"/>
</af:column>
<af:column sortProperty="Qcemployeenumber" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Qcemployeenumber.label}"
id="c6">
<af:outputText value="#{row.Qcemployeenumber}" id="ot33">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.QcDeviceTrackingVO1.hints.Qcemployeenumber.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Field3" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Field3.label}"
id="c12">
<af:outputText value="#{row.Field3}" id="ot18"/>
</af:column>
<af:column sortProperty="Empdeptfullname" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Empdeptfullname.label}"
id="c27">
<af:outputText value="#{row.Empdeptfullname}" id="ot4"/>
</af:column>
<af:column sortProperty="Comments" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Comments.label}"
id="c10">
<af:outputText value="#{row.Comments}" id="ot16"/>
</af:column>
<af:column sortProperty="Builtby" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Builtby.label}"
id="c19">
<af:outputText value="#{row.Builtby}" id="ot20"/>
</af:column>
<af:column sortProperty="Mesbuild" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Mesbuild.label}"
id="c31">
<af:outputText value="#{row.Mesbuild}" id="ot2"/>
</af:column>
<af:column sortProperty="Esn" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Esn.label}"
id="c26">
<af:outputText value="#{row.Esn}" id="ot31"/>
</af:column>
<af:column sortProperty="Imei" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Imei.label}"
id="c17">
<af:outputText value="#{row.Imei}" id="ot29"/>
</af:column>
<af:column sortProperty="Macaddress" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Macaddress.label}"
id="c32">
<af:outputText value="#{row.Macaddress}" id="ot1"/>
</af:column>
<af:column sortProperty="Brf" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Brf.label}"
id="c25">
<af:outputText value="#{row.Brf}" id="ot8"/>
</af:column>
<af:column sortProperty="Brfrev" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Brfrev.label}"
id="c3">
<af:outputText value="#{row.Brfrev}" id="ot25"/>
</af:column>
<af:column sortProperty="Dacquisition" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Dacquisition.label}"
id="c29">
<af:outputText value="#{row.Dacquisition}" id="ot7">
<af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Dacquisition.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Datqcmainttermdate" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Datqcmainttermdate.label}"
id="c2">
<af:outputText value="#{row.Datqcmainttermdate}"
id="ot30">
<af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Datqcmainttermdate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Datqcissueddate" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Datqcissueddate.label}"
id="c5">
<af:outputText value="#{row.Datqcissueddate}" id="ot5">
<af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Datqcissueddate.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="Itlqciteclass" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.Itlqciteclass.label}"
id="c20">
<af:outputText value="#{row.Itlqciteclass}" id="ot14"/>
</af:column>
<af:column sortProperty="RowID" sortable="true"
headerText="#{bindings.QcDeviceTrackingVO1.hints.RowID.label}"
id="c9">
<af:outputText value="#{row.RowID}" id="ot12"/>
</af:column>
</af:table>
</af:panelCollection>
</f:facet>
<f:facet name="second">
<af:panelTabbed id="pt2">
<af:showDetailItem text="Update Attributes" id="sdi3"
stretchChildren="first"/>
</af:panelTabbed>
</f:facet>
</af:panelSplitter>
</f:facet>
<f:facet name="innerToolbar"/>
<f:attribute name="brandingTitle" value="ITE Device Tracking System"/>
<f:attribute name="navSplitterPosition" value="450"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root> -
Multiselect begins with gives inconsistent fetch results
Hi All,
We have a Multiselect item in our Dashboard Tab Page. We are making the values coming from database as UPPER to avoid case sensitive search.
The problem now comes when the user keys in different partial values of same word, the results are different.
To illustrate,
When we search by OPI and option is "begins with", it fetches all the comapny names starting with OPI incluidng OPITZ SOLUTIONS which we are looking for.
But when we give OPITZ or OPIT, it does not fetch any results.
When I give OPITZ i.e. with space, again the results are fetched.
Is there any explanation for this behaviour?Thanks to both of you for your inputs.
-> I checked the SQL generated after applying the filters - it is same for all columns. Moreover this is an issue that I see on the using the "begins with" option to restrict the number of available choices - so at that level I am not sure how the corresponding SQL can be tracked.
-> Also, there is no data level security implemented for any column/table in the repository.
I am still working to resolve this and would get back if there is any luck. Please do let me know if you have additional inputs on this issue.
Thanks,
Piyush -
Hi all,
I have a number of fileds on my page that are entered with user-input. Then, I have one hidden-protected field that is composed of 2 concatenated values from another field, so that I can use this field in the automatic row update process.
However, this composed field does not always (sometimes it does..) fetch the data from the user-input fields, so then month and year are left blank in the composed field and I get an ill formed date (01-- instead of 01-10-2008). A part of the debug shows that the user input fields are filled with data, but the composed field does not fetch the data (see bold parts):
Debug
0.01: A C C E P T: Request="CREATE"
0.01: Metadata: Fetch application definition and shortcuts
0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=nl
0.01: alter session set nls_language="DUTCH"
0.01: alter session set nls_territory="THE NETHERLANDS"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator=","
0.01: ...NLS: Set NLS Group separator="."
0.01: ...NLS: Set date format="DD-MM-RR"
0.01: ...Setting session time_zone to -05:00
0.01: Fetch session state from database
0.02: ...Check session 4402719362367456 owner
0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
0.02: Session: Fetch session header information
0.02: ...Metadata: Fetch page attributes for application 21436, page 5
0.02: ...Validate item page affinity.
0.02: ...Validate hidden_protected items.
0.02: ...Check authorization security schemes
0.02: Session State: Save form items and p_arg_values
0.02: ...Session State: Save "P5_ID" - saving same value: ""
0.02: ...Session State: Save "P5_VS_ID" - saving same value: "10"
0.02: ...Session State: Save "P5_VERBRUIK" - saving same value: "370"
*0.02: ...Session State: Save "P5_MAAND" - saving same value: "10"*
*0.02: ...Session State: Save "P5_JAAR" - saving same value: "2008"*
0.02: ...Session State: Save "P5_USER_ID" - saving same value: "241"
_0.02: ...Session State: Save "P5_MAAND_OPNAME" - saving same value: "01--"_+
0.02: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.02: Branch point: BEFORE_COMPUTATION
0.02: Computation point: AFTER_SUBMIT
0.02: Tabs: Perform Branching for Tab Requests
0.02: Branch point: BEFORE_VALIDATION
0.02: Perform validations:
0.02: ...Item Not Null Validation: P5_VS_ID
0.03: ...Item Not Null Validation: P5_VERBRUIK
0.03: ...Item Not Null Validation: P5_MAAND
0.03: ...Item Not Null Validation: P5_JAAR
0.03: Branch point: BEFORE_PROCESSING
0.03: Processing point: AFTER_SUBMIT
0.03: ...Process "Process Row of MAANDVERBRUIK": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:MAANDVERBRUIK:P5_ID:ID|IUD
0.03: Show ERROR page...
0.03: Performing rollback...
/Debug
To compose the P5_MAAND_OPNAME field I do the following:
Source type: Database column
Source value or expression: MAAND_OPNAME (name of the db column)
Default value: '01-'||:P5_MAAND||'-'||:P5_JAAR
Defaukt value type: PL/SQL expression
Is this not the right approach? It should work and it does occasionaly, but more often it doesn't...Hi Voxie,
Your approach doesn't work, because you use the Default Property of your item which is evaluated on rendering the page. What you need is a computation which runs right before the insert-process.
Peter -
Values r not fetch in internal table
Hi Frds
In my report the values are not fetching in the internal table ICOSP
This is my program ,kindly correct my mistake.
DATA : WBS LIKE VBAK-PS_PSP_PNR.
SELECTION-SCREEN: BEGIN OF BLOCK 01.
SELECTION-SCREEN: BEGIN OF BLOCK 02 WITH FRAME .
SELECT-OPTIONS PROJECT FOR WBS.
SELECTION-SCREEN: END OF BLOCK 02.
SELECTION-SCREEN: END OF BLOCK 01.
DATA: BEGIN OF IVBAK OCCURS 0,
VBTYP LIKE VBAK-VBTYP, "SD document category
AUART LIKE VBAK-AUART, "Sales Document Type
NETWR LIKE VBAP-NETWR, "NET VALUE OF THE ORDER ITEM
WAERK LIKE VBAK-WAERK, "SD document currency
PS_PSP_PNR LIKE VBAP-PS_PSP_PNR, "WBS Element
END OF IVBAK.
DATA: BEGIN OF IPRPS OCCURS 0,
PSPNR LIKE PRPS-PSPNR, "WBS Element
POSID LIKE PRPS-POSID, "WBS Element
OBJNR LIKE PRPS-OBJNR, "Object number
PSPHI LIKE PRPS-PSPHI, "Current project number
END OF IPRPS.
DATA: BEGIN OF ICOSP OCCURS 0,
OBJNR LIKE COSP-OBJNR,
GJAHR LIKE COSP-GJAHR,
WRTTP LIKE COSP-WRTTP,
BEKNZ LIKE COSP-BEKNZ,
WTG001 LIKE COSP-WTG001,
WTG002 LIKE COSP-WTG002,
WTG003 LIKE COSP-WTG003,
WTG004 LIKE COSP-WTG004,
WTG005 LIKE COSP-WTG005,
WTG006 LIKE COSP-WTG006,
WTG007 LIKE COSP-WTG007,
WTG008 LIKE COSP-WTG008,
WTG009 LIKE COSP-WTG009,
WTG010 LIKE COSP-WTG010,
WTG011 LIKE COSP-WTG011,
WTG012 LIKE COSP-WTG012,
WTG013 LIKE COSP-WTG013,
WTG014 LIKE COSP-WTG014,
WTG015 LIKE COSP-WTG015,
WTG016 LIKE COSP-WTG016,
SUM TYPE CURRENCY ,
END OF ICOSP.
*DATA: ICOSP LIKE COSP OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF ITAB OCCURS 0,
PSPNR LIKE VBAK-PS_PSP_PNR,
NETWR LIKE VBAP-NETWR,
END OF ITAB.
PERFORM IVBAK.
PERFORM IPRPS.
PERFORM ICOSP.
PERFORM MOVE_COSP.
PERFORM MOVE.
PERFORM FIELDCATALOG.
PERFORM BUILD_LAYOUT.
PERFORM ALVDISPLAY.
FORM IVBAK.
SELECT VBTYP AUART NETWR WAERK PS_PSP_PNR FROM VBAK INTO TABLE IVBAK
WHERE PS_PSP_PNR IN PROJECT AND
VBTYP = 'G' AND AUART = 'ZPCQ'.
CLEAR: IVBAK.
ENDFORM. "IVBAK
FORM IPRPS.
SELECT PSPNR POSID OBJNR PSPHI FROM PRPS INTO TABLE
IPRPS WHERE PRPS~PSPHI IN PROJECT.
CLEAR : IPRPS.
ENDFORM. "IVBAP
FORM ICOSP.
LOOP AT IPRPS.
SELECT OBJNR GJAHR WRTTP BEKNZ WTG001 WTG002 WTG003 WTG004 WTG005
WTG006 WTG007 WTG008 WTG009 WTG010 WTG011
WTG012 WTG013 WTG014 WTG015 WTG016
FROM COSP INTO CORRESPONDING FIELDS OF TABLE ICOSP
WHERE OBJNR = IPRPS-OBJNR AND WRTTP = '4'.
ENDLOOP.
CLEAR:ICOSP.
ENDFORM.
Thanks
Parihi,
try this Code
DATA : wbs LIKE vbak-ps_psp_pnr.
SELECTION-SCREEN: BEGIN OF BLOCK 01.
SELECTION-SCREEN: BEGIN OF BLOCK 02 WITH FRAME .
SELECT-OPTIONS project FOR wbs.
SELECTION-SCREEN: END OF BLOCK 02.
SELECTION-SCREEN: END OF BLOCK 01.
TYPES: BEGIN OF ivbak,
vbtyp LIKE vbak-vbtyp, "SD document category
auart LIKE vbak-auart, "Sales Document Type
netwr LIKE vbap-netwr, "NET VALUE OF THE ORDER ITEM
waerk LIKE vbak-waerk, "SD document currency
ps_psp_pnr LIKE vbap-ps_psp_pnr, "WBS Element
END OF ivbak.
TYPES: BEGIN OF iprps,
pspnr LIKE prps-pspnr, "WBS Element
posid LIKE prps-posid, "WBS Element
objnr LIKE prps-objnr, "Object number
psphi LIKE prps-psphi, "Current project number
END OF iprps.
TYPES: BEGIN OF icosp,
objnr LIKE cosp-objnr,
gjahr LIKE cosp-gjahr,
wrttp LIKE cosp-wrttp,
beknz LIKE cosp-beknz,
wtg001 LIKE cosp-wtg001,
wtg002 LIKE cosp-wtg002,
wtg003 LIKE cosp-wtg003,
wtg004 LIKE cosp-wtg004,
wtg005 LIKE cosp-wtg005,
wtg006 LIKE cosp-wtg006,
wtg007 LIKE cosp-wtg007,
wtg008 LIKE cosp-wtg008,
wtg009 LIKE cosp-wtg009,
wtg010 LIKE cosp-wtg010,
wtg011 LIKE cosp-wtg011,
wtg012 LIKE cosp-wtg012,
wtg013 LIKE cosp-wtg013,
wtg014 LIKE cosp-wtg014,
wtg015 LIKE cosp-wtg015,
wtg016 LIKE cosp-wtg016,
sum TYPE currency ,
END OF icosp.
*DATA: ICOSP LIKE COSP OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF itab,
pspnr LIKE vbak-ps_psp_pnr,
netwr LIKE vbap-netwr,
END OF itab.
DATA : i_ivbak TYPE STANDARD TABLE OF ivbak,
i_prps TYPE STANDARD TABLE OF iprps,
i_icosp TYPE STANDARD TABLE OF icosp,
wa_ivbak TYPE ivbak,
wa_prps TYPE prps,
wa_icosp TYPE icosp.
PERFORM ivbak.
PERFORM iprps.
PERFORM icosp.
*PERFORM MOVE_COSP.
*PERFORM MOVE.
*PERFORM FIELDCATALOG.
*PERFORM BUILD_LAYOUT.
*PERFORM ALVDISPLAY.
FORM ivbak.
SELECT vbtyp auart netwr waerk ps_psp_pnr FROM vbak
INTO TABLE i_ivbak
WHERE ps_psp_pnr IN project AND
vbtyp = 'G' AND auart = 'ZPCQ'.
ENDFORM. "IVBAK
*& Form IPRPS
* text
FORM iprps.
SELECT pspnr posid objnr psphi
FROM prps INTO TABLE
i_prps WHERE prps~psphi IN project.
ENDFORM. "IVBAP
*& Form ICOSP
* text
FORM icosp.
IF i_prps[] IS NOT INITIAL.
SELECT objnr gjahr wrttp beknz wtg001 wtg002 wtg003 wtg004 wtg005
wtg006 wtg007 wtg008 wtg009 wtg010 wtg011
wtg012 wtg013 wtg014 wtg015 wtg016
FROM cosp INTO CORRESPONDING FIELDS OF TABLE i_icosp
FOR ALL ENTRIES IN i_prps
WHERE objnr = i_prps-objnr AND wrttp = '4'.
ENDIF.
ENDFORM. "ICOSP
Regards
Sandipan -
Subject: VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction
id in results:
Hello All,
I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues.
Any suggestions on the issue i am facing
error is :
could not read result repository: unknown transaction id in results:
or
could not read result repository: unknown request id in results:
Thanks
SatishHi Kotapati,
>>Subject: VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction
id in results:
According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
If possible, I suggest you could share me simple load test for us so that we will further help you.
You could upload your load test to OneDrive and then copy link here.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Crystal Report not fetching data
Hi Everyone,
I have a crystal report which is not fetching any data but when I run the same sql in the database the data comes.Can anyone please help me in finding what exactly the problem is.
Regards,
NeerajSorry we can't help you, not enough info.
See Rules Of Engagement.
What have YOU done to debug the problem?
Version of CR and any patches?
Database connecting to and any patches?
Version of Database Server and Client?
How are you connecting, ODBC, OLE DB or Native?
What error are you getting?
Don
Maybe you are looking for
-
How to add a new user property and then retrieve it from a portlet
Trying to add a user property and then retrieve it form a remote web service? Add a user property and map it 1. Create a property2. Go to Global Object Property Map3. Go to users, edit and select the new property.4. Go to User Profile Manager5. For p
-
Getting an error in Firefox when passing an apostrophe in the URL
When I click on a button it is passing an apostrophe in the URL and redirecting to another page but got "Oops! We are sorry, there was integrity check error with your request. Please contact support" error in the Firefox browser. And the same URL is
-
Insert Value(s) in Lookup Flat Multi-valued Table with Java API
I've been looking in MDM Java API Library Reference Guide, MDM SP4 API JavaDoc, and SDN Forums for information on how to Insert/Update different values in a field in the Main Table of a given repository that belongs to a Lookup Flat Multi-valued Tabl
-
Printer-Cp​u Communicat​ion Problems
I am having a problem with my printer. It works fine. Yet, when I go to print it doesn't do anything. It usually prints with no problems. When I checked to see the status of my printer through my computer it states: Door Open. I then opened and close
-
Total open tasks count by week
Hello, I was wondering if someone is able and willing to help me with a code to calculate something in MS SQL server (me being at the start of learning SQL myself). I apologize in advance if this is not the section I should post on, or the type of qu