Format string returned by PieChart labelFunction

I am new to Flex and found this web page with an example Pie
chart:
Pie
chart example with code
I want to format the output so that, using this link as an
example, the country is in a larger, bold font. I sure appreciate
any thoughts or tips.
Thanks

Thanks for the reply. There is an ItemRenderer for PieSeries,
but I do not understand how that would be extended/replaced to
format the string returned from my custom labelFunction to changed
font characteristics. I looked at htmlElement, but it does not
appear to be a solution for this case.
To be clear and referring to the link from my initial post,
instead of displaying this default output from the label function:
USA:
Total Gold: 35
37.23%
I want:
USA:
Total Gold: 35
37.23%
Where the "USA:" string is bold. It seems very simple, but I
am unclear on how to proceed. Any ideas?
Thanks.

Similar Messages

  • SimpleDateFormat format() method returning string as ??/??/????

    private String dateTimeFormat(Long time) {
              SimpleDateFormat sf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
              if (time != null) {
                   Date date = new Date(time);
                   return sf.format(date);
              return null;
         }Above function is returning date string as ??/??/???? ??:??:?? on particular system(LINUX-RHEL4). Its Default Locale is en_US.
    What would be the problem ?

    rathi123 wrote:
    Tired running it locally,its working fine. I double checked locale settings of other machine (+locale+ command in Linux) it is also fine.
    I want to know in which exceptional cases SimpleDateFormat format() method returns such (??/??/????) a string ?As I said, it doesn't (If I'm correct). It's more likely that you have an invalid encoding specified somewhere. What happens if you print the value into a log?

  • Why does the "Format & Strip" function not return a number in the same format as "Format String"?

    I am using the "Format and String" function in a vi with the "string" input wired to a string of type "0.9998,0.9899,1.0003,0.9995, (etc)". I have wired the "format string" input to a string constant "%1.4f". Irrespective of the format string, I always get a number out that is rounded to 2 decimal places. I have tried different number formats in the format string, and I have wired a 4d.p. floating point number to "default". I have also set the precision of the format string to 4 d.p. with no effect. Any suggestions (or is the output always rounded to 2 d.p.)?

    Hi,
    If you are looking at the result in a numeric indicator, then the default setting is 2 places of decimal, that is displayed.
    You need to right click on the indicator and select Format & Precision then change the Digits of Precision value.
    Ray.
    Regards
    Ray Farmer

  • DateValidator, Configuration error: Incorrect formatting string

    Hi guys,
    I am struggling with a DateValidator issue, I hope someone can help me
    Here is the parts of code needed to check what's wrong:
    public const DATE_FORMAT:String = "DD/MMMM/YYYY";
    <mx:DateFormatter id="dateFormatter" formatString="{DATE_FORMAT}" />
    <mx:DateValidator
    id="firstDateValidator" inputFormat="{DATE_FORMAT}" required="true"
    source="{firstDate}" property="text" />
    <mx:DateFiel id="firstDate" labelFunction="doLabel" />
    private function doLabel(item:Date):String
         return dateFormatter.format(item);
    I need to format and validate the following example: 13/January/2011
    When I use DATE_FORMAT = "DD/MM/YYYY", I have no problem to format and validate the Datefield, I have 13/01/2011.
    But when I use DATE_FORMAT = "DD/MMMM/YYYY", I have the following error message with the validator (the formatter is working well):
    Configuration error: Incorrect formatting string.
    Thank you very much for your help.

    Standard Flex validator out of the box is very fragile when it comes to validate "non-standard" date formats. You should extend this DateValidator with your own version like I do, that re-implements "format" function call and rewrites private function "validateFormatString" from the the scratch.
    Here is the my implementation of this function:
    private static function validateFormatString(validator : DateRangeValidator,
                                                         separatorSign : String,
                                                         formatPartsArray : Array,
                                                         baseField : String) : ValidationResult {
                var formatPartsValidationObject : Object = {dayValid : false,
                    monthValid : false,
                    yearValid : false};
                var formatsLength : int = formatPartsArray.length;
                var mask:String;           
                for (var i : int  = 0; i < formatsLength; i++) {
                    mask = formatPartsArray[i];               
                    switch (mask) {
                        case "M" :
                        case "MM" :
                        case "MMM" :                       
                        case "MMMM" :
                            formatPartsValidationObject.monthValid = true;
                            break;
                        case "YY" :
                        case "YYYY" :
                            formatPartsValidationObject.yearValid = true;
                            break;                   
                        case "D" :
                        case "DD" :                   
                            formatPartsValidationObject.dayValid = true;                       
                            break;                       
                if (formatPartsValidationObject.monthValid &&
                    formatPartsValidationObject.dayValid &&
                    formatPartsValidationObject.yearValid) {
                    return null; // Passes format validation
                } else {
                    return new ValidationResult(
                        true, baseField, "format",
                        validator.formatError);
    formatPartsArray is calculated as follows:  
    var formatPartsArray : Array = inputFormat.split("/");

  • Formatting the return value of: File(myFile).lastModified()

    I'm checking file date and time stamps:
    myDate = File(myFile).lastModified()Is there a way to format the return value?
    myDate equals: 1205166439145I'd like to see something like:
    03/10/2008  12:27 PMI'm using the following code to print the value:
    System.out.println(myDate);

    Awesome! I really, really appreciate the help and the sample code!
    Successful Output:
    K:\COMMON\ITS\STEVEB\java\CompareFileDates>java CompareFileDates
    execution continuing...
    test1.steve (3/10/08 12:27 PM) is older than test2.steve (3/10/08 1:33 PM)Error free code:
    import java.io.File;
    import java.lang.Object;
    import java.util.Date;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    public class CompareFileDates {
      public static void main(String[] args) {
        String file1_stat = null;
        String file2_stat = null;
        String file1 = "test1.steve";
        String file2 = "test2.steve";
        long date1 = 0;
        long date2 = 0;
        String finalDate1 = null;
        String finalDate2 = null;
        boolean file1Exists = (new File(file1)).exists();
        if (file1Exists) {
            // File or directory exists
            file1_stat = "does exist";
            // Get the timestamp from file 1 and format it
            date1 = (new File(file1)).lastModified();
         Date newDate1 = new Date(date1);
         DateFormat df = new SimpleDateFormat();
         finalDate1 = df.format(newDate1);
         //System.out.println(file1 + " date: " + finalDate1);
        else {
            // File or directory does not exist
            file1_stat = "does not exist";
        boolean file2Exists = (new File(file2)).exists();
        if (file2Exists) {
            // File or directory exists
            file2_stat = "does exist";
            // Get the timestamp from file 2 and format it
            date2 = (new File(file2)).lastModified();
         Date newDate2 = new Date(date2);
         DateFormat df = new SimpleDateFormat();
         finalDate2 = df.format(newDate2);
         //System.out.println(file2 + " date: " + finalDate2);
        else {
            // File or directory does not exist
            file2_stat = "does not exist";
        if ((file1Exists == false) || (file2Exists == false)) {
                System.out.println("aborting program...");
        else { 
           System.out.println("execution continuing...");
           String relation;
           if (date1 == date2)
             relation = "the same age as";
           else if (date1 < date2)
             relation = "older than";
           else
             relation = "newer than";
           System.out.println(file1 + " (" + finalDate1 + ")" + " is " + relation + ' ' + file2 + " (" + finalDate2 + ")");
    }

  • Parsing formatted String to Int

    How can I parse formatted string to Integer ?
    I have a formated string like this $900,000 and I need to convert it to 900000 so I could do calculations with it.
    I tried something like this
    NumberFormat nf = NumberFormat.getIntegerInstance(request.getLocale());
    ttlMargin=nf.parse(screenVal);I got this exception
    "java.lang.NumberFormatException: For input string: "$1,050,000""

    I am working on the JSP file that provides
    margins,sales etc. I am reading this data off the
    screen where it is beeing displayed according to the
    accounting practices.
    That's why I get it as a formatted string and why I
    am trying covert that string to the numberScreen-scraping is a problematic, bad design. It sounds like what you really want is to call a web service which returns its results as data that a program can understand (XML, for example), not HTML (which is meant more for humans to read). I know, you probably can't change the design at this point... just food for thought. In the meantime, you'll probably have to manually parse those strings yourself by stripping out the '$' and ',' characters and then use parseInt on the result.

  • ViScanf invalid format string due to #sample size data1, data2,... response

    I'm writing a program which will utilize the internal memeory of the Agilent 34410A DMM for making fast measurements (10K/s).  In order to do this, I need to setup a test, have the data stored to the internal memory, then read and delete it, while other measurements are still happening.  The best command for the read/delete function is the R? command, but it returns the data in a strange format which breaks the ViScanf format string.  
    an example of the R? reading in below:
    R? 2
    #231+2.87536000E-04,+3.18131400E-03
    Is there a way to setup the ViScanf format string to handle this?
    Thanks
    Ryan

    Yes, I am using CVI
    If it was just returning one value I would use a simple viScanf function like this:
    viScanf (vi, "%f", fbuf);
    If you do a READ from in the instrument, it returns an array of floats so you need to adjust you viScan fuction parse the string into an array of floats like this (array of 500 for this example):
    viScanf(vi, "%,500f", fbuf);
    The problem is the data response to the R? command starts with the array size and is then followed by the data (#231+2.87536000E-04,+3.18131400E-03).  In the previous example, I need to delete the #, and parse the 231 into an array size variable and then fill an array (fbuf in this case) with the data.

  • SQL Error: ORA-01861: literal does not match format string

    Hello,
    I'm trying to do data mining on a web log which recorded one day web access information from a busy web server. I imported the data into Oracle Data miner, and created a table (WEBLOG). The idea is to create a new field, i.e. session, for the users so that each session could be thought as a representative of a user-intent (aka topic). Now based on this, data mining models would be used to cluster(group) the users based on their similarity. The first step is to prepare the data which involves using SQL queries. So first, all I did was to create a function for date and time. This is the following code I used,
    create or replace function ssndate(p_date in varchar2 default '03-01-18',
    p_time in varchar2)
    return number
    $if dbms_db_version.ver_le_10 $then
    deterministic
    $elsif dbms_db_version.ver_le_11 $then
    result_cache
    $end
    as
    begin
    return trunc((to_date(p_date||' '||p_time, 'dd-mm-yy hh24:mi:ss')
    - to_date('01-01-90','dd-mm-yy')) * (86400/2400));
    end ssndate;
    The function ssndate compiled successfully.
    The next step I took was to create a view through the following query,
    create or replace view WEBLOG_VIEWS
    as
    select (select ssndate(LOG_DATE, LOG_TIME) from dual) as "SESSION_DT",
    C_IP,
    CS_USER_AGENT,
    (CS_URI_STEM||'?'||CS_URI_QUERY) as WEB_LINK
    from WEBLOG;
    This was successful as well. The problem is in the next step where I try to do data grouping.
    create table FINAL_WEBLOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    For this, I got the error,
    Error starting at line 1 in command:
    create table FINAL_LOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    Error at Command Line:1 Column:7
    Error report:
    SQL Error: ORA-01861: literal does not match format string
    ORA-06512: at "DMUSER.SSNDATE", line 11
    ORA-06512: at line 1
    01861. 00000 - "literal does not match format string"
    *Cause:    Literals in the input must be the same length as literals in
    the format string (with the exception of leading whitespace).
    If the "FX" modifier has been toggled on, the literal must
    match exactly, with no extra whitespace.
    *Action:   Correct the format string to match the literal.
    I don't know where I'm going wrong with this.. the to_date function should be fine. In the data that I possess, the date and time are in no format. Example: 30118 and 0:00:09 respectively. If anyone has any clue about this I would be sincerely grateful for any help that I can get!! It's quite urgent..
    The Oracle version is 11.2.0.1.0
    Edited by: 975265 on Dec 5, 2012 5:31 PM

    975265 wrote:
    Ok.. Looks like I touched a nerve there. I apologize. I'm still a student, and this is the first time that I've tried something at this level. I'm still in the learning process, so I was hoping that someone could point me in the right direction in order to "fix" the data.Not so much touching a nerve as simply trying to implement a very very poor, but all too common, practice. Since you are a student (which we didn't know until this post) most people will cut you some slack. However, this little exchange should now be burned into your brain as you move forward. One of the very first rules of programming is to ALWAYS use the correct data types for your data. And along with that, never ever depend on implicit type conversions - always use the proper explicit conversion functions.
    And as a slight follow-on, when considering the appropriate data type, don't assume that just because we refer to a given element as a 'something number' that it is indeed a number. Telephone "numbers" are NOT numbers. U.S. Social Security "numbers" are NOT numbers. U.S. Postal Zip codes are NOT numbers. All are just character strings which, by convention, we limit to the same characters we use to represent numbers.
    And since this entire discussion came up around the representation of dates, you might want to take a look at http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/
    Now, go forth and be a smarter programmer than your peers.
    Edited by: EdStevens on Dec 6, 2012 6:12 AM

  • Can I use bpws:getVariableData() within oraext:format-string() ?

    I have problem in using the following expression in my "Assign" activity:
    oraext:format-string('|{0}|',bpws:getVariableData('inputVariable','payload','/client:process/client:name_param))
    I get the following error
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is oraext:format-string(‘|{0}|',bpws:getVariableData('inputVariable','payload','/client:process/client: name_param')).
    The XPath expression failed to execute; the reason was: internal xpath error.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </faultstring><faultactor/><detail><exception/></detail></env:Fault></env:Body></env:Envelope>
    Strangely, I can use the following expressions:
    1. concat('|', bpws:getVariableData('inputVariable','payload','/client:process/client:name_param))
    2. oraext:format-string('|{0}|', 'A value')
    Hence, it seemed to me that oraext:format-string() can't take the return value of bpmw:getVariableData() for some unknown reason.
    As I need to use the "format-string" function to create a complicated value based on a number of input values , I need to find a way to work around this.
    Otherwise, I am force to use the "concat" function which make it extra ugly to build the value I need.
    Please help!

    You need to wrap each parameter with striing().
    Something like this: oraext:format-string(*string*($inputVariable.payload/client:inputBase), string($inputVariable.payload/client:inputVal0))
    This way the oraext:format-string will work fine from bpel assign activity as well.
    Racheli.

  • Format string problem

    Hi,
    Sorry if this has already been asked, couldn't find it in the pages of results that came up for string formatting.
    I'm trying to output a string to serial, to control a robot arm for my undergrad final year project. At the moment it'll work if I put in a manually typed in string, but I want to make a nice VI GUI for the 'bot. To do this I need combined strings
    eg
    at the moment if I type in "joint\s1\s90\r\n", I'll get the 1st joint to move 90 degrees, and a return and a new line.
    However, if I have these things combined using format string or concatenate string, it won't run.
    Any ideas why? No one in my college seems to know, so I thought I'd ask here.
    Thanks

    Did you try something like this?
    Note: All strings are displayed as slash code...
    Message Edited by paulmw on 11-28-2006 08:09 AM
    Attachments:
    bd.JPG ‏8 KB
    fp.JPG ‏6 KB

  • SQL query error - Literal does not match format string

    Hi All,
    When I am removing these code form query then it is running fine else it is giving error of "Literal does not match format string."
    AND trunc((SYSDATE)) > DECODE(fifs.id_flex_structure_name, 'XXX Service Agreement', trunc(TO_DATE
    (pac.segment3, 'YYYY/MM/DD HH24:MI:SS')),trunc(SYSDATE) )
    Regards,
    Ajay

    Ajay Sharma wrote:
    It is flexfield segment so it can contain anything. For my query it is returning date.....Oh dear. Two really bad design decisions in one, there - storing dates as varchar2 and storing more than one type of data in one column. I suggest you read this: http://www.simple-talk.com/opinion/opinion-pieces/bad-carma/ in order to see just why that might be a bad design.
    If you have any influence at all over the way your tables/app is designed, then I would highly recommend changing the design, as it will save you countless headaches like the one you've currently got.
    If you are absolutely stuck with that design, then a) poor you and b) you'll have to add in some filters onto your queryto make sure you're only selecting rows with dates in that column.

  • Human Workflow Task XPath query string returns multiple nodes.

    I am looking for trouble shooting help for this error. I am no sure if it is a server or jdev issue.
    I am running JDev version 10.1.3.3 and console version 10.1.3.1.0 locally.
    General information on the BPEL process:
    I have a temporary table in Oracle lite that I created items to be review by the user. I created a synchronous BPEL process. The first step in developing this process, I created the straight forward invoke the table to get the records, transform the records with a change the approve flag = "Y", and invoke the table to update the records. Works like a charm. I followed the online tutorial by dropping a human task after the transform, configured the parameters, setup the assignments, and moved the invoke to update table under the approved condition. If the table has only one record, the process runs great but if there are two records I get the following error message.
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>XPath query string returns multiple nodes.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query /ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr should not return multipe nodes.
    Please check the BPEL source at line number "178" and verify the part and xpath query /ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr.
    </summary>
    </part></selectionFailure>
    =================
    The error occurs in the first assign of the Human task after the assign copies the fields for the title. I underlined line number 178.
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="HumanTask1_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/HumanTask1/HumanTask1.task'))"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <Case xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <CourtDate xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ErrorMessage xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ItemName xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <Payment xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <Zip xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProcessFlag xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <LastUpdated xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <AddedDate xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <CityAttnyAmount xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ApprovalFlag xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProlawKey xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProcessKey xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </payload>
    </from>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    <copy>
    <from expression="concat(string('Item Fee Approval '), bpws:getVariableData('Invoke_1_Select_RecordsSelect_OutputVariable','TempItemCollection','/ns3:TempItemCollection/ns3:TempItem/ns3:ItemName'))"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:title"/>
    </copy>
    <copy>
    <from variable="Invoke_1_Select_RecordsSelect_OutputVariable"
    part="TempItemCollection"
    query="/ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload/task:Item"/>
    </copy>
    <copy>
    Thank you for any help you can give me.

    Here is how I solved this problem: I was told by the metalink folks that I should use the same verion of SOA console as jdev. So I went back to jdev 10.1.3.1. Rather than reading from the Oracle lite table, I dumped the table into a flat file. I read flat file and populated the workflow. Remember to set the 'messages in batch' flag in the file adapter to 1 and the number of records to skip to zero in the format builder for the flat file. The process now reads each record and creates an instance for that each record. In other words, if I have 8 records in my flat file, I will have 8 instances of the process running on the console. Thanks Jeremy for your help figuring this out.
    Edited by: user7725126 on Nov 19, 2009 3:56 PM

  • Using Formatted Strings in Jython

    Hi !
    Who has experience with Jython inside ODI with the shipped Jython version 2.1 ?
    I tried to use a formatted String which means:
    a="""bfdlhfjds
    fjdklajfkd
    jfkdlajfk"""
    this returns back the following error-message:
    Traceback (innermost last):
    (no code object) at line 0
    File "<console>", line 2
    SyntaxError: Lexical error at line 2, column 0. Encountered: <EOF> after : ""
    i tried it within a standalone installed Jython-Version "2.2.1" on my client and there it works fine.
    Although it is well documented in the Jythondoc(2.1) my odi 10.1.3.4 - jythoy version 2.1 seems not to has this implemented.
    Nevertheless i need it by all means because: if i use Jython to generate a SQL-STMT and use e.g. the <%=odiRef.getFilter()%> -Function in which a CR/LF always can happen, the substitution of ODI substitutes it with multiple lines and the jython-interpreter cannot interpret and gives of course back an error. It's a real nogo !
    thanks in advance
    br harald

    You can't use it at command line...
    But inside a file it's work...
    Inside a KM it 's work. have a look in the LKM SQL to SQL (Jython)
    step Load data (JYTHON)

  • Exchange 2010, khi: failed to execute Troubleshoot-DatabaseSpace.ps1 Error formatting a string: Format string is not supported

    Hi,
    Exchange 2010 MP fails to run Troubleshoot-DatabaseSpace.ps1. Results in a Warning with "Error formatting a string: Format string is not supported". The EventNumber is 402. The Microsoft article it points to is useless at http://technet.microsoft.com/en-us/library/749e0eac-ebb2-41e3-8fa2-4a03a1bd3571.aspx 
    Run ".\Troubleshoot-DatabaseSpace.ps1 -Server MailboxServer.domain.com -MonitoringContext" and works fine.
    Any help appreciated.
    thanks

    Hi,
    Before the newer MP release, we can disable  these 4 monitor via override and this should not run the Troubleshoot-DatabaseSpace.ps1 :
    KHI: Failed to execute Troubleshoot-DatabaseSpace.ps1.
    KHI: The database copy is low on database volume space and continues to grow. The volume is under 25% free
    KHI: The database copy is low on database volume space and continues to grow. The volume has reached error levels under 16% free.
    KHI: The database copy is low on database volume space and continues to grow. The volume has reached critical levels 8% free.
    Alex Zhao
    TechNet Community Support

  • How to convert Smart Form into PDF format and return the result in BAPI?

    I want to convert a Smart Form into PDF format and return the result in BAPI.
    can anyone tell me how it can be done with related example
    regards
    pranay

    hi,
    smart form to pdf--
    All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
    DATA: p_output_options TYPE ssfcompop,
    p_control_parameters TYPE ssfctrlop.
    p_control_parameters-no_dialog = 'X'.
    p_control_parameters-getotf = 'X'.
    CALL FUNCTION v_func_name "call your smartform
    EXPORTING
    output_options = p_output_options
    control_parameters = p_control_parameters
    IMPORTING
    job_output_info = s_job_output_info.
    call function 'CONVERT_OTF_2_PDF'
    tables
    otf = s_job_output_info-otfdata
    lines = t_pdf
    and if u need more u can check below links also
    Check the below links..
    Re: Smartforms to PDF
    Re: smartform (otf) as pdf and sending as email-attachment
    VISIT THIS LINK
    Re: Smartforms to PDF
    PLZ REWARD POINTS IF IT HELPS YOU
    rgds
    anver

Maybe you are looking for

  • Error while importing .par file into NWDS

    Hi Experts, For my query I saw a similar thread in sdn forum. the link is given below. /thread/382306 [original link is broken] I have unzipped the par file and inside this there is no other par file. So I have to import this par file only. Can anybo

  • The "Normal Brush Tip" cursor is appearing as the "Full Brush Tip" cursor in Photoshop CC.

    In spite of resetting all presets, restarting, etc., the Normal Brush Tip cursor is appearing as the Full Brush Tip cursor in Photoshop CC. The Full Brush Tip cursor is working as it should. Photoshop CC 14.1.2 x64 OS X 10.9

  • Data changing when saved as excel from infoview

    Post Author: nicks1982 CA Forum: Desktop Intelligence Reporting I have a report which has got average calculated using the formuls sum(revenue)/(ColumnNumber()-2). When this report is saved as excel to my computer from infoview, the sum is displayed

  • DIR creation from routing

    Hello All, I have a requirement to generate a document in SAP DMS (CV01N) for the assembly instruction using the process steps from routing(CA01).This would include inserting an assembly picture (JPEG) into original file which would reside in DMS and

  • Why iTunes new episode but no longer available?

    Peep Show series 5, living in extra channel 4 land. New episode and buy episode click button, only it doesn't work until saturday around the next day. That's no good and it has happened three weeks in a row. This is no good iTunes if it is not going