Generic Text extraction(Manual)
hi ,
i have a problem with generic extraction
manually i want to load the textdatasource to bw
Initially i loaded the master data(generic)
SE11-->database table name(zmaster_table)
RS02-->masterdata datasource(master_ds)
custno(pkey),cust name
C101 ,xxxxxxx
C102 ,xxxxxxx
for the same customer no(above) i want to load the text
data like below
custno(pkey),language ,cust name,short desc
C101 ,en ,xxxxxxx ,cust101
C102 ,en ,xxxxxxx ,cust101
in se11 for text.
structure
custid char 4
langu lang 1
txtsh char 20
rso2
text datasorce:text_ds
rsa6--->replicated the datasource
in bw,created info objects
here i took cust id as pkey and lang(char) as there is no
lang datatype and txtsh as short description as attributes
but when i'm scheduling it stating that
Error:No data in the source system for seelectiom
pl correct my problem.
i'm trying for this from long time
pl, reply me as soon as possible
Hi,
Check the bloew things,
1) Check if you had data in R/3 Base tables. If you have there then check for data population in RSA3.
If you have here then check PSA and then the mappings.
Regards, Siva
Similar Messages
-
How to create generic text datasource to load text data?
met issue in generic master data load
Hi,
please see above link for detail infomation regarding the attribute data load. now the language and description column of the infoobject s_saled is empty. i need to create a generic text datasource to load data from R3 to BW. the table which i use to extract attribute data is VBAK, but i don't find any filed relate to language and description.
met issue in generic master data load
can anyone tell me how to load the text data?
thanks very much.
Eileenhi eileen,
go to transactio rso2 in your source system ie r/3.
there u have three three fields for transaction data
attributes.
text.
choose text and proceed as u did for trancsaction data load.
thank u,
reward if helpful. -
Generic Text DataSource using FM
Hi All,
I need to create a generic text DataSource in R/3 using a FM.
I tried to create a text DS using a FM based on FM RSAX_BIW_GET_DATA_SIMPLE (as template).
I tested it in R/3 using RSA3 and everything worked as expected, but after replicating it in BW and assigning it to an InfoSource I detected a problem.
What happens is that BW receives all existing records with all fields but the text field filled! I couldn't figure out why.
I recon there's also another FM template which seems to be specific for text extraction (RSAX_BIW_GET_TEXTS), but this FM happens to be incompatible with a Generic DataSource, in other words FM RSAX_BIW_GET_TEXTS does not have the expected interface parameters.
Has anyone ever successfully created a Generic text DataSource using a FM? I've looked around the forums and could not find any example.
Thanks for the attention and for any help.
Ricardo Calaça NunesHi Ajay,
First of all, thanks for your reply. Answering your question: yes, that's exactly what happens.
Let me explain my problem a little bit further. I've created a custom characteristic in BW, this InfoObject was created with texts option checked. I want to load texts for this InfoObject in BW using an algorithm that reads data in R/3 hence my need for a generic text DataSource using FM.
FM RSAX_BIW_GET_TEXTS which is also a template seems to be specific for text extraction, but a generic DS is not accepting a extraction FM based on it because its parameter interface is different from FM RSAX_BIW_GET_DATA_SIMPLE.
The latter is good for master data extraction, I've successfully used it in the past, but as mentioned in my previous post BW seems not to accept text fields in a extraction structure filled by a FM based on RSAX_BIW_GET_DATA_SIMPLE whether this FM is in a generic master data DS or else in a generic text DS.
Can you imagine a possible solution? -
How to Install 64-bit "Generic / Text Only" print driver on a 32-bit Windows 2003 Server?
Hi All,
In a nutshell, I need to Install the 64-bit Generic / Text Only print driver on a 32-bit Windows 2003 Server’s “Generic / Text Only 32-bit print queue.
The problem is that there is no Driver-Disk to get the drivers. I’ve been able to isolate 14 files related to the 64 bit drivers from a Windows 7 x64 computer and copy them to a temp folder on the Windows 2003 x32 server. When I try to add the 64 bit driver
to the Windows 2003 x32 server, it wants a *.inf file, which I don’t have and can’t find.
Because Microsoft will no longer support Windows XP, my client is replacing all of their Point-of-Sale Windows XP x32 systems with Windows 7 x64. They use Terminal Services (Remote Desktop) to connect to a Windows 2003 x32 server to use the POS system. The
POS software redirects LPT1 back to the local Generic / Text Only printer. This works great for XP x32.
When we use the Terminal Services POS software on the new Windows 7 x64 system, none of the labels print out because it’s redirected in 32-bit back to the local Windows 7 x64 Generic / Text Only 64-bit printer.
This will be a huge issue for me if I can’t get this to work.
Thanks in advance for any suggestions and help! -Robthose may be helpful...
http://social.technet.microsoft.com/Forums/en-US/a129f49a-0216-41f0-b190-3efb46fbb8ac/generic-text-only-driver-on-windows-2008-server-r2?forum=winserverprint
http://blogs.technet.com/b/yongrhee/archive/2009/09/14/how-to-add-64-bit-print-drivers-on-32-bit-windows-server-2003-or-windows-server-2008-print-server.aspx
Best,
Howtodo -
Printing Crystal report using Generic Text output - formating lost
Hi. I have an accounting system using Crystal to generate it's business forms, in particular invoicing as reports. Recently we have installed new printing system that needs generic text to capture and create the business forms (invoices) into a graphic and text. When Crystal sends data to Generic Text Printer, you can view it ok as a preview but it moves text around , bunches it up and formatting is never the same for two documents. I need resolution as the printing software needs fixed text in a specific location within the data file. Is there a way in Crystal to format fields so they dont move the data and bunch it up. The business forms written in Crystal have sub reports that are supressed if no data is to be printed, but finding text is moving and hard to capture a fixed location in text file. Any suggestions would be appreciated.
Hello,
Thank you for your responses.
Yes, I'm using a bundled version that came with VS 2005.
I'd love to download this update, but I cannot get there! I don't have an login and password for this site, and I don't know how to get them.
This is all I'd found about this issue in this thread:
http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=844
"I opened an incident with Business Objects. They said there is not a way to do what we want to do with the Crystal Reports for .NET assemblies. They are going to implement a way to create a postscript file and include it in Service Pack 3 of Crystal XI Release 2. They would not say how the postscript will be created (ie, ExportToDisk or any other method), only that they would include it in CRXI Release 2 SP3 which they intend to release sometime this coming winter. "
"Just an update...this has been fixed in Crystal XI Release 2 Service Pack 3.
I just finished testing, and it now allows you to print to a file without prompting the user. We are now able to create a postscript file."
Thanks,
Peter
Edited by: Peter Afonin on Jul 16, 2008 11:52 AM -
X86 Generic/Text Only Printer Driver
Ive got a HP Thin Client that I need to setup a Epson TM88 Receipt printer on.
The issue is the software will only recognise this printer if its setup with the Generic/Text Only Windows Printer Driver which HP decided not to include in the standard image for the device.
Its running Windows 7 Embedded 32Bit.
Now ive looked online and seen heaps of people saying just install on a 32bit pc and then share it to get the driver. trouble is every other pc and server is 64bit and I cant do that.
even my home pc's are 64 bit so no option there.
Does anyone know if there is a download available anywhere online for the .inf file to make this work?
Alternatively can anyone specify the location and file name for the driver file so I can at least know where to look if I can find someone who has Win7 x86 installed?In Internet Explorer go to
http://catalog.update.microsoft.com/v7/site/Home.aspx The Update Catalog will not work in any other browser.
Type Generic/Text Only in the Search box in the upper right and click on Search.
Results should be:
http://catalog.update.microsoft.com/v7/site/Search.aspx?q=Generic%2FText%20Only
The second listing with only Windows 8,Windows 8.1 Drivers is the x86 driver. Although it states Windows 8 the version is 6.1.7600.16385 and dated 6/21/2006.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
Generic Data Extraction From SAP R/3 to BI server using Function Module
Hi,
I want step by step procedure for Generic Extraction from SAP R/3 application to BI application
using Functional module.
If any body have any Document or any PPT then please reply and post it in forum, i will give point for them.
Thanks & Regards
Subhasis Panplease go thr this link
[SAP BI Generic Extraction Using a Function Module|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/sap%20bi%20generic%20extraction%20using%20a%20function%20module.pdf]
[Generic Data Extraction Using Function Module |Re: Generic Data Extraction Using Function Module; -
Pdf text extract problem with CID font and Identity-H
Hi all,
Iam facing some big problem with text extraction from pdf file.
Currently iam using congviews pdf2xl text extraction tool.
About 95% of the text extract correcly but few charaters showing box some ? and some dotted circle mark.
Font Used:
ArialUnicodeMS(Embedded Subset)
Type:(True Type (CID)
Encoding:Identity-H
TimesNewRomanPSMT
Type:True Type
Encoding:ANSI
ActualFont:TimesNewRomanPSMT
ActualFontType:TrueType
Anyone please help me to overcome this.
Regards
Gilbert.XI tried with acrobat pro9 export option it retrieved only alphabets and numbers all of the hindi charcaters showing just ........
By the way how can i upload the my pdf file within this forum please guide me.
Regards
Gilbert.X -
Is printing to generic text printer and hand-coding the report possible?
We have created Oracle Reports that are formatted to print to Zebra printers. We code the report in Report Layout and the text printed is for generic text printers, what our Zebra printers requires. Can this be done with APEX reports?
Example:
^xa
^ilr:val_set.grf2^fs
^fo88,132^a0,90,80^fb464,1,0,C,0^fd&<ACCESSION>^fs
^by2,3.0,32^fs
^ft64,402^BCb,32,n,n^fd&<FARMFIELD>^fs
^ft600,402^BCb,32,n,n^sn&<LOCLOW>,1,y^fs
^fo304,232^a0r,20,20^fd&<LOCTYPE>^fs
^fo334,232^a0,50,45^sn&<LOCLOW>,1,y^fs
(skipping some code here for brevity)
^pq&<LOC_ROWS>^fs
^xz
Asking whether APEX can print to generic text printers and can we code the report output
ourselves.
Thanks for any help.
daveHere is a simple example of printing via pl/sql to a text file...
create or replace procedure utl_file_io is
l_fil utl_file.file_type;
l_buf varchar2(200);
begin
l_fil := utl_file.fopen('TMP', 'amar_test.t', 'W');
utl_file.put_line(l_fil, 'This is a sample text file.');
utl_file.put_line(l_fil, 'Generated from Oracle utl_file package.');
utl_file.put_line(l_fil, 'Below is the content of am1010 table.');
for rec in (select col1, col2 from am1000) loop
utl_file.put_line(l_fil, rpad(rec.col1, 15, ' ') || rec.col2);
end loop;
utl_file.put_line(l_fil, 'End of File');
utl_file.fclose(l_fil);
exception
when no_data_found then
utl_file.fclose(l_fil);
end;
This routine will generate a text file to the default directory on your server, you would need to build an Oracle directory and change the code to include the path to your file there. Getting it to the printer could be a simple shell script that copies the file out your your printer if it is on the network and can be seen..
Thank you,
Tony Miller
Webster, TX -
Generic Delta extraction by Function module issue
Hello Experts,
Please help !!!
I have problem for delta extraction by Function module. For the full load, I wrote function module based on RSAX_BIW_GET_DATA_SIMPLE. It works fine.
But I would like to have the delta load enabled. Therefore, I modified the datasource, add a delta specific field u2018ztimestampu2019, which type is calendar day.
Then I create a function module based on template u2018RSAX_BIW_GET_DATAu2019, as this support the upload mode. But when I test this datasource in RSA3, no matter itu2019s full load or initial delta load, it always send me an error, u201CErrors occurred during the extractionu201D.
I had some debug, and found that there is no value for i_isource when my function module is called. Therefore it raised the exception.
But I do not have the chance to debug my code for the delta logic, can somebody help to check?
I also check the entries in ROOSOURCE,
For my datasource ZTRNREC_FM_DELTA, The DELTA value is u2018AIEu2019, and extraction method is u2018F2u2019, should I change them to DELTA= u2018Du2019 and extraction method to u2018F1u2019? Where to change?
FUNCTION ZRSAX_TRAININGREC_DELTA.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SBIWA_S_INTERFACE-REQUNR
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SBIWA_S_INTERFACE-INITFLAG OPTIONAL
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
*" VALUE(I_PRIVATE_MODE) OPTIONAL
*" VALUE(I_CALLMODE) LIKE ROARCHD200-CALLMODE OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZTRN_REC_TIME OPTIONAL
*" E_T_SOURCE_STRUCTURE_NAME OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
The input parameter I_DATAPAKID is not supported yet !
Example: InfoSource containing TADIR objects
Auxiliary Selection criteria structure
DATA: l_s_select TYPE sbiwa_s_select.
Maximum number of lines for DB table
STATICS: l_maxsize TYPE sbiwa_s_interface-maxsize,
S_S_IF TYPE SRSC_S_IF_SIMPLE,
S_COUNTER_DATAPAKID LIKE SY-TABIX.
Parameter I_PRIVATE_MODE:
Some applications might want to use this function module for other
purposes as well (e.g. data supply for OLTP reporting tools). If the
processing logic has to be different in this case, use the optional
parameter I_PRIVATE_MODE (not supplied by BIW !) to distinguish
between BIW calls (I_PRIVATE_MODE = SPACE) and other calls
(I_PRIVATE_MODE = X).
If the message handling has to be different as well, define Your own
messaging macro which interprets parameter I_PRIVATE_MODE. When
called by BIW, it should use the LOG_WRITE macro, otherwise do what
You want.
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
The input parameter I_DATAPAKID is not supported yet !
Invalid second initialization call -> error exit
IF NOT g_flag_interface_initialized IS INITIAL.
IF 1 = 2. MESSAGE e008(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'008' "message number
' ' "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDIF.
Check InfoSource validity
CASE i_isource.
WHEN 'ZTRNREC_FM_DELTA'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e009(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'009' "message number
i_isource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
Check for supported update mode
CASE i_updmode.
WHEN 'F'.
WHEN 'D'.
WHEN 'R'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e011(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'011' "message number
i_updmode "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
Check for obligatory selection criteria
APPEND LINES OF i_t_select TO g_t_select.
Fill parameter buffer for data extraction calls
g_s_interface-requnr = i_requnr.
g_s_interface-isource = i_isource.
g_s_interface-maxsize = i_maxsize.
g_s_interface-initflag = i_initflag.
g_s_interface-updmode = i_updmode.
g_s_interface-datapakid = i_datapakid.
g_flag_interface_initialized = sbiwa_c_flag_on.
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 g_t_segfields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
LOOP AT G_T_SELECT INTO L_S_SELECT
WHERE FIELDNM = 'ZTIMESTAMP'.
ENDLOOP.
IF G_COUNTER_DATAPAKID = 0.
IF L_S_SELECT-LOW = '' AND L_S_SELECT-HIGH = ''.
OPEN CURSOR WITH HOLD G_CURSOR FOR
SELECT (g_t_fields)
FROM ZTRN_REC_TIME.
ELSE.
OPEN CURSOR WITH HOLD G_CURSOR FOR
SELECT (g_t_fields)
FROM ZTRN_REC_TIME
WHERE ZTIMESTAMP >= L_S_SELECT-LOW
AND ZTIMESTAMP <= L_S_SELECT-HIGH.
ENDIF.
ENDIF.
FETCH NEXT CURSOR G_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR G_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF.
ENDFUNCTION.
I found some similar issue in this forum by link
Generic Extractor Delta Function Module code, but still I could not get clear answer.
Can you please help me:
1) why there is no value for i_source , how to fix it?
2) For the delta logic for ztimestemp, is it correct?
3) Need I modify the entries in ROOSOURCE ?
Thanks a lot !!!Hello Andre,
Thanks a lot for your help. I did some change , but still does not work. Could you please help check.
Now the source code are the following, It's based on the RSAX_BIW_GET_DATA_SIMPLE, as you confirm that this also supply the update mode (full, initial delta, delta).
FUNCTION RSAX_BIW_GET_DATA_TRAININGREC1.
""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 ZTRN_REC_TIME OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
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_ZTIMESTAMP FOR ZTRN_REC_TIME-ZTIMESTAMP.
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 'ZTRNREC_FM'.
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.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'ZTIMESTAMP'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_ZTIMESTAMP.
APPEND L_R_ZTIMESTAMP.
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.
IF L_S_SELECT-LOW = '' AND L_S_SELECT-HIGH = ''.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT (S_S_IF-T_FIELDS)
FROM ZTRN_REC_TIME.
ELSE.
OPEN CURSOR WITH HOLD G_CURSOR FOR
SELECT (S_S_IF-T_FIELDS)
FROM ZTRN_REC_TIME
WHERE ZTIMESTAMP >= L_S_SELECT-LOW
AND ZTIMESTAMP <= L_S_SELECT-HIGH.
ENDIF.
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 think it already includes the important statements you suggested.
I test this FM in RSA3, for the Full load mode, it works fine. Also if I checked the debug mode in execution , it will stop in the code and let me debug.
But when I choose other mode, like 'initializion of the delta transfer' or simulation of initial delta, I always get error 'error occurs during the extraction' .. even I choose debug mode, but it could not enter the code for debug..
Till now I did not see any parameter or value for the upload mode..
Another questions is that, in RSO2, I define Ztimestamp as my delta field.. But , can I add other field as selection condition in the datasource definition, and has its range table in this function module ?
Should I change the entries in ROOSOURCE for this datasource ??
Please let me know your feedback, do you have some concret example for generic delta extraction ?
Thanks a lot ! -
Delta in Generic data extraction
Hi all,
I have a doubt here,
What is the delta in Generic Data extraction?
What are the types?
and what are their significances?
Please give reply.
Thanks
Surya.Hi Surya,
If a field (date, progressive document number, timestamp) exists in the extract structure of a DataSource that contains values which increase monotonously over time, you can define delta capability for this DataSource. If such a delta-relevant field exists in the extract structure, such as a timestamp, the system determines the data volume transferred in the delta method by comparing the maximum value transferred with the last load with the amount of data that has since entered the system. Only the data that has newly arrived is transferred.
To get the delta, generic delta management translates the update mode into a selection criterion. The selection of the request is enhanced with an interval for the delta-relevant field. The lower limit of the interval is known from the previous extraction. The upper limit is taken from the current value, such as the timestamp or the time of extraction. You can use security intervals to ensure that all data is taken into consideration in the extractions (The purpose of a security interval is to make the system take into consideration records that appear during the extraction process but which remain unextracted -since they have yet to be saved- during the next extraction; you have the option of adding a security interval to the upper limit/lower limit of the interval).
After the data request was transferred to the extractor, and the data was extracted, the extractor then informs generic delta management that the pointer can be set to the upper limit of the previously returned interval.
Hope now is clearer...
Bye,
Roberto -
Generic delta extraction using function module
Hi.
I have a generic datasource , extraction being performed by a function module. The extraction works fine in full update mode. The extract structure has a timestamp field.
I have enabled generic delta using this field(i.e., marked this field in RSO2). I understand that with this setting, I should be able to get delta data when I do a delta request. But it does not seem to happen.
I checked the ROOSPRMSC table for the last(local) timestamp stored there. Now when I do the delta upload I expect to see only those records which are younger than the stored timestamp of last upload.
But I still get the entire set of records.
Questions are :
1. Do I need to explicitly code for fetching the delta in the extractor ?
2. If not, what could be the reason why generic delta is not working ?
Thanks and regards,
AnuradhaHi GFV,
I read-up all the forum entries on this topic but could not find anything specifically dealing with my problem. I have browsed through the how-to paper on generic delta as well.
I am quite sure that we don't need any special coding in the extrator for generating delta generically. Even the how-to paper does not mention that.
I have used the FM RSAX_BIW_GET_DATA_SIMPLE as a template
for my extractor(as suggested by F1 help in RSO2). This FM does not even have the i_updmode flag in its interface.
Thus this function module always does full extraction and I expect the system to take care of delta using the timestamp field.
Are these assumptions incorrect ?
Regards,
Anuradha -
Generic Delta Extraction via Function Module
Hello,
i need a help for a generic delta extraction based on a Function Module. As an example i take the function module RSVD_BW_GET_DELTA_DATA.
My generic delta extractor based on the field AEDAT - Change Date and i will extract purchase service orders and entry sheets.
In the sample function module the select for the extraction worked with the table ROBWQTSTAT, but this table ist empty after the initialization.
OPEN CURSOR WITH HOLD G_CURSOR FOR
SELECT * FROM ROVERCUBE1
WHERE COUNTRY IN L_R_COUNTRY AND
REGION IN L_R_REGION AND
KUNNR IN L_R_KUNNR AND
TYPE IN L_R_TYPE AND
GJAHR IN L_R_GJAHR AND
Here the timerange calculated in form GET_TIME_INTERVAL is evaluated.
TSTMP IN S_R_TSTMP AND
OBJVERS = 'A'.
I found the table ROOSGENDLM. In this table i found the field DELTAID with the last date of the extraction and the field REPEATID with the date for the repead-Update.
My Questions:
Is this the right way to build an generic delta extraction with an function module or must i install a coding in my function module for an update of the table ROBWQTSTAT?
Which settings are needed in the table ROOSOURCE for a generic delta extraction via function module?
Best regards
UweHi Uwe,
please have a look at https://weblogs.sdn.sap.com/pub/wlg/2415. [original link is broken] [original link is broken] [original link is broken] It might help
kind regards
Siggi
PS: We already had almost the same question here today. -
Format lost when printing to Generic Text Printer after recent upgrade
We recently upgraded Crystal and now the texty file output from a generic text printer has losst its formatting.
The text appears like this:
S
u
m
m
a
r
y
There si an OD character after each letter.
Does anyone know what could be causing this?Hi Mike,
That is odd.... What happens if you check on the No Default Printer, save the report and then check it off, or the other way depending on what your original setting is?
If you create a new report do you see the same results?
Also, XI is no longer patchable but you can upgrade to XI R2 for free. Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
To enable the full XI R2 features locate the Keycode link and get a new one for XI R2.
Thank you
Don -
What are the disadvantages of generic delta extraction
Hi all,
what are the disadvantages of generic delta extraction.
how function module generic extraction works.
Thanks,
Madhu.hi madhu,
Pls refer ths,To learn more about Generic Extraction pls read BW350 book.
Gereric Extraction can be done in 3 ways.
If you go to transaction RSO2 in R/3 side, provide tech name for data source and click create.
you will get the 3 options.
1)From a DB Table
2)From a DB View
3)From Functional module/ Infoset Query
in first option you can directly give a standard or custom build talbe name. in second option you can select the necessary fields from more than one talbe(eiter standard or custom). In third option you will create a function module or Query to extract data. When creating function modules you can use standard function modules as a template e.g. RSAX_BIW_GET_DATA_SIMPLE.
see weblog : /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
If you want to enable delta for generic extractor you choose the option delta and provide necessary settings.
Generic extraction is when your extraction is not satisfied by either BC or LIS/LO. It can be using a view / query/table/FM
Here the changed records can be isentified by :
1. Based on the date of creation or last change ( Delta based on 0Calday)
2. Based on the record number ( Numeric Pointer )
3. Based on time of change ( Timestamp)
real time examples would be
1. Master Record creation like customer ID creation
2. Timesheets in SAP PS
3. Invoive details / Sales Order Details.
Pls check this web logs for clear Idea.
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Have a look at these threads too.
Tables
Transfer Structure
The steps for creating extractor using Function Module.
1. Create new Function group (if you have already not done so) in Se80
2. Copy Function module "RSAX_BIW_GET_DATA_SIMPLE" with suitable name.
3. Change the code that populate data.
Following table may give you the guideline for parameters.
Parameter Description
I_REQUNR (import) BW provides this request identifier. It is a system-generated identifier in the form REQU_XXXXXX. BW uses this same identifier in all function module calls that relate to a single load.
I_DSOURCE (import) The name of the generic extractor
I_MAXSIZE (import) The maximum number of records that BW expects to be in each data packet
I_INITFLAG (import) A Boolean flag that indicates if this is the initialization (first) call to the function module
I_READ_ONLY (import) A test flag not needed in most extraction scenarios
I_T_SELECT (table) This table holds any selections from the BW InfoPackage. The function module should examine these selections and only return data that matches the selections.
I_T_FIELD (table) This table holds the fields that BW requests
E_T_DATA (table) The function module fills this table with data records. These records then return to BW as data packets. This table has the same structure as the extract structure defined in the generic DataSource.
NO_MORE_DATA (exception) The function module raises this exception when no more data is available
ERROR_PASSED_TO_MESS_HANDLER (exception) The function module raises this exception if an error occurred during the extraction. It alerts BW to check for error logs.
Change following code to put the selection fields
Select ranges
RANGES: L_R_CARRID FOR SFLIGHT-CARRID,
L_R_CONNID FOR SFLIGHT-CONNID.
Change following to populate data
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT (S_S_IF-T_FIELDS) FROM SFLIGHT
WHERE CARRID IN L_R_CARRID AND
CONNID IN L_R_CONNID.
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.
Some more links:
Re: functionmodule
Re: FM for G. extractor
with hopes
Raja Singh
Maybe you are looking for
-
Hi I have a requirement to bring the real estate measurement data and fixed asset and tax data from condition cube to generate the real estate Investment/market / tax value - portfolio overview report. all fields are available in different datasource
-
I have made a table and on the basis of that table i have created a form when i am submitting the form its throwing an error "ORA-06502: PL/SQL: numeric or value error: number precision too large ORA-06512: at "APEXDEMO_TEST.BI_NEW_BOOKINGS1", line 3
-
Hi Guys, When I try to login as SYS, oracle complains that I should connect as SYSDBA or SYSOPER. Fine. Now I enter the login user as SYSDBA and enter the password..it fails. However, if I login as user scott and password tiger, I can login. Then fro
-
Plug in? or plug it out?
What is best for macbooks in general while using; is it pluging it on all the time or unplug it and when the battery drains, plug it again?
-
Unable to install iTunes 8 or to uninstall old version of iTunes
I have an old version of iTunes (more than two years) and wish to install iTunes 8. However, I am neiher able to install the latest version of iTunes or uninstall the old one. When I try the windows uninstall program, I get the error message that the