Problem in creating a Generic Extractor on a custom 'Z' table
This is regarding an earlier question I posted in sdn today. I am trying to create a generic extractor on a custom 'Z' table and iam getting the following message.
Invalid extract structure template YBW_Z3PVR of DataSource YCNA_3PVAR_RPT
Message no. R8359
Diagnosis
You tried to generate an extract structure with the template structure Z3PVR. This operation failed, because the template structure quantity fields or currency fields, for example, field MENGE refer to a different table.
Procedure
Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
Please advise. how do i solve this?
Hi there,
Is your Z* table working? It must be add check field for quantity field and currency field.
Hope this helps.
Similar Messages
-
Create a generic extractor using Function module, what steps must I follow
Hello gurus team
I need to Create a generic extractor using Function module, what steps must I follow?
Just I have a function module not estructures or something, only the program.... and I have intented to do it in rso2 using the fm option, but give an error... somebody can helpme???
BRHi,
Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
http://help.sap.com/saphelp_nw04/helpdata/en/86/1c8c3e94243446e10000000a114084/frameset.htm
Thanks,
JituK -
How to create the generic extractors in sap R/3?,pabitra
Hi,
How to create the generic extractors in sap R/3?
Though it comes under cross application and the types of generic extractors are functional module ,db view,infoset query etc.Do u think the g.e can be built of one of the is types.plz tell correctly
Advance thanks
regards
pabitraHi,
this is for DB view ,
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
this is for infoset query,
http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb43b2455611d189710000e8322d00/frameset.htm
Good day,
regards
Arun -
Problems appending to a Generic Extractor
I have a Generic Extractor which is built on a customer defined table. I have tried to append a ZZ field to the Extract structure but the Append button is greyed out.
I therefore directly added the ZZ field into the structure and wrote the logic in the user exit to populate.
When I go to RSA6 the field is not visible. Why is this and how can I resolve? ThanksHi-
Is it possible to delete DS? If so....do that first!
goto RSO2 Create it again
RSA6/Select DS/Enhance Extraction Structure/Add fields/Activate
CMOD/Program/Include....
Then come back to RSA6, try it
I hope this can be out the issue!
Thanks,
Chandra. -
Problem in creating a generic datasource with infoset
Dear Expert,
I have to create a generic datasource with infoset. I linked the infoset with a test program below. In the program, I have one selection option, which is s_order. After creating an infoset and a datasource, this selection option 'SELECT_S_ORDER' is added to my extract structure. However, after try filtering with this SELECT_S_ORDER, it doesn't filter data at all. Why? I want to filter data with my s_order.
REPORT ZBI_DS_TEST.
tables: vbak.
* DATA
field-symbols: <vbak> type vbak.
data: t_vbak type table of vbak,
w_vbak type vbak,
t_vbak2 type table of vbak,
w_vbak2 type vbak.
* SELECT-OPTIONS
selection-screen begin of block b1 with frame title text-001.
select-options: s_order for vbak-vbeln.
selection-screen end of block b1.
start-of-selection.
* <Query_head>
perform sub_select_data.
loop at t_vbak into w_vbak2.
move-corresponding w_vbak2 to vbak.
* <Query_body>
endloop.
*& Form sub_select_data
* Select data
FORM sub_select_data .
select *
into table t_vbak
from vbak
where vtweg = 'IP'.
ENDFORM. " sub_select_dataWhat do you mean by linking program with infoset?
Do you get the field in your RSA3 Tcode? -
I tried to create a generic toolbar in a pageTemplate using the first method suggested in the Nimphius' blog (ADF declarative method) but I failed to understand and the execute 2 things.
First created the VO actions as describet but I didn't understand how to connect them to the template buttons.
Second I identified buttons as suggested (nextButt and prevButt) but I wasn't able to understand the correct syntax for partial trigger in my panelForm.
Could someone explain me better how to get my result ?
Tks
TullioHi,
actually I would use a declarative component instead and have a facet in the template to add the declarative component in.
See http://www.oracle.com/technology/products/jdev/tips/fnimphius/index.html -->" How to build a reusable toolbar with Oracle ADF declarative components"
Instead of ADF binding references you can use managed bean methods as well.. I am currently working on getting method expressions in page templates (meaning I am trying to get this on a new feature list), after which templates could invoke listener methods. This then makes the process of creating a toolbar in a template easier
Frank -
Problem in Creating Check boxes as a column in a table using MVC
I am trying to display a table format using the Model view controlers, with 1st column as a checkbox. if the user chooses some check boxes and submit the screen then i need to update the information in a custome table.
I am having a problem in creating the check boxes, also pls tell me how to catch the line items checked by the user in the table...
SriHI Srinivas
I am not getting what the exact problem is.....
I am giving you a work around.....to me it does not seems to be an Ideal Solution..But Probably it will solve your problem....
Changes To be Made in Page Layout...
In Pagelayout
<htmlb:tableView id = "tvX" width = "100%" visibleRowCount = "8" fillUpEmptyRows = "X" selectedRowIndexTable = "<%= selectedRowIndexTable %>"
<b>selectedrowindex = "<%= selectedrowindex %>"
onrowselection = "select"</b>
selectionMode = "MULTISELECT" table = "<%= sflight %>" />
<b>selectedindexrow is an attribute of type INT4</b>
In Do handle event.....instead of using the previous code use this one...
if event->id = 'SUBMIT'.
DATA: WA TYPE INT4.
LOOP AT SELECTEDROWINDEXTABLE INTO WA.
*Here you can read your table of TABLEVIEW with index *equal to WA into a workarea and then use that workarea *to update the customer table ENDLOOP.
elseif event->id = 'tvX'.
tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request name = 'tableView' id = 'tvX' ).
IF tv IS NOT INITIAL.
table_event = tv->data.
selectedRowIndex = table_event->SELECTEDROWINDEX.
append selectedrowindex into SELECTEDROWINDEXTABLE.
endif.
ENDIF.
Meanwhile..Let me check why that code does not work.....
Hope it solve your problem....
Cheers:)
Mithlesh -
Generic Extractors with Fm / Finding out tables used
Hello Gurus,
for a requirement, i would like to find out the table used in a generic extractor with function module.
I can see the structure with the objects used but not the tables where they are from.
How can i find that out?
Thank you
PatHi Gilo ,
The best way to find out the tables used in the function module will be to analyze the code . Check all your Select Statements in the code and see the tables being used there .
Sometimes in the code , we use standard function modules from the ECC. Check those standard FMs also and see what table they are using .
Hope the above reply was helpful.
Thanks & Regards,
Ashutosh Singh -
Problem while creating a new Data element in a new table?
Hello Everyone,
I have downloaded Netweaver 7.1 trail version from internet and while creating a data element through the data dictionary: i got this input box:
Register Object
SAP Release 701
Access key needed?
Installation DEMOSYSTEM
What could an access key be here in this demo version?
please help experts. thanks for writing back.
Cheers
lastw0nd3r
P.S:
I tried this access key already which was in devaccess table
29671482393151224771 but it didn't worked.
Edited by: lastw0nd3r on Jun 8, 2010 5:30 PMin processformrequest() i wrote this:
if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
&&(ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
am.invokeMethod("createRecordInv") ;
in Amimpl.java
i wrote
public void createRecordInv()
try
OAViewObject vo = getARTransactionLineVO1();
if (!vo.isPreparedForExecution())
{ vo.executeQuery(); }
if (vo != null)
vo.setMaxFetchSize(0);
ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
if (vo.getFetchedRowCount() == 0)
{vo.insertRow(row1); }
else
{ vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
row1.setNewRowState(row1.STATUS_INITIALIZED);
catch(Exception ex)
{ ex.getMessage(); }
i am getting error
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException -
Create generic extractor based on 2 tables
hey BI gurus,
I have to create a generic extractor based on these 3 tables:
eban - i need all fields
vttk - i need only 4 fields i.e
route,
tknum,
datbg,
daten
ekbe - budat.
now the problem is thr is no common field between vttk & eban AND vttk & ekbe. but thr is a common field between eban & ekbe.so i can create a view only on these 2 tables but i want 3 tables
how do i proceed???Hi,
Sometimes, if your application or requirement makes it necessary, you have to create your own function module to extract the data from whatever sap system to bw.
Therefore you normally make a copy of the standard fm 'RSAX_BIW_GET_DATA_SIMPLE'. To make this new function work for you, you have to realize the following.
1.) the fm gets called by the extraction api for at least 2 times. First time is for initialization and from the 2nd time on it is for data extraction.
2.) right after the last data package (somehow you need to make sure that it is the last one) you have to raise the exception no_more_data.
Refer this links for more Info
SAP BI Generic Extraction Using a Function Module
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
SAP Network Blog: Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Take the help of an ABAPer if your are new to this process
Regards
Karthik
Assigning points is the way to say thanks -
Generic extractor Delta problem
hello,
i have created a Generic extractor based on the AUFM table and the delta field is MBLNR (Material document no) that is a numeric pointer used for delta. My problem is that when i pull the delta not all records are being pulled. Why is that so? Can anyone give suggestions.
thanks
Laura.Well, using Function module is one approach. I can provide you another approach.
You can create a View based on the following tables
AUFM and MKPF,
use the join condition
AUFM-MANDT= MKPF-MANDT.
AUFM-MBLNR = MKPF-MBLNR
AUFM-MJAHR = MKPF-MJAHR
In AUFM select all the fields that you want and MKPF select the "Accounting Document entry date" field which you can take it as delta field and select calday as your delta option.
Once view is created, you can generate the datasource.
Please check this option.
I think it should work...
Thanks
Vj -
Error while creating Generic Extractor via Function Module
Hello Guys
I have created a Generic Extractor through a Function Module. I took the Standard FM: RSAX_BIW_GET_DATA_SIMPLE, gave it a new name and activated it. I made a few changes in it, like giving my structure name for E_T_DATA and giving the list of tables, from where I need to get the data. Then I created the datasource in RSO2 by giving this function module and the extract structure.
The DS was created properly, but when I check in RSA3 for records, its giving me an error: ---> <b>The extraction program does not support object YCNA_INVY_TRNS</b>
What do i do now? Can someone please tell me, what changes I need to make in the standard FM to suit my requirements??
Thanks.Hi,
Just try to reactivate the structure once again. And when you open the function module, if the problem still persists just try to press Return key several times. The message you are getting is just a warning message.
PS: I am not sure whether this is the correct way, but i personally resolved this by pressing the ENTER key 4 or 5 times. So just give a try.
Regards
Sunil -
Generic extractor question/problem
Hello,
I want to create a generic extractor on custom table which should delta enabled . This custom table has ERDAT( creation date) and ERZET u2013 Entry time but the client is asking me to use both fields for delta functionality . I am not sure how to do this . Please help .
Regards,As you said client want you to use both the date n time stamp field to extract delta you can follow the below steps.
- Create the generic data source as per you requirement in order to pic the delta
- Open you extract structre and append the field TZNTSTMP, this is the field which holds the time stamp.
- to setup deltas click on generic delta --> select time stamp(UTC)
Regards
KP -
Creation of a generic extractor and data source for the FAGLFLEXA table
Hi All,
Need to create a generic extractor and data source for the FAGLFLEXA table to support AR reporting. This table contains the necessary profit center information to perform LOB reporting against the AR data.
Please advice on how to do this.
Regards, VishalHi Vishal,
Its seems a simple a work out.
1.Go to RSO2 & choose the relevant option ie. whether you want to create Transactional DS, Master Data DS or Text DS.
2. Name it accordingly & then create.
3. Give description to it & then give table name FAGLFLEXA.
4. Save it & activate. If you need it to be delta enabled then click over Delta & you can choose accordingly.
If you still face some problem then do mail me at [email protected]
Assign points if helpful
Regards,
Himanshu -
Generic Extractor on DB Table without Date, Time stamp
Hi all,
We have requirement of creating a generic extractor on the table which doesnt have date or time stamp in the data field. The only option availabel is to extract from Document numbers.
And we cant put the extractor mode to "Read from view" because the table contains Currency field which refers to external table for currency key.
The moment we change the extractor mode from Extraction from view to Extraction from FM the option "Numeric pointer" gets hidden.
What shall we do in this scenario ?? Pls advice.
Thanks.
Regards
NimeshHello Tapan, Prakash
Prakash : Currency key is needed in BW .
Tapan : I was just trying diff. options i.e. extraction from view and FM . Problem with Generic Extractor is that i dont have any date fields getting updated in the table. The only field that can be used for delta is document number. And Generic extractor only allows date or time stamp option , its not allowing numeric pointer if one reads from FM.
Regards
Nimesh
Maybe you are looking for
-
How do I transfer a color from one object to another without losing the gradient?
COLORING AN OBJECT AND SAVING THE GRADIENT These are my notes. x Choose the EYEDROPPER tool. x Sample the color you want from an object in your image. x Double-click on the fill icon at the bottom of the tool panel. This brings up the COLOR PICKER pa
-
Synchronising contract data in R3 AND CRM
Hi All , Greetings for the day!! I had appended a new field in contract (VBAP-ZZFIELD) in R3.This contract first get created in CRM and gets copied in R3. Whatever changes i make to new field in R3 must gets copied to same contract in CRM & vice ver
-
Yosemite upgrade on mini server
I keep getting a note on my desktop often that says I should upgrade to Yosemite. Will my ftp and web server work automatically after if I click "yes"?
-
Why does CS6 automatically start when i plug in my Canon Eos camera and how do I stop it
Why does CS6 automatically start when i plug in my Canon Eos camera and how do I stop it from doing so?
-
i have iphone 3gs and im update my iphone to ios 6 and after it doesn't work,and i can't restore my iphone please help meeeeeeeee,i neeed my iphone:(