To Join two SAP fields into one info object

Hi All,
Can you please suggest the best method to concatenate values from two R/3 fields into one info object master data table?
The requirement is to create a Sales report where I need to report on sales against  sales type.
Sales type is a list of joint values of item category ( 0ITEM_CATEG) and bill type (0BILL_TYPE).
So, I need a list of all item categories and billing types in a single object and report sales value against it.
Please suggest.
Thanks,
Sharmishtha

Hi Venkat,
In DSO any case you will not be having more than 16 Keys. I am surprised seeing requirement of more than 16 keys, but anyways you need to go with some workaround.
You can concatenate multiple Fields and map to one Dummy InfoObject which will be Key in DSO so in actual you have more than 16 Keys but have 16 Keys in system.
But analyze requirement in detail because this will increase data redundancy and time for load will get increased.
Also for new issues start new discussion otherwise people will not able to help you in this forum.
Regards,
Ganesh

Similar Messages

  • Combine two date field into one timestamp field

    Hello all,
    I need help combining two date fields into one timestamp field.
    I have separate Date and Milliseconds fields and want to
    combine to one Timestamp field can some suggest sql???

    This is my data
    01 JAN 1989 12:01:00.001 AM
    this is my insert drag_time is a timestamp field in another schema
    INSERT
    INTO DRAG (drag_time)
    SELECT to_char(drag_time, 'DD MON YYYY HH12:MI:SS')||(drag_second)||to_char(drag_time, ' AM')
    FROM sa.drag;
    This is the error
    ERROR at line 3:
    ORA-01855: AM/A.M. or PM/P.M. required

  • Where did the possibility to join two smooth endpoints into one go?

    I used get a dialog box when joining two overlapping endpoint, that is if they truly were on top of each other. I would get a dialog box when selecting two endpoints and pressing cmd+j where I could choose either smooth or corner.
    Now in Illustrator CS6 I do not get any dialog box no matter what I do and it always joins the two endpoints as corner even thoug they both started out as smooth - that is had both their arms. Is there another way to do this now?

    Well ... since I use "Average and join" all the time and very seldom only "Join" I just switched the shortcuts, so now Join has the 4-keys shortcut.
    Actually I can't think of a time I needed the corner join. Most of the time I use Pen Tool, and join paths with that, and with corner joins I just remove any excess points, but with more difficult smooth path constructions I find I often need the smooth join.
    I never figured why one can't select more than one arm like you can select more than one point ... it would make altering symetric paths symetrically so much easier.

  • How to concanete two text fields into One in Report?

    Hii,
    I have used two charactersitics - ZLTEXT1 and ZLTEXT2 which is an attribute of Master - Zobject.The character length of ZLtext1 and ZLtext2 are 60.Both these objects carry long text description entered in R/3 which is off 100 characters and i have extracted in BW using two infoobjects.How do i concatenate both these objects in report so that the text description gives a meaning.
    Regards
    Nethaji

    Hi Nethaji,
    Did you have a look at these blogs by Eugene Khusainov.
    Long texts in SAP BW: Modeling
    /people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
    /people/sap.user72/blog/2006/06/03/long-texts-in-sap-bw-modeling-150-follow-up
    Long Texts in SAP BW: Displaying in BEx Analyzer. Introduction to Excel Workbooks Formatting
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-i
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-ii
    Hope this helps.
    Regards,
    Hari

  • How to join two audio books into one

    Somehow the audiobook that i have had for a while got split into two different audiobooks
    Is there someway to merge them back together?

    The following solution will merge two audio streams of different formats and mix two audio streams of the same format... translation, make sure they're the same format before you merge them.
    http://web.archive.org/web/20080216001555/http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Merge.html

  • 2 Form Fields into one DB Entry

    I apologize in advance if this question has been asked and answered multiple times. I am new to this and extremely frustrated because I keep getting stuck.
    I am using Dreamweaver to create a website with Coldfusion as the server. I am using Quickbooks and QODBC to use the DB to integrate with CF.
    I have created a form with multiple fields all text entries. I have been able to get all the information to post into my database correctly. However my question is I want to create a multiple entry that would combine two form fields into one column in the database table. For instance I have First Name and Last Name as form fields when the user submits I want these to both enter into their respective columns in the table but also combine into one entry with format Last Name, First Name into a FULL NAME Column in the table. Is this possible if so how????? Thanks in advance.

    This is my current code::
    <cfset CurrentPage=GetFileFromPath(GetBaseTemplatePath())>
    <cfif IsDefined("FORM.MM_InsertRecord") AND FORM.MM_InsertRecord EQ "customer">
      <cfquery datasource="QBs">  
        INSERT INTO Customer (Name, FirstName, LastName, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode)
    VALUES (<cfif IsDefined("FORM.lastname") AND #FORM.lastname# NEQ "">
    <cfqueryparam value="#FORM.lastname#" cfsqltype="cf_sql_clob" maxlength="41">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.firstname") AND #FORM.firstname# NEQ "">
    <cfqueryparam value="#FORM.firstname#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.lastname") AND #FORM.lastname# NEQ "">
    <cfqueryparam value="#FORM.lastname#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.firstname") AND #FORM.firstname# NEQ "">
    <cfqueryparam value="#FORM.firstname#" cfsqltype="cf_sql_clob" maxlength="41">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.streetaddress") AND #FORM.streetaddress# NEQ "">
    <cfqueryparam value="#FORM.streetaddress#" cfsqltype="cf_sql_clob" maxlength="41">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.city") AND #FORM.city# NEQ "">
    <cfqueryparam value="#FORM.city#" cfsqltype="cf_sql_clob" maxlength="31">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.state") AND #FORM.state# NEQ "">
    <cfqueryparam value="#FORM.state#" cfsqltype="cf_sql_clob" maxlength="21">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.zipcode") AND #FORM.zipcode# NEQ "">
    <cfqueryparam value="#FORM.zipcode#" cfsqltype="cf_sql_clob" maxlength="13">
    <cfelse>
    </cfif>
      </cfquery>
    <cfquery datasource="Access">
    INSERT INTO Logininfo (FirstName, LastName, Username, Password)
    VALUES (<cfif IsDefined("FORM.firstname") AND #FORM.firstname# NEQ "">
    <cfqueryparam value="#FORM.firstname#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.lastname") AND #FORM.lastname# NEQ "">
    <cfqueryparam value="#FORM.lastname#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.username") AND #FORM.username# NEQ "">
    <cfqueryparam value="#FORM.username#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    , <cfif IsDefined("FORM.password") AND #FORM.password# NEQ "">
    <cfqueryparam value="#FORM.password#" cfsqltype="cf_sql_clob" maxlength="25">
    <cfelse>
    </cfif>
    </cfquery>
      <cflocation url="thankyou.cfm">
    </cfif>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <h1>Welcome to our sign up Page!</h1>
    <p>Please fill out the form below to register with out site and gain access to our members account page.</p>
    <form name="customer" action="<cfoutput>#CurrentPage#</cfoutput>" method="POST" id="customer"><table width="auto" border="1">
      <tr>
        <td><label for="firstname">
          <div align="right">First Name:</div>
          </label></td>
        <td><span id="sprytextfield1">
          <input type="text" name="firstname" id="firstname" accesskey="n" tabindex="05" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="lastname">
          <div align="right">Last Name:</div>
          </label></td>
        <td><span id="sprytextfield2">
          <input type="text" name="lastname" id="lastname" accesskey="n" tabindex="10" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="streetaddress">
          <div align="right">Street Address</div>
          </label></td>
        <td><span id="sprytextfield3">
          <input type="text" name="streetaddress" id="streetaddress" accesskey="n" tabindex="15" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="city">
          <div align="right">City:</div>
          </label></td>
        <td><span id="sprytextfield4">
          <input type="text" name="city" id="city" accesskey="n" tabindex="20" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="state">
          <div align="right">State:</div>
          </label></td>
        <td><span id="sprytextfield5">
          <input type="text" name="state" id="state" accesskey="n" tabindex="25" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="zipcode">
          <div align="right">Zipcode:</div>
          </label></td>
        <td><span id="sprytextfield6">
          <input type="text" name="zipcode" id="zipcode" accesskey="n" tabindex="30" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="username">
          <div align="right">Username:</div>
        </label></td>
        <td><span id="sprytextfield7">
          <input type="text" name="username" id="username" accesskey="n" tabindex="40" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td><label for="password">
          <div align="right">Password:</div>
        </label></td>
        <td><span id="sprypassword1">
          <input type="password" name="password" id="password" accesskey="n" tabindex="45" />
          <span class="passwordRequiredMsg">A value is required.</span></span></td>
      </tr>
      <tr>
        <td colspan="2"><div align="center">
          <input type="submit" name="submit" id="submit" value="Register" accesskey="n" tabindex="50" />
        </div></td>
        </tr>
    </table>
      <input type="hidden" name="MM_InsertRecord" value="customer" />
    </form>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
    var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1");
    </script>
    </body>
    </html>

  • Join 2 fields into one to map to destination field

    Hi! Is it possible to join data in 2 fields into one to map to the destination field? I have image file name kept in one field and want to prefix with a URL which I hope to maintain in a manually added field. Alternatively, it will be great to be able to prefix the image filename with the URL to be mapped to the image destination field.
    Any help is very much appreciated.
    Thanks!
    SF

    Hi,
    Yes it is possible to combine values from two fields to map a single field of MDM repository using Import Manager. This feature of Import manager is called as Field Partitioning.
    You can do it by following below mentioned steps:
    1. Open import manager and connect to source file.
    2. Specify source and destination tables. expand Source Table under source Hierarchy in Import Manager. And click on first field to select it.
    3. Now Go to "Partition Field/Value" tab. In the Source Partition sub Pane  you will see your First Field under "partition by" (* because you select first field from source hierarchy).
    4. From source Partition sub pane under "Available Fields" select the second field and click on "Add". This will bring second field also under "partitioned By".
    5. Now select both Fields under "partition by" and right click and select "Combine" (*Combine option will be enabled only when more than 1 field is selected by "partition By"
    6. Once you select Combine, it will combine values from both Fields. Again right click and select "Set combine delimiter" and specify the required value delimiter.
    7. Now Go to "Map Field /Values" tab. You will see one more field (*starting with the name of your first field and ending with partition word. Map this field to the required destination field.
    8. Follow other normal steps for data import and import data. after data import check data in data manager. you will get combined values from 2 source field in the MDM field.
    Check Page no 203 of [import manager reference guide |http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf]for more details.
    Please revert if you face any issue.
    Regards,
    Shiv
    Edited by: Shiv Prashant Dixit on Mar 11, 2010 9:53 AM

  • Get value of two fields into one field

    Hellou,
    i need little help with javascript again
    Currently i'm using code below to get value from one field to other:
    getField("Text35").value = getField("Text1").valueAsString;
    Now i'm wondering how to change this code, so i could get values from two fields into one. For example i have field "firstname" and field "lastname", now i want to show this in field "name".
    Example, if field firstname have value John and field lastname value is Doe, i want to show it in field name like "John Doe".
    I hope that u understood what i want
    Thanks for helping me!

    getField("Text35").value = getField("Text1").valueAsString + " " +
    getField("Text2").valueAsString;

  • How do I combine two PDF files into one?

    I want to merge two PDF files into one to make things easier when I take the file(s) to a professional printer.
    Can I do this in Preview?
    Thanks.

    You can't do in Preview.
    You can combine individual PDFs into one PDF using one of these freeware utilities.
    PDFMergeX @ http://www.malcom-mac.com/blog/pdfmergex/
    joinPDF @ http://www.macupdate.com/info.php/id/16604
    Combine PDFs @ http://www.monkeybreadsoftware.de/Freeware/CombinePDFs.shtml>
    PDFLab (join & split) @ http://pdflab.en.softonic.com/mac
     Cheers, Tom

  • Insert PDF into new Adobe Form - merging two PDF files into one

    Hi everyone,
    I need to enable access to archive PDF files but within a new PDF file containing header and footer.
    Request is not to change archived PDF files at all.
    I use Web Dynpro application to upload PDF file and to display new PDF file.
    I thought converting archive PDF files into JPG files and than using an 'Image Field' object to display those in a new PDF file.
    I am dealing here with PDF version 1.3 files.
    I am also having trouble converting these PDF files into JPG files. Any sugestions one this problem?
    Does anyone have any suggestion on how to deal with this concerning the fact that archive PDF files can not be changed?
    Is there some other way to merge two PDF files into one using Adobe Designer?
    Regards,
    Amel

    Hello, Lukasz:
      I am also facing similar requirement from my customer.
      And I found one useful blog, hope this blog can help you.
      http://wiki.sdn.sap.com/wiki/display/WDJava/CombinePDFfileswithWebDynproforJava
      Best regards, Nick.

  • Best approach to join multiple statistics tables into one

    I have read different approaches to join multiple statistics tables into one, they all have a column "productobjectid".
    I want to get all data for each product and put it to excel and output a jpg statistic with cfchart.
    How would you do this, the sql part?
    Thanks.

    A couple suggestions:
    1) when joining tables, its best to list both table/fields that you are joining in the FROM clause:
    FROM shopproductbehaviour_views INNER JOIN shopproductbehaviour_sails ON shopproductbehaviour_views.productobjectid = shopproductbehaviour_sails.productobjectid
    2) You add tables to a SQL join by placing another join statement after the SQL above:
    SELECT *
    FROM TableA INNER JOIN TableB on TableA.myField = TableB.myField
    INNER JOIN TableC on TableA.anotherField = TableC.anotherField
    3) If you have columns in the tables that are named the same, you can use column aliases to change the way they appear in your record set:
    SELECT TableA.datetimecreated 'tablea_create_date', TableB.datetimecreated 'tableb_create_date'
    4) Certainly not a requirement, but you might want to look into using <cfqueryparam> in your where clause:
    WHERE shopproductbehaviour_sails.productobjectid = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#all.productobjectid#">
     You might want to consider checking out one of the many tutorials on SQL available online.  Many of the questions you posed in your post are covered in pretty much every basic SQL tutorial.  Alternately, a good SQL book is worth its weight in gold for a beginning web applications developer.

  • Formatting Address Fields into one

    Using Acrobat X PRO:
    I have a multi-page document in which a user is prompted for the address in two different formats:
    1) With the address split into 4 different values/fields:
    Street Field, City Field, State Field, Zip Field
    Example: "1234 Count Rd" (Next Line) "St Louis", "MO"  "55555"
    2) With the address all together:
    Complete Address on one line with a maximum length of 40 Characters.
    Example: 1234 Count Rd, St. Louis, MO 55555
    I would like users to be able to Fill in the Street, City, State, and Zip fields, and no matter what the format of the following fields, have the data autopopulated.
    This isn't a problem for example #1.  However, with #2 if i place all fields close together, I have to guess on how far apart to space each field and still have it fit and format properly.
    Is there any way to combine the values of 4 fields into one value (separated by commas)?
    Making the address field 'auto-fit' may be necessary but it's ugly if there is extra space in the remaining fields. 
    PLEASE SEE THIS EXAMPLE document i have created for the purpose of this post

    And if the combined fields are longer than 40 characters?
    With Acrobat 4 there was a sample form that one entered the data in fields like tile, first name, mi, last name, abd degrees  and then created a full name from those individual fields and adjusted for missing data.
    The doucment level script:
    / Concatenate 3 strings with separators where needed
    function fillin(s1, s2, s3, sep) {
    Purpose: concatenate up to 3 strings with an optional separator
    inputs:
    s1: required input string text or empty string
    s2: required input string text or empty string
    s3: required input string text or empty string
    sep: optional separator sting
    returns:
    sResult concatenated string
    // variable to determine how to concatenate the strings
      var test = 0; // all strings null
      var sResult; // re slut string to return
    // force any number string to a character string for input variables
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      if(sep.toString() == undefined) sep = ''; // if sep is undefined force to null
    assign a binary value for each string present 
    so the computed value of the strings will indicate which strings are present
    when converted to a binary value
      if (s1 != "") test += 1; // string 1 present add binary value: 001
      if (s2 != "") test += 2; // string 2 present add binary value: 010
      if (s3 != "") test += 4; // string 3 present add binary value: 100
      /* return appropriate string combination based on
      calculated test value as a binary value
      switch (test.toString(2)) {
      case "0": // no non-empty strings passed - binary 0
         sResult = "";
      break;
      case "1": // only string 1 present - binary 1
         sResult = s1;  
      break;
      case "10": // only string 2 present - binary 10
         sResult = s2;  
      break;
      case "11": // string 1 and 2 present - binary 10 + 1
         sResult = s1 + sep + s2; 
      break;
      case "100": // only string 3 present - binary 100
         sResult = s3;
      break;
      case "101": // string 1 and 3 - binary 100 + 001
         sResult = s1 + sep + s3; 
      break;
      case "110": // string 2 and 3 - binary 100 + 010
         sResult = s2 + sep + s3; 
      break;
      case "111": // all 3 strings  - binary 100 + 010 + 001
         sResult = s1 + sep + s2 + sep + s3; 
      break;
      default: // any missed combinations
         sResult = "";
      break;
    return sResult;
    And then one could use a custom calculation script for a full address field:
    // Full business address including country
    function doFullBusinessAddress() {
      var ba = this.getField("business.address.full");
      var bc = this.getField("business.address.citystatezip");
      var bu = this.getField("business.address.country");
      event.value = fillin(ba.value, bc.value, bu.value, ", ");
    doFullBusinessAddress();

  • Search view : Combine two search views into one serch view

    Hi ,
    We have a requirement for combining two search views into one and display single result view consisting of some fields from One search and few fields from other search.
    Ex. There are two seperate search views for Oppotunity and Quotation. Now we want to combine search views of both into one search view with selected fields and then display a single result view with combined fields from both result views .
    Kindly suggest me the steps I can follow to achieve the same.
    Thanks,
    Madhura

    Hi,
    This is possible by creating dynamic views in a window.
    1)create views you required.
    2)create a tray in the view 1 and a link and set the properties.
    3)create an outbound plug for the view1 and save the application.
    4)create one more link in the tray for view1 and set the properties and create one more outbound plug.
    5)go the main view view and create 2nd tray and create a UI container element in it.
    6) now embed view1 and view2 in the container .........................
    <removed_by_moderator>
    regards,
    Muralidhar .C
    Edited by: Stephen Johannes on Jan 26, 2010 7:53 AM

  • How can I combine two itunes accounts into one?

    How can I combine two itunes accounts into one?

    Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased.  Apple provides no way to change this.
    However, if you wish to put content from two accounts into a single iTunes library, you can easily do so.  Use the command File > Add File (or Folder) to Library.

  • HT204053 Can you merge two Apple IDs into one?  It was a common issue caused by the iPhone 4 and has been corrected, but transferring purchases in iTunes is a pain with two IDs.

    For a brief time when iPhone 4, iOS 4 came out, many of us ended up with two Apple IDs.  I want to know if anyone can please provide me with simple step-by-step instructions on merging two Apple IDs into one?  It would make transferring purchases on iTunes much easier and reliable.  I realize i desperately need an iOS update, but i had no laptop for over two years!  I'm posting a cry for help on that in another community.  Thank you all.

    No,
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

Maybe you are looking for

  • Runtime error in ALV

    Hi,     I have a report to display in ALV list display, It give a runtime error when i run the report , error message : in INCLUDE LKKBLF99 - Field symbol not assigned.     I am not usning any field symbols in my report, can anyone suggest what could

  • Problem with Truphone

    I tried to download and install Truphone from the App Store on my iPhone. It downloaded, got half way through installing, then said I had to connect to iTunes on my PC to finish. I did that, and after syncing the Truphone icon had disappeared from my

  • Credit Limit Set in OVA8

    Dear All,        In our company aspects, we get the advance from customer, based on limit we can make sales invoice. I do not want to check the order level and delivery level because we have create the open order type. I tried to set the customer lim

  • How to remove a newline character from a column

    hi all... i have a column in a table in which some of the datas contain a newline character at their last. i need to remove those newline characters. for example.... a data is 'abcd (notice the end of the quotation).....i need to get the data as...'a

  • Camera Profile Beta - will it port?

    First, thank you very much to Adobe for creating these new camera profiles per: http://labs.adobe.com/wiki/index.php/DNG_Profiles#Camera_Profiles_and_DNG_Profile_Editor For the Fuji S5 and Nikon D80 this makes a major difference. So, here's the quest