Problem in LO extraction
hello sap professional
could you explain me one real time LO extraction briefly,
i am asking this from so many days no one reply.
is any bodythere to reply to this.
What do you mean by "Developed NEW LO extractor "
Are you using the content LO extractor or you had created a new one.
Similar Messages
-
CS4 Master Collection - Problem occurred while extracting...
After spending $1,500 and two days of RL time downloading the CS4 Master Collection twice, I am just a tad frustrated.
Each time I download the CS4 suite file and try to install it, I immediately get the error:
"A problem occurred while extracting the archive. Please try downloading the Adobe CS4 Master Collection again."
No. I refuse to spend another full day downloading this file yet again just to receive the same error.
Anyone have some insight into this problem? (more so than "turn off your anti-virus program"
Thanks in advance.I am having the same problem. I found a forum that suggested this. Apparently it worked for some people, but not for me. Let me know if it does:
1. Start -> All Programs -> Accessories
2. Right-click on Command Prompt and select "Run as..."
3. Run as Administrator (even if you are logged in as Admin. You need to run in the Black Command Prompt, not the White one)
4. Run: regsvr32 JScript.DLL
5. Then run: regsvr32 vbscript.DLL
(dont forget the spaces, or it won't work)
6. Then try running the set up again
As i said, it worked for some on the forum, but not others (like me). Try it and see if works for you -
Error Message downloading CS5: A problem occurred while extracting the archive..
After dowloading the CS5 Design Premium, I get an error messagin stating "A problem occurred while extracting the archive. Please try downloading the Adobe CS5 Design Premium again." I repeated this process multiple times to no avail. I am trying to download the CS5 design premium on my new laptop, but don't have the software cds to do this. Thus, I can only download the software but after i download the two files required, that error message appears. (I already have my serial number).
Hi nickgtr,
Please try disabling your Antivirus as sometimes it detects the files as virus and removes them while downloading. You can also try downloading after performing Selective Startup.
Please let us know if it helps.
Regards,
Abhijit -
Problem with PDF extract in a report
Hi guys,
We are facing a peculiar problem with PDF extract in a report. When we run a report and export PDF , all the records in the result set are populated in the PDF. however, if I navigate away from the report and return back to the same report, and click on export pdf (with the result set already populated) i get a blank PDF document without any records. If i run the report again and then export the PDF it works fine.
Export excel works fine for all cases.
I am assuming it has got something to do with the way the system handles the cache for PDF export.
I also found that this occurs only when we have a value list filter with "none" set as default,and in this case, initially on opening the report for the first time the query does not get executed automatically.
Any help on this would be highly appreciated.
Thanks and Regards,
immanuelHi Immanuel,
Have you tried clearing the cache? My guess is, it is probably a defect.
Regards,
Vikram -
Hi guys. I dont know if youve experienced this but I get this error whenever I try to install Photoshop CS3 Extended. The error popup message goes like this:
"A Problem occurred while extracting some files. Check available space on your computer and the write privileges on the destination folder."
Any idea? :(
thanks in advanced.
Cheers!Welcome to the forum.
where is the file to download it directly?
With CS3, there might not be one any longer. CS4 has been out for some time. You might need to contact Adobe Customer Service for resolution. I know that they offer replacement media for a small fee, but do not know how far back they go with the versions.
For me, I always purchase the full discs, and from Adobe, so I have little experience with downloaders and with the downloadable files. Maybe someone else can offer you more direct assistance.
Good luck,
Hunt -
CS5 "a problem occured while extracting some files...."
I used both Firefox and IE to download the update for CS5. All seemed to successfully download to my desktop where I wanted them. When I double clicked on the .exe file, it began to extract and got to 99% (sometimes 100%) before giving me the error "A problem occured while extracting some files. Check availabile space on your computer and the write privilages on the destination folder."
I am using Windows XP, I'm the admin so I'm not sure what privilages I need.
I have 66 G of free space
*I tried using 7zip to extract the files, did not work.
*I tried to just get into the folder which was created during the extract and clicked on set-up.exe - it gave me the message "We've encountered the following issues: Installer failed to initialize. File not found. Please download Adobe Support Advisor to detect the problem." including a link to where I can do that. I did that and so far, it is stuck on "please wait while the application initializes." I'm thinking it's not going to happen so I've come here.
Any ideas would be appreciated!First of all, let me correct an incongruency in your post, Mr. Cox: you say it works for "almost everyone" yet also state that it fails "only" for me. These can't both be correct, and of course we all know the latter is clearly incorrect because we can see from this thread that someone else has also had the problem.
Also, I am not sure that the problem has been attributed with absolute certainty to a "bad download", although I tend to agree that it's the most likely explanation. Has it?
Now consider this: I posted here for the exact reason that Adobe needs to know this is not a problem with only one computer and one user. I took some time out of my work day because I appreciate Adobe.
They might want to know that I had the problem on a fresh install on my home computer, one that was only days ago running CS5 from ym first install, which went without a hitch. In solving this, I am happy to post any system information, error logs, checksums, or ANYTHING that Adobe would like to see that would result in the resolution of this problem. As you know I can solve the problem myself because I have the original uncorrupted files here at work. But, really, being as Adobe has decided to use a special download and installation package, which I know can be somewhat quirky from past experience, I think it is Adobe's responsibility to listen to download/installation problems. AND as their customer service has never been anything but exemplary in the past, Mr. Cox, this is exactly why I posted here. Because they do listen.
What should they do? It seems to me, although I'm no programmer, that in this day and age there is no reason that a download should be completed and still not function. There are solutions aplenty that ensure data is transmitted without error, and I quite frankly do not understand why they have not already used such a solution (if bad download is in fact the problem here). For example, can they not make a downloader that runs a checksum for us, and tells us if we have a bad download, or runs packets through one to make sure that everything is coming in correctly as we download? Can corrupted packets be discarded and redownloaded automatically so that crappy connections still get their software in pristine condition, and nobody has to post or call in about stuff like this?
That would seem to be a good idea.
Cheers,
o.0 -
Problem occured when extracting archive-- student edition
Hi, I am trying to install the free student version of CS6 Photoshop on Windows 8. I downloaded both files, but when I try to run the executable one, I get the error message "Problem occurred when extracting archive, please redownload". I have downloaded the files twice, and get the same message. Thanks for helping!
Moving this discussion to the Downloading, Installing, Setting Up forum.
Noreenw95 where are you downloading Photoshop CS6 from? Have you tried downloading from Download CS6 products? -
Urgent: Problems in Generic Extraction by Function Module
Hi BW Gurus,
I am new to SDN and also new to generic extraction using function module. My requirement is to extract long text(142 char) from CRM to BW as the text is not stored in database table I used function module read_text with in another ZXXX function module copy of (RSAX_BIW_GET_DATA_SIMPLE). In my extract structure I used GUID(char,32), Langu, long text(142 char) and 2 placeholders. Text can be extracted by passing STXH table fields(Tdname, Tdid, Tdobject, Tdspars) to read_text as parameters and i also need to use CRMD_ORDERADM_H field GUID(32 char) to compare 1st 32 chars of tdname(70 char) with Guid to select Guids and loop thru this Guids and for each Guid i need to append lines of text to e_t_data but as i donot know ABAP i unable to write the code for this. Through my friends help i wrote code when i check in RSA3 it is displaying the text but when i replicate into BW and load into data target in monitor the status is red with records initially but afterwards it will be red status again with 0 from 0 records for initial load again.when i check on job logs the errors i have are:
The background job has created a job log file of 2Gb size and it is currently on a infinite loop writing entries into the SAP System Log that it cannot write to the Job log file due to Error 22 for write/read access to a file this is because of the datasource i have created. Please find my Function module and if anyone would please correct FM and send me that will be really great.I appreciate it in advance.
MY Function Module is:
FUNCTION Z_CRMORDERH_STR_TXT.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE YCRM_TEXT_STR OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
***" EXCEPTIONS NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Tables: CRMD_ORDERADM_H, STXH.
Auxiliary Selection criteria structure
data: l_s_select type srsc_s_select.
Maximum number of lines for DB table
Statics: s_s_if type srsc_s_if_simple,
counter
s_counter_datapakid like sy-tabix,
Cursor
s_cursor type cursor.
data: i_crmtext type standard table of TLINE .
types: begin of xsreph ,
GUID type CRMD_ORDERADM_H-guid,
end of xsreph.
data: i_guid type standard table of xsreph.
data: I_TEXT type STXH-TDNAME.
data: xempl like YCRM_TEXT_STR occurs 0 with header line.
data: t_tab like dd03l-tabname.
Select ranges
ranges: l_r_guid for CRMD_ORDERADM_H-guid.
l_r_connid for sflight-connid.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
if i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
case i_dsource.
when 'yCRM_TEXT'. " for S_SREPH1
when others.
if 1 = 2. message e009(r3). endif.
this is a typical log call. Please write every error message like this
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
raise error_passed_to_mess_handler.
endcase.
append lines of i_t_select to s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
append lines of i_t_fields to s_s_if-t_fields.
we will do our selection based on what is in the p table for the
infoobject
else. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
if s_counter_datapakid = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GUID'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_GUID.
APPEND L_R_GUID.
ENDLOOP.
case i_dsource.
when 'YCRM_TEXT'. " for S_SREPH1
t_tab = 'CRMD_ORDERADM_H'.
endcase.
select GUID
from (t_tab)
into table i_guid where PROCESS_TYPE = 'ZACI' and ( OBJECT_ID < '0000000042').
select tdname from stxh into i_text where tdobject = 'TEXT'.
if sy-subrc ne 0.
message e009(r3).
this is a typical log call. Please write every error message like this
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
'No master data found'. "message variable 2
raise error_passed_to_mess_handler.
endif.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
open cursor with hold s_cursor for
select (s_s_if-t_fields) from CRMD_ORDERADM_H
where GUID in L_R_GUID .
ENDIF.
Fetch records into interface table.
named E_T_'Name of extract structure'.
fetch next cursor s_cursor
appending corresponding fields
of table e_t_data
package size s_s_if-maxsize.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
as we are doing this only once can use the select statement.
***data: crmtext like tline occurs 0 with header line.
**data: i_crmtext type standard table of TLINE.
**data: i_guid type standard table of xsreph.
data: l_guid type THEAD-TDNAME.
data: st_guid type xsreph.
data: st_crmtext type TLINE.
data: lan type THEAD-TDSPRAS.
lan = 'E'.
loop at i_guid into st_guid.
l_guid = st_guid-guid.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'A002'
LANGUAGE = lan
NAME = l_guid
OBJECT = 'CRM_ORDERH'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = i_crmtext.
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
e_t_data-guid = l_guid.
loop at i_crmtext into st_crmtext.
move lan to e_t_data-langu.
move st_crmtext-tdline to e_t_data-description.
append e_t_data.
endif.
endloop.
clear: st_guid,l_guid.
refresh: i_crmtext.
endloop.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
endif.
ENDFUNCTION.
please Gurus as I donot know ABAP i appreciate if anyone would write a FM based on requirement and send me that will be really great this is my request. I gurantee of award points for good answers.
Regards
KishoreHi,
The statement <b>RAISE NO_MORE_DATA</b> should be active (uncommented) in your code. Otherwise, the infinte loop occurs.
See also, the Siggi's blog:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
BTW, was it your thread here:
Re: Urgent: problems in extracting Long Text
Best regards,
Eugene -
Scenarion of Delta Load problem in COPA Extraction
Please get me the solution for this particular scenario.
Let us suppose that i created the datasource some 1 year back and running the deltas successfully since then.
Let us number the requests from 1,2,3... and so on since 1st jan 2009. And let us suppose each request loads
some 1000 records everyday from ECC to BI.
Now on 10th august some change was made to ECC( such as change in the User Exit ) that caused the mismatch in number of data records ( loading only 950 records ) since the change was made on 10th August. But I identified the problem on 17th august with request number 160. Let us say those request numbers are 153(10th),154(11th),155(12th),156(13th),157(14th),158(15th),159(16th),160(17th). I fixed the program in ECC on 17th and further the requests from request number 160(17th) are fetching the correct number of data records. Now I need to delete the data in BI for request numbers 153 till 159 since they are not reconciling the data of ECC with BI. Now we reload the deltas for such requests from ECC to BI. So how do I reload the deltas now in this scenario since ECC system keeps track of the last delta ie.. on 17th august(Req no 160). But how do I Load the deltas from req number 153 to 159 from ECC to BI.
One proposed solution to this problem was setting the timestamp of COPA to 10th august. But it is not advised to set the timestamp for COPA datasources using the KEB5 transaction in a production system.
Now in this scenario how do I load the request numbers 153 to 159 from ECC to Bi to fetch the correct data records for that period. Please propose a solution for this problem ASAP. U can also call me back whenever u need.
Thanks in advanceAs stated in a previous post...
How you choose to do this can be summed up by the question: Does the target for this data have cumulative or non-cumulative Key Figures?
If you are doing an overwrite to the Key Figures, you could just execute a Full Repair InfoPackage that extracts the data for the days that you found inconsistencies instead of attempting to change the timestamp in KEB5 on the source ECC environment.
However, if you're target has cumulative Key Figures you're left with very few options (a couple of them are time-consuming):
1) Changing the timestamp in KEB5, if your plug-in is PI 2003.1 or older. Newer versions of the plug-in do not allow the changing of the timestamp as was pointed out by Ferruccio earlier.
2) Deleting the keys in the target InfoProvider for those records that you extract in a Full Repair extract.
3) Delete all data in BW for COPA and start from the beginning. This may be your best bet for cleaning up the issues in this scenario. -
Hi All,
I have connected following system with Solution Manager (Version 4.0) for System monitoring, Early Watch Alert, Central system administration.
1) Business Warehouse (SAP Net Weaver 2004s)
2) CRM (CRM 5.0)
3) 4.7 System (SAP R/3 Enterprise).
I am able to see all the database settings in Early Watch alert for all the systems.
Now I am doing BI Extraction through DSWP->(Solution)-> Solution Reporting-> BI Data Collection.
Abap program RDSWP_BI_ADMIN_TOOL is used for collecting the data.
And the data are populated to the following tables.
Tables No of records
DSWPBI_SYSTEM 7
DSWPBI_SYSDATA 79
DSWPBI_SERVER 1372
DSWPBI_PERF 40
DSWPBI_MODUL 7
DSWPBI_DB* 10
But when table is viewed through tcode SE11, data exists for records but the content of the table is not available.
The content is either empty or 0.
Example
For Table DSWPBI_MODUL, following are the various fields.
SM_CUST
SM_INST
SM_SID
SM_DATE
SM_BUNDL
SM_ENTR
SM_SPRAS
SM_MODUL
SM_MODCP
SM_MODDB
SM_APKEY
SM_APMOD
SM_DIAST
SM_CPUT
SM_DBT
SM_BOTHT
SM_TCODE
SM_SYSLD
SM_AVGLD
SM_BPTCO
SM_BPDATE
SM_BPSTPS
SM_BPAVG
SM_BPCPU
SM_BPDB
SM_BPRATI
SM_BPLIMY
SM_BPLIMR
Now the problem is with the content of the table.
Values are maintained for some of the fields like SM CUST
SM INST
SM SID
SM DATE
SM BUNDL
SM ENTR
SM SPRAS.
But for many of the fields like SM MODUL
SM APKEY
SM APMOD
SM DIAST
SM TCODE
SM BPTCO
SM BPDATE
SM BPSTPS
SM BPRATI
SM BPLIMY
SM BPLIMR
The value is either 0 or value is not maintained.
I think once a early watch report is generated, these fields should have some value.
Did anyone face this problem before?
Please help me in resolving this problem.
Sriram SHi,
The infopackage ran for full load and not for delta load.
I looked at the rsmo and at first glance everything looks fine. But when i look at the details tab i can see that the overall status shows as RED and it says
Overall Status: Errors occured: or : Missing Messages
I am not clear what this means. I dont see any other nodes in RED. Every node is in green except the top most node which is in RED and shows the above message.
Any idea what could be the problem? -
Problem in signal extraction from ELVIS using biomedical startup kit
hi,
i am using executable version of biomedical startup kit 3.0. i want to use ECG signal. the problem is that i am using ELVIS for signal extraction from biomedical kit. but when i connect it with ELVIS, connected osciloscope with channel A0 and A1, but it showed no signal on osciloscope. can anybody tell me what can be the reason for that???Support for the Biomedical Toolkit is provided on our Biomedical User Group at www.ni.com/biomedusers
Visit the NI Biomedical User Group at:
www.ni.com/biomedusers -
We have given the values required for the extraction.
When I click on start Extraction button,its showing "Extraction started".but,when I click on display jobs button,showing "Job list is empty".
Error log shows...
Transaction Canceled 00 671
Task : 04216
Process : V1 Update Task No. 010
Program : RSM13000
Problem cl : SAP Web As Problem
Package : SDYN
Please help us.Hi,
Thanks for quick reply.
In SM13, we found following details.
Function Modulue : MDM_EXVARIUPD
Status : Update was terminated
Report : LMDM_EXVARIUPDU01
Row : 98
Execution Mode : V1 (no entry)
Update return code : Error
Error Details : 00 671: ABAP/4 processor: MESSAGE_TYPE_X -
Hi Firends,
I created a DS out of a Function module. The source table is a Z table with following data
MANDT MATNR WERKS STLNR ANDAT AEDAT AENAM VALUE
100 000000000000000184 1500 00001500 18.08.2006 15.08.2006 SANDEEP 0000002500
100 000000000000000364 KOPL 00001825 19.08.2006 17.08.2006 SASI 0000003500
100 AUDCOMAT12 1111 00001980 22.12.2006 22.12.2006 DEVELOPER 0000005600
100 AUDCOMAT12 1500 00001500 15.08.2006 15.08.2006 DEVELOPER 0000001600
My FM is as follows:-
FUNCTION ZSAN_BIW_MAST1.
""Local interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZSAN_MAST OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Example: DataSource for table SFLIGHT
TABLES: ZSAN_MAST.
Auxiliary Selection criteria structure
DATA: L_S_SELECT TYPE SRSC_S_SELECT.
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
cursor
S_CURSOR TYPE CURSOR.
Select ranges
RANGES: L_R_MATNR FOR ZSAN_MAST-MATNR,
L_R_AEDAT FOR ZSAN_MAST-AEDAT.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF I_INITFLAG = SBIWA_C_FLAG_ON.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
CASE I_DSOURCE.
WHEN 'ZSAN_DS_MAST'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
this is a typical log call. Please write every error message like this
LOG_WRITE 'E' "message type
'R3' "message class
'009' "message number
I_DSOURCE "message variable 1
' '. "message variable 2
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF S_COUNTER_DATAPAKID = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'MATNR'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_MATNR.
APPEND L_R_MATNR.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AEDAT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_AEDAT.
APPEND L_R_AEDAT.
ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT (S_S_IF-T_FIELDS) FROM ZSAN_MAST
WHERE AEDAT gt L_R_AEDAT-LOW.
ENDIF. "First data package ?
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION.
i did the initializiation with out data transfer and it pulled one record as expected.
But when i do a delta update it dosent pull any record from the table inspite of having ---" AEDAT gt L_R_AEDAT-LOW. " in my code.
As per me it should have pulled 2 records from my ZTable, the 2nd and 3rd record, but it dosen't
I made the delta on AEDAT field and the
'Date of Last change' in Generic Delta is - '16.08.2006'.
Can any one suggest what the problem could be ?
Thanks
Regards,
DuttaWithout knowing everything, here is an example of what I have done. This FM extracts MARC changes on specific fields.
FUNCTION ZBSV_BW_EXTRACT_MARC_CNGS.
""Local interface:
*" IMPORTING
*" REFERENCE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" REFERENCE(I_INITFLAG) LIKE RSAAPI_IF-INITFLAG OPTIONAL
*" REFERENCE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" REFERENCE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR OPTIONAL
*" TABLES
*" I_T_SELECT STRUCTURE RSSELECT OPTIONAL
*" I_T_FIELDS STRUCTURE RSFIELDSEL OPTIONAL
*" E_T_DATA STRUCTURE CDRED OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
FM: ZBSV_BW_EXTRACT_MARC_CNGS
Author: Steve Wilson
Dev. Class: ZZBW
Date: 11/29/2005
Description:
This FM is used to collect relevant MARC Changes
This BIW FM uses an SAP Standard FM to collect Change documents.
There are only 4 fields we care about checking changes on currently.
Mod date Programmer Reference Description
06SEP05 Steve W. CA2K930787 Initial Development ip: 2877190
DATA DECLARATION *
RANGES: R_DATUM FOR SYST-DATUM. "Change date
REFRESH: S_DATUM.
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
START_IDX LIKE SY-TABIX,
END_IDX LIKE SY-TABIX.
BEGIN OF PROCESSING *
IF I_INITFLAG = SBIWA_C_FLAG_ON.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
ELSE.
First data package
IF S_COUNTER_DATAPAKID = 0.
get changed date selection
LOOP AT I_T_SELECT WHERE FIELDNM EQ 'UDATE'.
R_DATUM-SIGN = I_T_SELECT-SIGN.
R_DATUM-OPTION = I_T_SELECT-OPTION.
R_DATUM-LOW = I_T_SELECT-LOW.
R_DATUM-HIGH = I_T_SELECT-HIGH.
IF R_DATUM-HIGH EQ SPACE.
R_DATUM-HIGH = '99991231'.
ENDIF.
APPEND R_DATUM.
EXIT. "Only want 1 record, ignore others
ENDLOOP.
CALL FUNCTION 'CHANGEDOCUMENT_READ'
EXPORTING
ARCHIVE_HANDLE = 0
CHANGENUMBER = ' '
DATE_OF_CHANGE = R_DATUM-LOW
OBJECTCLASS = 'MATERIAL'
OBJECTID = ' '
TABLEKEY = ' '
TABLENAME = 'MARC'
TIME_OF_CHANGE = '000000'
USERNAME = ' '
LOCAL_TIME = ' '
DATE_UNTIL = R_DATUM-HIGH
TIME_UNTIL = '235959'
TABLES
EDITPOS = ITAB_CDRED
EXCEPTIONS
NO_POSITION_FOUND = 1
WRONG_ACCESS_TO_ARCHIVE = 2
TIME_ZONE_CONVERSION_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
RAISE NO_MORE_DATA.
ELSE.
LOOP AT ITAB_CDRED. "Keep fields
IF ITAB_CDRED-FNAME+0(5) NE 'DISPO' AND
ITAB_CDRED-FNAME+0(5) NE 'EISBE' AND
ITAB_CDRED-FNAME+0(5) NE 'BSTRF' AND
ITAB_CDRED-FNAME+0(5) NE 'SHZET'.
DELETE ITAB_CDRED.
ENDIF.
ENDLOOP.
LOOP AT ITAB_CDRED. "Keep Factories
IF ITAB_CDRED-TABKEY+21(4) NE 'LX01' AND
ITAB_CDRED-TABKEY+21(4) NE 'LX09' AND
ITAB_CDRED-TABKEY+21(4) NE 'ZX01' AND
ITAB_CDRED-TABKEY+21(4) NE 'CE01' AND
ITAB_CDRED-TABKEY+21(4) NE 'CC01'.
DELETE ITAB_CDRED.
ENDIF.
ENDLOOP.
ENDIF.
DESCRIBE TABLE ITAB_CDRED LINES COUNTER.
APPEND LINES OF ITAB_CDRED FROM 1 TO I_MAXSIZE TO E_T_DATA .
END_IDX = I_MAXSIZE.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ELSE.
IF END_IDX GE COUNTER.
RAISE NO_MORE_DATA.
ENDIF.
START_IDX = END_IDX + 1.
END_IDX = ( START_IDX + I_MAXSIZE ) - 1.
APPEND LINES OF ITAB_CDRED FROM START_IDX TO END_IDX
TO E_T_DATA.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF.
ENDIF. -
Problem in Data extraction for NEW GL DSO 0FIGL_O10
Hi ,
I am facing Problem in extraction of records from SAP to BW.
I have installed Business Content of NEW GL DSO 0FIGL_O10.
When I extract the Data from SAP R/3, to this DSO ( 0FIGL_O10 ) the reocrds are getting over written
For Example When I go the the Mange Option ( InfoProvider Administration) the transferred Records and the Added Records are not same. The Added records are less then the Transfered reocords.
This is happening becuase of Key Filed Definations.
I have 16 Characterisics in the KEY FIELD, which the maximum that I can have. But the Data comming from is Unique in some casses.
As result the data get added up in the DSO, hence my balances are not matching with SAP R/3 for GL Accounts.
There are total 31 Characteristics in the Datasource (0FI_GL_10) . Of which 16 Charactheristics i can include in the Key field area.
Please suggest some solution.
Regards,
Nilesh LabdeHi,
For safety, the delta process uses a lower interval setting of one hour (this is the default setting). In this way, the system always transfers all postings made between one hour before the last delta upload and the current time. The overlap of the first hour of a delta upload causes any records that are extracted twice to be overwritten by the after image process in the ODS object with the MOVE update. This ensures 100% data consistency in BW.
But u can achive ur objective in different manner::
Make a custom info object ZDISTINCT and populate it in transformation using ABAP code. In ABAP try and compound the values from different charactersitcs so that 1 compounded characterstic can be made. Use ZDISTINCT in ur DSO as key
Just a thought may be it can solve ur problem.
Ravish. -
Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
Hi Experts,
I have a question about a RSCRM_BAPI limitation:
I want to extract a Query, using this transaction, to a fixed lenght .txt file. The query has a tabular structure like this:
CHARACT1 | CHARACT2 | CHARACT3 | CHARACT4 | KEYFIG_MONTH1 | KEYFIG_MONTH2 | .... | KEYFIG_MONTH12.
so i have a tabular structure with some CH and a KF repeated for the 12 month of the year.
The problem is that the fixed lenght .txt file extracted with RSCRM_BAPI stops to the month 11, month 12 is discarded. If i try to extract a .csv file with the same query all the 12 month are included in the file.
Question: Is it possible that RSCRM_BAPI has a row lenght limitation considering the fixed lenght .txt file?
Many thanks in advance.
FabioHow did you sechudle the Query/Report Using BAPI, i'm having similar Problem. Please Can you help me out.
My problem is , i have a query which is schedule for every month 2 wed and a bapi is associated to The query.
for some reason's the query is not working properly .
Can you please help. -
Problem in Data extraction into BI
Hi Guys,
I am having a strange problem and unable to idenitfy the root cause. I am hoping that some one can help me with this issue.
System Details:
BI 7.0
SAP ECC 5.0
Current Design:
We have created a DSO in the BI system and created a custom extractor to pull the data from SAP ECC 5.0 into the DSO.
The custom extractor is using the option "Extraction Frm SAP Query" and using a custom infoset. This is the transaction type data source.
Problem Statement:
When I run the RSA3 transaction for this extractor, the extractor brings 1870 records. However when i run the Infopackage in the BI system to bring the records into the DSO --> PSA then i am only getting 823 records.
Question:
Why am i seeing this difference in the number of records in RSA3 and in the BI system? I am NOT using any selection or filter conditions in the Infopackage. And i am only getting the data till PSA. So i was expecting that in PSA i can see 1870 records same as that i see in RSA3. Any idea what is missing?
Thanks in advance !!Hi,
The infopackage ran for full load and not for delta load.
I looked at the rsmo and at first glance everything looks fine. But when i look at the details tab i can see that the overall status shows as RED and it says
Overall Status: Errors occured: or : Missing Messages
I am not clear what this means. I dont see any other nodes in RED. Every node is in green except the top most node which is in RED and shows the above message.
Any idea what could be the problem?
Maybe you are looking for
-
Problem with the number format in the graph axis with Report Generation Toolkit.
Hi! I'm trying to use the Report Generation Toolkit to plot some graphs in Excel. My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis.
-
As a professional PS artist who works on files with sometimes hundreds of layers, I often need to transform many layers or groups at once. It is a nightmare to find that after the transformation, a mask did not get included in the transformation, (es
-
Hi Guys, I have got a different kind of error at the time of tacking Invoice. It says "Message Error". Before that I never faced this kind of errorr. What could be the possible reasons for that? Kindly help me out. Thanks to u in advance
-
How to use objects in Pro*C++
Hi, I have created a table as follows: =========================================== CREATE TYPE pds_rec_type1_obj AS OBJECT ( service_mode char, total_fuel_dollars NUMBER(7,2), total_fuel_litres NUMBER(7) CREATE TABLE pos_product_discount ( outlet_id
-
Replace from clipboard, or "connect overlappin​g wires" ?
I am going back through many of my early block diagrams and cleaning up the code with things that I've learned since I started using Labview. A lot of this involves deleting objects, then copy/paste from a good reference design into the old design.