To seperate the date using substring
Iam getting the date value as yyyy-mm-dd i want to get the datewithout '-'.i am using substring function.i wnt to store the value in the text file in this format yyyymmdd.
with regards,
prabhu.
String modifiedStr = "2006-07-14".replaceAll("-", "");
VS
Message was edited by: Valery Silaev
Similar Messages
-
Error while uploading the data using FM"upload"
Hi,
I encountering an error while uploading the data using text file with FM " UPLOAD"
The error is "File does not exist or cannot be opened "
But there is a file with name and extenstion right.
Regards
VishnuYou have to create RC29P-IDNRK(var) using concatenate statement. Try this.
DATA: new_mark TYPE bdcdata-fnam.
CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
PERFORM bdc_field USING new_mark W_BOM-QTY -
Getting error while importing the data using loadercli
Hello,
I want to copy the data using export/ import via (loadercli).
scenario:
1) I have 2 server and i want to export data from old server and import in to new MAXDB server using loadercli.
I have done this once and it went fine , but now I want to do the export import again so i will have te latest data on the new server.
when i tried to do that it gives error that the table already exist . Can i use loadercli to import hte data again ?
can any one help me in this ?
Regards,
Bhavesh> Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
>
> so in that way :
> bot the options are fine what ever take less time.
Sorry mate, but YOU have to know what you want here.
I gave you an easy to follow set of steps.
As you don't seam to mind the outcome, just might just use them...
> I wanted to know weathe i can use the loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
We had this discussion before...
>
> For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
>
> For ease of use you could also just do:
> - logon as superdba
> - drop user SAPR3
> - create user SAPR3 password SOMEPW not exclusive dba
>
> After these steps you can easily pump the data into the database again.
>
> So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
> i already have that user SAPR3 can i use the same.
Yes, you do have the SAPR3 user.
But you don't seem to like to read documentation or learn about how the tools work or anything like that.
Therefore I gave you s simple way to reach your goal.
Of course it's possible to reuse the user.
But then you would have to deal with already existing tables, already existing data etc.
You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
regards,
Lars -
Getting Error while accessing the data using odata service
Hi All,
Iam new to SAP FIORI.
Iam getting the below error while accessing the data using odata service.
"Failed to load resource: the server responded with a status of 404 (Not found)"
"No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
i have tried all the solutions like changing the url pattern "proxy/htttp".
and disabled - security in chrome (Chrome is Updated version).
i tried with IE still got the same problem.
And installed all the required software in eclipse
While installing GWPA plugin i got the following error.
let me know if any one have idea.
Thanks in advance.> Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
>
> so in that way :
> bot the options are fine what ever take less time.
Sorry mate, but YOU have to know what you want here.
I gave you an easy to follow set of steps.
As you don't seam to mind the outcome, just might just use them...
> I wanted to know weathe i can use the loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
We had this discussion before...
>
> For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
>
> For ease of use you could also just do:
> - logon as superdba
> - drop user SAPR3
> - create user SAPR3 password SOMEPW not exclusive dba
>
> After these steps you can easily pump the data into the database again.
>
> So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
> i already have that user SAPR3 can i use the same.
Yes, you do have the SAPR3 user.
But you don't seem to like to read documentation or learn about how the tools work or anything like that.
Therefore I gave you s simple way to reach your goal.
Of course it's possible to reuse the user.
But then you would have to deal with already existing tables, already existing data etc.
You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
regards,
Lars -
Error while sending the data using input schedule
Dear Friends,
I am unable to send the data using input schedule due to following error is occur while sending the data.
The Error Message : Member (H1) of dimension (ENTITY) is not a base member (parent or formula)
Can anyone please help me to resolve the above error.
Thanks and regards,
MD.Hi,
You are trying to send data to a parent/node, you can only send data in BPC to lowest-level children (base mamabers) of any dimension.
"H1" is a parent in the entity dimension so you should try sending to a child.
Tom. -
Upload the data using BAPI in LSMW
Hi
I want to upload the data using the BAPI in LSMW,but i dont know what value should be passed in
1- Business Object
2- Method
fields.
Ex- Suppose i want to upload the Material Master Data then what should be the value of these two fields.
Thanks
Mrutyunjaya TripathyHi
Sorry to say that i am little bit confuse with your answer
1-The business object already contains some object name wheather i have to give object names or different,As you have mentioned to give the tcode than what tcode that would be
2-If i am giving any internal table name in the method field it is giving me error because this field is related to the business object field
Thanks
Tripathy m -
Fetching the data using Db link through cursor
Hi ,
I created the cursor in which i want to access the data using Db link , can u tell the way to access the data
Code Which gives error
for rec in (
SELECT ac_no as ac_code,drcr_ind as dr_cr,lcy_amount as amt
FROM actb //"Public Synonym Of Db Link "
Where period_code <> 'FIN'
And AC_NO = '100130000'
AND AC_BRANCH = '254'
Its Urgent.
With Regards,
AnandAn ORA-00600 error indicates an internal Oracle error. There are literally thousands of possible reasons that you might get one of these, but it generally boils down to Oracle bugs (you should never get this sort of error).
- You'll need to log a support request with Oracle Support
- There should be a number of parameters (generally rather cryptic) that come with the ORA-00600 error. You should look up those particular parameters in the Metalink ORA-00600 lookup tool
- Hopefully, that tool will point you at a patch or a workaround. If not, you'll need to get support to figure out what's going on behind the scenes.
Justin -
I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications. How is this possible. Can someone help me understand this.
I assume you are including the STIX font as part of your epub files?
Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html -
TSV_TNEW_PAGE_ALLOC_FAILED error while loading the DATA using DTP
Hi,
While loading the data using DTP for 2 DSO's we are gettig the error
TSV_TNEW_PAGE_ALLOC_FAILED
can any one kindly help me out regarding the same.
Thank You,
Poornima.Hi Soundarya,
Thanks a lot for the reply. But i found that its running fine in development, where as coming to quality its throwing an error. These happened for Two DSO's. In both the transformations i have identified that the Transformation names are different from Development and Quality..
There are no routines written for them and no select statements have been used
Can you please suggest me regarding the same.
Edited by: Poornima Gayatri on Mar 22, 2010 7:00 AM -
Transfering the data using OPEN DATASET
Hi all,
I am trying to get the data using OPEN DATASET to down load the data and using TRANSFER i am transfering.
i got strucked while i am downloading.
Please send coding how to use open dataset and transfer.
Thanks in advance
VenkatHi ,
you can try this code frangment.
open the file to be created on application server.
OPEN DATASET app_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE e001(zs) .
ELSE.
get header data
PERFORM get_data_header.
*transfer data to application server file.
TRANSFER v_header TO app_path.
get segment data
PERFORM get_data_segment.
*transfer data to application server file.
TRANSFER v_segment TO app_path.
*clear work areas and local variables.
PERFORM clear_local.
get trailer record.
PERFORM get_data_trailer.
*transfer data to application server file.
TRANSFER v_trailer TO app_path.
ENDIF.
CLOSE DATASET app_path.
regards,
Sumit. -
I want to export the data using Odi from essbase v9 cubes. ODI and essbase server and in different servers.
I am using the calculation script in the LKM part, but the exported files are in Essbase servers but ODI not able to recognize the exported files.
Report script is taking too much of time to export the data therefore using the calculation script.
Is this something related to the agent? However I am not able to create an agent to the essbase server. I am succesful in creating the agent for the local system where odi is installed.
Please suggest.
Regards,
MuraliAre you on 10.1.3.6.x? Then: http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html
Are you on 11g? Then: http://john-goodwin.blogspot.com/2010/12/managing-odi-11g-standalone-agents.html
I will say with only a mild amount of shame and a large amount of gratitude that I installed both releases' agents through John's blog posts.
Regards,
Cameron Lackpour
Edited by: CL on Jun 4, 2012 5:48 PM
Whoops, had the same link in there twice. -
Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date? We are facing a scenario where trx date is lower than the actual ship to which logically sounds incorrect.
Appreciate any quick response around this.Hi,
Transaction date will be your autoinvoice master program submission level date (If you haven't setup any logic.
Please check the program level default date, if user enter old date ststem will pick the same.
Customer is trying to set the value of the profile OM:Set receivables transaction date as current date for non-shippable lines at the responsiblity level. System does not set the transaction date to current date in ra_interface_lines_all.
CAUSE
Customer has used the functionality in R11i. But after the upgrade to R12, the system functions differently than R11i.
SOLUTION
1.Ensure that there are no scheduled workflow background process run.
2.Set the profile "OM: Set Receivables Transaction Date as Current Date for Non-Shippable Lines" at Responsibility level only as Yes.
3.Now switch the responsibility to which the profile is set.
4.Create order for Non-Shippable Lines and progress it to invoicing.
5.Ensure that the 'workflow background process' concurrent program is run in the same responsibility and this line is considered in it.
6.Now check if the 'SHIP_DATE_ACTUAL' is populated to ra_interface_lines_all -
How to seperate the data with comma seperator ??
Hi,
How to seperate the data with comma seperator ??
E.g i havea row like
Userid,number of days,Total Records
user1,10,100000
So,i will get 10,10000 in the same field and i need to seperate 10 and 10000 so what is the abap function for that
Prafflike this ...
SPLIT field AT ',' INTO
userid
days
records.
is this what you need?
Mike -
How to insert the data using matrix
Hi
All how to insert the data using matrix feild
plz help me
thanks
LoyHi Loy,
The best way to fill an entire matrix is to use a DBDatasource, here is some sample code:
Dim oForm As SAPbouiCOM.Form
oForm = SBO_App.Forms.Item("YourFormTypeID")
'1. Add a DBDataSource to the form
oForm.DataSources.DBDataSources.Add("OUSR")
Dim oColumnDBS As SAPbouiCOM.Column
Dim oColumnUDS As SAPbouiCOM.Column
Dim i As Integer
Dim GenEdt As SAPbouiCOM.EditText
Dim oMatrix As SAPbouiCOM.Matrix
Dim oColumns As SAPbouiCOM.Columns
Dim oDBDataSource As SAPbouiCOM.DBDataSource
oMatrix = oForm.Items.Item("7").Specific
oColumns = oMatrix.Columns
'2. DBDataSource: Binding a field / alias of the table to a column
oColumnDBS = oColumns.Item("V_1")
oColumnDBS.DataBind.SetBound(True, "OUSR", "U_NAME")
'3. getting the data sources bound to the form
oDBDataSource = oForm.DataSources.DBDataSources.Item("OUSR")
oMatrix.Clear()
' Querying the DB Data source
oDBDataSource.Query()
' Adding the data to the matrix
oMatrix.LoadFromDataSource()
When you want to fill a specific field use :
GenEdt = oMatrix.Columns.Item("V_2").Cells.Item(1).Specific
GenEdt.String = "Hello" -
'Stale data error' is encountered while trying to update the data using EO.
Hi,
I am getting the following error when I am trying to update the data using EO:
'' Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user. \nAction: Cancel the transaction and re-query the record to get the new data."
I have tried clearing the corresponding VO cache and have also used the "getTransaction().setClearCacheOnCommit(true)" method in the AM, but the error persists.
Kindly suggest some work around for this problem.Chirag,
this error is usually.... thrown by framework, if some other user has updated the same record you are trying to update by your EO, just check db, and try for a different record!
--Mukul
Maybe you are looking for
-
Hello, World - trying to understand the steps
Hello, Experts! I am pretty new to Flash Development, so I am trying to understand how to implement the following steps using Flash environment http://pdfdevjunkie.host.adobe.com/00_helloWorld.shtml Step 1: Create the top level object. Use a
-
Problem starting SMS message with iphone5
I have just got a new iPhone 5 (my first iPhone!), and seem to have an issue with messaging. I was doing some checks such as making calls, sending e-mails etc... And found that I can send iMessages to other apple products, however I cannot send a mes
-
HDV Widescreeen FCP to PAL SD Widescreen DVD?
We have a film that is finished in HDV 1080i50 on FCP at 1440 X 1080 (16:9). We now want to create a PAL SD DVD that gives us pure 16:9 rather than 4:3 letter boxed. What are the exact sizings for this and where should i be resizing? I have found ano
-
Updating CC 14 wil be a new account
I am already having CC . Can I install CC 14 in same payment plan or it will treated a new ?
-
Cannot Export to .mov - Premiere Pro CS4
Hello, I've been having this problem for a while and I cannot find a soultion for it. When I try to export a sequence as Quicktime (.mov), the Adobe Media Encoder opens but what I was trying to export does not appear in the render queue. It's compl