Missing field from source DSO in transformation to other DSO
Hi SDN,
I am facing the following problem:
I have created DSO "A" and a transformation rule to DSO "B". InfoObject 0RATE_TYPE is available in both DSOs... BUT: when I am creating the transformation rule the field from DSO "B" (on the right side) is not connected to any filed from source DSO "A" because there the field 0RATE_TYPE is not offered.
What I have tried so far:
- reactivate DSO "A"
- remove 0RATE_TYPE from DSO "A", activate DSO "A", include 0RATE_TYPE again, reactivate DSO "A"
- newly created DSO "A"
All this has not resulted in any other than the problem described before. One thing I recoginized: when doubleclicking on the DSO "A" I see the field 0RATE_TYPE, when doing a right click and selecting "Object overview" the field is also missing!
I have run out of ideas and I would like to see if any of you has had the same problem and has found any solution.
PLEASE help me!
Thank you in advance!!
Hi,
Did you try to logoff and logg on again?
(sometimes BI show things after leaving the transaction)
IS the DSO activated?
Is the field compounded to another field that is not in the DSO?
You might try a work around:
Make a routine that reads your DSO to get the field.
(If the ABAP-editor also gives an error on thing field something very strange is going on indeed)
Success,
Udo
Similar Messages
-
Routine sample code for reading 2 fields from existing DSO
Hi Gurus,
I am a monkey when it comes to write ABAP code. I have one DSO-A where we store accounting info of purchading (from DS 2lis_02_acc) and one DSO-B getting data from 2lis_02_scl data source.
We need to write a rountine to read DSO-A for G/L account and populate DSO-B G/L account field.
Please provide me the sample code for this.
Warm Regards,
AnilHi anil,
Create a local table this is type of you source,
Data : LV_table TYPE XXXX
use the select statement to read the table of DSO .You have to use th active table for the dso that you want to read data from.
Select xxxfieldxxx FROM /BIC/A..........50
into lv_table where
filed name of of scheule line probably order no and item no .
<soruce-fields>-IOBELN = IOBELN
and <source-fields>-IOBELP = IOBELP.
Checke the techinal name i am not sure about it. It will be something like that.
Cheers mate -
Creation of node if onlytwo fields from source exists
Hi , I have a requirement to create a node for as many existences of 2 fileds in the source . example for every occurance of filed D and C in the source , i need to creat a node X. How can i achive this . Some direction please.
ThanksHi,
its very simple use exists function to check whethere two fileds available or not,then use and function,if both exists then it and function return true then use create if fucntion to create element.
or
use simple udf ,pass two string arguments and check the condition or write simple logic.
Regards,
Raj -
Loading data to a cube from a DSO and a Flat file
Hi All,
I have an Infocube with fields
product
plant
customer
quantity
country
I am trying to load data into it , few fields from a DSO and others from a flat file
e.g plant and country from a dso
and product, customer and quantity from a flat file.
I have created 2 transformations,
one from the DSO -> cube (which works)
another transfromation does not get activated -- it gives an error msg saying (no source fields are assigned to the rule)
Is it possible to make a load of this sort? If so, then why is the transformation giving that error?
Please do help!
Thanks and Regards,
RadhikaDear Friend,
Not sure what have you done, it should be like this
datasouce---DSO1--
Cube1
Flat2--DSO(optional)-Cube2
then you should build a multiprovider on top of these cubes (cube1 and cube2 ) and then create Query.
Please check if this is something you have done.
Hope this helps.
Thanks
sukhi -
Start Routine to Populate Account Group Field from Master data of 0Customer
Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
during the load from source DSO to Target DSO.
Error Explicit length specifications are necessary with types C, P, X, N und
DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: l_S_comp type comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
IF L_th_COMP[] IS INITIAL.
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
ENDIF.
LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
IF SY-SUBRC = 0.
L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
ENDIF.
ENDLOOP.
soniya kapoor
Message was edited by:
soniya kapoorHello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
so Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer.
No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
***SOURCE DSO Table
types: begin of typ_tgl1.
include type /BIC/AZDAFIAR000.
types: end of typ_tgl1.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
INITIAL SIZE 0.
data: wa_itab type COMP.
data: wa_zdtg type typ_tgl1.
IF L_th_COMP[] IS INITIAL.
***Master Data Table
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
FIELDS OF TABLE L_th_COMP.
sort L_th_COMP by CUSTOMER.
ENDIF.
LOOP AT L_th_COMP into wa_itab.
select * from /BIC/AZDAFIAR000 into wa_zdtg
where DEBITOR eq wa_itab-CUSTOMER. *** SOURCE DSO Table
IF SY-SUBRC = 0.
wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
ENDIF.
endselect.
endloop.
soniya kapoor -
Data load failed while loading data from one DSO to another DSO..
Hi,
On SID generation data load failed while loading data from Source DSO to Target DSO.
Following are the error which is occuuring--
Value "External Ref # 2421-0625511EXP " (HEX 450078007400650072006E0061006C0020005200650066
Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0BBP
So, i'm not getting WHY in one DSO i.e Source it got successful but in another DSO i.e. Target its got failed??
While analyzing all i check that SIDs Generation upon Activation is ckecked in source DSO but not in Target DSO..so it is reason its got failed??
Please explain..
Thanks,
SnehaHi,
I hope your data flow has been designed in such a way where the 1st DSO as a staging Device and all transformation rules and routine are maintained in between 1st to 2nd dso and sid generation upon activation maintained in 2nd DSO. By doing so you will be getting your data 1st DSO same as your source system data since you are not doing any transformation rules and routine etc.. which helps to avoid data load failure.
Please analyze the following
Have you loaded masterdata before transaction data ... if no please do it first
go to the property of first dso and check whether there maintained sid generation up on activation (it may not be maintained I guess)
Goto the property of 2nd Dso and check whether there maintained sid generation up on activation (It may be maintained I hope)
this may be the reason.
Also check whether there is any special char involvement in your transaction data (even lower case letter)
Regards
BVR -
How to compare two fields from different list sharepoint designer?
hi All,
I need to add a value to a field using SharePoint designer workflow. The value is from another column.
for example list A has the field has loginID, and another list B has loginID amd another column called Desig.
i need to compare both and get the Desig field and store it to a column. how do i do that in sharePoint Designer workflow.Hi,
you can create a workflow variable ex.Test. and add an action set Workflow variable. Then you have to set this variable value using lookUps. something like(in look up window)
Data source: Choose List B
Field from source: Choose Desig
Then under find the list item
Field: Choose login Id
Value :(Again open lookup window by clicking "fx") and in this window choose
data Source: List A
field from source :LoginId
and click ok.
attached is the image for your reference. (I am using other lists,you can change appropriately ) -
Transformation : some fields are not visble in Source DSO
Hi
i have done mapping in transformation by connecting one Write Optimized DSO with a Standard DSo.
Both DSO have same fields. But i am seeing some of the fields are not visible in Write optimized DSO in Transformation
so those fields can not be mapped with corresponding Standard DSO fields.
let me know how those fields can be make visible in Transformation.
Regards
AtulHi ,
"Attribute Only" will not be visible , only method to to do this maybe something like below .
1) Look at the keys of the standard DSO , pick up the same combination and the attribute only fields from the source in the start routine of the TFM .
2) in the field level routine of the TFM (for the atrribute only fields ) , read the tables with keys and populate .
--Neha -
Less source fields in transformation than in the source DSO
Hi,
I'm in a business content flow DSO 0GN_BP (consolidated BP) to fill master data attribut 0GN_VENDOR.
In the transformation source fields I only have a part of the fields in the DSO.
17 fields in DSO and only 10 in the source fields in the transformation.
<b>How can I get all the fields of the DSO as source fields in the transformation ?</b>
Regards,I've log out log in, refresh the hierarchy etc. Nothing.
I hit the right DSO with the transformation.
The DSO is activated as well as the infoobject inside.
I've tried to reactivated it just to be sure ... but still missing fields in transformation.
I've also reactivate the DSO. Run RSRT on DTP, DSO ... all green.
I've check the structure tables of the DSO and they all got the right number of fields.
This is really weird. I'm going through a customer message.
Thanks for your help. I'll come back here if SAP found a solution. -
New DSO data fields are not available for transformations in the upwardflow
Hello,
There are data flow from
many source DSOs -> Target DSO -> Final DSO.
Different transformations are defined and activated with DTPs. This works fine and provides the desired results.
now new fields are added to the target DSO, final DSO and one of the source DSO.
When I now try to edit the transformations, the new fields are not part of the sources at the different stage.
The fields are available in the Data Source created out of a DSO but not directly when using a DSO as a data source.
Have anyone faced such a problem?
any solutions to this?
- I cannot delete all the other transformations as this is too much work to do and there is no time for it.
Regards
KannanWe created ZMD_BS_MAT_OVP_LAYOUT. But the situation has not changed - the fields are not available for edit.
-
How to know querry level fields from which tables in the source system
Hi Experts,
let's say we've two fields in the querry e.g: Actual GI Quantity, Actual Value of GI
This fields from PP Querris level how would i know from which table we're getting data is there any easy process to find out please drop your suggestions..
Next doubt is when generate querry e.g. PM Module we don't know exatly what're the available tables & fields technical names but in my currently project using SAP Delivered Infocubes & Querries at the moment & generating querries but when we test in the Portal it's shows some fields '0', X. I've to check in source system weather it's having any values or not.
Can anybody drops your valuable words
Cheers
SureshHi all,
I'm a colleague of Maarten, and I think maybe we didn't explain well enough what we want. So let me try to elaborate:
We want to obtain the reference (within the SOAP-Body of the XI-message) to the attachment which contains the main payload (at least, in XI itself). This reference seems to have gone missing, once our adapter module (after having gone through XI) is entered (and, by the way, before we enter the SOAP-receiver-adapter).
The JAVA-representation of the XI-message seems to hide the fact that in XI itself, the main payload is an attachment, referenced from within the SOAP-Body.
Nevertheless, we would like to obtain/retain(?) that reference, in order to put it in our own to-be-created-additional-attachment, which would go (via the PayloadSwapBean-module of SAP) into the SOAP-body of the final SOAP-call, and should then reference the 'new attachment' (which was (in XI itself) the main payload).
So, I think both answers (up to now) don't help us much (however: thanks for your reaction anyway of course).
So, maybe someone has another idea?
Regards, Fred -
Set target fileds from source fields using JDBC lookUp
hello :
advance thanks for reading below and i am new to java
how to to set the two taget fileds T1 and T2 from source field S1 using jdbc look up .Here is the code and its giving syntax error . set T1 to approver1 and T2 to approver2
I copied the code from blog 2219
How to map to two target fileds ??
Is something wrong with the query ?
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
>>>>>>>>I defined Argument a(i am passing S1) Result result
>>>Here is the code :
//write your code here
String Query = " ";
Channel channel = null;
DataBaseAccessor accessor = null;
DataBaseResult resultSet = null;
// Build the Query String
Query = "Select (approver1,approver2) from Emp where loginid = ' " + a[0] + " ' '';
try{
//Determine a channel, as created in the Configuration
channel = LookupService.getChannel("SQL99","jdbc_cc1");
//Get a system accessor for the channel. As the call is being made to an DB, an //DatabaseAccessor is obtained.
accessor = LookupService.getDataBaseAccessor(channel);
//Execute Query and get the values in resultset
resultSet = accessor.execute(Query);
for(Iterator rows = resultSet.getRows();rows.hasNext();){
Map rowMap = (Map)rows.next();
result.addValue((String)rowMap.get("(approver1"));
//result.addValue((String)rowMap.get("approver2"));
catch(Exception ex){
result.addValue(ex.getMessage())
finally{
try{
if (accessor!=null) accessor.close();
catch(Exception e){
result.addValue(e.getMessage())
thankyou sdn:hi kumar,
every statment in java should end with a semicolon... and 2 catch statments in the code given in blog(that you mentioned) are with missing semicolons at the end of the statments... just include semicolons at the end of these 2 catch staments and your code should work properly without any syntax error...
catch(Exception ex){
result.addValue(ex.getMessage());
finally{
try{
if (accessor!=null) accessor.close();
catch(Exception e){
result.addValue(e.getMessage());
Regards,
JP -
Missing class indicator field from database row
Hi,
I have following problem :
There is a class inheritance with root interface and 4 subclasses, they are initialized with class indicator field. If I use ReadAllQuery with an interface or some of concrete class as search class - it is working perfect, but if I try to build query with custom selected fields (addPartialAttribute) I always get an error - Missing class indicator field from database row.
AFAIK This field have not to be mapped in Workbench to real table column, how can I tell TopLink that I will read this indicator field too by reading some custom fields ? I thought TopLink reads such fields automatically, like it does it with primary keys.
Thank you
MaksimThis sounds like an issue with our partial attribute queries and inheritance as the type indicator column must always be read. Can you map the type indicator to a read-only attribute (mark mapping as read-only) and include this in your list of attributes as a work-around?
Doug -
Field mismatched from Source system
Hi ,
In BI Data target,for ZZAFLD000012 field , data is not coming from CRM source system , when checking in CRM side ,it doesn't contain any data & mapped in the Standard Data source 0CRM_SRV_PROCESS_H of BI . In CRM .
In CRM source system ZZAFLD00003P fields contains the REQUIRED Data ,which is not mapped in the data source : 0CRM_SRV_PROCESS_H of BI .
How can i bring the data to BI ?what are the authorization is required in CRM-user ?
Thanks in Advance,
Regards,
kalimHi,
I will suggest you to check a few places where you can see the status
1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
Also see if there is any 'sysfail' for any datapacket in SM37.
2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
3) RSMO see what is available in details tab. It may be in update rules.
4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
5) SM58 and BD87 for pending tRFCs.
Once you identify you can rectify the error.
If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
If you feel its active and running you can verify by checking if the number of records has increased in the data tables.
Thanks,
JituK -
Hi There,
In SAP GRC 10.0, our team had an issue where we could not add duplicate fields from separate table (see ERROR: Select Currency/UoM field for the selected analyzed fields). This was resolved by the SAP Note 1904313/ 1904314 (http://service.sap.com/sap/support/notes/1904313).
We upgraded our system to SAP GRC 10.1 SP05 and could now add the duplicate fields from separate tables. SAP Note 1904313/ 1904314 was part of SAP GRC 10.1 SP03 so it makes sense that we, in a higher version (SP05), would be able to do this.
The issue now is when we add the duplicate fields from different tables and run the Ad-hoc Query to test if the data source works correctly, the No Data Selected warning persists. This means that the data source provides no data for analysis, which is required to write our business rules.
Below is an example:
Basic data source with just one currency reference field EBAN-WAERS.
When you run the Ad-Hoc Query you receive data.
Basic data source with second currency reference field EKKO-WAERS.
When you run the Ad-Hoc Query no data is found.
Please also make reference to the following thread logged by my colleague (ERROR: Select Currency/UoM field for the selected analyzed fields)
Any assistance to receive data with duplicate fields from separate tables will be highly appreciated.
Thanking you in advance.
Regards
Gary KhanHi
following are the error messages from dump
hrtText
There is already a line with the same key.
hat happened?
Error in ABAP application program.
The current ABAP program "SAPLCKMS" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
rror analysis
You wanted to add an entry to table "\FUNCTION-POOL=CKMS\DATA=T_DYN_CKMLCR",
which you declared
with a UNIQUE KEY. However, there was already an entry with the
same key.
This may have been in an INSERT or MOVE statement, or within a
SELECT ... INTO statement.
In particular, you cannot insert more than one initial line into a
table with a unique key using the INSERT INITIAL LINE... statement.
rigger Location of Runtime Error
Program SAPLCKMS
Include LCKMSF01
Row 226
Module type (FORM)
Module Name DYNAMIC_PERIOD_CLOSING
Source code where dump ocured
222
223 APPEND ht_ckmlpp TO t_add_ckmlpp.
224 APPEND LINES OF ht_ckmlcr TO t_add_ckmlcr.
225 INSERT ht_ckmlpp INTO TABLE t_dyn_ckmlpp.
>>>> INSERT LINES OF ht_ckmlcr INTO TABLE t_dyn_ckmlcr.
227 ENDWHILE.
Also I guess there is problem with material ledger in R/3 side
I have never worked on material ledger before so dont hav idea of Tcode and tables in SAP R/3 for material ledger.
Thanks
Navneet
Maybe you are looking for
-
Engaged File Sharing and Netscape now crashes.
Hello, setting aside the obvious point that I should be using a newer email client.. I have a G4 MDD Mac running OS 9 which I maintain solely so that I can use a certain audio application I prefer. On that machine I have Netscape Communicator 4.8 tha
-
How to create Infotype in Infoset?
Hi, How to create new infotype in already created Infoset and existing infoset is created using logical database? Please suggest me what can be done. Thanks, S P Joshi.
-
I have a apple 4. After repair everything seems working apart from the ring tone who doesn't work, the vribreur seems working though. The control vocal is sometimes going wild and start calling all my contacts. What is the problem?
-
Problems importing from canon mvx460
I'm having problems importing movies in iMovie 9.0.2 from my Canon mvx460 camera. It seems that my iMac (Mac OS 10.6.7, 2.66 GHZ INtel Core Duo, 4GB 1067 MHz DDR3) doesn't recognize the camera (through firewire 800). Is this a known issue for this ca
-
Experts: On the BI JAVA (i.e. EP for the BI ), usually BEX portfolio is in the KM content. However, in one of my BI Java system, I cannot find the BEX portfolio in KM content. I searched some other tabs but also failed to find it. could you please