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

Similar Messages

  • Sub-Report on the Print Layout Designer

    If there's  a way to create a Report from several querys in SB1 usin the Print Layout Desg.? , like for an example the 1st repetetive area is loaded with Query A and 2nd Repetetive area  with Query B

    Looks like noone knows the answer...
    Maybe it is a better idea to take a look into the Implementation - or Support - area on the SMB Portal on SAP Service Marketplace - or create a message to SAP Support there...
    Preferrably you will get good answers to SDK related questions here in this Forum - less for customization detail questions - as this Forum is the platform for SDK questions.
    Best regards,
    Frank

  • How to use a query in the Print Layout Designer?

    I created a query with the query generator:
    SELECT T0.[Discount], T0.[NumOfDays], T2.[DocNum] FROM CDC1 T0, OQUT T2 INNER JOIN OCTG T3 ON T2.GroupNum = T3.GroupNum WHERE T2.[GroupNum]=T3.[GroupNum] AND  T0.[CdcCode] =  T3.[DiscCode]
    The result shows the cash discout (the days and the percentage) of every record.
    I need this query, because I want to design a sales order report.
    To show the payment conditions with cash discount I need to have the table CDC1 but when I create a new database field in the report I can't see that table.
    So I queried the table CDC1....
    Then I created a new database field and in the list box "table" I made the following steps:
    extras\customizing tools\user defined values - definition\search for saved query in user defined values
    But the problem is that I don't get the result of the query into my report.
    What's the problem? I don't know what I've done wrong...
    please help me

    Hi,
    I am creating the layout for a sales order which will be send to a customer.
    In that order the customer can see the payment conditions.
    It should look like this:
    net price: 1000,00 EUR
    19,00% taxes: 190,00 EUR
    gross price: 1190,00 EUR                          
    payment conditions:
    payable within 30 days net: 1190,00 EUR
    payable within 14 days with discount of 2 %: 1166,20 EUR
    to get the bold marked digits I need to have access on the following tables:
    OCTG and CDC1
    In the OCTG table I get the days (in this example 30)
    In the CDC1 table I get the days of cash discount and the percentage (in this example 14 and 2)
    but in the sales order layout in PLD only the OCTG table is shown when I create a database field and the CDC1 table isn't.
    So what can I do to get this?

  • Adding data field in query print layout designer (PLD)

    Dear Experts/Gurus,
    I would like to add data field in query PLD in repetitive area1 but it can't. The query I made excluding sequence no., so I think I must use datafield for that. I  use textfield in the repetitive area header1. is it correct what I have thought, I mean is it really datafield can't be add in the print layout designer if it is from query ? I appreciate your answer. TIA
    Rgds,

    No you can't, you will have to recreate the query with the missing field and recreate a new print layout for this.  Is still a flaw in SAP B1. 
    If you go to the service market place under education you can get the flashbook for the print layout design and the query manager and wizard, study them, they are of great help to understand the technology behind the PLD and the queries in SAP B1.
    Regards,
    WB

  • How can I format a field in the form creator?

    How can I format a field in the form creator? It's putting the same text in all the fields within a table. I want each field within the table to have different text. As soon as you click out of the table, all the text is the same.
    I even changed the fields from a text box to a drop-down list so a person can make their selection, which will be a quantity from 0-9. There are two of these such fields. You make your selection in each, click off the table and both fields show whatever I selected in field 1. The original Qty I selected in the bottom field was a 5 but it changed it to whatever is in the top field on it's own. I've added a screen shot.

    This behaviors usually happens when you create the fields but  a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field  "company name" printed in each and every page of a multi-page form document.
    Go to the properties fields of each field and make sure  to assign unique form field  names.

  • SharePoint Bug? Conflict Error when saving a Page with a "Required" DateTime field in the page layout

    Hello,
    I've just recently encountered a weird error / bug in SharePoint. Here is the scenario:
    - I have a custom column "Test Date" that is of DateTime field type. The field is configured as REQUIRED.
    - It is added to a custom Content Type "Test CT" that is based on a "Publishing Page" content type
    - I have created a Page Layout "Test PL" which is based on that particular content type.
    Now here is what happens:
    1. I try to create a page based on both that Content Type and Page Layout in the Pages Library. I manage to create it successfully.
    2. However, when I go to try and edit the page, fill-in the required values and try to save it using the PAGE TAB -> SAVE BUTTON, I get the below error/s. Note that this happens no matter what I choose in the drop-down menu for Save Button.
    "The file XXX has been modified by USER on DATE"
    But I know I am the ONLY user modifying the page. 
    If I try to save again it gives me options to whether Discard my Changes, Keep Editing, Overwrite Changes, or Merge.
    3. HOWEVER, if I use the Save button on the UPPER RIGHT corner of the screen (the shortcut). I am able to save successfully without any errors!
    The only thing I've tried that made it work was if I made the DateTime OPTIONAL. But I need it to be REQUIRED.
    Is there any workaround to this error / bug?
    Thanks

    I have some additional info but nothing really good. 
    If you click the Save in the left side of the Ribbon then it looks like that is when you get the message. If you click the Save in the top right corner you won't get the message. They must be calling different saving functions. 
    There really is no way around it other than making the field optional which probably removes some server side validation checks causing that message.
    We've chosen to remove that field from the page as I needed it required, then they can't publish the page until they go to the properties and set the article date. By removing the field from the page layout the message goes away.
    I hope MS will fix this at some point.
    -tom daly

  • Is there a way to add a new field to the MD15 layout

    Hello,
    I wanted to add new fields to the MD15 layout list. For example "Vendor ID and Old Material #" Is there a way to do that?
    Thanks

    Hi
    How did you add those columns!? 
    I have similar requirement.  I tried using BAdI "MD_ADD_COL_OVERVIEW"; that works only for MD04.  which enhancement or badi you have used to add columns.
    Thanks,

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi,
    Can any body tell me how to make changes in the print layout of Fb03.
    I want to add comapny address on the layout.
    Regards
    Mave

    If you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business Transactions -> Outgoing Invoices -> Carry Out abd Check Settings for Correspondence. There, you need to assign your custom Program or Layout for the Correspondence Type (like SAP19) and Program.
    If you mean the display layout in transaction FB03, You can change a few settings, mainly with BKPF and BSEG fields. I don't think you can add company address, though.
    Good luck,
    Bhanu

  • Where to download the Advanced Layout Designer (ALD)?

    Hi everyone,
    I've read a lot about the Advanced Layout Designer, and would like to try using it rather than the PLD I've been using. However, I've searched and searched but see no mention of where to download this add-on. Could someone please provide me with the link? We are on SBO 2007A, SP:00, PL:42.
    Thanks for any help!

    Hi
    Please note the server 'websmp204' may not work all the time as everytime you connect to SAP page you are direct to one of SAP server.
    I do recommend to use the generic path:
    https://service.sap.com/smb/sbo/ald
    Anyway to download the ALD or any SAP B1 patches you can go direct to 'Software Distribution Center' -> choose update -> the version you want and you will find the ALD.
    Here is the link:
    http://service.sap.com/sbo-swcenter
    Paulo Calado
    SAP Business One Forums Team

  • How can i change the print layout in i cal, how can i change the print layout in i cal

    Im a franklin planner user and would like to convert to ical.  How can I change the print layout in ical so I can print task on the left side and calendar events on the right side.

    Hi Mike3232,
    I'm afraid that it's not possible to adjust the print layout in iCal. Maybe you should think about changing to another program (BusyCal, etc.) that has the option to print the layout you want?
    Good luck!
    Michaël Duwyn

  • How to supress field in the BPS Layout

    Hi Guys,
    In the BPS layout Lead columns Product (shows Product GUID values) and ProductID are there .Based on the product(GUID) values only the Keyfigure values are populating in the Claim of CRM UI. But based on the requirement of the user we dont want to show GUID values in CRM UI Planning layout. How do I suppress these values in the BPS layout without taking out from Lead Column.
    Please suggest me.
    Swathi

    You can use macros to hide this column if the interface is excel.
    Write the below code in SAPAfterDataGet module.
    columns(4).hidden = true  "say the column to be hidden is 4
    And check this module in the MSExcel settings in the third screen of layout builder so that this module gets called each time layout gets displayed or refreshed.

  • User Defined Field Print Layout Designer print problem

    I am having a problem with a user defined field in the Business Partner - Addresses table. The user defined field is a "directions" text field that is intended to print on packing slips generated from the sales order. When I use the PLD to add the UDF in the header or in the table, all data lines in the body of the report repeat.
    Please advise if others are seeing this and what work around or SAP plans exist to resolve.
    Glen Kinney
    Corrpac
    [email protected]

    Hi Glen,
    I am facing the same problem.
    I need to add UDFs in Business Partners - Addresses at row level. The field will be used for some Taxation Nos. like CST, LST, VAT. I have tried to add. the fields are added and data saved too.
    But when I am going to PLD of Invoice and tried to get, the Business Partners - Addresses Table not showing in the list.
    Shell I have your help to resolve this.
    Thanks a lot.
    With Warm Regards,
    Chintesh Soni
    India

  • Repitative area print layout designer

    Hi,
      i want to insert a picture for each item group in PLD. i created a UDF file as image in item group.but when i included in the PLD the picture repeats for every item in that group where i created the picture. i want the picture to repeat only once for all that item in that group . How to solve this problem ?
    kindly help me on this issue.
    thank u
    Mubarak.

    Try putting it in the repetitive area footer.

  • Page (Paper) format in Print Layout Designer

    Hi there,
    I am creating a report which is 3 pages long and i need to give different page format for each page i,e 1st page is A4 Portrait, 2nd page is A4 Landscape and the 3rd one again A4 Portrait.
    any ideas how to do this?
    Regards,
    Narayan

    Hi Noor,
    If you use Crystal for your reports then you can program the Crystal API to print each report to a particular printer. I've done this before and it works perfectly. I recommend you store the report and printer names in a user-defined table so they can be easily modified by the users. Then read these values before printing each report. The only thing to watch out for is that each user must have the same name for the printer on their local machine.
    The following is an example for printing a report to a pre-defined printer (C# with Crystal 10):
    string sPrinter = "";
    string sUser = "";
    string sPassword = "";
    // Code goes here to read printer, user and password settings from the database (note: encrypt the password!)
    try
         m_rptCrystal = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
         m_rptCrystal.Load(System.Windows.Forms.Application.StartupPath.ToString() + "
    MyReport.rpt");
         if(sPrinter != "") m_rptCrystal.PrintOptions.PrinterName = sPrinter; // Blank = user's default printer
         SetCrystalLogin(sUser, sPassword, m_sboCompany.Server, m_sboCompany.CompanyDB, ref m_rptCrystal);
         SetCrystalParams("@MyParam", MyValue, ref m_rptCrystal);
         m_rptCrystal.PrintToPrinter(1, false, 0, 0);
         m_sboApp.SetStatusBarMessage("MyReport sent to printer...", SAPbouiCOM.BoMessageTime.bmt_Short, false);
    catch(Exception ex)
         m_sboApp.SetStatusBarMessage("Print error: " + ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, true);
    private void SetCrystalLogin(string sUser, string sPassword, string sServer, string sCompanyDB,
                                                           ref CrystalDecisions.CrystalReports.Engine.ReportDocument oRpt)
         CrystalDecisions.CrystalReports.Engine.Database oDB = oRpt.Database;
         CrystalDecisions.CrystalReports.Engine.Tables oTables = oDB.Tables;
         CrystalDecisions.Shared.TableLogOnInfo oLogonInfo;
         CrystalDecisions.Shared.ConnectionInfo oConnectInfo = new CrystalDecisions.Shared.ConnectionInfo();
         oConnectInfo.DatabaseName = sCompanyDB;
         oConnectInfo.ServerName = sServer;
         oConnectInfo.UserID = sUser;
         oConnectInfo.Password = sPassword;
         foreach(CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
              oLogonInfo = oTable.LogOnInfo;
              oLogonInfo.ConnectionInfo = oConnectInfo;
              oTable.ApplyLogOnInfo(oLogonInfo);
    private void SetCrystalParams(string sFieldName, int iVal, ref CrystalDecisions.CrystalReports.Engine.ReportDocument oRpt)
         CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions oFieldDefs;
         CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition oFieldDef;
         CrystalDecisions.Shared.ParameterValues oParamVals;
         CrystalDecisions.Shared.ParameterDiscreteValue oDiscreteVal;
         oFieldDefs = oRpt.DataDefinition.ParameterFields;
         oFieldDef = oFieldDefs[sFieldName];
         oParamVals = oFieldDef.CurrentValues;
         oParamVals.Clear();
         oDiscreteVal = new CrystalDecisions.Shared.ParameterDiscreteValue();
         oDiscreteVal.Value = iVal;
         oParamVals.Add(oDiscreteVal);
         oFieldDef.ApplyCurrentValues(oParamVals);
    Hope this helps,
    Owen

  • Adding user defined field in print layout design of Bill of matrial Report

    I want to add "Drawing No" which is user defined field in Bill of Material report need immediate help .

    Hi,
    If you add the UDF in BOM-Title then the UDF will be in OITT table.
    If you add the UDF in BOM-Rows then the UDF will be in ITT1 table.
    You will find BOM-Title or BOM-Rows in Production Module (ie., in User Defined Fields --> Manage User Fields)
    In PLD, You can print the UDF if you search in the above said tables.
    Raja.S

Maybe you are looking for

  • TS1394 My mac is running very slow

    I have deleted programs, old files Always download and install the latest updates. I have even installed that Mackeeper software. But my Macbook pro is running like extremely slow, can someone help me?

  • ?????Snapshots. Audio creation. X-Fi. DONT WO

    ??Hey all. How do I delete the 'snapshots' i've made in the audio creation mode's console. I have seen similar posts here but they were from at least a year ago. No answers? Also. I've noticed that if you change the master sampling rate in this same

  • Burn .srt files with movie to disc

    (this question is not about QT itself, but maybe I need to use it to achieve what I want) Hi, I've got an .avi file and an .srt file. I want to burn this movie with the subtitles to a DVD or VCD or whatever something that can play on a regular DVD pl

  • Hotmail: cursor hovering over sender's name not showing address

    IE is allowing me to see the sender's email address when I hover the cursor over the "From" name. Not so in Firefox. Why, and how do I correct this problem, that seems to have started about 2 weeks ago (prior to 2 weeks ago the problem didn't exist a

  • IF I DELETE AN EMAIL ON MY IPOD WILL THIS DELETE IT ON MY LAPTOP HOTMAIL ACCOUNT?

    I have a laptop and an ipod and wondered whether there is a simple for deleting emails on both devices at the same time.  Otherwise I have to delete emails twice which is boring and time consuming!  Please help!