Formatting date in Layout Designer

Hi all, I have to print a check and the payment document (pull from a variable field) shows the date as YYYYMMDD and I need this formatted as YYYY/MM/DD just using PLD
Any idea??
Thanks
Lucas

Hi Sandeep, I have date formated with the "/" separator in the system initialization. That is the problem, in the check the date appears without this separator as 20060614. And I wanted to know if I can format this throught PLD
Thanks
Lucas

Similar Messages

  • 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 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

  • Print Layout Designer:Due date in Delivery document

    In print layout designer in 2005 version for Delivery document when they preview the document in document printing it compute an automatic due date but if the preview was done in the delivery document itself the due date is the same as posting date.
    And as to delivery document in SAP no due date will be computed because due date will be determine upon invoice. But upon checking on their database, the same layout/template was used in the preview of the document in the delivery itself and in the document printing. The due date used in the layout was delivery due date.
    They want to apply the scenario of having automatic computation of due date in Delivery document in the print layout designer in their 2007 version. All details created in the Print layout designer in 2005 version are defined already in their 2007 version but when the document was preview in document printing no computation of due date.
    Is the layout used in the preview of delivery document itself was different when i used the document printing and select the same document and preview it? Is it possible to compute the due date in delivery document?
    Can someone help me?

    Hi Paul,
    Yes, we already informed our customer that in delivery document no due date will be computed. But my question is it is possible that the print layout used in the preview of delivery document itself was different when the preview is done in the document printing window? To preview the document in document printing, select or highlight one transactions and click preview.
    When we check the customer database and preview the delivery document itself the due date is
    the same as posting date but when i preview the document in the document printing when you check the
    field due date it was not the same as posting date.
    We check the layout and the field is Database Delivery: Due date. The layout name was also the same when we preview
    the transactions in delivery document itself and in the document printing.
    Can someone tell me if the layout was different in the document printing window under Sales A/R module?
    Thanks,
    Janice

  • Print layout designer for develop report based on query

    Dear Experts/Gurus,
    I am amazing about the manage previous reconciliation report. When I opened it using print layout designer, it looks like the report is not built using query, but I am not sure yet. This is very confusing. I created query similar with manage previous reconciliation (MPR), but when I link the query to print layout and try to make similar format/appearance with MPR report (reconciliation management (system)), it is not success.
    Isn't the MPR report built not based on query ? I appreciate your answer. TIA
    Rgds,

    Hi,
    I am not sure I understand what's the problem:
    Is it the layout that is different or the data?
    Regarding the data you can use SQL Profiler (maybe you did?) to find out what queries are fired, but please note that there are some stored procedures in the DB that are used for some specific functions - not sure whether the "MPR" uses any of these.
    Then you must include some non-default filter in SQL Profiler...
    ...but you can also use the logging functionality in B1 for that purpose:
    Just activate the logging (see the "log" folder in the B1 subdirectory) in the corresponding config file: choose the option to have the SQLs logged in conjunction with the logging being triggered in all cases (not just error).
    Thus you will get all the SQLs - just plain - from the B1 application, but note that it will obviously slow it down!
    HTH,
    Frank

  • Help me . Query in " Query Print layout Design "

    Hi Everybody .
    I Design Report by Query Print layout Design , So when I run Report , I see Message : " Table not found Administrator (OA DM)" .
    This is My Query .
    ( Note :this  Query is run ok in Microsoft SQL  . )
    Select Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5)       as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50))As No_Number    ,  T0.TaxDate As Date       ,     case left(T0.Account,4)when '1112'then '0.00'     when '1122'then'0.00' else           [dbo].[Get_11](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType)end  as Amount1              , case left(T0.Account,4) when '1111'then '0.00' when '1121' then '0.00'           else [dbo].[Get_111](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType) end  As Amount2            , T1.U_VNS_MEMO  As U_VNS_MEMO, T1.U_VNS_VNUMBER as PV_No    , T1.U_VNS_JType as 'Voucher Type'         , T0.Account  As AC_Code    , T3.AcctName as Description  , T0.Debit As Debit ,T0.Credit As Credit        , T1.U_VNS_NAME,     T0.U_VNS_REMARKS   From BTF1 T0                Inner Join OBTF T1 On T0.BatchNum = T1.BatchNum               Inner Join OBTD T2 On T0.TransID = T2.BatchNum                Inner Join OACT T3 On T0.Account = T3.AcctCode                    Where  T0.BatchNum = '[%0]'  Group by   Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5)       as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50)) ,  T0.TaxDate   ,       case left(Account,4)when '1112' then '0.00'     when '1122'then'0.00' else           [dbo].[Get_11](T0.BatchNum,left(Account,4),T1.U_VNS_JType)end             , case left(Account,4) when '1111'then '0.00' when '1121' then '0.00'           else [dbo].[Get_111](T0.BatchNum,left(Account,4),T1.U_VNS_JType) end            , U_VNS_MEMO  , T1.U_VNS_VNUMBER    , T1.U_VNS_JType       , Account     , AcctName       , T1.U_VNS_NAME,     T0.U_VNS_REMARKS      order by  Amount1 desc
    Please help me .
    Thank you very much .
    Message was edited by:
            Tran Ba Hai

    Note: This Quey if I change = [%0] by = 1 ,  and I run Report in SAP is ok .

  • How to use query print layout design

    i have a sql query and i want to see its result on report with the help of print layout design.

    In addition to Tuvia's answer, here is the printing procedure of query PLD:
    Printing User-Defined Queries
    Use
    After you have linked a user-defined query to a user report template, you can print it according to its linked print layout.
    Procedure
    To print a user-defined query, use one of the following two procedures:
    Using the Query Print Layout window:
    1. Choose Tools u2192 Queries u2192 Query Print Layout.
    2. Choose the Reports tab page and select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    Using the Queries Manager window:
    1. From the toolbar, choose with the quick info text Queries Manager.
    2. Select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    You can also display a print preview for user-defined queries. To do so, choose File u2192 Print Preview.
    Printing User-Defined Queries with Variables
    Use
    When a user-defined query contains variables, its linked print layout will also display the variables data and print them.
    In the print layout linked to that query, you can see that an additional area containing the condition's parameters was added
    There is pdf file relate to Query PLD in  the SAP service marketplace website.
    Rgds,

  • Print Layout Designer - inconsistent output

    Hi,
    We have received consistent compaint from our client that the output of Print Layout Designer are inconsistent.
    Eg: The same PLD template is used for An invoice print out from 2 different workstation.  However, workstation A display the format properly, workstation B will have missing lines between boxes or the alignment is not displayed properly.
    We have also recently encountered the problem that our client export the invoice to Acrobat and then print it.  However, it displays properly for workstation with  Acrobat version 8, 9, but missing lines for version 7.
    Another scenario could be the form is displayed properly on the screen, but the physical print out to a printer is not consistent. 
    We really appreciate some share of thoughts here.  Is switching to other report writer, eg: Crystal Report, the only option?
    Edited by: Shwu Hua Gan on Aug 10, 2008 2:57 AM

    Gordon,
    Thanks for replying.
    This is what happen to our client.
    The font size of the customised PLD SAP Invoice is size 5.  In order to preview the layout, they have to preview in PDF, once they are happy with the details and then print.
    In some workstations, there are Adobe Reader version 8 or 9.  In a couple of workstations, there are Adobe Acrobat version 9.
    Let's say, there are 2 fields with the following properties:
    Field A, Left = 0, Width = 10.
    Field B, Left = 10, Width = 10.
    Adobe Acrobat version 9 display the border of the field properly.  However, those with Adobe Reader 8 / 9 will see gaps between fields.
    If we change them as follows the field the gap;
    Field A, Left = 0, Width = 10.
    Field B, Left = 9, Width = 11,
    Then those with Adobe Acrobat version 9 is missing the border for because Field A overlaps with Field B.  But Adobe Reader 8/9 will print fine.  It also works fine if user click 'Print Preview' as normal and then click 'Print'
    Does anyone knows whether this inconsistencies is caused by
    - printer drivers; or
    - Adobe; or
    - SAP Business One.

  • Print layout design : Very Queer

    Hi all .
    In SAP B1 , I see some report is very queer , for ex : in journal entry , click Print layout design , I see journal entry (system) , double click it to open design , Queer in here ,  in repetitve area , field : Debit , Credit , data source is free text , but when I view report , I see infor by Debit , Credit , Normaly , Field must has source type is database , formular, or system , it will has information .
    Please explain to me about queer .
    Thanks very much .

    Hi
    check this link and search for demo's on
    Print Layout Designer
    https://www.sdn.sap.com/irj/sdn/businessone-elearning
    I hope this helps you out
    regards,
    Shreyas

  • Print Layout Designer...........Help

    Hi
    Please help me to get a way to load the TIN number (already entered in - BusinessPartner master Data Form and saved in -CRD7 database table for customers) into the PLD Report as customers TIN number (means in the Report creation using Print Layout Designer). Here I want to access the CRD7 table in the PrintLayoutDesigner>Properties>Content-->Database.Is this Possible?

    Dear
    The workaround could be that creating UDF and FMS to get
    those information , and thus in PLD.
    Best Regards,
    Xiaodan AN

  • Transaction Journal Report - Print Layout Design

    Hi all
    Is it possible to add Journal Entry Project Codes to this Transaction Journal Report (Print Layout Design)?
    I tried to add Journal Entry Project Codes to this system PLD but the result still not showing any Project Code.
    Kedalene

    Hi Kedalene Chong
    ou don't need a list of variables to use them. Simply go to View -> System Information so whenever you hover around a field with the cursor, in the left bottom corner of the screen you will see the details of that screen along with the variable number if it is a variable.
    So you will see something like:
    [Form=139 Item=29 Pane=0 Variable=91]
         -> in this case the variable number is 91 - use it in Print Layout Designer.
    So you can just use the variable specified in these details. When creating the print layout, just go back to your form, stand on a field with your mouse and you will see what variable to use.
    Also Check with the PLD Variables Note No 867048...
    Symptom
    Using system variables when designing a print template for the General Ledger report.
    Please note that variable numbers might change when upgrading to a higher version.
    Cause
    FAQ
    Solution
    Field Name
    Variable Number
    Posting Date
    62
    Due Date
    63
    Document Date
    112
    Series
    140
    Document Number
    141
    Transaction Number
    65
    Journal Voucher
    66
    Reference 1
    67
    Reference 2
    68
    Reference 3
    69
    Details
    70
    Transaction Code
    71
    Project Code
    72
    Costing Code
    73
    Offsetting Account
    74
    Indicator
    137
    Total (LC)
    75
    Debit (LC)
    96
    Credit (LC)
    95
    Balance (LC)
    76
    Total (SC)
    77
    Debit (SC)
    98
    Credit (SC)
    97
    Balance (SC)
    78
    Total (FC)
    79
    Debit (FC)
    100
    Credit (FC)
    99
    Balance (FC)
    80
    Creator
    138
    Internal Reconciliation
    131
    External Reconciliation
    132
    System variables from the Business Partner Master Data window available for use in the General Ledger report:
    Phone
    117
    Fax
    118
    Contact Name
    119
    Address
    120
    Sales Employee
    133
    Remarks
    134
    Full Address
    135
    Hope Hepful
    Regards
    Kennedy

  • Import  XSD to create Data type in Design

    hi,
      I know that we can import XSD in Design and create data type,my question is:
    1.  Can i import an XSD thats been created in message mapping and use that to create my data type in design.
    (or)
    2.Should i have to write an XSD on my own and then import it to create my data type, and is there any standard format to write it.

    Hello Prashanth,
    For your first question: i don't know exactly what you mean that the the xsd you create in the data mapping steps. So can you explain it in details?
    For your 2nd question:  Sure you can write your own XSD to create a data type. And i will give you an example xsd file format. Then you can import it in the XSD tab view.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/hansteel" targetNamespace="http://sap.com/xi/XI/hansteel">
         <xsd:complexType name="CustomerInfo">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   a6c26c80000f11dac45e00096b1669b3
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="ID">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             dfe699c0e7bc11d9c736d51c0a0013e1
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:length value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="NAME">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             dfe82060e7bc11d9b2efd51c0a0013e1
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:length value="35" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="CUSTTYPE">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             dfe82061e7bc11d9c193d51c0a0013e1
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:length value="4" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="POSTCODE">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             e93039a0e7bc11d9c7c6d51c0a0013e1
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:length value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="CITY">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             f0122850e7bc11d99189d51c0a0013e1
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:length value="35" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>
    Hope this will be helpful.
    Eric Ma

  • How to use many format data into a template?

    How to design a template but it can interface from many format data? 

    This is the one from 2010 but should still work.
    http://www.bfcnetworks.com/blogs/alexpearce/pull-sharepoint-2010-document-properties-into-word-quick-parts/
     You basically create a new document in the library (must have the columns you want into the word document), then you use the Quick
    Parts to insert the data where needed. Then you save this document as your template. Then anytime someone creates a document in the library when you open the document it will read from the columns of the item.
    I used a workflow and had the users actually update a SharePoint list, then that in turn creates a new document in the document library and populate the columns from the list form. Then You can send that document link to folks to download / print or whatever.
    Is that what you are talking about?

  • FORM LAYOUT DESIGNING

    Hi,
    Can anyone suggest me the approach to go for FORM LAYOUT DESIGNING in ISU? As i need to convert existing client Letters into ISU Forms(proabably smart forms).
    Secondly, if a client is having different body type (of letters) but same variable data, can we manage that in ISU? IF yes, then what care do we need to take before going for form layout design regarding different bodies of letters. How do we manage different body types of letter(with similar variable data) in ISU.
    Thanks in advance.
    Gaurav

    Gaurav,
    Can anyone suggest me the approach to go for FORM LAYOUT DESIGNING in ISU? As i need to convert existing client Letters into ISU Forms(proabably smart forms).
    You need to identify 3 things:
    1. Does SAP has standard app form vis-a-vis legacy form??
    2. If 'YES', identify it all any addl fields are needed...add them  
         as required..make it a 'Z' form.
    3. If 'NO', go for a 'Z form.
    Secondly, if a client is having different body type (of letters) but same variable data, can we manage that in ISU? IF yes, then what care do we need to take before going for form layout design regarding different bodies of letters. How do we manage different body types of letter(with similar variable data) in ISU.
    I hope above answers this Q too...addl things you need to remember is uploading logos using SE78.
    Hope this helps
    Rgds
    Rajendra

  • Print layout design (PLD) - Incoming Payment

    Hi All,
    Under incoming payment, can i have the details in terms of line by line? Somehow rather, the design that was produced by the 'system', they details of my payment is gather together in one box. How can i have it to be line by line? It looks more nicer to be given to my customer as an official receipt.
    Anyone has come across on this?
    Need your experts urgently.
    Thanks.
    Harith

    Hi Harith,
    The requirment what you are asking is not possible through PLD but the format what you have asked is possible through Query Print Layout Design.
    here you will create the Query which fetchs the required value the design the PLD for that in the Query Print Layout.
    As we had faced similar situation we resolved it by using Query Print Layout Designer.
    hope this helps you out.
    Regards,
    Shreyas

