Create a database field in Repetitive Area

Hi,
I generated a report from query, but I can't insert a database field in a Repetitive Area using PLD.
I've tried inserted a Text Field and changed to Database field, but there is nothing shown.
does anyone can help?
Thanks
Kim

Hi ,
As i got u ,If u create a report from query , it is called QLD (Query layout designer).
The only field comes in QLD is from Query only , u can not insert data base field  however u can hardcode some text field .if u want  a new database field , u have to change the query and have to make a new report as on every change in Query u have to assign a new temlate in QLD .
Hope u got some idea.
Rgds,
Premraj

Similar Messages

  • How to hide fields on Repetitive Area Footer on the last page?

    Hello,
    How can I avoid printing some fields on the last page, when this fields
    are on the Repetitive Area Footer, and the Repetitive Area Footer is
    defined to print on all the pages? I was hoping to do this with fileds linked
    to (ContinueNextPage) field, but it doesn't work!
    Regards,
    Júlio Pinho

    hI Júlio Pinho,
    i think, it is not possible in Repetitive Area Footer on PLD.
    but, it is possible in Page Footer on PLD.
    IF you dont need print some Fields in Last Page on printout.
    Try this,
    ->> Open the require PLD.
    ->> Create require Fields in Page Footer.
    for example,
    => Create DocTotal Field in Page Footer on PLD.
    => Link to SystemString (ContinueNextPageNotice) Formual FieldID in DocTotal Filed.
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • LAYOUTS (PLD) - Add fields to "Repetitive Area"

    Hello guys
      Iam using SAP B1 2004 2B
    Iam having a problem while using layouts
    I have desinged all static fields first, and when i came to the repetitive area iam not able to find the "A/R Invoice-rows" option, what would be the problem and what is the solution.
      thank Q in advance
    answers will be rewarded
    Message was edited by: Frank Moebius

    Hi,
    It seems that noone in this forum can answer your question (including myself )?
    Maybe this is related to the fact that the main focus here is the SAP Business One SDK?
    In case the question is still open:
    I would recommend that you try these forums - which should fit better:
    For SAP partners only there's a forum where you can discuss implementation questions etc.:
    Got a question about customization / implementation? Maybe ask it in CPSN!
    ...and here's the SAP Business One Forum in the "SAP Community" (public to anybody):
    Re: Got a question about customization / implementation? Maybe ask it in CPSN!
    ...or you might try your luck with SAP Support?
    Sorry,
    Frank

  • PLD-"Formula Type Calculation Fields in Repetitive Area"

    Hi there...
    I just would like to know if there is a limit as to the number of conditional operations in the repetitive area?
    Im currently working on the General Ledger in the Financial Reports.  Our client wants to limit the number of decimal places to two for all the output of the print out. After using the Round operator, what happen was all the entries with a 0(zero value) gets 0.00.  Since they also dont want this 0.00 to appear, I did try the conditional operator == to test all the entries and replace it with free text with a blank content. It is perfectly working if I'm only testing for 1 column but has problems if I already test another column. I just would like to know if there is a limit as to the number of conditional operations in the repetitive area?
    Thanks in advance...

    Just want to share how we were able to solve this problem. My companion(Ryan Megallen a.k.a. Bogs ) taught this to me....
    since you will be evaluating the contents of the column its necessary that your going to make use of 2 conditional operations to test both the == 0  entries and those entries which is greater than 0.
    Consider the following as output on the report
    ex...
       Details_______Debit_____________Credit
       xxx account___343.56_____________ 0.00      
       yyy account_____0.00____________123.00
    The client wants that the output should be:
       Details_______Debit_____________Credit
       xxx account___343.56      
       yyy account_____________________123.00
    They doesnt want to make those 0.00 entries appear on there report.
    To achieve this you need to test each column twice. The !=0.00  would be link to the field that displays the value other than 0 and the ==0 would be link to the field that simply uses a Free text without a no content.For this to work you will have 4 conditional operator to used.Since we cant control which of those field that we used on the columns will be displayed first.
    Message was edited by:
            Llowen Miraflor

  • PLD: Line items trauncate in repetitive area

    Hi All,
    I'm having issue with the line items truncate in the repetitive area.
    Is there a way to fix the number of items in repetitive area?
    Thanks in advanced.
    Regards,

    HI Tripti Shrestha
    >> Open your PLD and Create new Formula Field and put this formula,
    =>> Create new Formula Field in Repetetive Area Footer and put Formula.
    =>> Create the Seperate FORMULA Field in Repetetive Area Footer,
    for ex. Line No. Item Code, Discription, Qty, Unit Price, Total
    you should put the FORMULA in all FORMULA FIELDS in Repetetive Area Footer.
    Substring('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',0,2*(16-LineNum()))
    AND
    *IF Repetitive Area Footer fields is blank means that
    field should not display in Print AND Repetitive Area Footer decrease in Print*
    Do this,
    ->> Link to all Fields in Repetitive Area Footer.
    for example, DocTotal Field.
    ->> Choose DocTotal Field in Repetitive Area Footer than
    ->> Goto Properties Window and Link to DocTotal fieldID at General Tab.
    ->> put the Tick Mark in Area Height Adjustment at Format Tab.
    Save and Run the Print Preview.
    Thanks
    Khan Imran

  • Two Repetitive areas in one PLD

    Hi Experts
    I created a custom query and based on that i created a query print layout. Now in the PLD i have only one repetitive area, but i want to group this report first based on the account code and then based on the BP code and display the sub totals seperately.
    Can you all help me to complete this.
    Thanks & Regards
    Kanishka Wickrama

    Hi kanishka wickrama,
    Sorry Kanish, i thought normal PLD.
    Yes, you con not add the NEW Repetetive Area on QPLD. it is not possible on QPLD.
    so, try to assign the Sort by option.
    Note: All SELECT statement fields will be Stored and Display in Repetetive Area1. and
    Parameter Fields are in Repetetive Area0 so you can Try to Copy & Paste the Field_ID's to Repetetive Area Header (or) Repetetive Area Footer.
    for example.
    Try this,
    ->> Open the QPLD and Goto Field index Window, then
    ->> Select the Repetetive Area Header & Repetetive Area Footer increase the Height on Properties Window.
    ->> Create the Formula fields in Repetetive Area Header & Repetetive Area Footer.
    ->> Which Field you want to print in header or footer. Drag the Field ID(in Repetetive Area) Copy & Paste to Formula Field.
    ->> Select the Repetetive Area 1 on Field Index Window.
    ->> Goto the Print Layout Designer on Tool bar.
    ->> Click Repetetive Area. -> Sort...
    ->> Open the Sort Widnow and Select the Requrie fields by sort.
    ELSE Try this,
    ->> Click the Repetetive Area Footer 1.
    ->> then, Right Click in Repetetive Area Footer 1.
    ->> Choose the GROUP -> 1. then,
    ->> Create the Formula Fields in Repetetive Area Footer 1 and copy paste field ID's from Repetetive Area 1.
    ->> Select the Repetetive Area 1 on Field Index Window.
    ->> Goto the Print Layout Designer on Tool bar.
    ->> Click Repetetive Area. -> Sort...
    ->> Open the Sort Widnow and Select the Requrie fields by sort.
    Ex.
    ->> Select Field Name, Sort by, Order, Summary, New Page.
    1st you can Select Field Name (Sort by) -> Account Code, and
    2nd Select the  Field Name (Sort by) -> BP Code. and both are
    Sort Type - Alpha.
    Order -> Descending (or) Ascending.
    Summary -> Select the Tick Mark.
    New Page -> UnCheck the Tick Mark because if you need the second page Print of GROUP BY.
    You can select the Tick Mark in New Page.
    SAVE IT and see the Print Preview. it will be get exact Print. .
    Regards,
    Madhan.

  • How to create a new field in predefined database table

    Hi friends,
    now i am working on scripts. In script form i have got a new field(vehicle number in goods receipt against purchase order) which is not available in any table.  i think we have to create a new field in database table.how to create  field in a pre defined data base table.

    Hi,
    To add new field to table, there are two option.
    1.Include structure and
    2. append struct..
    the best way is append structure.
    goto se11>give your table name>there is append structure button, when you will click on it, it will create a 'append  structure',
    after activating it, it will add fields to your table.

  • Query Print Layout-Linking a new header field with ref to repetitive area

    Hi,
    In a query print layout, the query result based on pending items from a specific vendor is to be displayed.
    On trying to insert a new database field (eg. Vendor Name), in the header area based on the pending item details in the repetitive area, the print output shows up a random vendor name (not related with the query result).
    The RELATE TO property-option of the header field does not list the repetitive area fields, and the LINK TO option does not help either.
    Please advise any other way to link the new db field to display the correct vendor name (contact person, address) as used in the query.
    thanks,
    Avinash
    Edited by: Avinash Sashee on Jun 30, 2009 1:14 PM

    Yes, the fields are part of the query.
    Eg. The pending items from a specific vendor(with vendor code, name) is listed in the repetitive area of the layout. But the requirement is to have the Vendor Name and Address details in the Header portion(i.e. Letter to Vendor). Please help me on this.
    thanks,
    Avi.

  • Issue creating a Database table with a decimal key field

    Hi guys!
    Can you try this?
    - Create a Database Table ZTEST via SE11 with just the client field and a decimal field (which has to be a key field)
    - Create a corresponding text table for ZTEST with SPRAS, and a TEXT field
    - Create the dialog maintance view and enter some random data through SM30 (5 or 6 rows)
    Then go to SE11, display table ZTEST and click contents to show the data you just entered.
    Is there anything strange? In my case there is, actually: Not all text fields are shown, nevertheless if i try to display the data through SM30 the data is shown correctly....
    I've tried this in several releases and is always the same.
    Do you know why this is?
    Thanks in advance.

    Thanks for the answer.
    Unfortunately, this is not the case, the tables are correctly linked.
    Please look at the following snapshot, the first one, corresponds to the SE11 of the original table, the second one is the SE11 of the text table, and finally the third one is the SM30 of the original table.
    [Snapshot|http://img100.imageshack.us/img100/5071/testkl.jpg]

  • Database fields empty after creating a new (Crystal) Report in MSY

    Hello,
    I have some issues to use Crystal Reports in Mobile Sales Maintenance (MSY). The situation is as follows
    My example is based on this standard report, which is working
    Report Name: BPartnerActivities
    Reporting Tool: Crystal Reports
    Category: Standard reports
    Subcategory: Lists
    Report Type: Report
    Data Source: Business Content provider
    Business Content Provider: BPActivities
    My requirement is to build a new report, which is based on the standard "BPartnerActivities" Report. If I use the "copy" functionality, I get an working Copy of the standard report. However, I need to modify the Business Content Provider, but I do not want to make the modifications on the standard content provider "BPActivities".
    I am now forced to used the "copy" functionality to create a copy from "BPActivities" for my own Content Provider "My BPActivities copy", which I want to use in a new report.
    Issue:
    I cannot modify the defined Business Content Provider after using the "copy" functionality and hence forced to create a new report from scratch to be able to set a different Content Provider.
    I create my own report "MyBPartnerActivities" based on the standard report "BPartnerActivities" using the same settings and assign my new business content provider.
    If I use the "Design Report" or "Modify Report" button, the Crystal Report designer pops up. Now the problem, the Crystal Report designer does not offer me any data below "Database fields".
    In the standard report, the "Database fields" has a child element "BOACTIVITY-ttx" with several field options. My own created report from sratch does now have anything?!
    Why my report does not offer my any data or is there anything additional to do?
    Another Test
    I tried to create another report using the standard content provider "BPActivities", but I have still the same issue.
    In addition I recongized that the "browse data" fuctionality does not work on the fields in the standard report. The path to the database file does not exist. It starts with "C:\WINNT\...", but my system has "C:\WINDOWS\...". But the executed report is able to retriev the data?!
    Unfortunately was not able to find any proper documentation, but I would really appreciate any help.
    Regards,
    Andreas

    Update
    It looks like that the *.ttx file is not uploaded/create to/on the MSY system. The system shows the file in the Crystal Report Designer, but there is no file on the file system. The confusing thing is, that any standard report is still working and does not really complain about a missing ttx file. I think the content of the ttx file is somehow embeded to the report.
    Does someone know how the system should behave? Should a ttx file be automatically created & assigned to any new report or do I have to create the file by my own every time?
    Cheers,
    Andreas

  • RE: What's database field are used in crystal report file?

    Hi all
    Please help me a C# code that using Crystall Report API (Crystal Report XI- Develop license) to get the list of database fieldname that using in crystal Report file. (What's database field using in header section ,group section , detail section of report.....)
    We looking forward to hearing from you
    Thanks
    Son

    Hello Son,
    please use this code below to get a list of used database fields in a report :
    //File Name:          CS_Get_report_data_out_inproc.sln
    //Created:            April 11, 2008
    //Author ID:          FLI
    //Purpose:            This C# .NET sample Windows application demonstrates
    //                  how to retrieve report data and put the into a XML file
    //                  using unmanaged RAS.
    // Note this is available without a dedicated RAS with SP2 for XI R2
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    namespace CS_Get_report_data_out_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    ReportData.rpt");
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                // Retrieve the Rowset Controller
                RowsetController boRowsetController = boReportClientDocument.RowsetController;
                // Retrieve the metadata (column headers) - this allows you to only retrieve the data that is on the report.
                RowsetMetaData boRowsetMetaData = new RowsetMetaData();
                Fields boFields = boReportClientDocument.DataDefinition.ResultFields;
                boRowsetMetaData.DataFields = boFields;
                // Now print out the data in XML file
                //(Note: This will print out the results of formulas too)
                StreamWriter sw = new StreamWriter("C:
    ReportData.xml", false);
                sw.WriteLine("<?xml version='1.0' encoding='utf-8'?>");
                sw.WriteLine("<ReportData>");
                sw.WriteLine("<Reportheader>");
                // Print out the titles
                for (int i = 0; i < boFields.Count; i++)
                    String boFieldName = boFields<i>.Name;
                    sw.WriteLine("<ReportheaderDetail>" + boFieldName + "</ReportheaderDetail>");
                sw.WriteLine("</Reportheader>");
                //Create the cursor which lets us loop through the data
                RowsetCursor boRowsetCursor = boRowsetController.CreateCursor(null, boRowsetMetaData, 1);
                Record boRecord;
                while (boRowsetCursor.IsEOF == false)
                    sw.WriteLine("<Customer>");
                    boRecord = boRowsetCursor.CurrentRecord;
                    for (int j = 0; j < boFields.Count; j++)
                        try
                            sw.WriteLine("<Detail>" + (String)boRecord[j].ToString() + "</Detail>");
                        catch (Exception err)
                            sw.WriteLine("<Error>" + err.Message + "</Error>");
                    sw.WriteLine("</Customer>");
                    boRowsetCursor.MoveNext();
                sw.WriteLine("</ReportData>");
                // CLose the file
                sw.Close();
                MessageBox.Show("XML File 'ReportData.xml' successfully created on C:");

  • Formatting a field in the repetitive area of the Print Layout Design

    Our quantity fields in the repetitive area print out with a decimal point and 3 spaces after the decimal point (i.e. 10.000). How can I change the format of these fields so that there are no decimals included (i.e. 10) when we print an order?
    Thanks.
    Edited by: Philip Eller on Jun 19, 2008 9:56 AM
    Edited by: Philip Eller on Jul 3, 2008 3:11 PM*

    Mike,
    You could use the Formula ABS( )
    Add a Formula type field
    In the Formula select formala ABS()
    syntax: ABS(Field_xyz)..here field Field_xyz is your number field
    If your value was 10.000 the result will be 10. This formula ignores the decimal part.
    The formula ROUND could be used if you want to ROUND the value to the nearest higher or lower integer
    Consider number 10.450
    ROUND(Field_xyz,2)  will give 10 
    ROUND(Field_xyz,1) will give 11
    Suda

  • How to get 10 characters if there are 18 characters in database field

    IF there are four fields in a internal table and each field have 18 character length. i should less the filed length of only 3 fields to 10 characters and should get this fields in Application layer and flat file ( out bound interface),
    so can u guide me the logic how to populate the data in application layer and flat file with new field length of 3 fields and old field length of fourth field.

    Hi Azeez,
    First declare your internal by referring database fields and fetch data from data base into this internal table.
    Ex:
    types: begin of stru,
                                 f1 type <t1>-f1,
                                 f2 type <t1>-f2,
                                 f2 type <t1>-f2,
                                 f2 type <t1>-f2,
                              end of stru.
    Lets consider all the above fields have length 18 in database.
    data: itab type standard table of stru.
    data: wa_itab type stru.
    data: lv_char(48) type c.
    select f1 f2 f3 f4 from  t1 into table itab.
    loop at itab into wa_itab.
      concatenate wa_itab-f1+0(10) wa_itab-f2+0(10)  wa_itab-f3+0(10)  wa_itab-f4
                  into lv_char.
    <b>now transfer this variable (lv_char) to application server.</b>
    endloop.
    hope this helps.
    Regards,
    Phani.

  • Creating a non database field

    Hi.,
    i am using jdev 11.1.5
    i need to insert a non database field in jspx page
    i had created a table finperiod
    i need to insert a four nondatabse fields named as rec,dist,supl,cust.
    How can i acheive this?

    i need to acheive this querry in adf
         select count(*) into var_count
         from appl_journals
         where aj_bu=:global.bu and
         aj_year=:FIN_PERIODS.fp_year and
         AJ_PLANT =:FIN_PERIODS.FP_PLNT AND
    aj_period=:FIN_PERIODS.fp_period and
         aj_appl=:AJ_APPL and
         aj_status='N' ;
         if var_count<>0 and :AJ_APPL is not null then
              :APPLICATIONS.appl_exist:='Yes';          
         elsif :AJ_APPL is not null then
              :APPLICATIONS.appl_exist:='No';
         end if;
    how can i perform this

  • Labview database problem: Create a database table from user defined fields

    I am trying to create a new table in an access database opened by an ODBC connection from information entered a table stored in the database, but every time I try to create the table, the Labview Database connectivity toolkit VI for creating a table throws a cryptic error
    "Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Microsoft Access Driver] Syntax error in field definition. in NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibB Tools Create Table.vi->DatabaseCreateHeaders.vi"
    I think this is becuase I am trying to re-create the database  column variable type, but I am not sure what I am doing wrong.  Everything seems to be fine as the data types go, and everything works as long as I use a constant to create the database columns.  I even tried putting all of the information into the format labview defined, changed that to a variant, and redefined it as the labview database column type. 
    I have attached a simplified VI and a picture of what I am trying to
    do, but I would appreciate any help I can get.  Hopefully I won't have
    pulled out all of my hair by the time some one replies!
    Solved!
    Go to Solution.
    Attachments:
    DatabaseUserDefinedTable.vi ‏14 KB
    UserDefinedColumns.JPG ‏48 KB

    Hi everyone. I am new to the database tool kit using labview. I am using labview 9.0f2 on Windows Xp. I am required to create a database (task is to create a table and to insert values into the table using Microsoft access 2007). I am trying to learn using the Create Database table.vi found with the software. I understand that need to create an access file and also had a mdl file which is name after it.(I had created them). Looking at the example given, I would like to add a few more variables, to be exact 6 more variables(therefore i would have 6 colum in my access file rite?). From the "connection information" the help information shows that it contain an 1D array of DB tools colum. ctl and also a cluster of 4 elements. the link to the access file, LabVIEW.udl shows that it restrict the colum in the access file.eg it has only stringcol,intcol,doublecol. I need to add more colum but cant add just like tt.
    qn1: How to i add insert more varibles into the database so that it will apprears in access.
    qn2: I cant drag and insert the "connection information" just to have more input. how do i do it?
    qn3: where can i edit the info so that i can add more cluster into the access? when i drag out the input turn greyish.

Maybe you are looking for

  • I it possible to get a refund if you don't like the app you bought

    Is it possible to get a refund on an app that you bought and didn't like

  • Why I should spend money on digital books if you can't use?

    One thing about this department. Don't buy any digital books which requires to use Adobe Digital Edition. Software is not finished, doesn't support tablet. That's wrong is with Adobe reader? Why you can't integrate this into adobe reader? Why you peo

  • HELP!! Return Key results in multiple lines down

    Everytime I press the return key, pages returns at least 10 lines. i can't figure out what is going wrong. PLEASE HELP

  • Java Class Library (SDOAPI)

    Greetings, Using Oracle Spatial Java Class Library (SDOAPI) GeometryAdapter.importGeometry method on the following geometry causes a InvalidGeometryException to be thrown. SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1), SDO_O

  • Conflicts with allmytube software

    HAs anyone had this problem related to Allmytube for Mac (third party software that allows you to rip Youtube videos)? I downloaded and installed the software. AFterwards, the Mail and iTunes apps no longer loaded. The icons bob up and down in the do