Analyze the Field Mapping in a Query Transform

My client is running Data Services 3.1 SP1 on WIndows Server 2003.  They have the following scenario:
A data flow has muliple flat file source transforms of different file formats, each of which is connected to a query transform.  On the output side of each query, new output columns have been defined, representing a standard house schema. For each query transform, they need to:
1) Compare the source fields to the query output fields, to determine which source fields have been mapped
2) Compare source/mapped field lengths to determine if a source field has been truncated.
I checked the script functions, but none of the functions are useful for this.  Is there a way to get a query transform's output fields/lengths from the data Services local repository?

OR
It may help to have Control Files for each source file as your source and compare it to the target schema structure to get the flags for truncates.
The Control File structure would be as such
FILENAME | COLUMN_NAME | DATA_TYPE | PRECISION | SCALE | LENGTH | IS_NULL | IS_PRIMARYKEY
The same Structure can be used for your target schema.
As for Identifying columns in the source that are not mapped to the target schema, I would gather the information at design time. I don't see an easy way of getting this informaiton from the Query transform.
May be you can try using the following views to see if you can utilize the local repository for some information.
ALVW_MAPPING
combined with ALVW_COLUMNINFO
and ALVW_TABLEINFO
Hope this helps!
Regards
Tiji
Edited by: Tiji Mathew on May 6, 2009 11:48 AM
Make sure you right click in the Local Object Library area and choose the option "Calculate column mappings" to populate the updated values into AL_COLMAP_TEXT that gives the expression used to map the source to the target. You will not see the Query tranform names in this text but see the source column with mapping type column showing values like Direct, Direct - Merged, Computed etc.