Maybe you are looking for

  • Exporting a PDF from an ATG servlet: IllegalStateException: Response already committed

    High-level question When a custom servlet in my ATG servlet pipeline writes a PDF document into the HTTP response output stream, although the PDF is delivered to the user's client browser successfully, an error is logged on the server: Servlet failed

  • How do you change the Selected Email Client

    I have created a form that submits XML data by email. The first time you click the "Submit by Email" button, a dialogue box opens up and asks you to select one of 3 options: "Desktop Email Application", "Internet Email" or "Other". The problem that i

  • Oracle Service Bus to IBM MQ v7.0 Integration Issue ISO-8859-1 Encoding

    Hi, This is the issue we badly struggling with for a few days.. I"ve a MQ proxy service listening to MQ REQUEST queue and when message is arrived to proxy, do some service callouts to local protcol proxy services and reply back to MQ REPLY queue on t

  • Key navigation

    how can i use Key navigation ( Enter KeY)For two boolean ( Ok1,OK2)in one vi,because it work only for one when irun the program. someone can help me with a sample Attachments: Key.vi ‏54 KB

  • Issues with 13" Macbook Pro Retina sleeping/waking and starting up?

    I am having 2 issues which are driving me insane.      1. It will not wake after the lid is closed for more than an hour or 2 and I have to hold the power button down to turn it off and startup again. - SO ANNOYING!      2. Occasionally it will not s