UDFs in Crystal

Hello Experts,
I have a UDF in Service Type AR Invoices to identify a particular service.
The UDF is something like :
Value  Descripcion
AAA = Apple
BBB= Banana
CCC= Cinammon
etc..
In crystal, i want to display the description of the value. DO you have any suggestions on how to accomplish this ?
Please let me know

Hi Renata Meuly,
when we want to have description of UDF value in crystal report.
CUFD and UFD1 one are system tables.
SELECT DISTINCT T1.Descr FROM dbo.CUFD T0
INNER JOIN dbo.UFD1 T1 ON T0.TableId = T1.TableId
AND T0.FieldId = T1.FieldId
WHERE T0.TableId = 'INV1' AND T0.AliasID = 'List' AND T1.FldValue =
$[$38.U_List.0]
For testing create one UDF with Name List in Marketing document Row level and try use Set Valid value.
Thanks,
Srujal Patel

Similar Messages

  • How to Assign Image field in crystal report through Image UDF

    Hi All,
    I want to capture the Image UDF in crystal report. How can i assign the field in report.
    Can any body help me.
    regards,
    Kiran Kumar

    Hi kiran Kumar,
    IPost a message to SAP Businessone Reporting & Printing Forum
    and also check this link
    Re: SAP Business One and Crystal Reports
    Image Type In Crystal Report
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 19, 2009 8:22 AM

  • Text UDF Disappear in CRYSTAL Layout

    Hi all,
    I built a SBO layout for sales quotation in crystal 2008.
    When i display the layout in the crystal editor every thing works fine, but when i open the layout in SBO all the text UDF disappears (including their column headers).
    Numeric UDF are displayed fine.
    Does anyone have a clue for the source of this problem.
    Thanks, Udi

    hi,
    are you using Stored Procedure or direct to tables?
    i will recommend you use Stored Procedure and use the SQL CAST to achieve the desired output.
    regards,
    Fidel

  • UDF field in Crystal in Sales Order Layout

    Hi,
    I want to Include UDF field in sales order layout, when i open default layout it shows only standard in RDR1(UDF for rowlevel ) it doesn't shows UDF fields. Now i connected database and re-established OLE DB connection and pulled the RDR1 table, here i can get those UDF created by me. but if i use this UDF field in report details area and this results no values in the layout while preview the report in SAP B1.
    Anyone guide me on this....
    Regards
    sree

    Hi Ivan,
    If you want to populate UDF fields into crystal reports layout then you have to do wat i mentioned earlier.
    1. Go to Menu
    2. choose Database
    3. choose verify database
    4.enter Object Id and Document Number as a input
    5.system will retrieve the values from database and pull all the fields including UDF
    but this doesn't change field length of UDF you have to change it on UDF fields management in SAP by updating the field properties.
    Note: later you can't reduce the length
    Regards
    Sree

  • UDF's in Crystal

    Hi,
    I am a complete novice when it comes to crystal but am trying to tweak our purchase order layout so that it might bring a manufacturers part number that is located in a UDF bu cant find the UDF field reference in the field explorer, in fact it doesnt display any UDF's does anyone know why this is and how we can pull UDF's into our crystal layouts

    Hi David,
    I'm modifying the standard b1 DELIVERY NOTE report. In section: Database Fields I don't see the UDF of my DB but ...
    if you create a new formula field (XXXX), in the window listing Report fields and DB table included in teh report, THERE you can see all your UDF. Simply double click on your UDF and a formula is written: {TABLE.UDF} and then use XXXX to view the data in the report.
    Hope this helps.
    Regards,
    francesca

  • Crystal not displaying  UDF

    Hello Experts,
    I got a UDF on the OPQT table. When created the Crystal report, I added it to the template but when previewing the report the field is bland (even that there is information stored on it).
    I've tried everything but can't find the problem.
    Do you have any thoughts on this?
    Thanks

    In reality there are two UDF and none of them are displayed in SAP.
    1 is Alphanumeric with a set of valid values.
    2 is Alpahnumeric -regular... (free text is entered).
    I do not know what is convert or anything...

  • How do make link between query and UDF

    How do you link a query to your UDF after you created the query and the UDF?
    Also do you have to set the UDF as type "general", and "link"?
    Please take me thru step?

    oh good - a discussion about whether to use "link" or "image" when having an image connected to a product!!!
    Billy and Suda - We had fun with this one some time ago in a project collecting additional data and images for the customer's products on the market.  As we were ramping up the project, we tried both ways of connecting an image to a product and there was a few drawbacks we found with using the UDF type of "General" and "Image":
    1.  The image was placed directly on the UDF portion on the Item Master - they were working in large TIFF (?) formats and the picture just looked horrible.  The approving manager could not tell if the image should be approved for press or not.  When he double-clicked on the image in the UDF portion it brought up another SAP window that wasn't quite crystal clear.
    2.  The image took up so much room on the UDF portion of the Item Master that the data entry personnel had to constantly scroll down to enter the other data points (color, size, branded promo, mixture, etc - there were about 12 fields).  Talk about being ticked!
    3.  While using the "General" and "Link" it addressed those concerns BUT there was one extra enormous advantage with this General/Link method.  When the image was brought up, it opened up the image automatically in a standard picture editor/manager program.  If they liked what they saw, they continued foward with the approval of the image for press runs.  If they did not like the image, they were able to manipulate the image at the moment and then follow through with approval (time saver for sure!).
    I am sure it all boils down to what the customer requirements are, but some other clients I demoed this to wanted to switch immediately after seeing that!  But definitely something to think about if you are planning on connecting an image to a product...
    Oh and she really is correct, Billy - I have never heard of anyone linking a query to a "link" or "image" type...I don' t know how you would even do that as the "link" or "image" selection leads you directly into the attachment and/or storage path and location...
    take care - Zal

  • Error deploying Crystal Report XI R2 to Enterprise - Failed to read paramet

    Error deploying Crystal Report XI R2 to Enterprise - Failed to read parameter object.
    I know this issue has been addressed several times and the solution recommended was to install Service Pack 2. I have done that. It started working for me too; however recently I got some error saying some UDF***.DLL is missing. I re-installed Crystal Reports XI R2 and Service Pack 2. Unfortunately though, this error is back. I have restarted the machine n number of times but keep on getting this error.
    My report file has dynamic parameters defined through command object (SQL Query). My understanding is that once I publish the report to BoE Enterprise, BO will create LOVs and BV's in the repository. Now that is not happening.
    has any one else had this issue before and resolved it?
    Thanks

    Hi,
    do you export your CR report in your BOBJ repository using an account with administrator rights?
    Regards,
    Stratos

  • Getting Image from database in crystal report

    Hi Experts,
                         I have a user UDF which has Image datatype. I store all the image in C:\Program Files\SAP\SAP Business One\Bitmaps\   folder.Now i have to show this image in my crystal report. When i tried to pick this image from database it gives me only the name of image with extension like abc.jpg . How could i achive this in crystal report.
    Thanks and Regards

    Hi Om
    As you have the location of the image, you can insert it as an OLE object onto the report.
    Click on Insert -> OLE Object -> specify the path of the image.
    For more information, please refer to Crystal Reports help.
    Regards
    Sourashree

  • Crystal report command query

    Hi expert,
    regarding crystal report query,im still new in crystal report,actually i want to make report join with table opor,por1,opor,oitm,oshp,nnm1,ocrn,por10 and octg.im face difficulty when want to join por10.then i join with por10.docentry = por1.docentry with table por1 and por1.visorder = por10.aftlinenum and im not sure it correct or not.im just want to make condition like this
    if (T1.U_CSUS_Size = '') and (t2.LineType = 'T') then it will show (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size) else (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp) and joining (from POR1 T0 
    INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
    inner join por10 T2 on T0.docentry = T2.docentry and T0.visorder = T2.aftlinenum)
    for 'u_csus_.....' is for udf i created.can i know how easier step for this condition.i also already try alot of query.sometime can make duplicate column.
    regards,
    Arif
    Edited by: Ahmad Arif on Jan 10, 2012 4:03 AM

    Dear Anmad Arif
    Try the below query
    SELECT
                          (CASE WHEN  (T1.U_CSUS_Size = '') and (t2.LineType = 'T') THEN
                    (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size)AS NVARCHAR(1000))
                   else T1.[Dscription] End) AS [Description],                      
                    T1.VisOrder,
                    (CASE WHEN T1.[Quantity]<=0 THEN  NULL ELSE T1.[Quantity] END) AS Qty,
                    CAST(ISNULL(T3.UserText, '''') AS VARCHAR(MAX)) As ItemDesc,
                        T1.Currency, T3.SuppCatNum,
                        (CASE WHEN T1.linetotal<=0 THEN NULL ELSE T1.linetotal END)  as amount,
                    (CASE WHEN T1.[price]<=0 THEN NULL ELSE T1.[price] END) AS  Rate,
                    T3.UserText,
                    T0.DocEntry,
                    ISNULL(T1.U_Unit, T3.SalUnitMsr) AS SaleUnit,
                    ISNULL(T3.BuyUnitMsr, '''') AS PurchaseUnit,T1.VisOrder,'' LineSeq,'' aftLineNum,
                    ISNULL(T0.U_QText,'') AS QText,T1.U_QRR as QRR
              FROM     OPOR T0
                    RIGHT OUTER  JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
                        RIGHT OUTER  JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
                        LEFT OUTER JOIN dbo.OSCN AS T4 ON (T0.CardCode=T4.CardCode AND T1.ItemCode=T4.ItemCode)     
              WHERE   T0.Docnum = '4063'
    UNION ALL
              SELECT  CAST(ISNULL(T1.LineText, '') AS VARCHAR(MAX)) AS [Description],
                    T1.AftLineNum,
                    NULL Qty,
                    null,
                    null ,NULl ,NULL,
                    null Rate,
                    NULL,
                    T0.DocEntry,
                    null,
                    null,T1.OrderNum,T1.LineSeq,AftLineNum,'' AS BPCatlog,
                    null
              FROM     OPOR T0
                    RIGHT OUTER  JOIN POR10 T1 ON T0.DocEntry = T1.DocEntry
              WHERE   T0.Docnum = '4063'
                         And T1.LineText IS NOT NULL 
    Note : Change the DocNum= DocKey When you use Crystal report  As per your requied
    Regards
    Kamlesh

  • Show image in crystal report 2008

    Hi All,
    I have a UDF - image type in Sales order Line item which stores image.
    Currently I want to display sales order line item data in CR2008 using a query.
    All data is coming but image field is showing image name in place of showing image.
    How can I show image.
    Kindly suggest.
    Deep Kulshrestha

    Hi Deep,
    An image type UDF only stores the image name in the database. When you add an image, the SBO client takes a copy of the image file and puts it in the Pictures folder (as defined in General Settings). Therefore, to use dynamic images in Crystal you will need to do the following:
    1) Create a formula in Crystal that combines the image name from the UDF field and the path to the Pictures folder to create the full path to the image (note: your Pictures folder must use a UNC or mapped drive path rather than a local path). It's easiest just to hardcode the path to the Pictures folder in the report but you'll have to bear in mind that this setting is company database specific. If you want to be able to run the report for multiple SBO databases then you may need to use a formula to change the path (you could add the OADM table to the report but there is no suitable join between this table and other tables in the database. The report would work because there is only ever 1 record in OADM but it's not good report design).
    2) Once you have your formula you can add a add a picture to the body of the report (at this point you should select a default image)
    3) Right-click the picture on the layout and choose Format Graphic.
    4) Select the Picture tab and click on the formula button to the right of the Graphic Location property
    5) In the formula window set the return value to the formula you created in step 1.
    6) At this point your image will dynamically change based on the UDF value. You may want to set a formula in the Suppress property of the image so that the default image is hidden if the UDF field is blank for a particular record.
    Kind Regards,
    Owen

  • XL Reporter Composer Shut down when UDF as Group

    Hi All,
    I'm need to group the report using the UDF.  When I run XL reporter, group the data by UDF generate or Edit report, the XL reporter shut down.
    May I know any one facing this issue?
    Looking forward advice and reply.
    Thanks.
    Regards,
    Foong Yee

    Group by UDF in XLR is always problematic.  You should check other option to group by system field.  Otherwise, try Crystal report or other tools.
    Thanks,
    Gordon

  • Alternate Item in Crystal Report

    Hi Experts!
    I am not able to manage alternate item in crystal report's detail section.
    Please help me out in solving the same problem.

    Hello,
    Whenever you make CR in designer then you have three option
    1.Select Table(SQL Table)
    2.Select Procedure(SQL procedure)
    3.Select Command(Which have SQL query)
    Option 1:-
    If you want to use Alternative code then use OALI table and make right or left join with this table.
    Option :-2
    Make UDF row level and set FMS for Alternative or parent item Code.
    Thanks
    Manvendra Singh NIranjan

  • UDF of Nvarchar(Max) type

    Hi All,
    Whenever some User Defined Fields is created in 2007, the underlying field is always of NVARCHAR(MAX) type. This is posing problem when creating a report on the basis of such fields in Crystal, since it does not allow to use such fields for creating links.
    How to avoid this problem? It is ok to change the structure using query directly for user defined tables. Since I don't think it would require any changes in the way B1 stores the udf information.
    Regards,
    Rahul Jain

    In my company we use this workaround:
    For each table you want to link in crystal report, create a Table Key in Sap Business One as :
    - Tool -> Customization Tools -> User-Defined Fields -Management
    - Select the table name used in report
    - Press 'Keys' Button
    - Create the key selecting the fields you want to change in nvarchar(length)
    Regards,
    Roberto Montenovo

  • Update a UDF field at runtime

    I designed the Sales Order and Sales BOL form in Crystal Reports. I am looking to capture and update an UDF field every time I'm printing the one of those reports in SAP B1 2005 A. The reason for doing this is to display on the report "Original" when printed for the first time, "Duplicate" when printed for the second time and so forth. Is this possible? Thank you.

    You could do a Formatted search on the UDF to change to a value when the Field "Printed" is changed.
    You might want to do "Refresh Regularly" option in Formatted Search.
    Krishnan

Maybe you are looking for

  • IPad iCloud Back-Up

    Hi Guys, My iPad has not backed-up to iCloud for over 6 weeka now, just keep getting the message now and again telling me how long its been since the back up...but if i try doing it, an error message comes up....iPhone works fine, but for some reason

  • Using variables in a query

    Hello all, I just tried to use variable in a query and dont know how to output the content in the query. As you can see from what i am trying, i would only get the name of the query and the field name not the output. Please tell me the idiotic thing

  • How to upload a file into specified location

    Hi Frndz.. How to upload a file using File upload feature in web dynpro into our specified location(usr/sap/Images/....),not into  workspace r default path in server. Thanks in Advance Regards Rajesh

  • ERROR at PGI level

    Dear all, I tried to raise a sales order for a material(FERT),.after sales order i could able to do picking.At PGI level an error is coming that "Valuated stock becomes negative:136 " I have not created any negative stock. Available stock is not rest

  • Import docs to iBooks?

    Is it possible to import large pdf documents into the iBooks app so that the App's functionality can be used for reading them? Many thanks.