Similar Messages

  • How long does it take for the custom field created in SFDC to show up in the field mapping list?

    How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience? 

    Hi,
    What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped?   

  • Hi, I need to import contacts from windows outlook to MAC outlook. I need the field mapping document between windows and mac outlook.

    Hi, I need to import contacts from windows outlook to MAC outlook. I need the field mapping document between windows and mac outlook.

    Then I suggest you post your question the Microsoft Mac forums since it's their products you're having trouble with
    http://answers.microsoft.com/en-us/mac

  • How to add a new field in the Field Mapping

    Dear Freinds,
                   I have two un used fields in the  Source fields to the Target Fields ,
    i have to add the 3   fields which r there in the my source fields to that
    of the target fields ( as per the change in the requirement) in the 5th Step
    i.e Maintain Field Mapping and Conversion Rules
    the Target strucutre & the Source fields( by clicking the button
    Source field and selcting the fields from the popup menu) in the mapping and conversion step  ,i want to  add  3 fields which are availabe in the list of th source list  which i want to map to the Target strucutre  .
    When i tried it is adding in the othe target field
    presently i have mapping (5th sept ) as below.
       ZPA30_08                       LSMW
           Fields
               TABNAME                      Table Name
                                   Source:  ZP0008_STRC-PERNR (Personnel Number)
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TABNAME = 'ZPA30_08'.
               TCODE                        Transaction Code
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TCODE = 'PA30'.
    now i want to add 3 fields Pernr,wage type and Amount  , but when iam trying it is
    getting and saved in the TABNAME .
    How can i map please let me know .
    Regards
    syamla

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • Changing the dropdown values for one of the fields in CHECK STATUS query

    Hi,
    We are on SRM 7.1.
    In the CHECK STATUS transaction,in the selection screen(QUERY),there is a field called "ROLE" which has teh dropdown values of "APPROVE BY ME","REJECTED BY ME" and "GOODS/SERVICES DELIVERED TO ME".Is there any way some of these drowpdown values can be removed?
    Please advise.

    hi nmsrm1234
    i have a document for this issue.
    but i don´t find this document in internet. it is called : CUSTOMER-SPECIFIC UI ADJUSTMENTS IN SRM 7.0 WEBDYNRPO ENVIROMENT / META DATA HANDLING CONCEPT.
    if you can find it, you will get an idea to resolve this issue, if you will no have luck, please get me your mail, and i will send you the document.
    regards.

  • Number of characters allowed in the query transform section in my search schema of SSA

    Hi,
     would like to know the max.character limit of query transform section in the  search schema of my search serv appln.
    I have created some 40+ site collections and hence 40+ results sources need to be created. so is there any maximum limit of this textbox?

    Hi,
    Based on your description, my understanding is that you want to know
    The schema limits of SSA, refer to the following screenshot:
    For more information, refer to the following link:
    http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Not all fields are getting updated in transformation

    Dear all,
    Please help me in the following issue:
    I have the following scenario:
    DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
    Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
    The fields exist in DSO 1 but don't go into cube.
    I did the following:
    1. deleted transformation and dtp, recreate = > not working
    2. copied the cube, and create new transformation and DTP...not working.
    Any help would be appreciated
    Thank you
    Ramona

    Hi Ramona,
    Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
    Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
    Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
    Cheers,
    CK

  • Maintain Field Mapping and Conversion Rules//LSMW

    Hello Friends,
    I want to add new fields in the step.no.5(Maintain Field Mapping and Conversion Rules).
    Indetail i'm going to upload the GL balances, for DR and CR line item fields are same so system is not accepting the same field value, so i have added 1 for the CR line item fields like in the below example.
    BSEG-WRBTR(Dr line item)
    BSEG-WRBTR1(Cr line item)
    but BSEG-WRBTR1(Cr line item) field not displaying in the step.no.5 to mapping to source field.
    please let me know the solution for this.
    thanks
    swapna.

    Hi,
    I would like to ask few questions.
    1. Are you using batch input recording or using any program for uploading. (through LSMW)
    2. Whether all your debit or credit line items are same every transactions. I believe they should be same, because you are uploading the balances.
    You should not have two similar fields for example, if it is WMBTR, then again WMBTR should not be there, it should WMBTR1 and WMBTR2. Make sure you have done the field mapping properly. When you have done the field mapping all the fileds must have been mapped. If any one of the fields are not mapped, then it will not be uploaded.
    Please see the following LSMW sample guide:
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Maintain Object Attributes Do the recording - Make sure that you do not have two fields with the similar name. If you have two fields with the same name double click on the field name and add1 or 2 to differentiate between field names. Just Copy those fields and descriptions in excel sheet, delete the blank lines, then in excel data => text to columns, your field names and descriptions will be now in two columns. Copy them, then put your cursor on the next sheet, then edit => Paste Special => Transpose, all the columns will become your rows. Now your file structure is ready. Maintain Source Structures Give some unique structure name and description Maintain Source Fields Here you add the fields that are being used in EXCEL first sheet, just copy them and make all the fields as C (Constant) and then give length of 60 for all fields. Maintain Structure Relations Though structure relations are already created just go to this step, click on edit, then click on create structure relation, just accept the message stating that the structure relation has already been created. Maintain Field Mapping and Conversion Rules Do the field mapping for all the fields, all the fields willl be stretched and you will see five rows against each row. In case if there is any row that has NOT stretched means, there is something wrong in the mapping. Maintain Fixed Values, Translations, User-Defined Routines There is nothing to be done at this step. You can simply ignore this. Specify Files Make you must have saved your excel file as .txt (before saving make sure you have copied data from sheet2 to sheet 3 and then sheet 3 is saved at tab delimited file. Text (Tab delimited) Select your file, make SURE that you have select "TABULATOR" radio button and say OK. Assign Files Go to this step and click on Create assignment button and accept the message and say ok. Read Data Remove two check boxes and just click on execute button. See the log. Make sure you have number of entries (lines) in your excel file are matching with this. Display Read Data Display data give 1 to 999 lines and double click on one of the line and see whether fields are mapped correctly are not. Convert Data Execute and see the log match the number of entries. Display Converted Data Display converted data, give 1 to 999 and double click on one of the line and see whether fields are mapped correctly or not. Create Batch Input Session Check on Keep Batch Input sessions check box, then execute. If you select that check box, even after execution it will be there and you can analyze what happened. Run Batch Input Session (Takes you to SM35) Go to SM35 select the batch and click on process button (execute), make sure you have checked right hand side first three check boxes and FOREGROUND (because you want to save what it is creating) Say OK Keep on press ENTER on your key board in order to move the session further. If you follow these steps along with the guide, surely you should be successful. There may be small difference between the file and what I have explained but ultimately the purpose is same. Hope this is useful and let me know in case if you have any issues.
    Regards, Ravi

  • EMIGALL Field Mapping

    Hi,
    I am new to using EMIGALL. I have one query:
    Where does the field mapping takes place in EMIGALL? Like in LSMW, we maintain the field mapping by mapping source and target fields. How is the same done in EMIGALL?
    Thanks,
    Sachin.

    Hi,
    please see the very detailed description of the auto-structure and the migration object. The process differs for each structure, but in most cases it is quite similiar to the LSWM. You can defibe pre- and postprocessing code where additional conversion might be done, the fields which will be expected in the input file by the EMIGALL are listed when you click on the auto-structure.
    KR
    Uwe

  • QA: Designer's operation to Add one more Field to display in Query Result Web Part

    QUESTION ABOUT Query Result Web Part presentation +1 Field
    I'd be looking at a property of Web Part to look up Discussion Board through Query Result Web Part. Currently it displays 'Title' column of Discussion Board, and my caring requirement is presentation customization to hold double
    columns of 'Title'+'Updated Date'. How could I add one more field 'Updated Date' to display in addition to that preexisting 'Title' field?
    Any procedural steps to realize how to add Filed to display in Query Result Web Part?

    Hi Yoshihiro,
    As I understand, you want to add the field to display in Query Result Web Part in SharePoint 2013.
    Which web part does you use? Content query web part or search results web part?
    If you use search results web part, you could edit the discussion board result template and add the updated field in the template.
    You could go to Design Manager: Edit Display Templates (site setting-> look and feel->design manager->edit display template), download the Discussion Item.htm file, and edit the file. 
    After editing, upload the file.
    The articles below are about how to modify an existing Display Template in SharePoint 2013.
    http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
     If you use content query web part, you could edit the content query web part, in the Property Mappings section select the “Change the mapping of managed”, and add the “modifiedOWSDATE” (it means the last modified date) in the line, after
    that you could see the update date under the title.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problem in lsmw. step: display field mapping and conversion rule

    hi,
    The IDOC structure to be mapped is missing in step 5[lsmw using IDOC]. Hence target structures are missing in auto gnerated conversion program.
    As a result the the step Convert Data step is failing.[Converted data cant be generated]
    I am using standard BAPI charcteristics as my Basic Type.
    Anyone having idea why the target structure is missing??..

    The problem is solved....The field mapping was missing coz i didnt assign the target structure properly....

  • The mis-mapping problem when upgrading OWB from 11.1 to 11.2.0.2.

    Hi all,
    Our OWB ETL program was developed initially on OWB 11.1 platform.
    Then after upgrading it from 11.1 to 11.2.0.2, several mappings are mismatched in the deployment PL/SQL package as below:
    CREATE OR REPLACE PACKAGE BODY "MAP_PRODUCT_LIFE_CRT" AS
    CURSOR "T_T_PRODUCT_LIFE_c" IS
    SELECT
    /* T_PRODUCT_LIFE.T_T_PRODUCT_LIFE.INOUTGRP1 */
    "T_T_PRODUCT_LIFE"."INS_TYPE" "ORGAN_ID$1",
    "T_T_PRODUCT_LIFE"."START_DATE" "HOSPITAL_TYPE$1",
    "T_T_PRODUCT_LIFE"."END_DATE" "UNIT_FLAG$1",
    "T_T_PRODUCT_LIFE"."LIFE_RATE" "INS_TYPE",
    You can see that the field mapping is wrong! We have about 100 mappings, but only some of them go wrong.
    We have tried the Metadata Loader and Repository Assistant for the upgrading, but the results are the same.
    We have released all OWB patches on 11.2.0.2, but the results are the same.
    Please help on it!

    Hi David,
    Besides the mega patch 10185523, we also have applied other tens of patches, e.g. 10225308, 11671955, 11705023, 1768535, etc.
    Now we find that the wrong field mapping just appears in the row-based part of the mapping package. So if the set-based mode works well for the mapping execution, no error will happen. That's why we just found the problems in several mappings.
    And one thing is even worse. In the patched OWB 11.2.0.2 env., we tried creating totally new mapping. The result is the same: the wrong field mapping still appears in the row-based part of the mapping package.
    So this problem seems not related to the upgrading.
    Regards.

  • Sling mapping issue with Query String

    For a button component, URL behaves differently with query string. Please let me know the sling mapping example for query string.
    Button component behavior across env:-
    Working Scenario:-
    - In Author edit mode, URL pointing to "/content/<websitelink>"
    - In Author preview mode shows URL "<host>:<port>/content/<websitelink>.html"
    - In Publisher mode shows URL, "<host>:<port>/<websitelink>", we do not want "/content" before website link so it is fine.
    Failure Scenario with query string:-
    - In Author edit mode URL pointing to "/content/<websitelink>?username=han"
    - In Author preview mode with URL "<host>:<port>/content/<websitelink>?username=han"
    - In Publisher mode, <host>:<port>/content/<websitelink>?username=han - Here we see the content, which is not acceptable in our scenario.
    Please let me know the mapping changes when we have a URL with query string.

    1) I assume you configure as per the rules mentioned in http://sling.apache.org/site/mappings-for-resource-resolution.html --> 'Mapping Entry Specification' under /etc/map. Based on the configuration in /etc/map and the website that we publish, it translates and shows all the applicable combination in the Felix console http://<host>:<port>/system/console/jcrresolver.
    2) How does Adobe CQ 5.4 resolve the right mapping, if we have multiple map folder like below in /etc directory with the same website with different rules.
    etc/map --> http --> <website> with property sling:match, sling:internalRedirect
    etc/map.publish --> http --> <website> with property sling:match, sling:internalRedirect
    etc/map.publish-stag --> http --> <website> with property sling:match, sling:internalRedirect
    Kindly clarify.

  • EDI_DC40 empty in Field mapping

    Hi Friends,
    in LSMW when I come to the field mapping step I find the structure EDI_DC40 empty.
    I have entered Information for Partner types, Partner Number and Ports.
    Normally when I come to the step field mapping the structure EDI_DC40 is allready filed with values.
    Do I have to set defaults somewhere?
    Many tahnks.
    RG. Jimbob

    Hello,
             While processing the Idoc, it is required to maintain the Control Record Information for the IDoc.
             So, please maintain data for the Control Record such as Partner Information, Port Information etc.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • CUP - field mapping from request to SU01 for Accnt No worked only once

    CUP - field mapping from request to SU01 worked only once. I configured the Field Mapping for Account Number with Account Id. First request worked fine in DEV systems, 2nd and 3rd requests failed. Same thing happened in QA systems. Not sure whether the difference in SP on GRC and ECC is causing this. Any help is greatly appreciated.
    We are currentky on GRC 5.3 ABAP stack SP 14.0  
    and
    ECC - SAPK-53315INVIRSANH VIRSANH 530_700: Support Package 0015
    Any help is greatly appreciated.
    Thanks,
    Vish

    Hi Diego,
    Yes, we are on VIRSANH SP15  also VIRSAHR SP13 for SAP_HR . My connector type is SAP HR System, Version ECC 6.0.
    We are on GRC 5.3  Support Pack 14.0 . Our GRC 5.3 installation is running on ABAP stack.
    It is very strange that in QA client, SU01 got updated atleast 3 times with new account number , user group. Tried 4th time, did not work. In DEV client, it worked only once.
    Thanks,
    Vish

