Char to Date/Date to Char in object defination
Hi Friends,
I have a column in table in date type. When I am trying to use the column in universe level it is taking as character. I am trying to convert this into date type in UDT then I am getting bellow error. How to solve this.
In IDT the object is getting parse but in report level i am getting bellow error. Help me on this.
Thanks
Mustafa
what is your object exact defination?
can you please tell me which logic you are appying for coverting string into date.
Similar Messages
-
How to get Date Format from Local Object.
Hi All,
I am new to Web Channel.
I need to know Date format From date of locale.
suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC.
Is there any way to get Date format from "Locale" object. I should get date format for local object
I get local object from "UserSessionData" object but how to get Date format from it.
I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format. I could not find example which show how to get date format from "Locale" object.
Any help will be appreciated with rewards.
Regards.
Web ChannelHi,
You can get it from "User" or "Shop" business object.
Try to get User or Shop Business Object as shown below.
BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
User user = bom.getUser();
char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
If you are seeing "1,234.00" then above code will return "."
I hope this information help you to resolve your issue.
eCommerce Developer. -
Error while activating data loaded into DataStore Object in BI 7.0
Hi Guys,
I am facing the following problem :
When I load data into a Datastore Object, all the records get loaded but the job fails during activation of the data.
Below is the job log :
Activation is running: Data target 0RPM_DS07, from 77 to 77
Overlapping check with archived data areas for InfoProvider 0RPM_DS07
Check not necessary, as no data has been archived for 0RPM_DS07
Data to be activated successfully checked against archiving objects
SQL-END: 14.06.2007 12:33:25 00:00:00
SQL Error: ORA-20000: Insufficient privileges
Parallel processes (for Activation); 000003
Timeout for parallel process (for Activation): 000300
Package size (for Activation): 020000
Task handling (for Activation): Backgr Process
Server group (for Activation): No Server Group Configured
All data fields updated in mode "overwrite"
Resource error. No batch process available. Process terminated
Time limit exceeded. No return of the split processes
Resource error. No batch process available. Process terminated
Request you to kindly help me resolve this issue.
I am runnning the infopackage manually. Should I run it by a process chain??
If I run by process chain, I get the following error in 1st step:
You do not have authorization for InfoSource 0RPM_ITEM_FIN_PLANNING.
Awaiting your replies,
Thanks,
punkuj...Hi,
I think this problem remains unanswered.
The issue behind this problem is, during parellel activation the child jobs acknowledge the parent job about status. If the child job takes long time to read data from active data table, then it times out and fails.
Check the primary index on Active data table and it should be missing in your case. See the se11 index or db02 missing indexes. That is the reason that causes time out. Rebuild the primary index by asking your basis folks and repeat the activation. It should succeed.
Thanks,
Sri. -
How to handle data in a request object
I want to know the best way to handle data received from sql query to display on a jsp page and for page navigation. If I store data in a request object then the data is lost after displaying first page. When user hits Next link to view more data I need to do another query to database which I want to avoid. I display only 20 rows at a time. So if my query returns 100 rows I display 5 pages. I need to retain data when user hits next to view other pages. What is the best way to handle this?
- RajBy caching your resultset. There are caching custom tags that perform this function. Check out http://www.servletsuite.com/jsp.htm.
-
Data federator in business objects
Hi,
What is the use of data federator in business objects.
Regards,
GHI,
The only option in this case is to 1) use Business Objects' Data Federator to bring XYZ data and BW (new) data together, 2) creating a relational universe, and 3) creating Crystal / WEBI reports using the relational universe; see Picture 1.
>> You can also combine the data by using a MultiProvider in BW which is access the data in BW and the data in the legacy system and an additional alternative is to move all the data into BW.
After 20 years goes by, and we no longer need to report on data housed in XYZ anymore, the environment will be turned off.
1) When this happens, wouldn't we want to remove Data Federator and the relational universe from the scenario ?
>> That depends on the approach you took
Ingo -
Error on activation of data records from ODS object
hi,
Kindly help with my BW Problem, the error occured on the
activation of ODS. The error says "<i>Request
REQU_43MNOPW29W4F5M037J7OAFP52 in ODS ZPUR_O01 must have QM
status green before it is activated</i>" and "<i>Activation of data
records from ODS object ZPUR_O01 terminated</i>"
I tried to check the data in the ODS Object by choosing
<LS>Administrator Workbench > data targets > context menu on ODS
Object ZPUR_O01 but the status are green and when i tried to
activate it the logs says "<i>ODS object ZPUR_O01 was built
incorrectly. Cannot update request
REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
ODS object ZPUR_O01 was built incorrectly. Cannot update request
REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
ODS object ZPUR_O01 was built incorrectly. Cannot update request
REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
Data to be activated successfully checked against archiving
objects
Activation of data records from ODS object ZPUR_O01 terminated</i>"
Please help me with this problem.Hi Jay
U need to update these requests to ODS
REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
1) delete the current request
2)Reconstruct the requests above three request
3)and then Load the current reqest (REQU_43MNOPW29W4F5M037J7OAFP52)
Then only u will be able to activate the ODS....
This is an serialization issue...
hope it helps
regrds
AK
assign points if usefull -
Breaking up data in a remote object
Currently I have a chart that gets its data using a remote
object connection. The chart currently shows a months worth of
data. Now I need to break that monthly data into weekly data. The
customer would rather have the data spread acroos four weekly
charts instead of just one monthly chart. The customer would then
just click click a 'Next' or 'Previous' button to cycle through the
charts.
I know that I just change the function (CFC) that calls for
the data to only return a weeks worth of data, but I don't want to
make a separate data call every time the user clicks 'Next' or
'Previous'
Is there a way to grab the whole month's data set and then
divide it into weekly data sets within the app?Okay I figured this one out. If I add a hSlider with two
thumbs I can set the thumbs with just a couple of functions.
Basically when the user clicks either button a function is called
that passes in a predetermined value of how many tick marks to
move.
The HSlider has a property called 'values' that holds the
positions of all the thumbs. Using some simple functions they can
easily be manipulated.
Setting the slider's visible property to 'false' will keep
the navigation focused on just the buttons. -
Regarding data archiving for SD objects.
Hi All,
Can you please help me to learn data archiving of SD objects.
I am very new to SDN and this is my first thread.Hi Hariprasad,
You can find a lot of information relating to archiving SD data in SAP Help.
Here is the link you need
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/90963466880c30e10000009b38f83b/frameset.htm">Archiving SD data</a>
Hope this helps
Cheers!
Samanjay -
How to execute Custom java data source LOV view object from a common mthd?
Hi,
My application contains Custom java data source implemented LOVs. I want to have a util method which gets the view accessor name, find the view accessor and execute it. But i couldn't find any API to get the view accessors by passing the name.
Can anyone help me iin how best view accessors can be accessed in common but no by creating ViewRowImpl class (By every developer) and by accessing the RowSet getters?
Thanks in advance.I am sorrry, let me tell my requirement clearly.
My application is not data base driven. Data transaction happens using tuxedo server.
We have entity driven VOs as well as programmatic VOs. Both are custom java data source implemented. Entity driven VOs will participate in transactions whereas programmatic VOs are used as List view object to show List of values.
Custom java datasource implementation in BaseService Viewobject Impl class looks like
private boolean callService = false;
private List serviceCallInputParams = null;
public BaseServiceViewObjectImpl()
super();
* Overridden for custom java data source support.
protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
List dataFromService = null;
if(callService)
callService = retrieveDataFromService(serviceCallInputParams);
setUserDataForCollection(qc, dataFromService != null? dataFromService.iterator(): null);
super.executeQueryForCollection(qc, params, noUserParams);
* Overridden for custom java data source support.
protected boolean hasNextForCollection(Object qc)
Iterator<BaseDatum> datumItr = (Iterator<BaseDatum>) getUserDataForCollection(qc);
if (datumItr != null && datumItr.hasNext())
return true;
callService = false;
serviceCallInputParams = null;
setFetchCompleteForCollection(qc, true);
return false;
}Individual screen developer, who want to load data to VO, will do something like the below code in their VO impl class
public void fetch()
BaseServiceViewObjectImpl vo = this;
vo.setCallService(true);
vo.setServiceCallInputParams(new ArrayList());
vo.executeQuery();
}As these custom java data source implemented LOV VOs comes across the screens, i want to have a util method at Base VOImpl class, that gets the view accessor name, finds the LOV VO instance, retrieves data for that. I want to do something like
* Wrapper method available at Base Service ViewObject impl class
public void fetchLOVData(String viewAccessorName, List serviewInputParams)
// find the LOV View object instance
BaseServiceViewObjectImpl lovViewObject = (BaseServiceViewObjectImpl) findViewAccessor(viewAccessorName);
// Get data for LOV view object from service
lovViewObject.setCallService(true);
lovViewObject.setServiceCallInputParams(serviewInputParams);
lovViewObject.executeQuery();
Question:
1. Is it achievable?
1. Is there any API available at View Object Impl class level, that gets the view accessor name and returns the exact LOV view object instance? If not, how can i achieve it? -
Data extraction using ODS objects
Hello everybody,
I am trying to extract CRM data into SAP BW.
Found a standard ODS Object 0CRMBPKPI, which i think is relavent as i need to extract Business partner data from CRM.
Does anybody know the procedure how to extract data using this ODS object?
or exists any standard Infocube to extract Business partner data?
Thanks in advance.
Regards,
MohanHi mohan!
have you cheked the saphelp on this perticulat ods.
http://help.sap.com/saphelp_nw04/helpdata/en/83/19bf78cb902e48bc9efc0a64e59907/frameset.htm
hope this helps.
with regards
ashwin -
Reference data types in interface objects?
How do you create reference data type based on data type in interface object??
First create the reference DT1 in IR then create a new data type DT2 and if you want to create a reference to DT1 then in the editor select Type (3rd coloum) as the DT1 which you can get by double click on Type and then you select "search help" and select DT1 from the list.
Cheer's -
Data From GUI to Objects?
Ive been doing a lot of reading and asking a lot of questions about a program Im trying to tackle. Ive broken it down to its most basic form. I have a GUI with two text fields and a button. There is a main class that creates the GUI class and a Student class with a name and grade member. The user enters the name and grade into the fields and clicks the button to save the data to the student object. Im starting to clear up some, but Im still a little confused on where the student class goes in relation to the GUI. Im clear on the fact that student should not be a member object of the GUI (no GUI -> Student), but how then does the info get into the student class if its not a member of the GUI:
My simple code so far has this snipet:
private void jButton1_actionPerformed(ActionEvent e)
student.setName(textField1.getText());
student.setGrade(textField2.getText());
But this only works if student is a member object of the GUI and thats a no no apparently, so how else can I get the info to student?I made this to demonstrate:
1 - how the truck objects are separate from the gui,
2 - how to pass the truck references (eg, truck1, truck2,...) into the gui, and
3 - how these are used to query and change the truck objects.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ClassTalk
public static void main(String[] args)
ShineyNewGUI gui = new ShineyNewGUI();
ShineyNewPickupTruck truck1 = new ShineyNewPickupTruck("red");
ShineyNewPickupTruck truck2 = new ShineyNewPickupTruck("yellow");
ShineyNewPickupTruck truck3 = new ShineyNewPickupTruck("blue");
ShineyNewPickupTruck truck4 = new ShineyNewPickupTruck("pink");
ShineyNewPickupTruck[] fleet = { truck1, truck2, truck3, truck4 };
gui.addTrucks(fleet);
class ShineyNewGUI
ShineyNewPickupTruck[] trucks;
ShineyNewPickupTruck selectedTruck;
ShineyNewGUI()
// north panel
final JTextField colorField = new JTextField(12);
colorField.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
selectedTruck.setColor(colorField.getText());
JPanel northPanel = new JPanel();
northPanel.add(new JLabel("truck color "));
northPanel.add(colorField);
// center panel
final JLabel outputLabel = new JLabel(" ");
JPanel panel = new JPanel();
panel.add(outputLabel);
// south panel
final JTextField indexField = new JTextField(4);
final JButton showColorButton = new JButton("show color");
showColorButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
// must be a number from [0 - 3]
int index = Integer.parseInt(indexField.getText());
selectedTruck = trucks[index];
String truckColor = selectedTruck.color;
outputLabel.setText("truck # " + index + " color = " + truckColor);
JPanel southPanel = new JPanel();
southPanel.add(new JLabel("truck # "));
southPanel.add(indexField);
southPanel.add(showColorButton);
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(northPanel, "North");
f.getContentPane().add(panel);
f.getContentPane().add(southPanel, "South");
f.setSize(400,300);
f.setLocation(200,200);
f.setVisible(true);
public void addTrucks(ShineyNewPickupTruck[] trucks)
this.trucks = trucks;
class ShineyNewPickupTruck
String color;
public ShineyNewPickupTruck(String color)
this.color = color;
public void setColor(String color)
this.color = color;
} -
Data Authorization for info-objects
Dear Experts,
We have designed a query in costing displaying the plan and actual costs by cost center. Our requirement is that that users shoul be able to see only those cost centers in the query which are relevant to them? How can I acheive this without creating multiple queries?. Is there any authorizatin abject that I can use for this purpose?
Regards
SuneethHi,
Pls check the below
Data Warehousing Workbench u2013 objects/S_RS_ADMWB
Authorizations for working with individual objects of the Data Warehousing Workbench. In detail, these are: source system, InfoObject, monitor, application component, InfoArea, Data Warehousing Workbench, settings, metadata, InfoPackage, InfoPackage group, Reporting Agent settings, Reporting Agent package, documents (for metadata, master data, hierarchies, transaction data), document store administration, (Customer) Content system administration, broadcast settings.
Data Warehousing Workbench u2013 InfoObject/S_RS_IOBJ
Authorizations for working with individual InfoObjects and their subobjects.
Until Release 3.0A, only general authorization protection was possible using authorization object S_RS_ADMWB. General authorization protection for InfoObjects still works as in the past. Special protection using S_RS_IOBJ is only used if there is no authorization for S_RS_ADMWB-IOBJ.
Regards,
Marasa. -
Date management on internal object master data
Hi gurus,
I need to use a set of dates on the internal object master data. On the date profile customizing there isn't anything that reflecting the management of the dates on products or internal object.
However, on the web UI (Internal Objects details screen) I found the field "Date Profile":
- component: PRDHS
- view: PRDHS/Header
- context node: PRODSETWTY
- attribute: STRUCT.TIMEPROF
This field is not active and I also searched for a set type that could allow me to activate it and to insert a date profile for my internal object without success.
I'm searching the way to activate this field on the internal object master data and to understand if it's possible to use the date profile on it.
Your help would be very appreciated.
Thank a lot.
Massimiliano.Hello,
There are no date profiles assigned to products in the CRM system, I believe the same is true for internal objects.
Generally, once a product has been added to an order then the dates from the order/APO system are what are taken into account.
I have checked into internal objects but the only date I can find reference to is a timestamp:
http://help.sap.com/saphelp_scm50/helpdata/en/f9/a67937b566ab49e10000009b38f842/frameset.htm
I have also checked on information on the attribute STRUCT.TIMEPROF but haven't found anything.
Thanks and regards,
Ita -
What is the data dictionary for direcoty objects?
Dear All,
I would like to know the data dictionary for directory objects. Or where i can get more details of directory objects.
Thanks in advance
BalajiHi,
YOu can use dba_directories view to get info about directory.
For other views
1.select * from tab where tname like '%DIRECT%';
2.select * from dictionary where table_name like '%DIRECT%';
Regards
Jafar
Maybe you are looking for
-
"Full screen" menu item and its keyboard short cut F11 stop working with Acrobat Reader. The Firefox top edge border does not hide once you have moved around in the Acrobat document. Therefore it is not possible to display PDF documents in a true ful
-
Clientless ssl vpn homepage after login problem
Hi all, I have a problem with my clientless vpn portal. I need to configure that when a user logs in through the portal, something that works just fine, that he ends up on the homepage. Right now he ends up immediatly on the anyconnect button. With t
-
WiFi Not Working After Restore
The WiFi Is Not Working After I Restored My 1st Gen. iPod Touch *PLEASE HELP!*
-
Checks on Hand - How to determine
Hi How to get the list of Checks generated from SAP but not delivered to the Vendor. Regards V.Krishnan
-
How manager phone numbers in large cluster
hiï¼all I want to know in large CUCM clusters(10000+ phones) how to manager the user's phone numbers?Any product help this job?I'm rellay confused.