Same field two meaning

Hi all;
I need to create a custom data source which contains different fields from different table, I am trying to create a view for this. I have this issue: same field ID has different meaning in two tables and I can't use those two same fields into my view.
Field name 'POSID' has meaning in below;
table: IMPZ: Identification for an investment program position
Table: IMAK : Appropriation Request Number
My question is I need both field appropriation request number and Identification for an investment program..we have two seperate Info Objects for them in BW.
Kind help would be appreciated.
thanks.

Siegried;
That was helpful, so even I rename the viewfield, I will get the data from the table right? the other question I have is I am trying to activate the view and getting into this warnings:
All fields are evaluated as key field                 
Not all the base tables are linked with join conditions
The view ignores client-dependency of the base tables

Similar Messages

  • How to give two values of same field in read Statment

    Hi,
    Please Tell me how to give the two values of same field in read statements Condition.
    i.e
      Read table it_tab with key matnr = '1' or matnr = '2'.
    With Regards
    Kesavaperumal

    Hi Kesavaperumal,
    <li>You can not use OR operator with READ TABLE statement.
    <li>You have to use different fields of the internal table in where condition.
    <li>If you want to compare with two values, you need to use LOOP statement.
    LOOP AT it_mara WHERE matnr = '1' or matnr = '2'.
    "Write code
    ENDLOOP.
    Thanks
    Venkat.O

  • How join the two query block with same field

    sorry sir i am posting dublicate thread
    i thought you not understand my question
    sir i have two query block in report with same field
    i try the link object but that creat now block not creat link withen query block
    please give me idea
    thank

    Dear,
    Use data link object.
    Click at data link object then click on the fild in query block1 and drag it into the other query block data link will be created.
    try it

  • Using !format on multiple occurrences of the same field

    I'm trying to use the @if function to apply formatting to two occurrences of a field, but am not having any luck so far.  The specific example is that I have two check boxes on the template, and would like to have only one of them checked at a time, using the same field in my data file for both check boxes.  The field that I'm using in my data file is:
    ^field ACCOUNT_TYPE
    And the only two possible values for that field are CHECKING and SAVINGS.  On the first ACCOUNT_TYPE checkbox, I have entered the following !format:
    @(If("@_$_."=="CHECKING","X"," "))
    And on the second ACCOUNT_TYPE check box it is
    @(If("@_$_."=="SAVINGS","X"," "))
    The @if statement works fine when I apply it to only one of the check boxes, but when I apply it to both, nothing populates into the field.  A simple solution would be to change the data, but doing so is not an option in this case for me.  Any help or alternate solutions is appreciated.  Thanks!

    Hi
    I treid different combination keeping the same field name for two radio buttons but it didnt work. You can work out with an alternate solution , keep different name for two radio buttons say : JF07 & JF08
    And under JF07 for !Format event : @(If("@JF03."=="SAVING","S",""))
    And under JF08 for !Format event : @(If("@JF03."=="CHECKING","C",""))
    where JF03 is the field name which may have one of two value : i.e either SAVING or CHECKING
    So your form consits of 2 radio buttons ( JF07,JF08) and one field label JF03. In your dat file you have to refer to first radio button that appears first on the form i.e left to right or top to bottom.(So whatever radio button is appearign first in the sequence on the form from left to right use that radio button in dat file.Here its JF07)
    ^symbolset 108
    ^page 1
    ^field JF03
    CHECKING
    ^field JF07
    ==========
    ^symbolset 108
    ^page 1
    ^field JF03
    SAVING
    ^field JF07
    Hope this layman's altenate solution will give you a bit of relief.
    thanks
    jaY

  • Different fonts in the same field

    Is it possible to format a single field with two different fonts. I have concatenated two database columns to get this field. But I want different fonts for the two columns. I could achieve this by using a format trigger and placing some html tags. But this solution only works if the output is in HTML style sheets. It does not work if I want the output to be in PDF. Does anybody know how to achieve it in PDF? Is it possible at all (from what I have seen it isn't). I will be grateful for any help in this direction.
    Thanks
    Janaki

    Hi!
    Try this:
    Let say you have scott/tiger and emp-table and want to concatenate and print ename and job in the same field but with different fonts.
    1. In the Database model you have the columns seperate as usual.
    2. Create a boileplate text field and put &ENAME &JOB in this field.
    3. Select &ENAME and set the right font to it, set another font for &JOB.
    4. Run and test. This should work...

  • Duplicate entry check in Tb control with 6 same fields

    actualy i have made a table control with six same fields.
    batch1      batch2     batch3    batch4        batch5           batch6
    the data type of all fields is same.
    i want to assign a check for duplicate entries.
    the value entered in batch1 (say bgp000001). then it cannot be entered in any row or column of table control.that means this value bgp000001 cannot be entered again in entire table control.
    although i have been able to create a validation for table control current line.
    In PAI
    loop at i_packcase.
    FIELD I_PACKCASE-batch1 MODULE CHECK_CRTNO1_0107.
        FIELD I_PACKCASE-batch2 MODULE CHECK_CRTNO2_0107.
        FIELD I_PACKCASE-batch3 MODULE CHECK_CRTNO3_0107.
        FIELD I_PACKCASE-batch4 MODULE CHECK_CRTNO4_0107.
        FIELD I_PACKCASE-batch5 MODULE CHECK_CRTNO5_0107.
        FIELD I_PACKCASE-batch6 MODULE CHECK_CRTNO6_0107 .
    endloop.
    corresponding modules are coded as below:
    there is no check in field-batch1( as this is the first entry in table contrl)
    module check_crtno2_0107 input.
    if i_packcase-batch2 eq i_packcase-batch1.
       message v_duplicate type 'E' display like 'I'.
    endif.
    endmodule.
    module check_crtno3_0107 input.
    if i_packcase-batch3 eq i_packcase-batch2
            or i_packcase-batch3 eq i_packcase-batch1.
            concatenate 'CASE'  i_packcase-batch3
            ' ALREADY ENTERED' into v_duplicate.
            message v_duplicate type 'E' display like 'I'.
    endif.
    endmodule.
    similarly field-batch6 is checked against all previous 5 fields
    this works only for current line of table control.
    *now i want to extend this check to all lines of table control.

    Hi,
    Save the entries of each row and column into an internal table containing one field (fieldx)  the required data type. Delete adjacaent duplicates for the internal table. If successful, give error message as required.
    Loop at i_packcase.
    itab-fieldx = i_packcase-batch1.
    append itab.
    itab-fieldx = i_packcase-batch2.
    append itab.
    itab-fieldx = i_packcase-batch3.
    append itab.
    itab-fieldx = i_packcase-batch4.
    append itab.
    itab-fieldx = i_packcase-batch5.
    append itab.
    itab-fieldx = i_packcase-batch6.
    append itab.
    endloop.
    delete adjacent duplicates from itab comparing fieldx.
    if sy-subrc eq 0.
    ****appropriate error message****
    endif.
    Regards,
    Konda Sravanthi.

  • How to arrive same day two difference prices for same material/customer

    how to arrive same day two difference prices for same material/customer.pls give the solution
    thanks in advance
    Aravinthan.K

    Hi
    This is possible through some careful customization
    In your condition table you need to bring the field PRICE LIST
    That is customer/ Material/ Price list
    That is customer  ABCD / Material X / Price list 01---Price is Rs 10
    That is customer  ABCD / Material X / Price list 02---Price is Rs 20
    The condition records to be maintained like this
    So same material and same customer with price list 01 price is Rs 10 and with  price list 02 price is Rs 20
    Now in sales order you will find  price list field in item details SALES B tab
    Through incompletion log you can make this field as an mandatory field
    Now in sales order same material and same customer according to the price lists different price is picked
    In img-sd-basic functions-Maintain Price-Relevant Master Data Fields--here you can define different price lists
    Regards
    Raja

  • Pull more than one field into the same field in a report.

    I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
    In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be
    a count, within that same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
    My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
    The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
    need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
    Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?

    Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
    As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
    That is why I was trying to be generic.
    Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them
    to certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part.
    It is just getting them to then display as in my example that I am not sure how to do.
    The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
    Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
    Table Name: Certified
    Table's purpose: This table would list all people who had completed the course.
    Fields:
    CourseName
    CourseCode
    AudienceName
    AudienceCode
    CompletionResult
    EmpCode
    DepartmentCode
    Table Name: Available
    Table's purpose: This table would list all people who are assigned to the audience.
    Fields:
    AudienceName
    AudienceCode
    EmpCode
    DepartmentCode
    The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple
    as possible so you could just use it as a generic example.

  • Validate same field, same form, different actions

    Hi !
    I have the following problem. I have a single form with one field = sum and two buttons = withdraw and substract. I need to do the followings validations :
    a) sum must be an integer > 0;
    b) is substract is pressed sum < = existing account's value.
    Here are fragments from code :
    bank_operations.jsp
    <html:form action="/operations">          
         Sum (value): <html:text property="sum" />          
         <html:messages id="err_sum" property="sum">
              <bean:write name="err_sum" />
         </html:messages></p>
         <html:submit property="submit">     
              <bean:message key="button.withdraw" />
         </html:submit>
         <html:submit property="submit">     
              <bean:message key="button.substract" />          
         </html:submit><br>     
    </html:form>
    Here is SumForm
    public class SumForm extends ActionForm {
    private String sum;
    setters / getters
    public ActionErrors validate(ActionMapping mapping,
         HttpServletRequest request) {
         ActionErrors errors = new ActionErrors();
         if (!isNumeric(getSum())) {
         errors.add("sum", new ActionMessage("errors.sum.numeric"));
         request.setAttribute("account", account);
         } else {
         if (Integer.parseInt(getSum()) < 0) {
              errors.add("sum", new ActionMessage("errors.sum.numeric"));
              request.setAttribute("account", account);
         return errors;
    Here is the Action file :
    public class SumAction extends LookupDispatchAction { 
    public ActionForward withdraw()...
    public ActionForward substract()...
    Here is the struts-config.xml
    <action
    path="/operations"
    type="struts.action.SumAction"
    name="sumForm"
    scope="session"
    parameter="submit"
    validate="true"
    input="/pages/operations_struts.jsp">
                   <forward name="success" path="/pages/operations_struts.jsp" />
                   <forward name="failure" path="/pages/operations_struts.jsp" />
    </action>
    The problem is : If I know that only in the Action file I know which button was pressed , how can I made two different validation for the same field /same form , but different buttons pressed ? Or can I update validate method from SumForm file from the Action file? (where I can know which buttons was pressed).
    Thank for every your ideea !
    Forgot the details : it's about Struts2 . :)

    Thanks for your reply, but unfortunately I didn't get the idea. Where I should put that line? In the validate method of the form file?
    If this is the case, in page for <html:submit element what should I declare? I saw that something like id or name, I think is not supported by Struts. I'm not sure.
    Thanks again.

  • Combobox and UseLOV with the same field

    Hi,
    i want use a Combobox which Select a Field name and after make a UseLov with this field name.
    I can make the combobox with field name Column and i can separatly make a USELov with a field name, but i can't make it together.
    Have tried two things create a new Bean with one method which call theses two methods and i have tried call the two methods directly in the JSP on the same field.
    In each case the first method's call is ignored.
    Thanks
    Philippe
    null

    Philippe,
    To do this you'd have to implement your own control.
    Thanks
    Blaise

  • Foreig Keys to different tables on the same field

    Hi, respected Oracle Techs.:
    My question is:
    Is there a way to reference a field by Foreign Keys to two or more tables' keys in an mutually exclusive way? For example,
    TABA.FIELDA references to TABB.FIELDA and exclusively,
    TABA.FIELDA references to TABC.FIELDA, it means:
    if child TABA.FIELDA does not exists in parent TABB.FIELDA it MUST exists in parent TABC.FIELDA and viceversa.
    'One child looking for his existing parent...'
    Thanks in advance.
    LEONARDO.

    Although I agree that combining tableB and tableC is probably the best way to go, if there is some really good reason that this cannot happen, you can use a trigger on tableA to enforce this rule. Something like:
    CREATE OR REPLACE TRIGGER tableA_ref
    BEFORE INSERT OR UPDATE ON tableA
    FOR EACH ROW
    DECLARE
    l_isfound NUMBER(1) := 0;
    BEGIN
       BEGIN
          SELECT 1 INTO l_isfound
          FROM tableB
          WHERE fielda = :new.fielda;
       EXCEPTION WHEN NO_DATA_FOUND THEN
          BEGIN
             SELECT 1 INTO l_isfound
             FROM tableC
             WHERE fielda = :new.fielda;
          EXCEPTION WHEN NO_DATA_FOUND THEN
             NULL;
          END;
       END;
       IF l_isfound <> 1 THEN
          RAISE_APPLICATION_ERROR (-20001,'Referential Integrity Check Failed');
       END IF;
    END;The example assumes that fields unique in both tableB and tableC.
    TTFN
    John

  • Pulling more than one field into the same field within a report.

    I posted this in the T-SQL forum, but it was suggested it may be better to post it here. This is somewhat complicated, so I hope I am explaining this well. I will post here what I posted there. I will also include two replies I gave in offering further information
    in case that may help to further clarify my question. See below:
    I am attempting to put together a report in Visual Studio 2008. It seemed a simple report at first, but as I am creating the SQL, I am having a little trouble conceptualizing how to get it to work exactly as needed. Here is the issue...
    In this case, the report should show two rows for each department. One is the count of who within an audience (that will be set up as a parameter) completed a certain course (the course may also be a parameter). The next row should be a count, within that
    same department, of all users within the audience. Both counts should be within the same field on the report, but on different rows.
    My thought was to create two CTE's. One would contain the counts, by department, of everybody in the audience. The other would contain the counts, by department, of those within the audience who completed the given course.
    The problem is, though, I need to then have these two counts by department on two separate lines, and they should be within the same field. Basically, the idea is they are the numerator and denominator. There would also be a field before the count that would
    need to identify which one it is. For the sake of the example, call it "Measure_ID" and it would say "CourseCert" for the count of who completed the course and "CourseAvail" for the count of those who are part of the audience.
    Let me know if that makes sense, or if I can provide any further clarification to help you better understand what I am trying to achieve. Does anybody have thoughts on how to do this?

    Unfortunately, the counts need to be in separate rows. If they could be in the same row, it would have probably been a lot easier. I think I could have just done a couple "Case When" type formulas within the list of things under "Select."
    As it is, I need the two counts to show up under the same heading in separate rows. Unfortunately, the table structure of this database is very complicated. I think it would likely just further confuse things if I tried to share all of that detail here.
    That is why I was trying to be generic.
    Unless there is another easier way I am missing, I was thinking the easiest way to achieve what I needed was to use two CTE's. One would list all users by department who belong to a specific audience (the audiences are what we use to then assign them to
    certain courses, so the audience would be the people who are required to complete a certain course). The other would list all user by department who are in that audience and have completed a particular course. I think I am fine to complete that part. It is
    just getting them to then display as in my example that I am not sure how to do.
    The desired result, as you see in my example, has two lines per department, the first being a count of those who completed the course ("Certified"). The second line being a count of those who are required to complete it ("Available").
    Does that help? I was basically hoping somebody had an example they could use, just with fake table names so I could adapt it to my data. If it helps, though, let's pretend the two CTE's are like this:
    Table Name: Certified
    Table's purpose: This table would list all people who had completed the course.
    Fields:
    CourseName
    CourseCode
    AudienceName
    AudienceCode
    CompletionResult
    EmpCode
    DepartmentCode
    Table Name: Available
    Table's purpose: This table would list all people who are assigned to the audience.
    Fields:
    AudienceName
    AudienceCode
    EmpCode
    DepartmentCode
    The desired result would then count the EmpCodes, by department, from each table in that Measure_Amount field so it could display as I showed above. Does that make sense? I apologize if that does not help to clarify. I was trying to be as simple as possible
    so you could just use it as a generic example.

  • Multiple Filter on same field in sharepoint list

    Hi All,
    I had a SharePoint list with Product Code(single line), Product Name(single line), Phase(single line).
    Product Code
    Product Name
    Phase
    101
    abc
    P-I
    102
    def
    P-II
    103
    ghi
    P-III
    104
    jkl
    P-I
    105
    mno
    P-II
    106
    pqr
    P-III
    107
    stu
    P-I
    108
    vwx
    P-II
    109
    yz
    P-III
    110
    aab
    P-I
    Generally we can filter single value(P-I r P-II r P-III) on view with single value.
    i need an filter on "Phase" column by Two valuse on "P-II" and "P-III"
    Product Code
    Product Name
    Phase
    102
    def
    P-II
    103
    ghi
    P-III
    105
    mno
    P-II
    106
    pqr
    P-III
    108
    vwx
    P-II
    109
    yz
    P-III
    Filtering with Multiple Values on same field.
    Default, its supports up to ten values for filtering on one field, but i need more than 10 values..
    How can i achieve this..
    Advance Thanks..
    NS

    Hi NS,
    The "Filter" function could only filter 10 columns by default in list view page ViewNew.aspx and ViewEdit.aspx, the value 10 is hard-coded in these two pages which are located at  C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS,
    you can look at and increase all the value 10 realted to Filter function, this will make viewnew.aspx and viewedit.aspx show more than 10 filters.
    Please firstly back up the orginial files viewNew.aspx and viewEdit.aspx page for a recovery if the file is corrupted by modifying, and do this test in a testing SharePoint environment before touching the production, this modification will affect to all
    the SharePoint lists viewNew and ViewEdit page.
    Also note that these modifications in the original file may be removed by the SharePoint CU or Service Pack. 
    Thanks
    Daniel Yang
    TechNet Community Support

  • Query for listing several values in same field

    Hi,
    is there a function for listing more than one value in the same field, only with comma seperation?
    For example, I want to group by cardcode from ORDR and list all docnum's like this:
    Cardcode    Docnum's
    21355          98765, 95498, 95164
    21564          95484, 54684, 95654, 98465
    21865          95484, 12486
    Kind regards
    Kjetil Sandvik

    HI,
    Thank for your replies.
    We need to update all old orders for sure, but my idea was to use this query:
    Select CardCode, COUNT(Address2) From ORDR Where Docstatus <> 'C' GROUP BY address2, cardcode order by cardcode, address2
    The results will give me two lines for each customer and count the addresses, so then I know that the count of one of the lines must me changed. Let's say there is 20 orders with new address and 20 orders with old address, my intention was to manually change the 20 orders that is old. Instead of checking all 40, It would help alot to list all order numbers in a column beside in the query.
    BR
    Kjetil

  • Sales order and return sales order in the same field

    Hi Everybody,
        I have sales sales order and return sales order in the same field ,how can i separate these two orders in the report.
    Your suggestions are appreciated
    Warm Regards
    Shreya

    Both are sales documents and should be separated by document type....i assume that all the documents are sotrd in the same infocube and if you have tha document type characteristic you can separated them directly in a report
    Regards

Maybe you are looking for

  • Adobe Photoshop CS3 crashes when I shut it down

    i recieve this error report Process:         Adobe Photoshop CS3 [2115] Path:            /Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app/Contents/MacOS/Adobe Photoshop CS3 Identifier:      com.adobe.Photoshop Version:         10.0 (10.0x200

  • Oracle.xml.parser.v2.XSLException: XSL-1045

    I'm trying to migrate from 8.1.6 to 8.1.7. In 8.1.6, I have a working java stored procedure that implements an extended namespace in XSL. I deployed the same working code in 8.1.7 and got the following error. processor.processXSL(styleSheet,xmlDoc)>>

  • Import This option is currently not Available?

    I just signed up for the standard plan, expecting to use this import feature, only to find that even though it is advertized as part of the plan, it is not yet available????? Okay, bait and switch?  :-0  How soon?  ETA???

  • Adding 2 variables to one Infoobject

    Hello Experts,                     I want to add an additional variable (customer exit) to an infoobject for which already one variable (user entry/default value) is existing. When I try to add the customer exit variable system is not allowing to add

  • EPub file that works elsewhere getting error in iTunes producer, error items-9000

    I'm trying to upload an epub file to iBookstore with iTunes Producer. It's an epub file that's uploaded elsewhere with no problems. I am getting this error message ERROR ITMS-9000: "Unable to analyse: chap07.html" at Book (MZItmspBookPackage). Would