Help Extracting Data
Here is the string that I am reading from a webpage...
<td id="PlayerListCtrl_pldStats_rpPlayerList_ctl01_tdPlayer" bgcolor="c13d3d"><span> <a id="PlayerListCtrl_pldStats_rpPlayerList_ctl01_GamertagLink" class="ContentText" href="/Stats/PlayerStats.aspx?player=Chat21">Chat21</a></span></td>
I want to extract the name Chat21 without actually using it as a variable because the name will change everytime but the code around it wont.... any suggestions?
try this
Similar Messages
-
Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!
Hi experts!
Got an error when extracting data with extractor 2lis_04_matnr.
System says (short dump):
DUMP TEXT START----
Runtime error: CONNE_IMPORT_WRONG_COMP_TYPE
Exception: CX_SY_IMPORT_MISMATCH_ERROR
Error when attempting to import object "MC04P_0MAT_TAB".
The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure "MCEX_BW_LO_API" "(FUNCTION)".
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is: When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
DUMP TEXT END----
Please, can someone explain me how to solve it?
Really need help ASAP!
Thanks in advance,
Jaume
Message was edited by:
Jaume Saumell
Message was edited by:
Jaume SaumellHi,
Check this note: 328181
So you need to delete entries in SM13/LBWQ for application and also detup table content.
And then refill teh set up table.
If you are in production clear the entries by running collective run no of times for this application 04.
With rgds,
Anil Kumar Sharma .P -
Seeking help in extracting data from partitioned table"YEARWISE".
Hi Experts,
I need a favour in extracting data YEARWISE like 'from 1999 to 2000.
Table is partitioned with around 40 partitions, and data I want to extract with sign ',' separating columns.So that I can move it to application as text file directly.
Plateform : Wind2k
Oracle Version : 8i
nls_date_format ...shows nothing..
sysdate is in : dd-mm-yyyy format
Here is my script, but so far it didn't yield anything...It looks like it is running, but I can see spool file with just 0 bytes.
Please check the script "May be I m doing something wrong" , help me out.
Let me also inform you that column ENDRETTID is with datatype DATE, so I put this column for sorting.
===========================================================================================
connect / as sysdba
spool e:\dumps\frdz_fintrans_txt.log
set heading off;
set pagesize 0;
set feedback off;
set echo off;
set pause off;
set termout off;
select BATCHID||','||
PRODUKTKODE||','||
OKODATO||','||
SAKSBEHANDLERID||','||
PRODDATO||','||
KJOPSDATO||','||
FRABINNR||','||
POSENTRYMODE||','||
ARSAKSKODE||','||
BELOPVAL||','||
BELOP||','||
BRANSJEKODE||','||
BRBREGNR||','||
BINNR||','||
POSTNR||','||
TRANSKODE||','||
FIRMANR||','||
KJOPSTYPEID||','||
KHBREGNR||','||
SENTRALNR||','||
REIMBURSMENTKODE||','||
AUTORISERT||','||
VALUTAKODE||','||
PRECARIND||','||
PAYMENTIND||','||
ATMACCOUNT||','||
POSTERMCAP||','||
POSPINCAP||','||
MAILTLFIND||','||
SPESCOND||','||
PROVISJON||','||
LANDKODE||','||
DATOID||','||
CHIDMETHOD||','||
ENDRETTID||','||
TERMINALID||','||
BRAND||','||
KURSPASLAG||','||
MCGEBYR||','||
ACQBIN||','||
LAND||','||
CARDTYPE||','||
DEBCRE||','||
DOMAIN||','||
CHIP||','||
REGION from vdv.fintrans WHERE ENDRETTID >= to_date('01-01-1999','DD-MM-YYYY') and ENDRETTID <=to_date('01-01-2000','DD-MM-YYYY');
spool off
exitNo Sir, no indexing on that column. Please help me with some easiest way to extract the data Yearwise.
COLUMN_NAME
COLUMN_POSITION TABLE_NAME
BATCHID
1 FINTRANS
KHBREGNR
1 FINTRANS
PRODDATO
1 FINTRANS
SQL>
======================
Description of the table is as:
SQL> desc vdv.fintrans;
Navn Null? Type
BATCHID NOT NULL NUMBER
PRODUKTKODE VARCHAR2(1)
OKODATO NUMBER(8)
SAKSBEHANDLERID VARCHAR2(8)
PRODDATO NUMBER(8)
KJOPSDATO NUMBER(8)
FRABINNR VARCHAR2(19)
POSENTRYMODE VARCHAR2(2)
ARSAKSKODE NUMBER(2)
BELOPVAL NUMBER(14)
BELOP NUMBER(14)
BRANSJEKODE NUMBER(4)
BRBREGNR NUMBER(4)
BINNR NUMBER
POSTNR NUMBER(4)
TRANSKODE NUMBER(2)
FIRMANR NUMBER(11)
KJOPSTYPEID NUMBER(2)
KHBREGNR NUMBER(4)
SENTRALNR NUMBER(3)
REIMBURSMENTKODE VARCHAR2(2)
AUTORISERT NUMBER
VALUTAKODE NUMBER(3)
PRECARIND VARCHAR2(1)
PAYMENTIND VARCHAR2(1)
ATMACCOUNT VARCHAR2(1)
POSTERMCAP VARCHAR2(1)
POSPINCAP VARCHAR2(1)
MAILTLFIND VARCHAR2(1)
SPESCOND VARCHAR2(2)
PROVISJON NUMBER(10,2)
LANDKODE VARCHAR2(2)
DATOID NUMBER(8)
CHIDMETHOD VARCHAR2(1)
ENDRETTID DATE
TERMINALID VARCHAR2(8)
BRAND VARCHAR2(1)
KURSPASLAG NUMBER(14)
MCGEBYR NUMBER(14)
ACQBIN NUMBER(6)
LAND VARCHAR2(2)
CARDTYPE VARCHAR2(2)
DEBCRE VARCHAR2(1)
DOMAIN VARCHAR2(1)
CHIP VARCHAR2(1)
REGION NUMBER(1)
=========
Tried also to create new table for a month...but it is just going on without any table creation or data insertion...just hung kind of thing
CREATE TABLE vdv.frdz AS (SELECT * FROM vdv.fintrans WHERE ENDRETTID >=to_date('01-01-1999','DD-MM-YYYY') AND ENDRETTID <=to_date('01-02-1999','DD-MM-YYYY')); -
Report Script Help Needed - Data Extract
Hi,
I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
//ESS_LOCALE English_UnitedStates.Latin1@Binary
// This report script extracts data from cube
"FY11"
{DECIMAL 4}
{NAMEWIDTH 25}
{SUPCOMMAS}
{SUPBRACKETS}
{SUPPAGEHEADING}
{NOINDENTGEN}
{SUPMISSINGROWS}
{SUPZEROROWS}
{TABDELIMIT}
{SUPFEED}
{ROWREPEAT}
"JAN"
"FEB"
"MAR"
//"APR"
//"MAY"
//"JUN"
//"JUL"
//"AUG"
//"SEP"
//"OCT"
//"NOV"
//"DEC"
"BUDGET"
// This is the members of the CCCC dimension to extract
// This is the members or the ACCOUNT dimension to extract
!Hello -
You can try/modify the code below and see if this works -
//ESS_LOCALE English_UnitedStates.Latin1@Binary
{ SUPMISSINGROWS }
{ SUPZEROROWS }
{ SUPFEED, SUPBRACKETS, SUPCOMMAS }
{ NOINDENTGEN }
{ DECIMAL 4}
{ NAMEWIDTH 30 }
{ ROWREPEAT }
{ TABDELIMIT }
{MISSINGTEXT "-" }
<PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
"Budget"
"Resource"
"Facility"
"SSSS"
"Activity"
"Version"
"Charges"
<COLUMN ("Year","Period")
"FY11"
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
<ROW ("Account", "CCCC")
<LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
<LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
Here you may want to change teh combination in the Page dimensions for eg -
I know for Scenario you want Budget
But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
Same way modify the dimension memebres for other dimensions.
Regards
Edited by: Rosi on Aug 24, 2009 10:01 AM
Edited by: Rosi on Aug 24, 2009 10:02 AM -
Hi need help in data extraction.
Hi everybody,
I am trying to extract some ekpo table datas from R/3 and load in BW. What i did was:
1) created a char info object with a field and no attributes.
2) Created a Key fig with Target quantity-->0unit.
3) Created Info cube Assigned Dimensions.
4) Created a info source with all the three fields(Ebeln, 0unit, tar_quan).
5) Now I open R/3, t-code SBIW --> generic data source
--> created new transaction data name ---> gave an appli comp.
6) In the Column view/Table(text box) I gave as EKPO , to extract data from table EKPO. When I saved, it gives this error message.
"Invalid extract structure template EKPO of DataSource" .
What should i do to extract the datas from EKPO from R/3 to BW.
Please, help me with this.Hi Naga
Do not create a view or what ever for what you want to extract. I mean You ask : "What should i do to extract the datas from EKPO from R/3 to BW"
the answer is activate the standard Datasource for purchasing that allows you to extract data from table ekpo.
The datasource name is 2LIS_02_ITM
activate it in r3 with TC RSA5 have a look in RSA6 before to check if it is already avalaible (if not then proceed with RSA5)
Then go to the LO cockpit TC LBWE find your datasource in application 02 and look if it is active, if not do it. With the maintenance screen you can select your fields.
If you want to extract data from R3 what you should do before creating view FM and so on is to check if business content datasource exists first.
For Example you do not have a standard datasource for purchase requisition from eban and ebkn, so it is logical for you to create a generic ds based on tables FM and struc. etc... but SAP provide you with standard datasources so make use of it when they exist. You find names and info on existing datasources etc on SDN, help.sap.com sap.service for example.
hope this helps
Boujema -
Example to help me see the steps in extracting data from IDES R3 to BW?
Hello folks,
I have some documents on extraction but I have not been able to step through successfully.
Can you step me through the process with a simple example:
1. identify an object(table?) on R3; provide typical tcode to see the data in this source
2. steps see the data in this R3 table
3. steps to create an extractor to pull the data we saw in step 2.
4. Steps to go through so that I can see this data in BW
I will appreciate a real example which will help clarify some difficulties I have in extracting data from R3 to BW.
Thanks1. To see data in the extractor, activate the data sources first and then execute RSA3. For LO extractors, in addition to activating the data sources, fill the set up tables and set the delta process and then execute RSA3.
2. To view data in source tables, you must know the source tables. The best way to find out the source table from where the extractor picks up data, go to help;sap.com - BI content. In the help pages, you will find the source tablles. Once you get the source tables, go to Se16, type the table name and execute. You wil see the data.
3. If you wish to create extractor from the source table, go to RSO2 ( O as orange), choose which data source you wish to create ( master data, texts, hierarchies, transaction data). The steps are explained in the following document. Pl follow the link:
https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000194044&_SCENARIO=01100035870000000202
Or send me a note to my email and I can send this document to you.
Ravi Thothadri
[email protected] -
Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"
Hi all,
We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded.
I understand we could use logical file for this purpose. However we are not sure how to have the period and year to be dynamically derived in filename.
I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename". However i could not seem to be able to get document from the link given.
Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
Many thanks and best regards,
VictoriaHi,
After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths' then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
hope this helps u to some extent.
Regards -
Extract Data with OPEN HUB to a Logical Filename
Hi Experts,
Can anybody help me in sending the link for How to guide...Extract Data with OPEN HUB to a Logical Filename?
Thanks in advance.
BWUserHi,
check this links...
http://searchcrm.techtarget.com/generic/0,295582,sid21_gci1224995,00.html
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1570a990-0201-0010-1280-bcc9c10c99ee
hope this may help you ..
Regards,
shikha -
Can not extract data into BW from SQL SERVER
Dear All,
I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message) step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
wait your help.
Thanks in advance.
BillyHi Ravi,
Could you help me to get knowledge about the followings:
approximately how many records extracting and transfering from SAP R/3 to BIW in an organisation. for that how much time will take .
How to extract data from two are three source system to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
Your help highly appreciated.
Thanks.
Hema -
Unable to extract data from an AS/400 system.
Hello experts.
We are trying to extract data from an AS/400 system but not having any success until now.
I´ll write down you the stepts that we have followed until now:
1.- Create a DB Connect between both systems
2.- Create a Source System from AS400 in the workbench under DB Connect Directory
3.- Generate datasources from tebles specified in the schema of the connection
break point -
At this point, we had a problem with some tables with at least one fieldname containing character "Ñ".
After asking some possible solutions to SAP, the told us this is not supported, as the system can´t have any object with character "Ñ", so the transfer structure was unable to activate with this fields in the datasource.
--- end of brek point --
4.- After those issues, we´ve decided to implement, in another schema, views from those tables which had the fieldnames with that character "Ñ", changing them to an "N".
5.- We´ve created another source system with that schema, and user than can see that schema.
6.- To be able to see those views, in transaction RSDBC, we had to deactivate the two checkboxes in the first window ( Choose tables and Choose views) .
7.- Right afeter, we could generate correctly the datasources from this logical tables.
8.- We have designed the hole dataflow for this datasources and everithing went rigth.
9.- But wen we tried to execute the infopackage to extract data from those logic tables, we cannot get any registers. Acctualy the charge remains yellow after the job have finished.
Please, I would appreciate any help you could give us on this problem.
Thank you very much
Regards
JoaquinI´d like ti add something to this thread, and maybe clarify a littel bit the question.
The only way that the BW system recognizes those logical tables, through transaction RSDBC is checking out the two boxes on this transaction, "Select Tables" and "Select Views".
I don´t know haw these logical tables have been created, bus does this mean that the are not neither tables or views as BW understand them.
Please, if someone knows anythin about this, answer to this thread.
Thank you very much.
Joaquin Sobrido -
Extracting Data from APO PP/DS to BW
Hi Gurus,
I'm trying to extract data from APO PP/DS (SCM 5.1) to BW (BI 7.0). I'm new to SCM and am not sure how the extraction from SCM to BI happens other than that we need to read data from LiveCache.
The extractor we are interested are
0APO_PPDS_RESCAPREQ_01
0APO_PPDS_PROD_CUST_01
0APO_PPDS_OPERATION_01
0APO_PPDS_ORDER_01
Pls kindly help me out with the procedure.
Thanks in advance.Hi
Have a look at the below urls..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f229690-0201-0010-84ba-9ee5a8958a05
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fe5d590-0201-0010-6c8d-ada86492cf11
Re: APO to BW Design Question
Re: APO BW Integration
Hope it helps
Thanks
Teja -
How to create a RFC destination for extracting data to HANA
Hello All,
Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .Hi Venkatesh,
In SM59 t.code we create RFC destinations.
Go thru the video link for creating RFC destinations step by step
How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube -
When I extracting data from DSO to Cube by using DTP.
When i am extracting data from DSO to Cube by using DTP.
I am getting following erros.
Data package processing terminated (Message no. RSBK229).
Error in BW: error getting datapakid cob_pro (Message no. RS_EXCEPTION105).
Error while extracting from source 0FC_DS08 (type DataStore) - (Message no. RSBK242).
Data package processing terminated. (Message no. RSBK229).
Data package 1 / 10/04/2011 15:49:56 / Status 'Processed with Errors'. (Message no. RSBK257).
This is the brand new BI 7.3 system. Implementing the PSCD and TRM.
I have used the standard business content objects in FI-CA (dunning history header, item,activities) and standard Datasource (0FC_DUN_HEADER ,0FC_DUN_ITEMS, 0FC_DUN_ACTIVITIES). I have extracted data till the DSO level . when I try to pull the data to info provider level(cube) using DTP . I am getting fallowing error.
my observation: when ever I use the DSO as source to any target like another DSO or cube. its throwing same kind of error for any flow including simple Flat file .
please suggest any one whether do I need to maintain basic settings since its a brand new BI 7.3.
please help me out on this issue . I am not able to move forward .its very urgenthello
Have you solved the problem ?
I have the same error...
as you solve this error,
can you help me please I have the same error
yimi castro garcia
[email protected] -
Adding data in internal table using extracted data
Hi Experts,
Good day!
I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004 and KONP.
Now, i need to use the VALIDFROM (DATAB) value as basis for the latest price.
To make it more clear, see the example below:
Extracted data:
Material Number Valid From Valid to Price
100101 01/01/2008 02/01/2008 100.00
100101 02/02/2008 04/02/2008 100.00
100101 04/03/2008 08/01/2008 200.00
100101 08/02/2008 01/31/2009 300.00
100102 05/02/2008 07/01/2008 10.00
100102 07/02/2008 10/31/2008 15.00
100102 11/01/2008 01/31/2009 20.00
Output:
Material Number Calmonth Price
100101 01/2008 100.00
100101 02/2008 100.00
100101 03/2008 100.00
100101 04/2008 200.00
100101 05/2008 200.00
100101 06/2008 200.00
100101 07/2008 200.00
100101 08/2008 300.00
100101 09/2008 300.00
100101 10/2008 300.00
100101 11/2008 300.00
100101 12/2008 300.00
100101 01/2009 300.00
100102 05/2008 10.00
100102 06/2008 10.00
100102 07/2008 15.00
100102 08/2008 15.00
100102 09/2008 15.00
100102 10/2008 15.00
100102 11/2008 20.00
100102 12/2008 20.00
100102 01/2009 20.00
Text that are in bold are the added data. What is the best code to do with this?
How can i come up with this output? Help me please
Thanks and Godbless,
nipsHi Nips,
Logic shud b sumthing on similar lines
lv_count = 1.
Loop at itab into watab.
if lv_count > 12.
lv_count = 1.
endif.
if watab-date+0(2) = lv_count.
append watab to gt_output.
continue.
else.
concatenate lv_count sy-datum+4(4) into watab-date.
append watab to gt_output.
endif.
endloop.
Best regards,
Prashant -
How can I join 3 tables while extracting data from SAP R/3?
I have 3 tables with the following columns
Emp table (emp)
emp_id
emp_name
emp_add
Dept table (dept)
dept_id
dept_name
dept_loc
Location table (loc)
loc_id
loc_name
Now. If I want to select data from loc_id = 10 and emp_id between 2000 and 3000
How to join these three tables while extracting data from R/3
join condition
loc.loc_id = dept.loc_id
and dept.dept_id = emp.dept_id
and loc.loc_id =10
and emp.emp_id between 2000 and 3000.
Could any one let me know the procedure to extract this data into BW system.Hi,
shouldn't your join condition be:
loc.loc_id = dept.DEPT_LOC
and dept.dept_id = ??
If you can join the three tables then create a generic datasource (RSO) based on a view (create your view with your join in SE11).
Enable the loc_id and the emp_id as selectable in the datasource so you can then select the values from a BW IPack.
hope this helps...
Olivier.
Maybe you are looking for
-
Credit card payment terms in the sales order
Hi All In the sales order, if you enter a credit card and in the payments terms field, if you forget to enter the payment term as credit card,system still allows to create the order without any error message. The requirement is to through an error me
-
Need help with XML TRANSFORMATION dump
HI Experts , I want to parse this XML file to abap internal table ,i use the ST below and i get dump . The file is like that : <Containers> <Container workitemid="0000001" IsParent="X"> <Element name="__INITIATO" value="U295"/>
-
How do I get Firefox Operating system onto my device?
You do not say how to get the Firefox Operating System onto my device. That should be in "getting started". I have a HP Touchpad. Any chance I can replace its operating system with Firefox?
-
Parsing java command line output to a gui
Dear All, I am trying to implement a search engine for a project, i have a java file called Searcher.java, which searches for a particular text or sentence and gives the output based on the number of hits on a particular document, the document with t
-
How to configure LOCA (o/p Device)
Hi Freinds, Whenever i execute T code SPAD and press F4 in output device it show only one o/p device. But we want to configure LOCA o/p device. Can you help me how to configure it. Thanks, Rd, Sachin