Do not display NULL tables/values(Urgent)
Hi,
My template consists of a parent BC and child BC fields(BIP integrated with Siebel) . I have inserted the child table inside the parent table. When there are no values in the child record i do not want the parent record to get displayed. I tried giving a condition <?if:ActivityStatus!=''?> in the child. The child table does not get displayed if there are null values but the corresponding parent record gets displayed. I tried constraining in the parent also but of no use. Any kind of help is greatly appreciated.Thanks in advance.
Regards,
Pavithra
Edited by: 856511 on May 11, 2011 5:53 AM
send your xml and rtf to [email protected]
let me check
Similar Messages
-
Ini_trans and max_trans are not displaying on tables
Hi Experts,
When i am firing below query, It's not displaying ini_trans and max_trans. I know there are certain default values are set by oracle for these.
SQL> select table_name,ini_trans,max_trans from dba_TABLES Where table_name='MESSAGE';
TABLE_NAME INI_TRANS MAX_TRANS
MESSAGE
Complete Table Structure is as follows
========================
CREATE TABLE "ORCL"."MESSAGE"
( "ID" NUMBER(20,0),
"NAME" VARCHAR2(128),
"CLASSNAME" VARCHAR2(256),
"DESCRIPTION" VARCHAR2(1000),
"OWNER" NUMBER(10,0),
"TYPE" VARCHAR2(64),
"STATE" VARCHAR2(256),
"STATUS" VARCHAR2(256),
"CREATEDBY" VARCHAR2(64),
"DTTMCREATED" TIMESTAMP (3),
"LASTUPDATEDBY" VARCHAR2(64),
"DTTMLASTUPDATED" TIMESTAMP (3),
"INUSEBY" VARCHAR2(64),
"INUSEID" NUMBER(20,0),
"INUSESINCE" TIMESTAMP (3),
"VERSION" NUMBER(20,0),
"REVISION" NUMBER(20,0),
"ARCHIVEDAY" VARCHAR2(32),
"APPLREF" VARCHAR2(64),
"APPLSTATUS" VARCHAR2(64),
"PRIORITY" NUMBER(10,0),
"FORM" NUMBER(20,0),
"FORMNAME" VARCHAR2(128),
"STP" NUMBER(1,0),
"SERVICE" NUMBER(20,0),
"SERVICENAME" VARCHAR2(128),
"STAGE" VARCHAR2(64),
"STAGEINDEX" NUMBER(10,0),
"STAGEREVERSE" NUMBER(1,0),
"STAGECOMPLETE" VARCHAR2(256),
"STAGEREQUIRED" VARCHAR2(256),
"STAGENEWTRANSACTION" VARCHAR2(256),
"STAGESTP" VARCHAR2(256),
"PRIORITYGROUP" VARCHAR2(32),
"INSTANCEID" NUMBER(10,0),
"DTTM" TIMESTAMP (3),
CONSTRAINT "MESSAGE_PK" PRIMARY KEY ("ID", "ARCHIVEDAY")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT) LOCAL
(PARTITION "PART_FUTURE"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 131072 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "STP_DATA" ,
PARTITION "PART_DEFAULT"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "STP_DATA" ) ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "STP_DATA"
PARTITION BY LIST ("ARCHIVEDAY")
(PARTITION "PART_FUTURE" VALUES ('0')
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 2097152 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "STP_DATA" NOCOMPRESS ,
PARTITION "PART_DEFAULT" VALUES ('1', null)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 458752 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "STP_DATA" NOCOMPRESS ) ENABLE ROW MOVEMENT
Could you please let me know why Oracle not displaying its default values? Oracle version is 11.1.0.7.0This is a partitioned table. Check DBA_TAB_PARTITIONS. INI_TRANS and MAX_TRANS are defined at partition/subpartition levele as and where applicable.
Thanks,
Joy -
Automatic Payment program -line item cleared not displaying in table
automatic Payment program -line item cleared not displaying in table
i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
Can some one please guide me on this.Hi Priyanka,
First, which table are you referring to. If your fist APP run clears the line item, it will no longer be available in the open item.
Please be more specific on the problem so that we can try to help you. If possible, please provide screenshots.
Regards,
Ganesh -
Spool ALV not displaying two column value
Hi,
In spool ALV is getting displayed. But the output is not printing the value of 2 columns , both are MATNR values. I checked the output table it is fetching the material number but ALV is not displaying it. please help its urgent. The GI material is not getting displayed.HI Aparjitha,
As per the above screenshot I assume there should be only 2 possible cases as said by Jyoti. Apart from that there is no other chance of missing data, especially for couple of columns in the output.
If you are passing the value at run-time to MATNR and you are able to see that in output, hence your final internal table which you are passing to the ALV is not filled appropriately with MATNR values. May be those values are cleared somewhere.
It would be better if you could share some piece of your subroutine FIELDCATFILL code. Also place a breakpoint before ALV display and check if the fieldcatalog and the final internal table are having the appropriate values.
Regards,
Naresh -
Data are not displaying af:table.
hi experts,
am using jdev 11.1.1.5.0
am using af:query panel and af:table.
problem, is while runnnig the jspx page the af:table datas are not shown automaticaaly.
but here i can want hit some buttons after hitting,
the table get refreshes and datas are appearing. i dono y it's happening,
am using 7 0r 8 tabs and af:tbale am not facing this problem on that those af:table.
but problematic is this tab af:query n af:table. code is pasted here.
<af:showDetailItem text="Link GL Accounts"
binding="#{pageFlowScope.managedbean_GeneralLedger.sdi10}"
id="sdi10">
<af:panelGroupLayout layout="vertical"
binding="#{pageFlowScope.managedbean_GeneralLedger.pgl7}"
id="pgl7">
<af:query id="q1" headerText="Search"
disclosed="true"
value="#{bindings.GlLvlAccountsVOCriteriaQuery.queryDescriptor}"
model="#{bindings.GlLvlAccountsVOCriteriaQuery.queryModel}"
queryListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQueryOperation}"
binding="#{pageFlowScope.managedbean_GeneralLedger.q1}"/>
</af:panelGroupLayout>
<af:panelBox text="Search Result"
binding="#{pageFlowScope.managedbean_GeneralLedger.pb8}"
id="pb8" styleClass="AFStretchWidth"
inlineStyle="width:100.0%;">
<f:facet name="toolbar">
<af:group binding="#{pageFlowScope.managedbean_GeneralLedger.g7}"
id="g7">
<af:commandButton text="Insert"
disabled="#{!bindings.CreateInsert6.enabled}"
binding="#{pageFlowScope.managedbean_GeneralLedger.cb22}"
id="cb22"
action="#{pageFlowScope.managedbean_GeneralLedger.cb22_action2}"
>
<af:showPopupBehavior popupId="p2"/>
</af:commandButton>
<af:popup binding="#{pageFlowScope.managedbean_GeneralLedger.p2}"
id="p2">
<af:dialog binding="#{pageFlowScope.managedbean_GeneralLedger.d3}"
id="d3" type="cancel">
<af:panelFormLayout binding="#{pageFlowScope.managedbean_GeneralLedger.pfl1}"
id="pfl1">
<af:inputListOfValues id="inputListOfValues1"
popupTitle="Search and Select: #{bindings.GlalPlant.hints.label}"
value="#{bindings.GlalPlant.inputValue}"
label="#{bindings.GlalPlant.hints.label}"
model="#{bindings.GlalPlant.listOfValuesModel}"
required="#{bindings.GlalPlant.hints.mandatory}"
columns="#{bindings.GlalPlant.hints.displayWidth}"
shortDesc="#{bindings.GlalPlant.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues1}">
<f:validator binding="#{bindings.GlalPlant.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalPlantDesc.inputValue}"
label="#{bindings.GlalPlantDesc.hints.label}"
required="#{bindings.GlalPlantDesc.hints.mandatory}"
columns="#{bindings.GlalPlantDesc.hints.displayWidth}"
maximumLength="#{bindings.GlalPlantDesc.hints.precision}"
shortDesc="#{bindings.GlalPlantDesc.hints.tooltip}"
partialTriggers="glalPlantId"
binding="#{pageFlowScope.managedbean_GeneralLedger.it38}"
id="it38">
<f:validator binding="#{bindings.GlalPlantDesc.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues2"
popupTitle="Search and Select: #{bindings.GlalLvl1.hints.label}"
value="#{bindings.GlalLvl1.inputValue}"
label="#{bindings.GlalLvl1.hints.label}"
model="#{bindings.GlalLvl1.listOfValuesModel}"
required="#{bindings.GlalLvl1.hints.mandatory}"
columns="#{bindings.GlalLvl1.hints.displayWidth}"
shortDesc="#{bindings.GlalLvl1.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues2}">
<f:validator binding="#{bindings.GlalLvl1.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalLvl1Desc.inputValue}"
label="#{bindings.GlalLvl1Desc.hints.label}"
required="#{bindings.GlalLvl1Desc.hints.mandatory}"
columns="#{bindings.GlalLvl1Desc.hints.displayWidth}"
maximumLength="#{bindings.GlalLvl1Desc.hints.precision}"
shortDesc="#{bindings.GlalLvl1Desc.hints.tooltip}"
partialTriggers="glalLvl1Id"
binding="#{pageFlowScope.managedbean_GeneralLedger.it39}"
id="it39">
<f:validator binding="#{bindings.GlalLvl1Desc.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues3"
popupTitle="Search and Select: #{bindings.GlalLvl2.hints.label}"
value="#{bindings.GlalLvl2.inputValue}"
label="#{bindings.GlalLvl2.hints.label}"
model="#{bindings.GlalLvl2.listOfValuesModel}"
required="#{bindings.GlalLvl2.hints.mandatory}"
columns="#{bindings.GlalLvl2.hints.displayWidth}"
shortDesc="#{bindings.GlalLvl2.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues3}">
<f:validator binding="#{bindings.GlalLvl2.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalLvl2Desc.inputValue}"
label="#{bindings.GlalLvl2Desc.hints.label}"
required="#{bindings.GlalLvl2Desc.hints.mandatory}"
columns="#{bindings.GlalLvl2Desc.hints.displayWidth}"
maximumLength="#{bindings.GlalLvl2Desc.hints.precision}"
shortDesc="#{bindings.GlalLvl2Desc.hints.tooltip}"
partialTriggers="glalLvl2Id"
binding="#{pageFlowScope.managedbean_GeneralLedger.it40}"
id="it40">
<f:validator binding="#{bindings.GlalLvl2Desc.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues4"
popupTitle="Search and Select: #{bindings.GlalLvl3.hints.label}"
value="#{bindings.GlalLvl3.inputValue}"
label="#{bindings.GlalLvl3.hints.label}"
model="#{bindings.GlalLvl3.listOfValuesModel}"
required="#{bindings.GlalLvl3.hints.mandatory}"
columns="#{bindings.GlalLvl3.hints.displayWidth}"
shortDesc="#{bindings.GlalLvl3.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues4}">
<f:validator binding="#{bindings.GlalLvl3.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalLvl3Desc.inputValue}"
label="#{bindings.GlalLvl3Desc.hints.label}"
required="#{bindings.GlalLvl3Desc.hints.mandatory}"
columns="#{bindings.GlalLvl3Desc.hints.displayWidth}"
maximumLength="#{bindings.GlalLvl3Desc.hints.precision}"
shortDesc="#{bindings.GlalLvl3Desc.hints.tooltip}"
partialTriggers="glalLvl3Id"
binding="#{pageFlowScope.managedbean_GeneralLedger.it41}"
id="it41">
<f:validator binding="#{bindings.GlalLvl3Desc.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues5"
popupTitle="Search and Select: #{bindings.GlalLvl4.hints.label}"
value="#{bindings.GlalLvl4.inputValue}"
label="#{bindings.GlalLvl4.hints.label}"
model="#{bindings.GlalLvl4.listOfValuesModel}"
required="#{bindings.GlalLvl4.hints.mandatory}"
columns="#{bindings.GlalLvl4.hints.displayWidth}"
shortDesc="#{bindings.GlalLvl4.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues5}">
<f:validator binding="#{bindings.GlalLvl4.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalLvl4Desc.inputValue}"
label="#{bindings.GlalLvl4Desc.hints.label}"
required="#{bindings.GlalLvl4Desc.hints.mandatory}"
columns="#{bindings.GlalLvl4Desc.hints.displayWidth}"
maximumLength="#{bindings.GlalLvl4Desc.hints.precision}"
shortDesc="#{bindings.GlalLvl4Desc.hints.tooltip}"
partialTriggers="glalLvl4Id"
binding="#{pageFlowScope.managedbean_GeneralLedger.it42}"
id="it42">
<f:validator binding="#{bindings.GlalLvl4Desc.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues6"
popupTitle="Search and Select: #{bindings.GlalAcct.hints.label}"
value="#{bindings.GlalAcct.inputValue}"
label="#{bindings.GlalAcct.hints.label}"
model="#{bindings.GlalAcct.listOfValuesModel}"
required="#{bindings.GlalAcct.hints.mandatory}"
columns="#{bindings.GlalAcct.hints.displayWidth}"
shortDesc="#{bindings.GlalAcct.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues6}">
<f:validator binding="#{bindings.GlalAcct.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalAcctDesc.inputValue}"
label="#{bindings.GlalAcctDesc.hints.label}"
required="#{bindings.GlalAcctDesc.hints.mandatory}"
columns="#{bindings.GlalAcctDesc.hints.displayWidth}"
maximumLength="#{bindings.GlalAcctDesc.hints.precision}"
shortDesc="#{bindings.GlalAcctDesc.hints.tooltip}"
partialTriggers="glalAcctId"
binding="#{pageFlowScope.managedbean_GeneralLedger.it43}"
id="it43">
<f:validator binding="#{bindings.GlalAcctDesc.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.GlalDesc1.inputValue}"
label="#{bindings.GlalDesc1.hints.label}"
required="#{bindings.GlalDesc1.hints.mandatory}"
columns="#{bindings.GlalDesc1.hints.displayWidth}"
maximumLength="#{bindings.GlalDesc1.hints.precision}"
shortDesc="#{bindings.GlalDesc1.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.it44}"
id="it44">
<f:validator binding="#{bindings.GlalDesc1.validator}"/>
</af:inputText>
<af:inputListOfValues id="inputListOfValues7"
popupTitle="Search and Select: #{bindings.GlalClId.hints.label}"
value="#{bindings.GlalClId.inputValue}"
label="#{bindings.GlalClId.hints.label}"
model="#{bindings.GlalClId.listOfValuesModel}"
required="#{bindings.GlalClId.hints.mandatory}"
columns="#{bindings.GlalClId.hints.displayWidth}"
shortDesc="#{bindings.GlalClId.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.inputListOfValues7}">
<f:validator binding="#{bindings.GlalClId.validator}"/>
</af:inputListOfValues>
<af:inputText value="#{bindings.GlalClassDesc.inputValue}"
label="#{bindings.GlalClassDesc.hints.label}"
required="#{bindings.GlalClassDesc.hints.mandatory}"
columns="#{bindings.GlalClassDesc.hints.displayWidth}"
maximumLength="#{bindings.GlalClassDesc.hints.precision}"
shortDesc="#{bindings.GlalClassDesc.hints.tooltip}"
partialTriggers="glalClIdId"
binding="#{pageFlowScope.managedbean_GeneralLedger.it45}"
id="it45">
<f:validator binding="#{bindings.GlalClassDesc.validator}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.GlalOptType.inputValue}"
label="#{bindings.GlalOptType.label}"
required="#{bindings.GlalOptType.hints.mandatory}"
shortDesc="#{bindings.GlalOptType.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.soc4}"
id="soc4">
<f:selectItems value="#{bindings.GlalOptType.items}"
binding="#{pageFlowScope.managedbean_GeneralLedger.si4}"
id="si4"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.GlalStatus.inputValue}"
label="#{bindings.GlalStatus.label}"
required="#{bindings.GlalStatus.hints.mandatory}"
shortDesc="#{bindings.GlalStatus.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.soc5}"
id="soc5">
<f:selectItems value="#{bindings.GlalStatus.items}"
binding="#{pageFlowScope.managedbean_GeneralLedger.si5}"
id="si5"/>
</af:selectOneChoice>
<af:selectBooleanCheckbox value="#{bindings.GlalBudFlag.inputValue}"
label="#{bindings.GlalBudFlag.label}"
shortDesc="#{bindings.GlalBudFlag.hints.tooltip}"
binding="#{pageFlowScope.managedbean_GeneralLedger.sbc4}"
id="sbc4"/>
<f:facet name="footer">
<af:panelGroupLayout layout="vertical"
binding="#{pageFlowScope.managedbean_GeneralLedger.pgl8}"
id="pgl8">
<af:commandButton text="Commit"
binding="#{pageFlowScope.managedbean_GeneralLedger.cb29}"
id="cb29"
actionListener="#{bindings.Commit.execute}"
disabled="#{!bindings.Commit.enabled}"/>
</af:panelGroupLayout>
</f:facet>
</af:panelFormLayout>
</af:dialog>
</af:popup>
<af:commandButton actionListener="#{bindings.Delete6.execute}"
text="Delete6"
disabled="#{!bindings.Delete6.enabled}"
binding="#{pageFlowScope.managedbean_GeneralLedger.cb24}"
id="cb24"/>
</af:group>
</f:facet>
remaing code continues another post.
Edited by: Erp on Oct 12, 2011 4:55 AMremaing code
<af:panelCollection binding="#{pageFlowScope.managedbean_GeneralLedger.pc7}"
id="pc7" styleClass="AFStretchWidth"
inlineStyle="width:100.0%;">
<f:facet name="menus"/>
<f:facet name="toolbar"/>
<f:facet name="statusbar"/>
<af:table value="#{bindings.GlLvlAccounts1.collectionModel}"
var="row"
rows="#{bindings.GlLvlAccounts1.rangeSize}"
emptyText="#{bindings.GlLvlAccounts1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.GlLvlAccounts1.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.GlLvlAccountsVOCriteriaQuery.queryDescriptor}"
queryListener="#{bindings.GlLvlAccountsVOCriteriaQuery.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.GlLvlAccounts1.collectionModel.selectedRow}"
selectionListener="#{bindings.GlLvlAccounts1.collectionModel.makeCurrent}"
rowSelection="single"
binding="#{pageFlowScope.managedbean_GeneralLedger.t7}"
id="t7" columnStretching="column:c48"
styleClass="AFStretchWidth"
inlineStyle="width:100.0%;"
partialTriggers=":::q1 :::cb22 :::cb23 :::cb24 :::cb25 :::cb26 :::cb27 :::cb28">
<af:column sortProperty="GlalPlant" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalPlant.label}"
id="c47">
<af:inputListOfValues id="glalPlantId"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalPlant.label}"
value="#{row.bindings.GlalPlant.inputValue}"
model="#{row.bindings.GlalPlant.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalPlant.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalPlant.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalPlant.tooltip}">
<f:validator binding="#{row.bindings.GlalPlant.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalPlantDesc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.label}"
id="c38">
<af:inputText value="#{row.bindings.GlalPlantDesc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalPlantDesc.tooltip}"
id="it35">
<f:validator binding="#{row.bindings.GlalPlantDesc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalLvl1" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl1.label}"
id="c46">
<af:inputListOfValues id="glalLvl1Id"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl1.label}"
value="#{row.bindings.GlalLvl1.inputValue}"
model="#{row.bindings.GlalLvl1.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl1.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl1.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl1.tooltip}">
<f:validator binding="#{row.bindings.GlalLvl1.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalLvl1Desc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.label}"
id="c43">
<af:inputText value="#{row.bindings.GlalLvl1Desc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl1Desc.tooltip}"
id="it33">
<f:validator binding="#{row.bindings.GlalLvl1Desc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalLvl2" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl2.label}"
id="c45">
<af:inputListOfValues id="glalLvl2Id"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl2.label}"
value="#{row.bindings.GlalLvl2.inputValue}"
model="#{row.bindings.GlalLvl2.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl2.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl2.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl2.tooltip}">
<f:validator binding="#{row.bindings.GlalLvl2.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalLvl2Desc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.label}"
id="c35">
<af:inputText value="#{row.bindings.GlalLvl2Desc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl2Desc.tooltip}"
id="it29">
<f:validator binding="#{row.bindings.GlalLvl2Desc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalLvl3" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl3.label}"
id="c41">
<af:inputListOfValues id="glalLvl3Id"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl3.label}"
value="#{row.bindings.GlalLvl3.inputValue}"
model="#{row.bindings.GlalLvl3.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl3.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl3.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl3.tooltip}">
<f:validator binding="#{row.bindings.GlalLvl3.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalLvl3Desc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.label}"
id="c37">
<af:inputText value="#{row.bindings.GlalLvl3Desc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl3Desc.tooltip}"
id="it32">
<f:validator binding="#{row.bindings.GlalLvl3Desc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalLvl4" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl4.label}"
id="c34">
<af:inputListOfValues id="glalLvl4Id"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalLvl4.label}"
value="#{row.bindings.GlalLvl4.inputValue}"
model="#{row.bindings.GlalLvl4.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl4.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl4.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl4.tooltip}">
<f:validator binding="#{row.bindings.GlalLvl4.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalLvl4Desc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.label}"
id="c42">
<af:inputText value="#{row.bindings.GlalLvl4Desc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalLvl4Desc.tooltip}"
id="it30">
<f:validator binding="#{row.bindings.GlalLvl4Desc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalAcct" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalAcct.label}"
id="c33">
<af:inputListOfValues id="glalAcctId"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalAcct.label}"
value="#{row.bindings.GlalAcct.inputValue}"
model="#{row.bindings.GlalAcct.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalAcct.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalAcct.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalAcct.tooltip}">
<f:validator binding="#{row.bindings.GlalAcct.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalAcctDesc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.label}"
id="c44">
<af:inputText value="#{row.bindings.GlalAcctDesc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalAcctDesc.tooltip}"
id="it34">
<f:validator binding="#{row.bindings.GlalAcctDesc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalDesc1" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalDesc1.label}"
id="c28">
<af:inputText value="#{row.bindings.GlalDesc1.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalDesc1.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalDesc1.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalDesc1.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalDesc1.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalDesc1.tooltip}"
id="it36">
<f:validator binding="#{row.bindings.GlalDesc1.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalClId" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalClId.label}"
id="c36">
<af:inputListOfValues id="glalClIdId"
popupTitle="Search and Select: #{bindings.GlLvlAccounts1.hints.GlalClId.label}"
value="#{row.bindings.GlalClId.inputValue}"
model="#{row.bindings.GlalClId.listOfValuesModel}"
required="#{bindings.GlLvlAccounts1.hints.GlalClId.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalClId.displayWidth}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalClId.tooltip}">
<f:validator binding="#{row.bindings.GlalClId.validator}"/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="GlalClassDesc"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.label}"
id="c39">
<af:inputText value="#{row.bindings.GlalClassDesc.inputValue}"
label="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.mandatory}"
columns="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.displayWidth}"
maximumLength="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.precision}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalClassDesc.tooltip}"
id="it37">
<f:validator binding="#{row.bindings.GlalClassDesc.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="GlalOptType"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalOptType.label}"
id="c48">
<af:selectOneChoice value="#{row.bindings.GlalOptType.inputValue}"
label="#{row.bindings.GlalOptType.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalOptType.mandatory}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalOptType.tooltip}"
id="soc2">
<f:selectItems value="#{row.bindings.GlalOptType.items}"
id="si2"/>
</af:selectOneChoice>
</af:column>
<af:column sortProperty="GlalStatus" filterable="true"
sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalStatus.label}"
id="c27">
<af:selectOneChoice value="#{row.bindings.GlalStatus.inputValue}"
label="#{row.bindings.GlalStatus.label}"
required="#{bindings.GlLvlAccounts1.hints.GlalStatus.mandatory}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalStatus.tooltip}"
id="soc3">
<f:selectItems value="#{row.bindings.GlalStatus.items}"
id="si3"/>
</af:selectOneChoice>
</af:column>
<af:column sortProperty="GlalBudFlag"
filterable="true" sortable="true"
headerText="#{bindings.GlLvlAccounts1.hints.GlalBudFlag.label}"
id="c40">
<af:selectBooleanCheckbox value="#{row.bindings.GlalBudFlag.inputValue}"
label="#{row.bindings.GlalBudFlag.label}"
shortDesc="#{bindings.GlLvlAccounts1.hints.GlalBudFlag.tooltip}"
id="sbc3"/>
</af:column>
</af:table>
</af:panelCollection>
</af:panelBox>
</af:showDetailItem>i deleted this af:query n af:table .
and do the same. but problem is still exist. -
Auto-Suggest feature in Combo-box LOV is not displaying non-unique values
Hi,
I have an auto-suggest feature implementation on a combo-box lov that displays the name and email-id of a list of people. There are non-unique names in the back-end, for example :
Abraham Mason [email protected]
Abraham Mason [email protected]
But when I use the auto-suggest feature and type in, say 'Ab', instead of showing both the Abraham Masons the auto-suggest displays only one of the values.
As in the example above the email-ids of the two Abraham Masons are different and unique.
If I use the conventional drop down menu of the combo-box then both the values are visible.
Is the auto-suggest feature implemented in a manner so as to display only unique values?
This is the implementation of the auto-suggest feature that I have done -
<af:column headerText="#{bindings.RqmtAtLevel1.hints.Owner.label}"
id="c23" sortable="true" filterable="true"
sortProperty="Owner"
filterFeatures="caseInsensitive">
<af:inputComboboxListOfValues id="ownerId"
popupTitle="#{ResourcesGenBundle['Header.SearchandSelect.Searchandselectanobjectusingad']}: #{bindings.RqmtAtLevel1.hints.Owner.label}"
value="#{row.bindings.Owner.inputValue}"
model="#{row.bindings.Owner.listOfValuesModel}"
required="#{bindings.RqmtAtLevel1.hints.Owner.mandatory}"
columns="#{bindings.RqmtAtLevel1.hints.Owner.displayWidth}"
shortDesc="#{bindings.RqmtAtLevel1.hints.Owner.tooltip}"
autoSubmit="true">
<f:validator binding="#{row.bindings.Owner.validator}"/>
<af:autoSuggestBehavior suggestedItems="#{row.bindings.Owner.suggestedItems}"/>
</af:inputComboboxListOfValues>
</af:column>
Thanks,
Anirudh AcharyaHi,
don't find a bug entry about this, so if this indeed is a defect then this has not been filed. Do you have a test case ? If you have please zip it up and send it in a mail to me. My mail address is in my OTN profile (just click on my name until you get to the profile). Pleas rename the "zip" extension to "unzip" and mention the JDeveloper release you work with. The test case should work against the Oracle HR schema.
If you need to track the issue, I suggest to file a service request with customer support yourself
Frank -
Full Text not Displaying in table
Hi Experts
I am displaying Long text in Text elements in table But It is not displaying full Text only Half of text is displaying.
How to overcome this? Is there any length limitation for text elements in table.
and Variable type is STRING
i am concatenating lines from Read text FM.
Regards
Jagadish
Edited by: acj_vy on Aug 17, 2010 10:23 AMHi,
You should not concatenate the text into string which you read using READ_TEXT.
You should loop at the table and then display the text using work area of the table.
It will be displayed line by line as it is getting displayed in your standard transaction.
Thanks,
Archana -
Freight value not taking in net value--Urgent
Hi,
While creating purchase order freight condition valude FRB1 not taking in net value.
Please help its is urgent.
Regards,
RavindraHi Ravindra
You need post seperate invoices in case where the vendors are different, If the supply vendor and freight provider are same, you can post both costs in once invoice. Select the goods+delivery costs to make one invoice verification.
In general, freight value will not be added even the vendor is same. Inturn both item cost and delivery cost are processed in one invoice.
If you want, you can include the freght in net by maintaining the freight condition as not an accrual.
But, just for this sake, you should not modify your pricing procedure.
warm regards
sairam akundi -
Keeping table description on change and not displaying NULL values
I have the table grouped by BFY and then showing by fund. I can only get the description section to show up for the first fund and then when it changes funds nothing shows up. Then when the year changes again it appears.
ex.
BFY: 2005: 0100AXXXXD
but when the fund changes from 0100AXXXXD........nothing shows up.
Also I wanted to not include any funds/years that are null. I had the following code in but it isn't stopping the null values.
<?if: SEC_ZERO_INDICATOR !=0?>
Thanks for any help.Need to see your xml data structure. Can you send me the xml and RTF file to [email protected]? I will take a look.
Thanks,
Bipuser -
EA Version 4.0 - Partition high-values are not displayed (NULL)
The partition high values are not schon in the "partitions" tab of the table. Only NULL was displayed.
Sorry i slept, this is referenced partitioned table. Only in the parent rtable there will be the high-values displayed.
-
Last_page button is not working in table control-urgent
hi all,
iam displaying the data in table control.in my pf-status i have first_page,next_page,prev_page and last_page.out of 4 buttons 3 buttons are working finr except last_page. any body can send me the code for this program.iam sending my program below.
REPORT ZMAHI_TABLE_CONTROL .
TABLES : VBAK,VBAP.
DATA : BEGIN OF ITAB OCCURS 0,
VBELN TYPE VBAK-VBELN,
ERDAT TYPE VBAK-ERDAT,
ERNAM TYPE VBAK-ERNAM,
ERZET TYPE VBAK-ERZET,
REASON(40) TYPE C,
END OF ITAB.
DATA : FILL TYPE I VALUE 1.
DATA : N TYPE I .
DATA : BEGIN OF XVALUES OCCURS 50,
BUTXT LIKE T001-BUTXT,
END OF XVALUES.
DATA : BEGIN OF XFIELDS OCCURS 50.
INCLUDE STRUCTURE HELP_VALUE.
DATA : END OF XFIELDS.
DATA : BEGIN OF SEL_VAL OCCURS 50.
INCLUDE STRUCTURE HELP_VTAB.
DATA : END OF SEL_VAL.
TABLE CONTROL DECLARATIONS------
CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING SCREEN '100'.
DATA : OK_CODE TYPE SY-UCOMM,
LIN TYPE I,
LIN1 TYPE I,
LIN2 TYPE I,
LIN3 TYPE I.
DATA: LINES TYPE I,
LIMIT TYPE I VALUE 1.
DATA : LINE_COUNT TYPE I,
LINEI TYPE I,
LINEJ TYPE I,
LINE1 TYPE I,
LINE2 TYPE I,
LN1 TYPE I.
SELECTION-SCREEN : BEGIN OF BLOCK B1.
SELECT-OPTIONS : P_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN : END OF BLOCK B1.
START-OF-SELECTION.
SELECT VBELN
ERDAT
ERNAM
ERZET
FROM VBAK
INTO TABLE ITAB
WHERE VBELN IN P_VBELN.
CALL SCREEN 100.
*& Module F4_HELP INPUT
MODULE F4_HELP INPUT.
FREE : XFIELDS,SEL_VAL,XVALUES.
MOVE : 'ZMAHI' TO XFIELDS-TABNAME,
'REASON' TO XFIELDS-FIELDNAME,
'X' TO XFIELDS-SELECTFLAG.
APPEND XFIELDS.
XVALUES = 'Non Trade F&F'.
APPEND XVALUES .
XVALUES = 'Non Trade Retention'.
APPEND XVALUES .
XVALUES = 'Oldbills Accnt cntmnt'.
APPEND XVALUES .
XVALUES = 'Non Trade Not claimed'.
APPEND XVALUES .
XVALUES = 'Non Trade Dispute'.
APPEND XVALUES .
XVALUES = 'Non Trade Payment Block'.
APPEND XVALUES .
XVALUES = 'N/T Subsntly Cleared'.
APPEND XVALUES .
XVALUES = 'N/T Unstld Advances'.
APPEND XVALUES .
XVALUES = 'N/T OThers'.
APPEND XVALUES .
XVALUES = 'Trade Non Receipt OF BOE'.
APPEND XVALUES .
XVALUES = 'Trade OEM Adjustments'.
APPEND XVALUES .
XVALUES = 'Trade Reject Of Material'.
APPEND XVALUES .
XVALUES = 'Trade NOt Claimed'.
APPEND XVALUES .
XVALUES = 'Trade Dispute'.
APPEND XVALUES .
XVALUES = 'Trade Payment BLock'.
APPEND XVALUES .
XVALUES = 'Trade Subsntly Cleared'.
APPEND XVALUES .
XVALUES = 'Trade Non Submission of bills'.
APPEND XVALUES .
XVALUES = 'Trade others'.
APPEND XVALUES .
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
EXPORTING
CUCOL = 0
CUROW = 0
DISPLAY = ' '
FIELDNAME = 'REASON'
TABNAME = 'ZIFIOD011'
IMPORTING
SELECT_VALUE = ITAB-REASON
TABLES
FIELDS = XFIELDS
SELECT_VALUES = SEL_VAL
VALUETAB = XVALUES.
ENDMODULE. " F4_HELP INPUT
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS '0100'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'NEXT_LINE'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
limit = fill - lines + 1.
IF CONTROL_DATA-top_line > limit.
CONTROL_DATA-top_line = limit.
ENDIF.
WHEN 'PREV_LINE'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
IF CONTROL_DATA-top_line < 0.
CONTROL_DATA-top_line = 0.
ENDIF.
WHEN 'NEXT_PAGE'.
CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
LIMIT = LIMIT + 1.
CONTROL_DATA-TOP_LINE = LIMIT.
WHEN 'PREV_PAGE'.
CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
LIMIT = LIMIT - 1.
CONTROL_DATA-TOP_LINE = LIMIT.
WHEN 'LAST_PAGE'.
CONTROL_DATA-TOP_LINE = FILL - LINES + 1.
WHEN 'FIRST_PAGE'.
CONTROL_DATA-TOP_LINE = 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module SCROLL_BAR INPUT
MODULE SCROLL_BAR INPUT.
DESCRIBE TABLE ITAB LINES CONTROL_DATA-LINES.
ENDMODULE. " SCROLL_BAR INPUT
thanks,
maheedhar.THi Ravi,
The code which u sent to me is not working for next page and previous page.
can u plz resend me the code.
iam sending my code below.
REPORT ZMAHI_TABLE_CONTROL .
TABLES : VBAK,VBAP.
DATA : BEGIN OF ITAB OCCURS 0,
VBELN TYPE VBAK-VBELN,
ERDAT TYPE VBAK-ERDAT,
ERNAM TYPE VBAK-ERNAM,
ERZET TYPE VBAK-ERZET,
REASON(40) TYPE C,
END OF ITAB.
DATA : FILL TYPE I VALUE 1.
DATA : N TYPE I .
DATA : BEGIN OF XVALUES OCCURS 50,
BUTXT LIKE T001-BUTXT,
END OF XVALUES.
DATA : BEGIN OF XFIELDS OCCURS 50.
INCLUDE STRUCTURE HELP_VALUE.
DATA : END OF XFIELDS.
DATA : BEGIN OF SEL_VAL OCCURS 50.
INCLUDE STRUCTURE HELP_VTAB.
DATA : END OF SEL_VAL.
TABLE CONTROL DECLARATIONS------
CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING SCREEN '100'.
DATA : OK_CODE TYPE SY-UCOMM,
LIN TYPE I,
LIN1 TYPE I,
LIN2 TYPE I,
LIN3 TYPE I.
DATA: LINES TYPE I,
LIMIT TYPE I VALUE 1.
DATA : LINE_COUNT TYPE I,
LINEI TYPE I,
LINEJ TYPE I,
LINE1 TYPE I,
LINE2 TYPE I,
LN1 TYPE I.
SELECTION-SCREEN : BEGIN OF BLOCK B1.
SELECT-OPTIONS : P_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN : END OF BLOCK B1.
START-OF-SELECTION.
SELECT VBELN
ERDAT
ERNAM
ERZET
FROM VBAK
INTO TABLE ITAB
WHERE VBELN IN P_VBELN.
CALL SCREEN 100.
*& Module F4_HELP INPUT
MODULE F4_HELP INPUT.
FREE : XFIELDS,SEL_VAL,XVALUES.
MOVE : 'ZMAHI' TO XFIELDS-TABNAME,
'REASON' TO XFIELDS-FIELDNAME,
'X' TO XFIELDS-SELECTFLAG.
APPEND XFIELDS.
XVALUES = 'Non Trade F&F'.
APPEND XVALUES .
XVALUES = 'Non Trade Retention'.
APPEND XVALUES .
XVALUES = 'Oldbills Accnt cntmnt'.
APPEND XVALUES .
XVALUES = 'Non Trade Not claimed'.
APPEND XVALUES .
XVALUES = 'Non Trade Dispute'.
APPEND XVALUES .
XVALUES = 'Non Trade Payment Block'.
APPEND XVALUES .
XVALUES = 'N/T Subsntly Cleared'.
APPEND XVALUES .
XVALUES = 'N/T Unstld Advances'.
APPEND XVALUES .
XVALUES = 'N/T OThers'.
APPEND XVALUES .
XVALUES = 'Trade Non Receipt OF BOE'.
APPEND XVALUES .
XVALUES = 'Trade OEM Adjustments'.
APPEND XVALUES .
XVALUES = 'Trade Reject Of Material'.
APPEND XVALUES .
XVALUES = 'Trade NOt Claimed'.
APPEND XVALUES .
XVALUES = 'Trade Dispute'.
APPEND XVALUES .
XVALUES = 'Trade Payment BLock'.
APPEND XVALUES .
XVALUES = 'Trade Subsntly Cleared'.
APPEND XVALUES .
XVALUES = 'Trade Non Submission of bills'.
APPEND XVALUES .
XVALUES = 'Trade others'.
APPEND XVALUES .
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
EXPORTING
CUCOL = 0
CUROW = 0
DISPLAY = ' '
FIELDNAME = 'REASON'
TABNAME = 'ZIFIOD011'
IMPORTING
SELECT_VALUE = ITAB-REASON
TABLES
FIELDS = XFIELDS
SELECT_VALUES = SEL_VAL
VALUETAB = XVALUES.
ENDMODULE. " F4_HELP INPUT
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS '0100'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'NEXT_LINE'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
limit = fill - lines + 1.
IF CONTROL_DATA-top_line > limit.
CONTROL_DATA-top_line = limit.
ENDIF.
WHEN 'PREV_LINE'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
IF CONTROL_DATA-top_line < 0.
CONTROL_DATA-top_line = 0.
ENDIF.
WHEN 'NEXT_PAGE'.
CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
LIMIT = LIMIT + 1.
CONTROL_DATA-TOP_LINE = LIMIT.
WHEN 'PREV_PAGE'.
CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
LIMIT = LIMIT - 1.
CONTROL_DATA-TOP_LINE = LIMIT.
WHEN 'LAST_PAGE'.
DESCRIBE TABLE ITAB LINES LIMIT.
CONTROL_DATA-TOP_LINE = LIMIT.
WHEN 'FIRST_PAGE'.
CONTROL_DATA-TOP_LINE = 0.
WHEN 'P--'.
CLEAR ok_code.
PERFORM paging USING 'P--'.
WHEN 'P-'.
CLEAR ok_code.
PERFORM paging USING 'P-'.
WHEN 'P+'.
CLEAR ok_code.
PERFORM paging USING 'P+'.
WHEN 'P++'.
CLEAR ok_code.
PERFORM paging USING 'P++'.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module SCROLL_BAR INPUT
MODULE SCROLL_BAR INPUT.
DESCRIBE TABLE ITAB LINES CONTROL_DATA-LINES.
ENDMODULE. " SCROLL_BAR INPUT
*& Form paging
text
-->P_0356 text
*FORM paging USING VALUE(P_0356).
FORM paging USING code.
DATA: i TYPE i,
j TYPE i.
CASE code.
WHEN 'P--'.
CONTROL_DATA-top_line = 1.
WHEN 'P-'.
CONTROL_DATA-top_line = CONTROL_DATA-top_line - line_count.
IF CONTROL_DATA-top_line LE 0.
CONTROL_DATA-top_line = 1.
ENDIF.
WHEN 'P+'.
i = CONTROL_DATA-top_line + line_count.
j = CONTROL_DATA-lines - line_count + 1.
IF j LE 0. j = 1. ENDIF.
IF i LE j.
CONTROL_DATA-top_line = i.
ELSE.
CONTROL_DATA-top_line = j.
ENDIF.
WHEN 'P++'.
CONTROL_DATA-top_line = CONTROL_DATA-lines - line_count + 1.
IF CONTROL_DATA-top_line LE 0.
CONTROL_DATA-top_line = 1.
ENDIF.
ENDCASE.
ENDFORM. " PAGING
*ENDFORM. " paging
thanks,
maheedhar.t -
ORA-22908: reference to NULL table value (insert into nest)
Hi all,
When attempting to insert a record into a nested table I get the above error (ORA-22908...). I've read what the error means, but to be honest it's a bit confusing. I'm wondering if someone could shed some light on the topic for me.
The insert statement I'm using is:
IF (:P50_CASEN IS NOT NULL) THEN
INSERT INTO TABLE(SELECT LSMCS FROM SIN WHERE CASEN = :P50_CASEN)
VALUES
(LSMC_TY(:P50_C1,:P50_C2,:P50_C3,:P50_C4));
END IF;
The table def/DDL for SIN is:
CREATE TABLE "SIN"
( "ID" NUMBER NOT NULL ENABLE,
"CASEN" NUMBER,
"EB" VARCHAR2(100),
"EO" DATE,
"ED" DATE,
"NAME" VARCHAR2(100),
"TITLE" VARCHAR2(100),
"STATUS" VARCHAR2(20),
"SPR" VARCHAR2(100),
"BUNIT" VARCHAR2(100),
"ECM" VARCHAR2(100),
"PHONE" VARCHAR2(30),
"REGION" VARCHAR2(30),
"CAT" VARCHAR2(30),
"PII" VARCHAR2(10),
"RTN" VARCHAR2(10),
"TCSIRC" VARCHAR2(10),
"USCERT" VARCHAR2(10),
"OCCS" VARCHAR2(10),
"NOTES" VARCHAR2(4000),
"LSMCS" "LSMCS_NT"
NESTED TABLE "LSMCS" STORE AS "LSMCS_NT_TAB"
RETURN AS VALUE
CREATE OR REPLACE TRIGGER "BI_SIN"
before insert on "SIN"
for each row
begin
if :NEW."ID" is null then
select "SIN_SEQ".nextval into :NEW."ID" from dual;
end if;
end;
ALTER TRIGGER "BI_SIN" ENABLE
++++++++++++
The DDL for the type is:
CREATE OR REPLACE TYPE "LSMC_TY" AS OBJECT
(C1 VARCHAR2(50),
C2 VARCHAR2(50),
C3 VARCHAR2(10),
C4 VARCHAR2(4000));
+++++++
Any help would be much appreciated...A simplified example.
SQL> select * from sin
2 where id = 1
3 /
ID
LSMCS(C1, C2, C3, C4)
1
LSMC_NT(LSMC_TY('APC', 'TOOTING', 'JUST A GUY', 'http://radiofreetooting.blogspot.com'))
SQL> insert into table(select s.lsmcs from sin s where s.id=1) t
2 values ( LSMC_TY('HAROLD SAXON', 'UTOPIA', 'MASTER', 'http://www.haroldsaxon.co.uk/'))
3 /
1 row created.
SQL> select * from sin
2 where id = 1
3 /
ID
LSMCS(C1, C2, C3, C4)
1
LSMC_NT(LSMC_TY('APC', 'LONDON', 'JUST A GUY', 'http://radiofreetooting.blogspot.com')
, LSMC_TY('HAROLD SAXON', 'UTOPIA', 'MASTER', 'http://www.haroldsaxon.co.uk/'))
SQL> This is basically what you have. So I think you need to simplify your implementation to get it working and then complicate it until you discover what breaks it :)
Cheers, APC -
LOV values not displayed (when master values are changed)
Sorry for the confusing subject....
I have a codevalue table which contains all generic lookup values.
employee table has employeetype which is getting value from codevlaue table but they are not linked (no foreign key relationship)
Problem is this
Example.... for eomployee 1 let say exmployeetype = perm. if i change the codevalue from perm to permanent.
next time I open the employee 1; I see the employeetype = empty as perm value is not available in lov.
Any way I can overcome this problem using configuration or do i have to generate my own lov in Vo?
I am using oracle 11.1.1.3 adf bc.
let me know if you need any more infoThanks ....
Let me go through step by step process....
LOV is working fine.....for employetype i see the correct value
Now steps I performed which led to this problem
1. for my employee #1, i have employeetype='perm'*
2. I went to codevalue table and changed the value from 'perm' to 'permanent'
3. I went to employee page for employee #1, i see empty employeetype (I want to see the current value which is 'perm')
drop down for employeetype shows correct current value
Now 'perm' doesn't exist in codevalue table and when lov gets generated..... it doesn't have that value......
What i want is not matter if codevalue has the current value of employeetype or not, I want to see the current employeetype value selected......
does that make sense?
1. -
Possible to display null item value as 'All' in blank HTML region?
Apex 4.1
Theme 21
Hi There,
I have select list which has null and other values. I have created a blank HTML region with the following text
Report for the year &P2_YEAR. and for geography &P2_GEOG.
Now P2_YEAR works fine because, it is always populated with a year. However, &P2_GEOG has 'All' as null value since we can see the report for all geographies. However, if the all option is selected, the above &P2_GEOG. shows as null. Since its not a PL/SQL proc, I cannot put in a NVL. I am guessing one possible way is to write a PL/SQL code before region and then check if its null and then try to populate a new hidden field and show, something like that. Wondering if there is a way to do it directly in the HTML region?
Thanks,
Sun
Edited by: ryansun on Jul 2, 2012 12:49 AM
Edited by: ryansun on Jul 2, 2012 12:50 AM
Edited by: ryansun on Jul 2, 2012 12:55 AMHi Morten,
in the validation callback you could use apex_util.set_session_state to modify the page items value. We do that ourself in the "Number Field" native item type plug-in.
Regards
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Swing ProgressMonitor not displaying it's values
While initializing an application, i want to use a ProgressMonitor and have following prob.
When class with ProgressMonitor is launched using it's main, the PM is shown correctly.
(to test, please run 'testApp').
When class with PM is launched from DesktopPane, it isn't showing it's value's / progressbar.
(to test, please run 'menu')
TestApp
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.ProgressMonitor;
public class TestApp
extends JInternalFrame {
ProgressMonitor pm;
public TestApp() {
setTitle("Swing-Application PanelTest");
add(new JLabel("Greetz from the programmer"));
pm = new ProgressMonitor(this, "Building Resources...",
"Process is 0% complete",0, 100);
pm.setMillisToDecideToPopup(0);
pm.setMillisToPopup(0);
pm.setProgress(1);
myLoop();
pm.setProgress(50);
pm.setNote("Process is 50% complete");
myLoop();
pm.setProgress(75);
pm.setNote("Process is 75% complete");
myLoop();
pm.setProgress(100);
pm.setNote("Process is 100% complete");
pack();
setVisible(true);
public static void main(String[] args) {
JFrame f = new JFrame();
f.add(new TestApp());
f.setPreferredSize(new Dimension(400,300));
f.pack();
f.setVisible(true);
public void myLoop() {
for (int x=1;x<50000;x++){
System.out.println("waiting... " + x);
}Menu
import java.awt.BorderLayout;
import java.beans.PropertyVetoException;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JTree;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.DefaultMutableTreeNode;
public class Menu extends JFrame implements TreeSelectionListener{
private JDesktopPane myDeskTop;
private JPanel jContentPane = null;
private JSplitPane jSplitPane = null;
private JTree jTree = null;
private TestApp myApp;
* This is the default constructor
protected Menu() {
setContentPane(getJContentPane());
setDefaultCloseOperation(javax.swing.JFrame.DISPOSE_ON_CLOSE);
setSize(400, 300);
setTitle("MyApplication");
this.validate();
setVisible(true);
* Launches this application
public static void main(String[] args) {
Menu myApplication = new Menu();
myApplication.setVisible(true);
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
jContentPane.add(getJSplitPane(), java.awt.BorderLayout.CENTER);
return jContentPane;
private JSplitPane getJSplitPane() {
if (jSplitPane == null) {
jSplitPane = new JSplitPane();
jSplitPane.setLeftComponent(getJTree());
myDeskTop = new JDesktopPane();
jSplitPane.setRightComponent(myDeskTop);
jSplitPane.setDividerLocation(150);
return jSplitPane;
private JTree getJTree() {
if (jTree == null) {
DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
DefaultMutableTreeNode newNode = new DefaultMutableTreeNode("Dept");
newNode.add(new DefaultMutableTreeNode("application"));
root.add(newNode);
jTree = new JTree(root);
jTree.addTreeSelectionListener(this);
return jTree;
public void valueChanged(TreeSelectionEvent event) {
try {
String selectedApplication = jTree.getLastSelectedPathComponent().toString();
if (selectedApplication.equals("application")){
myApp = new TestApp();
myDeskTop.add(myApp);
myApp.pack();
myApp.setClosable(true);
try {
myApp.setMaximum(true);
} catch (PropertyVetoException e){}
myApp.setVisible(true);
myApp.toFront();
} catch (Exception e){}
}In order not to block the event dispatch thread (GUI update) you have to put the progress monitor in an own thread. Here I put your whole app in the thread:
public void valueChanged(TreeSelectionEvent event) {
try {
String selectedApplication = jTree.getLastSelectedPathComponent
().toString();
if (selectedApplication.equals("application")){
Thread t = new Thread(new Runnable() {
public void run() {
myApp = new TestApp();
myDeskTop.add(myApp);
myApp.pack();
myApp.setClosable(true);
try {
myApp.setMaximum(true);
} catch (PropertyVetoException e){}
myApp.setVisible(true);
myApp.toFront();
t.start();
} catch (Exception e){}
}
Maybe you are looking for
-
Creation of MSA Sandbox for migation from CRM MSA 40 to CRM MSA 70
Hello community, We are planing an upgrade from CRM MSA CP 4.0 SP 08 to CRM MSA CP 7.0. As we know that one of the biggest issues is the code migration, we want to setup a sandbox system. The idea is to install a repository server and a MDW in 7.0,
-
Making OS Lion Install Disk *after* Installation
I installed OS Lion and I want to create a boot up disk only for OS Lion in case if anything goes wrong later and I checked online, but its all before the installation. Any idea how to create boot up disk after OS Lion installation? Thanks a lot.
-
I have an Intel-based iMac and there is no audio. software: OS x 10.9.2 I have no audio.
-
How to duplicate/copy user profile
Hi, Is there a way to Duplicate or Copy a User's Authorisation Profile to another User? If so, HOW? Thanks
-
Problem in finding GHR.PLL
Hi folks, I am having problem while opening FOrms in my client. So, i copied the mentioned PLL to the forms60_path and i dont find GHR.PLL in my linux server. Only i can see GHR.PLX I think I have to copy GHR.PLL to open template in my client. Can yo