Problems with required field
Hello everybody!
I'm just makgin my first steps with Visual Composer.
I created an iView that uses the BAPI "BAPI_DEBTOR_GETDETAIL". I designed an input form that takes the customer number as a required field. The output form then displays some customer details.
When I execute the iView I get an error message because of the missing entry in the field "custid". How can I configure the application that it waits for an input before it starts searching?
OK prachi,
I entered
NOT ISNULL(@DEBTORID)
as a trigger for the disabled condition and executed the Dynpro. The form is automatically submitted which leads to an error because the customer number is empty.
When I try to enter a customer number, the submit button is disabled after I've entered the first digit.
So, I do not think that disabling the submit button will help. Somehow there should be a way to configure the application so that the form is not automatically submitted. Do you or does anyone else have a suggestion?
Similar Messages
-
Problem with Required fields in Panel Tabbed
Hi ,
I am using Jdeveloper 11.1.1.2 and i created a jspx page in which i am using <af:panel Tabbed> which has 2 <af:showDetailItem> items.
Here the problem is in each show detail item i have selectOneChoice set as required fileds. when i am runnin the page and click the second tab it is asking to select a value for SOC.
Can anyone help me in how to make required fileds show only for that <showdetailitem> item but not for both the showdetailitems.
Thanks,
Harika.Set the immediate property for the tab to be true.
Similar forum post:
Issue with Panel Tabbed and required property
Thanks,
Navaneeth -
I have created a form with required fields, no problem. The form can be completed with adobe reader, and a signature added using Sign > Place signature > Draw my signature, great. But i need the required fields to be checked and then sent by email, so I have add a button and set the action to "Submit a form" and selected "PDF The Complete Document" from the options. I then add the javascript URL - mailto:????@????.com, but now the "Draw my signature" option is greyed out.
I have asked this question a number of times, and cannot get a proper answer, please can someone help or offer a work around.George,
Thanks for your response, but I am not sure it fully answers my question. I have attached a screenshot to show what I mean - here I have created a simple form, with one required field for some data, using Acrobat XI. If I open the form (I have not reader enabled the form) in Adobe Reader XI, I am able to add a drawn signature, I could save the document then attach to an email to send as you have suggested.
But, If I now add a Submit button, set the URL to mail it to [email protected] and select "PDF the complete document" as below
When I open the document in Adobe Reader now, the signature options are all greyed out as you can see.
Hope this clarifies my predicament -
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. -
Tab canvas with required fields (problem)
hi,
I am using tab canvas with 5 tabs with diff blocks.
receive
issue
adjust
return
view
some fields are required in all tabs.
when i run the form and in RETURN TAB and enter some data and click the save button the cursor goes to receive tab and focus the required fields with a message
FIELD MUST BE ENTER
same for issue tab also...
i dont want to enter any thing there ..
how i manage it
thanksNot sure if I understand you correctly. You say some fields are required in all tabs, but also that you 'don't want to enter anything here'. Do you mean that the fields are required, but only if you're entering data on that specific tab? I.e. you don't have to enter all of the tabs.
If that's the case, are all the tabs based on the same block, or different blocks? -
Problems with Adding Fields/Columns to Crosstab in XI
Post Author: ph03nix
CA Forum: General
I am having problems with formatting a crosstab report in CRXI and am hoping that someone has a solution.
The crosstab report is a subreport, and requires the following columns, grouped by Firm (also not working optimally, but at least working):
Evaluator, Factor1Rate,[Factor2Rate, .., FactorNRate], Summary, UpdateDate, UpdatedBy
Where:
Evaluator is the person that did the evaluation that resulted in each rating (formula field)
Factor1Rate, etc, may have one, many, or all of these be applicable - there can be up to 15 of these. Each FactorRate column is to display the "rating" given by the Evaluator in the corresponding row/column (this much works). The table heading is a formula, but the corresponding rate is not.
Summary should display "Complete" if and only if there is a Comment field (not displayed) filled out for each FactorNRate that has a value of 0, 1 or 5 - otherwise it is blank
DateEntered is one of 2 fields ("last_updated" , or "creation_date" if last_updated is null - a formula field)
UpdatedBy is the last name of the person who last touched the ratings (formula field)
I have gotten the FactorRates to display in the headers, and gotten the corresponding rates to display underneath them, but I cannot seem to add any other columns to the report - they are either added as headers with the factor_rating columns repeated as subgroups (with incorrect data), or are added under existing headers with duplicates of the ratings. I just want to add one column for each field as if it were a normal (non-crosstab) table.
TIA!the 3 last files
Attachments:
Z1&Z2.vi 19 KB
tau_inn (SubVI).vi 16 KB
tau_ut (SubVI).vi 10 KB -
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...
-
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 -
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?
-
Problems with reference field in material type
Hi,
I have problem with field reference in material type creation.
When I define a self-defined field reference ZERS (copy of standard field reference HERS) for a own defined material type ZERS (copy of material type HERS), I get the following error message:
Field reference ZERS has not been set up
Message no. CZ127
Diagnosis
You have specified a field reference that has not been set up.
Procedure
Set up the new field reference or use an already existing field reference.
I do not understand why because the entry ZERS is present in table T130A.
Here is the IMG config I have made:
1. Logistics general->Material Master->Field selection->Maintain field selection for Data Screens (here I made copy of field reference HERS and named it ZERS)
2. Logistics general->Material Master->Basic Settings->Material types->Define attributes of Material types (here I made a copy of material type HERS and named it ZERS. I then tried to set the field T134-FLREF "Field reference" to ZERS, but then the error message appears)
Does anyone know what config I am missing?
Or any reason why the error message CZ127 is coming up?
ThanksMust have been system error, I deleted all entries and did it all over again, it worked.
-
Problem with Hiding fields of selection screen which is called as subscreen
Hello All,
I have problem while hiding the selection screen which is called as subscreen.
Flow of my logic:
Selection-screen with one field and three buttons CREATE,DISPLAY and CHANGE in application toolbar.
user enter some value in field and either he press change or dispaly
When change i need to call selection screen when it is in dispaly i need to stop calling this selection screen.
Upto my knowledge we can't stop calling selection screen in display mode so there is only one possibility is hiding the fields when it is in display mode.
How can i hide the fields and where i need to hide fields?
Please post some codes.
Regards,
Lisayou can refer the sample code which i mentioned in your previous post. that will solve the problem.
Maybe you are looking for
-
Ok right now I am REALLY confused. About a week ago, I went to post something on twitter. Naturally, instead of having to go to twitter.com and signing in, I used the Notification center "Click to Tweet" button to make my post. It worked just as you
-
One POP account no longer collecting new mail
I'm having a very strange problem with Mail 3.6 on my MacBook2,1 running OS 10.5.8. I currently have three POP account set up to be automatically checked every 15 minutes. I have not changed settings for any of them in over a year. Yesterday aroun
-
When I try to sync my I Phone at home it wants to delete my music, that I have put on from work with I tunes
-
Regarding Withholding Tax data updation
I have posted a AB document using FB1K.Whenever i go to FB1K transaction & put the vendor and click on Process open items,i am getting 1 pop-up saying "Withholding tax ignored". Then i will post the open items. This will create a AB document type. Th
-
Target structure while creating amapping template
Hi, I have a message mapping in which target structure is a External definition. When i try to create template based on mapping, i am having this message Selected target element must be assigned a data type or a complex type. Seems like i have to cha