Problem with a field list.
Hi people,
When I check the code of my program the system tell me that:
Unknown column name "TITLE_MEDI". not determined until runtime, you cannot specify a field list.
but the thing is that the table TSAD3 have this field and I dont know what the system tell me this.
Thanks for the help.
Hi Please Check the field is Activated or Not in the Database.
But in our Table We can see only TITLE field. ,may be that is the reason.
check it once.
please paste your code where it shows error.
regards
vijay
Similar Messages
-
Problem with printing ALV lists
Hey Guys,
I have a problem with printing ALV lists ,
I created a report with several ALV lists (not grids) on the same screen but when i attempt to print the report
it prints each alv list on a different page..so if i have 3 alv lists in the same report it will print the report on 3 pages
How can i print them all in one page?
Thanks in advance
Noha Salah.Hey Max,
I tried setting the Layout-list_append before my block_list_append function call
And setting the is_print-NO_NEW_PAGE , it printed the 3 lists on one page the only problem i have
is that the lists are truncated and the list formats has totally been messed up..how can i restore them back
to their original format? -
Problem with currency field in smart form
hi
friends ..
i had problem with currency field in smartform iam printing 5 currecny
fields after the main window .But not getting printed on right way gets printed down from the given mesaurement and i get lot of gap betwen the
each fields for ex.
33,260.00
120.00
0.00
0.00
0.00
i thought the the problem is with space .so iwanted to condense it but cannot as it is currency field so move into character fields .but the user want out put in currency format like 22,60.20 if i get the value in char variable i get 2260.20 which i dont want .
so pls help me how to condense or shift left and print the currency field on right place.
regards
answers will be rewarded points.hi,
this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
eve if not solve the problem use the TEMPLATE node..
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K -
Problem with a field set to refresh after insert at Row level
hello all,
i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
ViewObject insertVO = findViewObject("myView");
Row newRow = insertVO.createRow();
newRow.setAttribute("mandatoryAttribute1",value1);
newRow.setAttribute("mandatoryAttribute2",value2);
<more init here but not the serial since it will be set by the DB trigger>
insertVO.insertRow(newRow);
but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
One way to get the serial is to commit after each insert but i don't want to commit between inserts.
i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
How can i get the value back properly ?
thanks
-regardsThe data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
ViewObject insertVO = findViewObject("myView");
Row newRow = insertVO.createRow();
SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
Long next = (Long)seq.getData();
newRow.setAttribute("primaryAttribute", new Number(next));
...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want. -
Apex 4.1 - problem with navigation component LIST after upgrade
There seems to be problem with Tags in LIST component, after upgrade from 4.0 to 4.1 release
Right, we verified a problem for migrated lists.
We have lists of links, that are not based on a specific template. After upgrade to 4.1, they stopped from rendering in their region. Found out that the tag <TABLE> was not included in the HTML Source, hence the list body was not built to render.
The only way we found to include it was to create a template for Lists (there is not one by default in Apex in certain themes), edit it and include the tag (in the section "Before List Entry" > "List Template Before Rows" - the tag itself is not present in the newly created template, too). Then, you need to assign the template to the existing Lists to make the list body re-appear: it doesn't seem to be a good practice to create a list without a template, but Apex should at least provide 1 by default.
Edited by: Kleber M on Oct 28, 2011 9:03 AM -
Problems with customizing select lists and popup LOVs
Hi
I have 2 problems about select lists and popup LOVs.
The first one is about a select list in a tabular form.
It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
This worked fine but now it should also have the possibility to enter a free value.
I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
If the row is added by addRow, then it works fine, but if the row is is not empty
then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
The other problem is about a select list which should have the possibility to enter a custom value and
also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
I would appreciate any ideas about either of these problems.
TiinaHi,
If you download application you can see source.
I have not write any instructions, sorry.
If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
If you download my sample in zip there is uncompressed htmldbQuery library.
You can see that and take only function htmldbAutocomplete.
Then check jQuery UI document
http://jqueryui.com/demos/autocomplete/#method-search
There is method search that you can use open list just by click of input.
I hope this helps at start.
Regards,
Jari -
Problem with Date fields in Search panel
Hi all,
I use TP2 and in my jspx page I have a search panel with two date fields and table where the results is displayed. But there is a problem with these date fields, because when I search dates the results is nothing even I retype the date from table. Also I have other pages where this problem exist with same structure.
Could somebody help me with some advice?
Thanks in advance!Hi Frank,
Thanks for the answer.
I use the standart method to make search panel with drag and drop the data control to the page. The other search panel fileds work fine, only the date fileds are problem. Maybe something in view object doesn't work properly.
Here I post the code from my page.
<table border="1" style="margin:5px;">
<tr>
<td>
<af:showDetailHeader text="ТЪРСЕНЕ" disclosed="true"
inlineStyle="width:780px;">
<table cellspacing="2" cellpadding="3" border="0">
<tr align="left">
<td align="right">
<af:outputLabel value="#{bindings.EGN.hints.label}"/>
</td>
<td align="left">
<af:inputText value="#{bindings.EGN.inputValue}"
label="#{bindings.EGN.hints.label}"
columns="#{bindings.EGN.hints.displayWidth}"
maximumLength="#{bindings.EGN.hints.precision}"
simple="true"/>
</td>
<td align="right">
<af:outputLabel value="#{bindings.LNC.hints.label}"/>
</td>
<td align="left">
<af:inputText value="#{bindings.LNC.inputValue}"
label="#{bindings.LNC.hints.label}"
columns="#{bindings.LNC.hints.displayWidth}"
maximumLength="#{bindings.LNC.hints.precision}"
simple="true"/>
</td>
<td align="right">
<af:outputLabel value="#{bindings.AccPersonID.hints.label}"/>
</td>
<td align="left">
<af:inputText value="#{bindings.AccPersonID.inputValue}"
label="#{bindings.AccPersonID.hints.label}"
columns="#{bindings.AccPersonID.hints.displayWidth}"
maximumLength="#{bindings.AccPersonID.hints.precision}"
simple="true"/>
</td>
</tr>
<tr align="left">
<td align="right">
<af:outputLabel value="#{bindings.PersonName.hints.label}"/>
</td>
<td align="left" colspan="5">
<af:inputText value="#{bindings.PersonName.inputValue}"
label="#{bindings.PersonName.hints.label}"
columns="#{bindings.PersonName.hints.displayWidth}"
maximumLength="#{bindings.PersonName.hints.precision}"
simple="true"/>
</td>
</tr>
<tr align="left">
<td align="right">
<af:outputLabel value="#{bindings.DateFrom.hints.label}"/>
</td>
<td align="left">
<af:inputDate value="#{bindings.DateFrom.inputValue}"
label="#{bindings.DateFrom.hints.label}"
simple="true">
<af:convertDateTime pattern="#{bindings.DateFrom.format}"/>
</af:inputDate>
</td>
<td align="right">
<af:outputLabel value="#{bindings.DateTo.hints.label}"/>
</td>
<td align="left">
<af:inputDate value="#{bindings.DateTo.inputValue}"
label="#{bindings.DateTo.hints.label}"
simple="true">
<af:convertDateTime pattern="#{bindings.DateTo.format}"/>
</af:inputDate>
</td>
</tr>
<tr>
<td align="right">
<af:commandButton actionListener="{bindings.Execute.execute}"
text="#{bundle.FindBtn_LABEL}"
disabled="#{!bindings.Execute.enabled}"
icon="/images/find.png"/>
</td>
<td align="left">
<af:commandButton text="#{bundle.FindClearBtn_LABEL}"
icon="/images/find_clear.png"
action="#{PeopleBean.onClearVCBtn}"/>
</td>
</tr>
</table>
</af:showDetailHeader>
</td>
</tr>
</table>
Also I have a result table for the search panel, but I don't believe the problem can be there because it works fine when I search in fields different by inputDate.
Do you have any suggestions? -
Hi,
I have a problem with a date-field. Maybe I must describe the problem more detailled, but first I just want to ask you, if you know the following error-message: "21.10.2010 kommt nicht in der Menge der erlaubten Werte vor". I don't know the correct translation but it must be something like this: "21.10.2010 does not occur in the quantity of the permitted values". I don't find the position in the sourcecode of this message. And I know, that this message isn't thrown by a functionblock from SAP. So what is the describtion of this message?Yes I have a date field in my form. Ok I must describe it more detailled. I have an employee searchfield. After select an employee you see a form. After filling the form you click on "Send". It creates a ticket and sends the data to the Backend and jumps back to the employee search field. Untill this point everything works fine. There is no problem with the datefield. Now I want to create the form. I choose an employee and fill the form. But now it comes this message. But not after clicking the "send" button. The message comes after changing some data (e.g. change a radio button). So it looks like a validationproblem, but only at the second creationprocess. Maybe the first date is in some cache? I don't know...
-
Problem with Business Partner List - State
I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
Thanks,
MarkNo. Different state name but same state code.
Ex:
GA - Georgia in USA
GA - Galapagos Islands in Galapagos Islands
When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia. -
Problem with large spool lists
Hello everyone,
we have the following problem with one of our printers. When we are trying to print larger lists (>30 pages) the spool shows an "unknown error" and only a few pages are printed out.
We have the following setup. A Kyocera FS-9520DN printer with Device Type KYOAAB1C which is connected via saprouter connection and host spool access method U. The only error I get from the tracefile of the Spool WP is
S Tue Feb 22 07:34:37 2011
S *** ERROR => cannot write to connection [rspoclpd.c 857]
S *** ERROR => Lost connection, control file not sent [rspoyunx.c 1754]
T new memory block 000000002B6D6CE0
S handle memory type is RSTSPROMMM
and the SP01 error message
Status: Incorrect (Reason unknown)
Job status: Completed
Area: Unknown
Error: Reason unknown
Last event:
Message: Processing completed by spool work process
Any suggestions what might improve the situation? Thanks in advance
MarcoHi,
A direct connection to a remote printer is not recommended as per the SAP Note #64628.
The best option is to define the printer locally on the SAP server with Access method L for Unix or Access Method C for windows. If you need to use remote Access Method U or S, you should use a print server in between the SAP system and the printers.
Regards,
Aidan -
Smartform: Formatting Problem with QUAN-Field
I want to print a smartform and get exception 1 (formatting error). With function SSF_READ_ERRORS I get an error table. There is on entry: errnumber = 020011, msgid = SSFCOMPOSER, msgty = E, msgno = 601, msgv1 = wa_outtab-menge.
It seems to be a formatting problem with field WA_OUTTAB-MENGE. But in the structure this field is referenced correctly.
Does anybody know a solution?I solve this kind of problem in my SmartForm.
Try this:
Go to "Global Definitions" Node, then "Current/Quant.Fields" tab and set these values:
Field Name: WA_OUTTAB-MENGE
Reference Field: WA_OUTTAB-MEINS
Data Type: QUAN
Best Regards,
Eduardo Ribeiro. -
Problem with decimal fields using BADI For PD Infotypes
Hi,
I'm implementing BADI HRBAS00INFTY.
For reading the fields of infotype , I'm using the substring
of the field NEW_INNNN-VDATA .
I have a problem with fields of type DEC.
In field NEW_INNNN-VDATA it looks like this : '####'
I believe that the possible reason for this is conversion from DEC to CHAR
But I don't know how to fix it.
Thank you .
Message was edited by: Alon LozinskyHi Alon,
We had same issue. Use following code.
data: hri1011_str type hri1011.
move new_innnn-vdata to hri1011_str.
HRI1011_STR fields will have decimal values.
Let me know if you still have any issues. If solution works, kindly do Point Recognition.
-Bharat -
Problems with EC Sales List in PDF-Form
Hi,
i have a Problem with the EC Sales List (RFASLM00).
When i use it with SAP script Form Output (F_ASL_DE) i will be asked
for a Printer and it works. I get an Spool-No.
When i use it with PDF Form Output (F_ASL_DE) i will be asked for a Printer
(i don't use LOCAL). When finished i get the message:
Spool number 0000000000 LIST2S - EC sales list for 0888.
No spool is create and i don't know where i can find the output.
Hope anyone can help.
Regards, Dieterno need to take output of PDF.
do one thing
run report and generate spool for LOCL
then
<b>RSTXPDFT4</b> run this report with that spool number then u will get output in PDF format.
Regards
Prabhu -
Hi,
I'm using ADO (Oracle Provider for OLEDB) to connect Oracle 9. If the type of any field in table is Number(9) and I open query with this field, all negative values are displayed as positive values. For example: If I write -1 value to this field and then post the dataSet (Delphi7 - TADOQuery) value is refreshed to 1. Real value in database is -1.
Could anybody help me with this problem?
Regards Jan.Once again :)
I finally foud out that Deplhi does support (varDecimal), but delphi TCustomADODataSet (ADO recordSet wrapper) component incorrecltly treats such field type. It regards Decimal(<9,0) as integer (TIntegerField) but when it gets value from underlying ADO recordset it expects integer variant. So it's delphi problem. I hat to fix this problem in source code of this component.
Regards Jan. -
Problem with number-fields in csv-Export-Files
Hello,
the export with the csv option works fine and our users like this export-function.
But Unfortunatelly we have some problems with the exported number fields. In my region I defined the field with a format mask.
On the screen it looks fine but when I change to csv the values are exported as text-values.
So in excel the columns are shown with left alignment.
When I try to change the format in excel to number, excel change the column type but not the value inside.
On this account we cannot use the sum-function and the display of the value is wrong (alignment).
Which possibilities do I have to resolve that problem?
Thanks in advance
UlrikeI have the same issue - Anyone any ideas on how to export currency values in a report to excel as numbers?
Maybe you are looking for
-
Now it creates a new one instead. This after reinstalling it on my laptop, on which it worked before! The catalog file contains all the info of my entire photo collection of thousands of pictures over the years... Thanks in advance!
-
Flash CS3 Component Help?
I have a menu component I've created in Flash CS3. I'm running into a small problem. Currently, in Flash, I create an array in the first frame of the movie and then assign a "menu_items" property (an array) on my menu object as that array. The array
-
How to determine the java memory cosumption
Hi. In our system Netweaver7.1, (on windows) I want to know java heap memory consumption. We can see the memory consumption from windows task manager, but the AS JAVA caught the memory heap memory size during startup. So itisn't correct. In NWA, many
-
Older Airport Express Completely Stopped Working
After almost four years of flawless performance, my Airport Express up and "died" today. Resetting it with a paperclip, and multiple attempts to reconnect it have all failed. The LED simply won't light up under any circumstance. Is it possible that m
-
Does Logic studio works on Mac OSx Lion?
my Mac Could not read my install dvd Logic studio disc in lion. Why? Please reply current mac version: 10.7 ( mac Os x Lion )