Maybe you are looking for

  • Recovery and Disk Image

    For those of you who have spent hours reinstalling the many programs that you have after a crash of you system, I would suggest buying an external drive that has disk imaging software.  Windows 7 comes with this feature. I was fortune enough to have

  • Does ACR 7 delete D800 profiles from ACR 6.7?

    I have a Macbook Pro and a Mac Pro, both of which are running, OS X 10.7.3, Photoshop CS5, and ACR 6.7rc1. On the Macbook Pro, the folders for D800 and D800E profiles are present, and the canned profiles for those cameras appear in the Camera Profile

  • Illustrator CS5 crushes at launch on OS X Yosemite

    Hi there, Illustrator won't launch at all, just the error window pops-up. Tried to reinstall Adobe Suite, tried to hold the command+option+shift button while launching the illustration which is supposed to do the trick on Maverick, tried to install J

  • Configuration of TC

    Hello everybody, I require you help for the configuration of my TC because since I upgraded to 7.3.1 nothing is working anymore. I will try to be precise ... although it is not very easy, I've been trying for hours to configure it and now I'm a littl

  • Migrating JSP from 11.5.9 to 11.5.10

    We are in the midst if migrating a customer from 11.5.9 to 11.5.10. The Oracle Application framework has changed in 11.5.10 and I am need to estimate the level of effort required for migrating 5 JSP customization from 11.5.9 to the new framework. I w