PLD Query

While printing cheques, when i give amount as Rs.100000, i get Rupees "One hundred thousand " as amount in words  in cheque, but i wanted that "One Lakh " should get printed  in cheque instead of "One Hundred Thousand"..???How can i get this??

Divya,
You can print amount in words in indian format using formulas
e.g
1)One System Variable Named u201CField_092u201D of value 88
i.e. print the Document Total here.
2)Three Database Fields named u201CField_095u201D,u201Dfield_096u201D and u201CField_097u201Detc.
Field_095 means AR Invoice : Document Currency
Field_096 means Currency Codes: Currency
Field_097 means Currency Codes: Name of 100's on checks
Note: Set Relate to property of Field_096 and Field_097 's to Field_095
3)Three Formula fields named u201CField_093u201D,u201DField_094u201D and u201CField_098u201D
Field_093 means "DecimalLeft(Amount(Field_092))"
Field_094 means "DecimalRight(Amount(Field_092))"
Field_098 means "Concat(Field_093, ",Field_096," ",Field_094," ",Field_097)
4)Field_098 is the Out Last Formula to print amount in words in Indian Format except this hide all the fields.
if this doesn't solve search more in this forum.already this has been discussed and resolved
regards
md.nazeer

Similar Messages

  • Normal pld,query pld

    hello experts,
                         I dont know how to create normal pld and query pld . Anyone tell me step by step procedure of normal pld and query pld

    Hi Perinba
    for query pld you need to create your query and save it and select query manager -->select your query then click on the create report button on the bottom right. A create user report window will appear, click on the base template (User Report (System)) then click ok.
    To modify the report double click the report name that you just created and that will give you your designer view.
    For Normal pld select the document you want like marketing documents , e.g. PO then select pen icon next to the form settings icon , select the report and click edit report button.
    you can also check this link
    https://websmp209.sap-ag.de/smb/sbo/pld
    Bongani Dlamini

  • Pld Query Not Working..

    Dear All,
    Following Query is not working when i Use the condition please guide me...
    SELECT     DocNum, DocDate, Linenum,ItemCode,Dscription,Quantity,Unitmsr,paymentterm,cardName,
                            SUM(AED)  AS AED,SUM(CST) as CST,
                         SUM(BED) AS BED, SUM(eCess) AS eCess, SUM(HSC) AS HSC, SUM(VAT) AS Vat
    FROM         (SELECT     t1.Linenum,t0.DocEntry,t0.DocNum, t0.cardName , t0.DocDate,t1.ItemCode, t1.Dscription, t1.Quantity,t1.Unitmsr,t4.pymntgroup as 'paymentterm',
                                                  ISNULL((CASE WHEN upper(t2.STACode) LIKE 'CUS%' THEN t2.basesum ELSE 0 END), 0) AS 'NetAV',
                                                  ISNULL((CASE WHEN upper(t2.STACode) LIKE 'CUS%' THEN t2.TaxSum ELSE 0 END), 0) AS 'BasicCD',
                                                  ISNULL((CASE WHEN upper(t2.STACode) LIKE 'CST%' THEN t2.TaxSum ELSE 0 END), 0) AS 'CST',
                                                  ISNULL((CASE WHEN upper(t2.STACode) LIKE 'AED%' THEN t2.TaxSum ELSE 0 END), 0) AS 'AED',
    ISNULL((CASE WHEN upper(t2.statype) = - 90 THEN t2.TaxSum ELSE 0 END), 0) AS 'BED', ISNULL((CASE WHEN upper(t2.statype) = - 60 THEN t2.TaxSum ELSE 0 END), 0)
                                                  AS 'eCess', ISNULL((CASE WHEN upper(t2.statype) = - 55 THEN t2.TaxSum ELSE 0 END), 0) AS 'HSC',
                                                  ISNULL((CASE WHEN upper(t2.stacode) LIKE 'Vat%' THEN t2.TaxSum ELSE 0 END), 0) AS 'VAT'
                                                                                    FROM  OINV AS t0 INNER JOIN
                         INV1 AS t1 ON t0.DocEntry = t1.DocEntry INNER JOIN
                   OCTG as t4 on t0.groupnum=t4.groupnum inner join
                                                  OITM AS t3 ON t1.ItemCode = t3.ItemCode INNER JOIN
                                                inv4 AS t2 ON t1.DocEntry = t2.DocEntry AND t1.LineNum = t2.LineNum LEFT OUTER JOIN
                                                  [@BTT_RG23D] AS t6 ON t1.U_FolioNo = t6.Code
                                           ) AS T
                       GROUP BY DocNum,cardName,Linenum, DocDate,Quantity,Dscription,ItemCode,CST,paymentterm,Unitmsr
    Thanks
    Mangesh Pagdhare

    Dear Mangesh Pagdhare,
    You need T. in front of all your main query fields at least.
    Thanks,
    Gordon

  • PLD Query Problems......Please help

    Hi
    Can any help me in gettig the idea of how the report(I mean how the report template is designed for the Query) is generated for the query generated through Quetry generator.
    Can I add a field value of Query to Report header field in the report(other than in the Repeatitve Area)

    Check this link which takes to the e-learning curicullam on Query Print Layout
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c31ad9f9-0901-0010-dd95-e4bf1a7465ff]
    Ensure that you have Flash Player and Multimedia installed in your machine to play the video.

  • Default Ageing Business Partner Report PLD by Busines Partner Type

    Hi Experts!
    I am hoping you can help me with a PLD query I have.
    I have two PLDs setup for the Business Partner Ageing Reports. 
    One PLD is for Debtors and contains a text field showing 'Debtor' and the other PLD is for the Creditors and contains a text field showing 'Creditor'.
    When the Customer Receivables Ageing report is required, the PLD containing 'Debtor' has to be selected, and when the Supplier Liabilities Ageing report is required, the PLD containing 'Creditor' has to be is selected.
    My idea was to set the 'Creditor' PLD to all the Supplier Business Partners and the 'Debtors' PLD to the Customer Business Partners, thus eliminating the need to select a PLD each time. 
    But when I go to the PLD and select set as default, I don't have the option to set by Business Partner, the only option I have is to set the PLD by User.
    Can you help me on this one please?
    Many thanks!
    Caroline

    Hi,
    It is not possible for USER Default Print method for Aging Report.
    it is possible only for Marketing and Banking Document.
    It is possible on PLD but it is not possible in Page Header on Aging Report PLD.
    Try this,
    ->> Open the Aging Report PLD.
    for example,
    BP Code Field ID in Repetitive Area -> F_110
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    ex. Field ID -> F_160
    Substring(F_110,0,1)=='C'
    ex. Field ID -> F_161
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    Substring(F_110,0,1)=='V'
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    ->> Assign Link to Option in General Tab on Properties Window.
    Customer Aging Report
    Link to - F_160
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    Vendor Aging Report
    Link to - F_161
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • Include batch/serial numbers with Count Sheets

    When performing a cycle count for items that are managed by batch or serial numbers, it is necessary to record the count by batch or serial number, since discrepancies must be entered with this information.  There should be an option or alternative PLD layout that would include a list of batches or serial numbers with quantity > 0 in the warehouse.  Users could then enter the count for each batch, or check off the serial numbers that are counted.

    Hi Marcia,
    I just made a query to pull that data.  I had the item and item group table in there because we were filtering by item group.
    SELECT
      T0.[ItemCode]
      ,T0.[ItemName]
      ,T0.[BatchNum]
      ,T2.[ItmsGrpNam]
      ,T0.[Quantity]
      ,NULL as 'Counted'
    FROM
      OIBT T0 
      INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
      INNER JOIN OITB T2 ON T1.ItmsGrpCod = T2.ItmsGrpCod
    WHERE
      T0.[Quantity] > '0'
    It will give you the list of all batches with quantities to count.  Then you can make a PLD query layout and print that.  Problem is you have to aggregate the items into a total by item code anyways for doing the counting, but then you need to have the batch data when posting.
    Hope that helps,
    Mike

  • Query PLD

    Hi All
    Iam designing a PLD for Query Report
    *In the PLD iam designing the Report  for Open Purchase Order Status Report Query run fine but the problem came under designing the Document.My Query as above.
    My Client have requirement not repeat the PO No, PO Date,Due Date and Vendor Name that's row level record not repeated.(Under that row level record repeat (For Eg : Item Code,Item Description,Order Qty,PO Amount etc)  But it is possible from me in Query PLD.
    SELECT
    T1.DocNum,T1.CardName as "Vendor Name",t0.[Itemcode],t0.[dscription],T0.[Project] as "Project Name",
    T1.[DocDate] as "PO Date",
    T0.[ShipDate] as "Due Date",
    Sum(T0.[Quantity]) as "Order Qty",
    Sum(T0.[LineTotal]) as "PO Amount",
    Sum(T0.[OpenQty]) as "Pending Qty", 
    Sum(((T0.[OpenQty]) * (T0.[Price]))) as "Pending Amount"
    FROM
    [dbo].[POR1]  T0 INNER JOIN [dbo].[OPOR] T1 ON T0.DocEntry = T1.DocEntry left join OPDN T2 ON T2.DocEntry = T0.TrgetEntry
    WHERE
    T1.[DocDate]  >=[%0] and T1.[DocDate]  <= [%1]  and t1.[Docstatus] = 'O' and t0.[linestatus] = 'O'
    Group By
    t0.[Itemcode],t0.[dscription],T1.[CardName], T1.[DocNum], T1.[DocDate], T0.[ShipDate],
    T0.[Project], T2.[DocDate]
    order by
    T1.DocDate
    Regards
    Amol

    Hi Amol,
    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.
    ->Select Field Name (Sort by) -> DocNo or CardCode,
    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. .
    Check the below thread, You will be get some idea or solution.
    Re: Two Repetitive areas in one PLD
    Regards,
    Madhan.

  • Distinct count of GRN's in Query PLD

    hi all,
    We have developed a daily grn report and designed report
    using  Query PLD.
    Report contains
    (grn no,date,vendor name,vendor ref no,item code,item
    description,quanity & line total)
    We want to display no of grn's(distinct count)
    @ repetitive area footer.
    Is there any function available in formula field to display
    distinct count of no. of grn's ? / It should done thru query.
    Thanks,
    with regards,
    A.Jeyakanthan

    it will be hard from PLD, instead u can have ur query like,
    SELECT 'Details', '   ',T0.Docnum, T0.CardName, .... FROM OPDN T0 WHERE Month( T0.DocDate ) = Month ('{%0]')
    Union
    SELECT 'Counts', count(T0.DocNum) as 'Doc(s) No', ' ', ' ', ... FROM OPDN T0 WHERE Month( T0.DocDate ) = Month ('{%0]')
    (Replace { with [ )
    Note ' ' is a gap in order to fill the other fields. in first query have given tht '  ' gap purposely so tht the display will not affect ur designing part
    union is used b'coz Count() fn is like aggregate, so wont allow further individual fields coming along with it.
    the 2nd query will occupy only one row, which by grouping u can separate and can hide from repetitive and take the value via formula field by writing that field's id to it into Footer Area.
    Regards,
    Dhana.
    Edited by: Dhanalakshmi C on Mar 5, 2008 1:31 PM

  • New customized report using PLD or QUERY PRINT LAYOUT to show customers onl

    I am working with a Software Developing firm as an SAP Consultant.
    Please tell me how to create a new     customized     report displaying various details as required by the client in the report using PLD or Query Print Layout.
    Please help me asap.

    Hi,
    You can create queries using the Query Generator or the Query Wizard tools.
    After you have created your own queries, you can link them to a required print layout.
    for user reports.Look at:
    Tools --> Queries --> Query Print Layout
    Set there your query reports.
    Printing User-Defined Queries
    After you had linked a user-defined query to a user report template, you can now print it
    according to its linked print layout.
    There are two ways for printing your user-defined queries.
    1. Using the Query Print Layout window:
    • Select from the upper menu Tools &#1048774; Queries &#1048774; Query Print Layout.
    • Click the Reports tab page.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    2. Using the Queries Manager window:
    • Click the Queries Manager icon on the upper tool bar.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    Note! You can also print preview user-defined queries. Do so by selecting the Print
    Preview option as described in the methods above for printing your query.
    Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
    Rgds,

  • PLD Report does not show data from Query

    Hello,
    SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
    Thanks,
    Nick

    Hi Nicholas,
    Please check below links.
    query based print layout design
    Print Layout Designer \Custom Reports
    How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
    http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • How to define the PLD of a Query generator report

    Hi All,
    I want to define the PLD of a Query Report. Currently I am Convertning it to Excel format. But my client wants it in PLD format.  so please tell me the process of defining the PLD for a Query generator Report.
    Thanks & Regards
    Pankaj Sharma.

    Hi,
    When u wrote yr query at that time save yr query
    Now yr query is save in "Query Manager"
    Open Query Manager > select yr query
    There is a button "Create Report"
    Create USer Report Window is display "define yr name" and select "Base Temple"
    once u save it double click and edit yr PLD....
    Hope it a best way to create uer PLD
    Thanks
    Kevin

  • How to get value in variable from query in PLD / ALD

    Hi, everyone,
    I want to retrieve value from database via query in PLD/ALD variable on basic of PLD / ALD variable's content. is it possible ?

    Hi
    Try this,
    ->> Open the GRPO document.
    ->> Click the Tools on menu bar and Open the Form Setting widnow.
    ->> put the tick mark in BaseRef, BaseDoc, TrgetDoc
    i think, Base Document no field default in SAP B1.
    try to search the Base doc. Date in row level on GRPO document.
    Try to Create UDF & FMS then assign the FMS in UDF
    SELECT Distinct T1.DocDate
    FROM PDN1 T0 INNER JOIN POR1 T1
             ON T0.BaseEntry=T1.DocEntry
    WHERE
    T1.[DocNum]=$[PDN1.BaseRef]
    OR
    SELECT Distinct T1.DocDate
    FROM PDN1 T0 INNER JOIN POR1 T1
             ON T0.BaseEntry=T1.DocEntry and
                T0.BaseLine=T1.LineNum and T0.BaseType=22
    WHERE T0.[BaseType] =22
       and T1.[DocNum]=$[PDN1.BaseRef]
    IF you more details, Check the below thread.
    Re: How to store the invoice number in the head of the related delivery ?
    Regards,
    Madhan.
    Edited by: Madhan Babu C on Dec 11, 2009 6:57 AM

  • Backup a Query Print Layout or PLD form to restore later

    How can I backup a PLD or Query Print Layout and save to a drive that will allow me to restore the layouts later on another version of B1?
    I am upgrading 2005 to 2007 and during some testing I found the layouts were not saved in it's original form that we created and we had to redo them. I want to be sure I keep the layout as is and only tweak the fields if they have changed at all from 1 version to the next.
    Any ideas?
    Thanks
    Joanne

    Oh sure CX will work fine but not across DB versions. I need the format "before" I upgrade the DB....then take those forms and restore them or copy them to the new DB "after" upgrade.
    I already tried to copy them across DB versions, no luck.
    See I have a Check register using QPL that works great, when I do the upgrade from 2005A to 2007A, the layout goes all out of whack and is not the same as it was in 2005A. I had to redo everything in the layout as if it was created again.
    I am trying to avoid that by coping the form someplace and seeing if I can restore it back after the fact, then test it.
    Does that make sense?

  • Additing Field to Query Report in PLD

    Hi
    We have created a user query. Created report though Query Manager. Edited report through Query Print Layout.
    If we add another field to the original query, even when we add the field to the report in PLD the field does not print.
    Any suggestions?
    Regards

    This is the tricky part with QPLD.
    Once you create the report from a query the query does not get refreshed into the report.   The query itself is saved in a table and the same is referenced each time you run the QPLD.
    therefore if you change the query you need to create a new QPLD layout for the changes to take effect.
    So try not to create a QPLD before you are completely sure about the data
    Suda

  • Add custom query to standard PLD layout

    Hi Everybody,
    I need to change the standard Invoice PLD report, in order to include additional data that is
    kept in my UDO.
    Is it possible to define a custom query inside PLD to retrieve data from the UDO
    (the UDO is linked to the Invoice) and show it in the Invoice layout?
    Thanks all,
    Manuel Dias

    Hi Manuel,
    One workaround you can try is to use UDF and formatted search to retrive the info on the invoice screen and then directly display it on the invoice PLD.
    Hope it helps.
    Regards,
    Hamsa

Maybe you are looking for