'CURR' type data field
Hi guys,
Need some pointers here. I'm calling a webservice CO (from ABAP) to populate my Adobe form in GP on initiation. That works fine.
But, some how or rather, i can't seem to consolidate any of the 'decimal/numeric' type parameters. The 'group' functionality is just greyed out. Eg. 'insurance' parameter in the WS is type 'CURR' (from ECC) and i've created a decimal type field in Adobe form too. HOwever, i can't seem to consolidate those type of parameters. Any reasons why?
how do i actually map a 'CURR' type field (ABAP) in ADOBE Interactive form (what type of field)?
Thanks
Just an update on this. The fields in the WebService are actaully of type 'CURR' (ABAP type). How do i map this in GP? Thanks
Solved. According to SAP, GP does not support 'CURR' data type field as it is only ABAP specific..Go figure ;)..Anyways, managed to get a workaround
Similar Messages
-
No message for validation error "format", type "date", field "date-expired"
Dear
Guys,
i am getting the following error : ((No message for validation error "format", type "date", field "date-expired"))
When trying to upload adobe connect 7 license to the adobe connect 7 configuration wizard. the problem occurs because my server was install on Arabic Saudi Arabia date format while installation, but if i change the windows date format to US then the problem still occurs, and formatting windows is not possible, could anybody help??
RegardsThank you for replying,
No i am not on host mode, a have installed it deferent times ago successfully, but the only problem now is that during the installation windows server 2008 the default language, time and date. Was set Arabic Saudi Arabia. And even changing it does not solve the problem, as i mentioned above. -
MDM JAVA API to enter value into field of type date
Hi All,
I am having an input field in a typical Dynpro application where a date would be entered.I want to enter the date in my MDM table in a field of type "Date".Do you have any idea about MDM JAVA API's I need to do this.Also how can I do this ?
Thanks
VinayHi,
Web Dynpro shall return you a type Date field. For Value, you shall have to pass SystemTime Object.
Just get the substring of Date.toString() and convert them to Integer ..
So a typical date would look like yyyy-mm-dd (eg: 2006-10-19) and not yyyymmdd.
SystemTime st = new SystemTime();
st.setYear( Integer.parseInt(Date.toString().substring(0,4));
st.setMonth ( Integer.parseInt(Date.toString().substring(5,7));
st.setDate ( Integer.parseInt(Date.toString().substring(8,10));
A2iField date = new A2iField("fieldname", new Value(st));
Hope that helps..
Regards,
Tanveer.
<b>Please mark helpful answers</b>
Note: The above mentioned code is not pasted from any editor..So might contain syntax error.. -
This is a variation on the issue mentioned in this
post
We are using SP 2010 Content Hub to manage our content types. On the content hub we've created a couple of exteranl lists, and then created some site columns as lookups against these lists. We then added the columns to one of our content types
and set it to publish.
After the publishing job executed, I tried adding the content type (which now appears on the subscriber sites) to one of the document libraries on one of the subscriber sites. When I did that it threw the following error:
Microsoft.SharePoint.WebControls.BusinessDataListConfigurationException: Id field is not set on the external data field
at Microsoft.SharePoint.SPBusinessDataField.CreateIdField(SPAddFieldOptions op)
at Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op)
at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)
at Microsoft.SharePoint.SPContentType.ProvisionFieldOnList(SPField field, Boolean bRecurAllowed)
at Microsoft.SharePoint.SPContentType.ProvisionFieldsOnList()
at Microsoft.SharePoint.SPContentType.DeriveContentType(SPContentTypeCollection cts, SPContentType& ctNew)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentTypeToList(SPContentType contentType)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentType(SPContentType contentType, Boolean updateResourceFileProperty, Boolean checkName, Boolean setNextChildByte)
at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)
at Microsoft.SharePoint.ApplicationPages.AddContentTypeToListPage.Update(Object o, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b55297ed-717f-466d-8bdc-297b20344d3f
I checked the external content type configuration and it did specify an "id column". Anyone know if what I am attempting to do is possible and if so, what special configurations are required?
ThanksThe issue is not External Content type or external list but the look up column.
It's not possible to publish a look up column via the Content Type Hub.
If you need to do this then an alternate way is to use a Managed Metadata column instead, otherwise you will have to implement this via a feature.
Varun Malhotra
=================
If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you. -
Value in data type p field not displayed properly when download to UNIX
Hi,
One of my programs downloads a file to UNIX server,
here the data which i am downloading, one of the fields is of type P (it is of domain type DEC).
The field displays very strangecharactershen i view it in UNIX server.
I am using OPEN DATASET in binary mode statement.
my system is unicode enabled ECC6.0 version
Please helpThat is normal, type "P" packed fields with two decimal digits packed into each byte Use another type of field, if you want the field to be readable..
Look at [Predefined ABAP Types|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fc/eb2fd9358411d1829f0000e829fbfe/frameset.htm]
Regards -
How to add a mm-dd-yyyy date field type in a Planning Data Form
Hi John,
pls, I have one question regarding the possibility of adding a date field type for example 03-03-2009 in a cell of Planning Data Form application.
for example, I created:
- 2 members in Period dimension: StartProject and EndProject and I need to enter and track date for these fields;
- one Account member called Project;
- and a simple form with these collumns and row;
Trying different settings for my members - seems that I cannot input date in the cell and rcvd errror: "you have entered invalid value".
Pls, can you confirm me if it's possible to enter date type in a form?
If yes, what is the specific setup for the Account and Period properties: Data storage, Time Balance, Data type, Account type etc
many thanks,
RobertMany thanks John!!! that's it!!!
I had to change it in Data Type evaluation Order because I'm using EPMA and it's working now!!
Thanks again!!!
Rgds,
Robert -
Hi,
I have an infopath web brower enabled form. In the form i have a date field.
I am passing the data from the database to that field using the C# code.
But, as the field from database is coming as string, i am getting an error, and i am not able to assign the value.
I get the date value from database as "3/25/2011 12:00:00 AM"
I used the below code:
[CODE]
if (objInfopathFormcData.myRecievedDate != null)
myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager).SetValue(objInfopathFormcData.myRecievedDate);
[/CODE]
I am getting the error as "Schema validation found non-data type errors".
How to set the value for a date field in Infopath.
Thank youHI,
I fixed it:
Below code is used to fix:
[CODE]
XPathNavigator xfield = null;
DateTime dtmyRecievedDate;
dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
if (objFormcData.FcCompletionDate != null)
xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
DeleteNil(xfield);
xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
// method to delete xsi:nil
private void DeleteNil(XPathNavigator nav1)
if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
nav1.DeleteSelf();
[/CODE]
Thank you -
Error when trying to set a date type edit field
Hi all
I have an edit text field in a form which is bounded to a date type
database field using dbDataSource.
When i try to set the edit text field value with Today's date by code.
I recieve an error message that the value which
i'm trying to set is not legal. the error number is [131-183].
I use the following code to set the edit field:
If oEditText.Value.Trim = String.Empty Then
Dim strDate As String
Dim sboBob As SAPbobsCOM.SBObob =
oCompany.GetBusinessObjec(SAPbobsCOM.BoObjectTypes.BoBridge)
rs = sboBob.Format_DateToString(Microsoft.VisualBasic.Today)
strDate = rs.Fields.Item(0).Value.ToString().Trim()
Try
oEditText.Value = strDate
Catch ex As Exception
SBO_Application.MessageBox("error setting
current date: " & ex.Message)
End Try
End If
My question is how can i set the edit field with a valid value?Hi!
When writing to EditText.Value you must always use the B1 "DB-Format" as String.
The following examples are assuming (it's a must!) that the EditText-Fields are bound to a corrosponding DataSource (Type Date, Price etc...)
MyDateEditTxt.Value="20080207"
MyPriceEditTxt.Value="1341.79"
The best of it: It's Windows and SBO-GUI-Language independent.
EditText.String must always be written with the format of the actual Language of the SBO-GUI, which can be changed by the user....
You may also have a look at my statements regarding these problems near the end of this thread:
[How to pass date value to an UDF;
Cheers,
Roland -
Changing data types of fields in structures
Hello,
Currently we are working for upgrade to ECC 6.0 .
In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
In these structures we have different data types for fields earlier in 4.6C
Now this function module is only working if we change data types of fields in these structures only to char type. It is going for dump , if we maintain any other data type.
Could any body tell me why should we change for char data type ?
Regards,
SATYAHi,
Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
Regards,
Prasanth -
To find the date type fields in the row and validate those date fields
TYPES : BEGIN OF TY_MARA,
MATNR TYPE MARA-MATNR,
ERSDA TYPE MARA-ERSDA,
ERNAM TYPE MARA-ERNAM,
LAEDA TYPE MARA-LAEDA,
MTART TYPE MARA-MTART,
END OF TY_MARA.
DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
it_mara1 TYPE STANDARD TABLE OF ty_mara,
wa_mara TYPE ty_mara.
loop at it_mara into wa_mara.
describe field wa_mara-ersda type c_data.
if c_data eq 'D'.
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
date = wa_mara-ersda
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1
OTHERS = 2
IF sy-subrc eq 0.
wa_mara-ersda = '00000000'.
append wa_mara to it_mara1.
write :wa_mara-matnr,wa_mara-ersda.
else.
wa_mara-ersda = '00000000'.
append wa_mara to it_mara1.
write :wa_mara-matnr,wa_mara-ersda.
ENDIF.
endif.
endloop.
This issue regarding how to find the date type fields in the row and validate those date fields.If its not a valid date ,i have to assign initial value to that.
I've tried that for single field using describe field.Please help me do that for all fields.Hi Sam,
I believe we had discussed the same issue in the below thread. Can you please refer the below one?
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d93e16ff-c123-4b36-b60b-60ccd34f6ca7/calculate-time-differences-in-infopath?forum=sharepointcustomizationprevious
If it's not helping you please let us know
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
How to change heading text for parameter field of type date
Hi,
After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays the given parameter with the following text:
" Please enter Date in format "yyyy-mm-dd". "
I want to change it to some other text like as:
" You have to enter the date and time in format yyyy-mm-dd . "
Is there any way by which I can change this given header to some other text.
Let me know if anyone needs some more information in this regard so as to solve my given query soon.Hi Garrett,
Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
Also the current Crystal Report version which I am using is 11.0.0.1282. -
Date format in parameter field type date
Post Author: Luciano Brandao
CA Forum: Crystal Reports
Hi I need show /input date format dd-mm-yyyy in paramters field type date when Crystal prompt parameter to user. I used Crystal 11 Can help-me ? thanksPost Author: Crystal Fire
CA Forum: Crystal Reports
Put this in the page header to show the date parameters chosen for the report. Make sure you change the select expert for the date field to = ?{date field}
"All Posting Dates Between "+ ToText(Minimum({?date field}),"M/d/yyyy")" and "ToText(Maximum({?date field}),"M/d/yyyy") -
Post Author: Pursuit
CA Forum: Crystal Reports
How can i change my Parameter Field Type "Date" so it requests the date as dd-mm-yyyy and not yyyy-mm-ddHello,
You can still accept the date as it is, but you can convert the date in the report level with the folowing formulas when you pass the date to data base.
DayFormula: ToText(Day(Date(yyyy-mm-dd)),0) output you get day eg: DD
MonthFormula: ToText(Month(Date(yyyy-mm-dd)),0) output you get eg: MM
Year Formula: ToText(Year(Date(yyyy-mm-dd)),0) output you get eg: YYYY
DashFormula: "-"
Now combine all
CompleteDateFrmula= DateValue(& & & & {Year Formula})
You can pass this
Hope this help!!!!
Ashok -
hello
I want to copy one table data into another table having long data type but it gives
me error like
SQL> insert into temp select * from temp1;
insert into temp select * from temp1
ERROR at line 1:
ORA-00997: illegal use of LONG datatype
both of the tables have long type field but it gives error in log type data transfer
can somebody help me
thanksLONG datatypes cannot be used for Insert with selects or CTAS.
If the maximum length of the long datatype column is less than or equal to 4000 then you can use
SQL> insert into temp select col1, col2, dbms_metadata_util.long2varchar(4000,'TABLE_NAME','COLUMN_NAME',rowid) Column_alias from temp1;
If the maximum length of the long column is greater than 4000 then you can use
SQL> insert into temp select col1, dbms_metadata_util.long2clob(40000,TABLE_NAME','COLUMN_NAME',rowid) Column_alias from temp1;
Regards
PantherHawk -
PRINT PROBLEM IN SCRIPT IF FIELD IS CURR TYPE
one of the report print account statement so in this statement print balance and it print depends on credit and debit.
now problem is like
for example my credit value is 50,085.00 and debit value is 19,205.00 so the balance is 32,347.00-
in script not take (-)minus sign but i want this value with this sign in script so how it is possible?
this field is curr type .i take one field pack type with decimal and then move curr type field to pack type and then print pack type field in script so solve this problem
Maybe you are looking for
-
I'm trying to put Arch Linux onto my computer's laptop using a Netgear WG511T wireless card for installation. However, the wireless card is apparently not recognized (even though it should be supported natively), so it fails when I try to use DHCP p
-
Change the owner of a tablespace
Hi, I'm using sql*plus, oracle 10g, windows 7. I have a tablespace FRUIT owned by OWNER_A. Question 1) How do I change the ownership of the tablespace FRUIT to OWNER_B? Question2) When I am connected to sql*pls client as OWNER_A and trying to create
-
ORA-27369: job of type EXECUTABLE failed with exit code: Operation not perm
Hello! we have procedure that create scheduled job that should execute shell script in Linux. we use DB 11.2.0.2 the file /software/oracle/dba/scripts/bin/trans_asm has full permissions for oracle, externaljob.ora: run_user = oracle run_group = dba t
-
How to find by email with JPA?
How to find by email with JPA? My this but not worked public WnUser findUser(WnUser email) { return (WnUser) em.createQuery ("SELECT object(u.email) FROM entities.WnUser u WHERE u.email =:email").setParameter("email", email.getEmail()).getSingleResul
-
I need to get a webcam for my Grandparents. Something brain-dead simple, that they can just plug in, maybe install something (but preferably PnP), and will work with iChat or Skype. They have an iMac G5 running Leopard. Thanks!