Can a characteristic be made a constant value in the transformation

Hi
Therer is a req where i am picking 3 kf from 3 diff tables  and out of that 2 tables have documnet type and one table doesnt have that..so now when i am running the query on that the kf which dint have a document type characteristic is not able to pull in the relevent data  and it showing only '0'  but the other 2 kf which had the document type characteristic is able to pull in the relevant  data..
but the user wants to drill down the report using the document trype..is there any way in making a constant value to pop up automatically in that table..so that it can pick up and that particular table has only one  document type.
Please suggest me with a solution
Regards
Shilpa

Hey Shilpa,
You can assign some constant value in your transformations for the docuemnt type coming from the first table (hope you have diff transformations for both). This way your kf will be accompanied with doc type and will show in query output.
Hope it helps...
Regards,
Ashish

Similar Messages

  • Constant values to the target field

    Hi friends,
    how to assign three constant values to the target field in XI..?
    like :
    constant--->Trget field.
    There is one target field but 3 constant values have to be assigned....
    is it thr FixValue fuction..?
    Regards
    Sam

    Hi,
    Goto MM Editor
    Conversion --> FixValues
    Double Click
    Fill in the "Key" "Value" pair as per u r requirment
    Key          Value
    A                R1
    B                R2
    C                R3
    So from Source structure A comes it gets R1 in target
    hope this is helpful
    Srini

  • Can a subreport select records based on values in the main report record?

    Post Author: calvin
    CA Forum: General
    Perhaps my understanding of a subreport is incorrect as this is the first time I've used one, but it seems to me that the subreport should be able to use the values from the main report record in its (the subreport's) operations-but my subreport doesn't seem to be working that way.In my main report, I select a set of records from a 'request' table. I have a subreport in the detail section so the subreport is processed for each of the request records. That works, but I'm simply getting the same data reported multiple times. It's as if the subreport only uses the last request record rather than the current one. Stating it this way I can see that the problem might be evaluation time-it's processing the request records first, then processing the subreport, and only then printing everything. If this is correct then putting WhilePrintingRecords on the subreport should work-but the only way I know of to do that is in a formula. Can I call the subreport from a formula? Or am I totally off-track?Thanks.

    Post Author: foghat
    CA Forum: General
    Have you established a link(s) between your main report and subreport?When viewing the main report, click edit --> subreport links and link the 2 based on whatever values from the main report you want.

  • How to make restriction for the description of value in the transformation

    one infoobject AAAA which has value T001, T002, T003...
    the description of value
    T001 - Heywemay
    T002 - Heyrtya
    T003 - Tyuatyew
    I need to make routine in the transformation, when the description of value that contains "Hey", then we need to load it into infoprovider, otherwise we need to delete data package. Now the issue is  the filed in source is only Key, not description. But, we had maintained the description for infoobject AAAA. Anyboady know how to make restriction in the transformation, ?
    that means we only need to load data into infoprover once the description of value that contains "Hey". Should I add field 0TXTMD into infoprovider and make the link from infoobject AAAA? Thanks for any input.

    Hi,
    Write the Start routine to delete complete data packet whic won't have "Hey".
    DELETE SOURCE_PACKAGE WHERE TXTMD NP '"Hey'.
    If  you want load the data with blank for that InfoObejct if it won't contains "Hye".
    Write this code at TXTMD infoObejct level.
    if  SOURCE_PACKAGE-TXTMD NP 'Hey' .
          RESULT = ' '.
      elseif SOURCE_PACKAGE-TXTMD CP 'Hey' .
          RESULT = SOURCE_PACKAGE-TXTMD.
      endif.
    Note: In the above code I'm giving logic to do the same, but for code corrections please check with ABAPer.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Aug 12, 2009 10:48 AM

  • How can i fix a member for a dimension in the transformation file?

    Hello everybody,
    anyone knows how can I fix a dimension member using the *mapping section of the transformation file in a data upload, I´m trying to fix the member for the Category dimension, I´ve tried an instruction like:
    *MAPPING
    *CATEGORY=ACTUAL
    but it doesnt work, any idea?
    thanks!

    The easiest way is to use the folloowing in the Transformation file:
    Category = *newcol(Actual)
    Hope this jelps.

  • How can I get scripting access to color values in the indexed Color Table?

    Hey all,
    I'm relatively new to Photoshop scripting, but I've just finished a script that helps my fiance with some very tedious tasks related to textile design.
    The last issue that I'm having is that the image I start with is indexed and has a very specific Color Table pallete ( 2-12 colors max + black and white, so 14 max total, sometimes as few as 2 ). Part of my script, I create a number of color chips and fill them with black currently... What I'd like is to be able to get a count of the colors in the Color Table and put the actual color values as hex into an 1 dimension array, so that I fill those black chips I've made with the actual colors from the Color Table.
    ( I don't know if it makes a difference but I'm converting the image to RGB mode at some point in the script, and back to Indexed Exact ).
    Can anyone please help me do this? Needs to be compatible with CS5 and CS6 ideally.
    Thanks!!

    Cheers for that, your code works but what had thrown me was that the collections appear to be empty - so I hadn't actually tried retrieving one, I just assumed I was looking in the wrong place.
    So if I do this in my Immediate window:
     App.Current.Resources.Count
     0
    Yet when I request it, I get one:
     App.Current.Resources["TitleTextStyle"]
     {Windows.UI.Xaml.Style}
         base {Windows.UI.Xaml.DependencyObject}: {Windows.UI.Xaml.Style}
         BasedOn: {Windows.UI.Xaml.Style}
         IsSealed: false
         Setters: {Windows.UI.Xaml.SetterBaseCollection}
         TargetType: {Name = "TextBlock" FullName = "Windows.UI.Xaml.Controls.TextBlock"}
    Looking at the resources object itself, I get similar apparently empty collections:
     App.Current.Resources
     {Windows.UI.Xaml.ResourceDictionary}
         base {Windows.UI.Xaml.DependencyObject}: {Windows.UI.Xaml.ResourceDictionary}
         Count: 0
         IsReadOnly: false
         Keys: Count = 0
         MergedDictionaries: {Windows.UI.Xaml.DependencyObject}
         Source: null
         ThemeDictionaries: {Windows.UI.Xaml.ResourceDictionary}
         Values: Count = 0

  • What is the meaing of the sysmbolic constant value in the header file for UIR file and how they are used

    In labwindows after creating the uir then header file is create automatically. There it has define some symbolic constant. As examples of colview.h(from the examples of labwindows )
    #define  MAINPNL              1       /* callback function: MainPanelCB */
    #define  MAINPNL_RESULTS      2     /* control type: table, callback function: ResultTableCB */
    #define  MAINPNL_NEWTEST     3       /* control type: command, callback function: NewTestCB */
    My question is how these values 1, 2 and 3  were selected and how they are used in programs ?
    If anyone explains, it will be a great help.

    When creating a UIR file, CVI editor takes care of assigning constants to the panels / controls you create in it.
    The conceptual framework is the following (assuming to treat the file you have reported in your message):
    - Within a single UIR file all panels have a unique ID, which is the one you pass to LoadPanel when loading a panel into memory. LoadPanel (0, "myfile.uir", MAINPNL); is then translated to panelHandle = LoadPanel (0, "myfile.uir", 1); , that is: "load the first panel in the uir file". The panel in memory is then assigned a handle, which is guaranted unique by the OS and saved in panelHandle variable
    - Addressing a control in a panel is done e.g. using SetCtrlVal (panelHandle, MAINPNL_NEWTEST, xxx);  , which again is translated to SetCtrlVal (panelHandle, 1, 3);  that is: "Set control #3 in the panel identified by panelHandle to value xxx".
    You must not modify the include file associated to the UIR as it is fully maintained by the IDE and is rewritten each time you save the UIR file.
    That conceptual framework has some advantages and some caveats:
    - You can load the same panel more then once in your program: each instance is independent from the others as each panel handle is unique; in some occasions it may be helpful, e.g. if you need to handle several identical equipments connected to your PC and you can load the same control panel for each unit connected maintaining each of them independent
    - If the panel handle is wrong, the system does not warn you of this as it does not know of the symbolic names you are using; if you try that SetCtrlVal command with a wrong handle you are trying to manipulate a control on a panel different from the one you intend: supposing actual panel idientified by the handle has control #3 the maximum you can expect is that you receive an error in case you pass e.g. a string to a numeric, but if controls are of the same type you have no errors or warning at all! This is particularly important when addressing controls on pages of a tab control: each page is really a separate panel with its proper handle that you must retrieve with GetPanelhandleFromTabPage command before addressing the controls on it
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Mapping constant values to the target data source columns

    Hi
    A Target data source has only two columns(RPT_NAME, RPT_LEVEL) and both of them are constants and mapped as follows
    WITH TEMP1 AS
    (select 'AS' as A from dual
    union
    select 'IS' as A from dual
    union
    select 'ED' as A from dual
    select t.A as RPT_NAME, 'INV' as RPT_LEVEL from TEMP1 t
    Here there is no source tabel involved for mapping and gnerating a from query.
    Kindly let me know hoto map this table.
    Thanks

    Hi Amit
    Is there a way we can create an intermediary staging table or model or view in ODI itself, the business requirements are such that the source and the target databases cannot change/include any other view or table .
    Thanks

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Can I sell books made with iBooks Author in the UK iTunes store?

    Hi all,
    I'm a UK-based musician who publishes a range of tuition books on playing the bass guitar. I've spent the last few months devleoping one of these books in iBooks Author, and the end results are really impressive. I submitted the book to the iTunes store last week (after setting up a US Tax ID etc) and it was approved in the US store yesterday. Here's a link to the relevant page:
    http://itunes.apple.com/us/book/bass-players-guide-to-scales/id534940432?mt=13
    My question is, is there any way I can make this book available to customers in all countries? I filled in all the info/pricing etc for all countries when I uploaded the book, but it's only approved for sale in the United States so far. Is there just a delay in the other stores being approved or can it only be the US for textbooks? I notice that the UK iTunes store does not have a textbooks category. Am getting worried now that I shouldn't have put it in the Textbooks category, although I don't remember being able to choose another option.
    Any help greatly appreciated!
    Cheers
    Stuart

    It is possible to publish books created in iBooks Author outside of the US. They will just not be able to appear in the Textbooks category as it's currently a US only category.
    I can see in the UK store that you've got two editions of the same book for sale. One has screen grabs and is clearly filled with iBA features for £9.99 and the other at £6.49 with no preview images which I assume is in standard ePub format - both are in the Arts & Entertainment -> Music category.
    Congrats!

  • SQLLOADER command: how to "||" constant value to the field

    In SQLLOADER control file, how do I CONCATENATE a constant on the loading field like the update statement in SQL
    update table_A
    set col_1 = "RULE" || col_1 || "; DALDAL"
    I did
    DESCRIPTION REF(CONSTANT 'RULE ', DESCRIPTION, CONSTANT 'DALDAL'),
    or
    DESCRIPTION CONSTANT 'RULE ' || :DESCRIPTION || CONSTANT "DALDAL',
    both give me error.
    Any idea. I'm trying to avoid run update table statement after the load.

    Try..
    DESCRIPTION "'RULE ' || :DESCRIPTION || 'DALDAL'"
    .....Example...
    SQL> desc t;
    Name                                      Null?    Type
    NAME                                               VARCHAR2(200)============Control File======================
    LOAD DATA
    INFILE *
    REPLACE
    INTO TABLE T
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    NAME "'Mr.' || :Name || ' Jr.'"
    BEGINDATA
    Rajesh
    {code}
    After load...
    {code}
    SQL> select * from t;
    NAME
    Mr.Rajesh Jr.
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can't apps be made for different themes on the itouch?

    As you can see, the itouch has a very dull background that not only seems to drive us crazy, but makes users want to jailbreak their ipod

    Apple at this time does not allow apps to have such control. Whether Apple will ever allow theme-type applications to be developed I cannot say, but I doubt it. Apple has never been willing to allow much control over the interface elements in any of their operating systems.

  • Please help!!! This expression must have a constant value

    I try to work with cfc and cfinvoke and not sure why I got this error. Searched
    in google for answer but still don't get any. Can anyone help please...not sure where
    I had it wrong...I thought my codes should work (?)
    When a form is submitted I have this codes in formaction.cfm, I captured all the form fields in a structure:
    <CFSET st_Registration = {Salutation="#Trim(Form.Salutation)#", FName = "#Trim(Form.FName)#", MName = "#Trim(Form.Mname)#",LName =  "#Trim(Form.LName)#" .......etc }/>
    Then I set all the required fields:
     <CFSET ReqFields ="Salutation,FName,LName,Addr1,City,State,Zip,Country,Phone,Email,username,password">
    <!--- Then send the structure and req. fiels list to a function located in a component to verify required fields ---><cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()> 
    <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration = "#st_Registration#" RequiredFields ="#ReqFields#" returnvariable="VerifyResult">
    <CFIF #VerifyResult# IS "">
    <cfdump var="#st_Registration#">
    <CFELSE>
      <CFIF #st_Registration["Country"]# IS "USA">
    <CFINCLUDE template="registration_ret.cfm">
      <CFELSE>
    <CFINCLUDE template="registration_other_ret.cfm">
      </CFIF>
    </CFIF>
    <!--- Below is part of the component with the function for checking required fields --->
    <cfcomponent displayname="VerifyInputData" output="false"> <CFFUNCTION name="Init" access="public" returntype="any" output="false" hint="Returns an initialized component instance.">
     <!--- Return This reference. --->
     <cfreturn THIS />
     </CFFUNCTION>
     <!--- Verify required fields --->
     <CFFUNCTION name="Verify_ReqFields">
     <cfargument name="st_Registration" type="struct" required="true">
     <cfargument name="RequiredFields" type="string" required="true"> 
    <!--- check if req. fields are blank --->
     <CFSET ErrorList = "">
     <cfloop collection="#arguments.st_Registration#" item="KEY">
     <CFIF #Trim(st_Registration[KEY])# IS "">
     <CFSWITCH expression="#Trim(KEY)#">
     <CFCASE value="#arguments.RequiredFields#">
     <CFSET ErrorList = ListAppend(ErrorList, "#KEY#")>
     </CFCASE>
     </CFSWITCH>
     </CFIF>  
    </cfloop>
     <CFRETURN ErrorList >
     </CFFUNCTION>
      </cfcomponent>
        Here is the error:  
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    This expression must have a constant value.
    The error occurred in C:\Inetpub\wwwroot\AirBucks\registrationaction.cfm: line 55
    53 :                              
    54 : <!--- Verify required field based on the required list set above --->
    55 : <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    56 : <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration = "#st_Registration#" RequiredFields ="#ReqFields#" returnvariable="VerifyResult">
    57 :      

    Thank you and I'll change my codes.
    When I did the following, I still get the same error.
    Isn't it CreateUserInfo is the object?
    <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    <CFSET VerifyResult = CreateUserInfo.Verify_ReqFields(st_Registration, ReqFields)> 
    Using cfinvoke used to work.
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    This expression must have a constant value.
    The error occurred in C:\Inetpub\wwwroot\AirBucks\registrationaction.cfm: line 54
    52 : <!--- Verify required field based on the required list set above --->
    53 :
    54 : <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    55 : <!---
    56 : <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration

  • Debug - Replacing constant values

    Anyone know if there is a way to replace a value in debug of a data item declared as a constant ?

    The problem is, I have a submit of another abap in the debugged program, one of the parameters for this submit is the user which is being set with a constant value.  The user in the constant value, does not have appropriate authorisation to perform the task in the submitted program, so I wanted to be able to change it in debug. 
      SUBMIT ZBXXXXXXXX
             USER C_USER <--- constant value containing user
             VIA JOB P_JOBNAME
             NUMBER  P_JOBNUM
             WITH P_KEY IN INDEXKEY
             WITH P_JOB EQ P_JOBNUM
             AND RETURN.
    If I can't change the value of C_USER then I don't think I can easily change the user being used to call the submit without changing the program.
    any suggestions ?

  • Setting default values at the start of a process

    Hello
    I need to set some constant values to the attributes in data object as soon as start event of a process is triggered.
    How can I do that?
    Regards
    Vidyadhar

    Vidyadhar,
    Follow the below procedure to set Default Values
    1.Right Click on Start Event select Properties
    ->Goto Output Mapping Tab
    ->Double Click on Element on which you want to give Static Value
       and enter the value with double codes for eg: "Name"
    Make sure that this element value should be  has a Input to the next level.
    Thanks
    Srikanth

Maybe you are looking for

  • 3rd party report

    Hi Experts, I am looking 3rd party report for sales order. we plan to run every week 3rd party report for the sales order.It's there any standard report is there or can you please provide how to create SQVI report for 3rd party. Thanks and Regards, D

  • Ask a question About B1 appevent

    Hello! everybody My name is Solution In B1_SDK there is a appevent event(aet_shutdown),the event can touched off when I developed(debug) a solution ,but I created .ard and .exe install file ,after ADDON ,The event can't touched off ,WHY?             

  • Updateing  table model

    when the complet table model is changed (numbers of colums, rows, data) is there a way to show that on screen. example: JPane pane = new JPane; JTable table1 = new JTable(model1); pane.add(table); contentPane.add(pane); // now the mode1 is changing m

  • Confirmation cancel

    hi iam have confimered the order ,after that i have cancelled confirmation of the  the operation,but in co02 still dlv stauts is there and in Delivered tab qty is there.and stcok is there .but in co14 i chekced the confirmation cancel goodsmovemnet t

  • Dynamic XML PDF crashing out in Windows 8

    Hi all - I created a PDF using LiveCycle Designer, saved as a dynamic XML form.  The form works perfect on any Windows 7 machine I have ever tested against, on machines using Acrobat reader X, XI, and all Pro versions (I've been building these types