Print form with dynamic dropdown

Dear all,
I have a form (xdp) with dynamic dropdown inside. (i.e. The value list is empty in design time)
And I have a problem that the print out (via the sendToPrinter service) will have the data value (e.g. EN) instead of the display value (e.g. English) for all the dynamic dropdown.
Would like to know if there are any solution beside mapping all the values from data value to display value before print?
Thanks in advance
Regards
Bill

I'm also seeking the better solution instead of
a) creating 2 field - one for capture data, one for printing (and it doesn't work using LC ES server component)
b) creating 2 templates - one for capture data, one for printing (maintenance overhead)
Ideally & logically, this should be achieve by using one field since it has already come with the presence & relevant attribute.
Anyway, the main problem, why dropdown data is printed instead of display value?
The user doesn't even know what's the technical data behind the dropdown screen value he/she selected.
From user point of view, nobody wants to see the technical data printed instead of the display value...

Similar Messages

  • Problem Exporting / Importing print forms with program RSTXSCRP

    Hi!
    there is problem Exporting / Importing print forms with program RSTXSCRP.
    when I transfer print form from one SAP system to other, logo image and some text is missing... what could be the reason?
    Maybe there is other way to transfer print forms between SAP systems without using program RSTXSCRP?
    Will reward,
    Mindaugas

    Hi,
    when you transfer print forms from one sap system to another, logos are not transfered automatically. these are actually .bmp files which need to be existing in every client. then only when you run your print program logo can be seen in your print output. hence logos need to be created explicitly in every client where you want to run your print program.
    thanks,
    sksingh

  • Tutorial for Interactive Forms and Print Forms with ABAP

    Hi All ,
    I am new in Adobe Forms do anybody have any pdf tutorial How -To so as to implement Adobe Forms withh ABAP?
    I know about
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    but i couldn't find any pdf tutorial with ABAP.
    Only video tutorial.
    I will appreciate any help.
    Regards,
    Ari

    Hi Francois & Preetha,
    Please could you tell me wich is the procedure so as to create Print Forms with ABAP.
    I understand that i have to create first in transaction sfp
    1. create a interface where i must import the data i want to bind in Adobe form
    2. create a form where i must include the above interface
    and there i have to map the data in the context which i bind in the Adobe form
    3.In the layout i open the Designer where i create the PDF form
    The question is:
      This procedure is right or what else can i do?
      Do i need ADS installation for this?
      How can i run the form? I push when i created the form the Test(f8) button is there where i must run it?
      Do i have  to write a Application Programm and were can i write it and how i call it in the interface?
    Do i need sth else?
    I am talking for printing form.
    As you can see i have a lot of questions.
    I am new in this technology and Sap so i will appreciate if you help.
    Regards,
    Ari

  • Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue

    Hi,
    I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
    I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
    FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
    Rgds
    Vara

    Thomas,
    Here is where I am stuck.
    Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
    but unable to bind it to adobe form and show in the form.
    *  SELECT statement
        clear isflight. refresh isflight.
        select * into corresponding fields of table isflight from sflight
        where carrid =  ls_data_selections.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
      lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
      lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
    Error is Access via 'NULL' object reference not possible.
    FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
    this would really help me..
    Rgds
    vara
    Edited by: Vara K on Jan 21, 2009 5:51 PM

  • Itextsharp using livecycle form with dynamic table

    Hello all, after searching Google for the past two days and not able to find any relevant information, hence this post.
    Some background:
    1) Created a pdf form using Adobe Livecycle designer 9.
    2) It is a dynamic form with textboxes and a table configured to repeat rows dynamically.
    3) Testing form using xml data within designer works just fine.
    Requirement:
    Need to populate form dynamically using data from database.
    Solution:
    Found iTextSharp (free assembly) which assists with populating existing pdf form.
    Issue
    This assembly works without any issue when populating textfields (see sample code below). The problem I am facing is with the dynamic table where in I am not able to reference rows greater than 1. Since the pdf template contains a table with just one row referencing the first row using acrofield works.
    I was under impression since this is a dynamic table with repeat enabled, in asp.net if I referenced row2 onwards the table would grow automatically. Which I have come to realize is not going to be possible.
    So I am looking for ideas on how I can accomplish this. I wish this could have been a fixed row table then reference rows would have been easier. However in this situation the table has to be dynamic.
    Any ideas thoughts would be appreciated.
    Below is my sample code:
    PdfStamper ps = null;
    try {
    // read existing PDF document
    PdfReader r = new PdfReader(
    // optimize memory usage
    new RandomAccessFileOrArray(Request.MapPath("itext.pdf")), null
    ps = new PdfStamper(r, Response.OutputStream);
    // retrieve properties of PDF form w/AcroFields object
    AcroFields af = ps.AcroFields;
    // fill in PDF fields by parameter:
    // 1. field name
    // 2. text to insert
    af.SetField("txtCompany", "Company name");
    af.SetField("txtDateDepartLocation", "date depart location");
    af.SetField("txtDate","test date");
    af.SetField("txtServiceNumber", "Service number");
    af.SetField("Table2.Row1.Cell1", "1test");  this works
    //doesnt work!!!
    af.SetField("Table2.Row2.Cell1", "1test");
    af.SetField("Table2.Row3.Cell1", "1test");
    // make resultant PDF read-only for end-user
    ps.FormFlattening = true;
    // forget to close() PdfStamper, you end up with
    // a corrupted file!
    ps.Close();
    catch { }
    finally { if (ps != null) ps.Close(); }

    Hi FourEyes;
    Try using this.
    Select Col1, Col2, Col3
    into :P1_Field1, :P1_Field2, :P1_Field3
    from Your_Table
    Where (your conditions);

  • Search issue with dynamic dropdown array - PHP

    I'm currently trying to set up a search with a couple of
    dynamic dropdowns, basically to search for cars - so the parent
    list is car make, and the child is car model.
    I've gotten as far as a page with the dynamic array working,
    but not the search :
    dynamic array
    working
    (Ignore the cars and vans radio buttons)
    For testing there's an Audi A3 and and Audi A6, but this
    search doesn't work.
    The select code looks like :
    <select name="Model">
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    </select>
    And the array code looks like :
    <?php
    if ($row_rsModels) {
    echo "<SC" . "RIPT>\n";
    echo "var WAJA = new Array();\n";
    $oldmainid = 0;
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid == $newmainid) {
    $oldmainid = "";
    $n = 0;
    while ($row_rsModels) {
    if ($oldmainid != $newmainid) {
    echo "WAJA[".$n."] = new Array();\n";
    echo "WAJA[".$n."][0] = '".WA_DD_Replace($newmainid)."';\n";
    $m = 1;
    echo "WAJA[".$n."][".$m."] = new Array();\n";
    echo "WAJA[".$n."][".$m."][0] =
    "."'".WA_DD_Replace($row_rsModels["ModelID"])."'".";\n";
    echo "WAJA[".$n."][".$m."][1] =
    "."'".WA_DD_Replace($row_rsModels["Model"])."'".";\n";
    $m++;
    if ($oldmainid == 0) {
    $oldmainid = $newmainid;
    $oldmainid = $newmainid;
    $row_rsModels = mysql_fetch_assoc($rsModels);
    if ($row_rsModels) {
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid != $newmainid) {
    $n++;
    echo "var rsModels_WAJA = WAJA;\n";
    echo "WAJA = null;\n";
    echo "</SC" . "RIPT>\n";
    function WA_DD_Replace($startStr) {
    $startStr = str_replace("'", "|WA|", $startStr);
    $startStr = str_replace("\\", "\\\\", $startStr);
    $startStr = preg_replace("/[\r\n]{1,}/", " ", $startStr);
    return $startStr;
    ?>
    ..to try and find the root of the problem, I've gotten as far
    as a similar page, without the dynamic
    array, with the child dropdown populated dynaically from the
    recordset :
    search working
    This seems to work exactly as advertised - all the car models
    are listed from the recordset, and if
    you search for Audi and A3, then it gets returned correctly.
    The select code here looks like :
    <select name="Model" id="Model">
    <option value="">Select a Model</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_rsModels['Model']?>"><?php echo
    $row_rsModels['Model']?
    ></option>
    <?php
    } while ($row_rsModels = mysql_fetch_assoc($rsModels));
    $rows = mysql_num_rows($rsModels);
    if($rows > 0) {
    mysql_data_seek($rsModels, 0);
    $row_rsModels = mysql_fetch_assoc($rsModels);
    ?>
    </select>
    ..so I guess the search is set up OK, but the issue is with
    how to pass the model from the select code generated by the dynamic
    array correctly....
    Its presumably because the option value is empty :
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    So I've been trying various possibilities with no joy, such
    as :
    <?php if (!(strcmp("", $row_rsModels['Model']))) {echo
    "selected=\"selected\"";} ?>
    but without success.
    Even then, I'd have though if the value was empty, "", then
    it would return all results, rather than no results....?
    hope that makes some sense, and someone can shed some
    light...
    Cheers.

    Thomas Jung wrote:>
    > >
    Chris Paine wrote:
    > > That's a shame!
    > >
    > > Does this mean that using a drop down by index in an ALV is limited to having the same dropdown in every row of the table (it would certainly seem that this is the case).
    > >
    > > Cheers,
    > >
    > > Chris
    >
    > I would assume so as I can't think of a way around the subnode limitation. The system will actually allow you to have a subnode and everything works fine until you sort the ALV - then you get a short dump.
    >
    > I suppose you would have to fall back to using a regular table in this case.
    But how come the class documentation says its possible.
    Functionality
    Using class CL_SALV_WD_UIE_DROPDOWN_BY_IDX, you make all the settings for the UI element index-based dropdown list box, from which the user can select from a range of values.
    *You use the index-based dropdown list box if the dropdown list boxes in each cell of the column are to contain different entries.*
    You use the key-based dropdown list box if the dropdown list boxes in each cell of the column are to contain the same entries.
    To specify the entries in the dropdown list boxes, the context of your application requires an attribute for which the data type satisfies the following requirements:
    The attribute is a table
    The structure of this table contains at least one KEY column and a VALUE column.
    Note
    We recommend that you use the type WDY_KEY_VALUE_TABLE here.

  • Calling APEX form with dynamic parameters from Oracle Apps 11.5.8

    I have successfully managed to setup access to APEX forms from Oracle Apps 11.5.8 menus utilising Form Functions passing a number of hardcoded parameter values as outlined in the document, http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf.
    I am now trying to ZOOM from an Oracle Form passing values of form items (dynamic parameters) to an APEX form. I have so far not been able to do this.
    I've also tried using;
    web.show_document('http://derep.obup.co.uk:4657/pls/apex/f?p=100:1::::::p1_cust_account_id:'||name_in('ast_cu_act.account_id')||':', '_TOP');
    but this prompts for a username/password again as this bypasses the APEX Launch process that is defined in my Form Function.
    Is this possible in the parameters section of Form Functions? or elsewhere.
    Regards,
    Naeem

    Hi Daan
    We do havea couple of customers doing this, they have taken two approaches:
    1. Install XMLP on a separate server entirely - kick off conc request to extract data and then use Java Messaging Service (JMS) to push the resulting XML to the external server where they are using AQ to set up jobs for the XMLP server to work through, generating and delivering the final documents.
    2. Set XMLP up as a virtual printer - here the conc request again generates XML but this time the result is directed to a virtual printer namely XMLP. There is a perl or similar wrapper that gets called as the printer and accepts the data, template, output format and delivery destination as parameters.
    Apologies for the 10,000 feet overview, hope it helps. Tim

  • Form with dynamic Column Names

    Hello,
    I am using "Form with report on table" and I would like to make use of dynamic column names labels that are derived from another table (sql). I am stuck on how to do this, any advice?

    Hi FourEyes;
    Try using this.
    Select Col1, Col2, Col3
    into :P1_Field1, :P1_Field2, :P1_Field3
    from Your_Table
    Where (your conditions);

  • Adding Controls dynamically in the Infopath/Web form with dynamic controls

    Hello,
    The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
    if not possible then using customizations and SQL server.
    User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
    1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
    columns user can enter , how columns(static) will be created in the list ??
    2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
    we can manage it in SharePoint List OR any custom solution  ?  
    3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
    solution  ?  
    Vipul Jain

    >Lets say , the data for user selection is stored in two separate lists
    secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
    then you may use lookup column or would need to create two seperate data connection.
    >Do you think its a right approach ?
    multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
    >I'm planning to propose a custom .net form
    Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SAP ME ADS Printing - Traveler with dynamic table

    Does any one have an example  traveler template that uses a dynamic table to display all the operations on the traveler? Ie one template that works for different routers.
    The problem we are having is due to the xml tags for each operation being different eg <operation0>, <operation1> etc which the dynamic table in Livecycle Designer doesn't seem to like.
    Thanks
    Kevin

    Hi Stuart,
    We are using ME15 SP03.
    We have already read that document cover to cover and we can print a traveler with SFC or Shop order header data etc. We can also print a fixed list of operations but what we want to do is have a single template that has a dynamic table that prints all the operations regardless of how many there are.
    Paragraph 6.11 of the document tells you that if you have multiple operations the binding should end with .Router_Step_ID0 , .Router_Step_ID1, Router_Step_ID2 etc etc
    This would mean that I would have to create a template for each different material that has a different number of router steps as you effectively hard code each step ID
    The first system I ever worked on (Visiprise 4.2) had the capability of using one template that automatically shrunk / expand based on the number of operations but I just cant see how to do it in LiveCycle Maybe I'm missing the obvious.
    Thanks
    Kevin
    PS. Great to see a fellow Scotsman on here

  • Send form with dynamic fields to guided procedure

    Hi all,
    i am just wondering if GP is able to map fields from the interactive form that is dynamic.
    for example, the request invoice form sometimes may contain more than one records. however, with my limited knowledge on GP, i believed mapping can only be done from ONE input parameter to ONE output parameter?
    pls kindly advise..

    Hi Ashutosh,
    Yeah i have context attribute of type byte which has the image source but the problem is when i am trying to pass (as given in the above metioned blog) the image source from Web Dynpro to Guided procedure (which has Web Dynrpo DC as CO), i was not able to find any image in Guided procedure. So is there any way to make it possible?
    I cant hav attribute as String since i use an Upload UI element to upload the pdf from local machine. Only if i have the context attribute as byte the image is visible in the form once the Pdf if upload from local machine
    i follow this blog for my Web Dynpro DC as CO in Guided procedure
    The specified item was not found.
    Thanks
    Gopal.

  • Help with Dynamic Dropdown List

    Hi everyone,
    I'm completely new to this, so I hope you will excuse my lack of knowledge.
    I need to add a dropdown menu on a page.  The dropdown will display a list of all the state names in the U.S.  When the person selects a particular state, the access numbers for that state should appear next to it.
    I'm using Dreamweaver CS4.  I was given a Excel spreadsheet with all of the information on it.
    It would be easiest for me if I can use ASP to handle this, since I already have it setup on my machine as a local server to test it.
    But, I can't seem to wrap my head around how to go about this. 
    Any help would be much appreciated.
    Thanks!
    Meb

    Can you tell me if the following statements are correct? 
    - I need to make 2 xml documents.  One for a list of states and one for cities and their phone numbers.
    - I need to add a form to a page in DW.
    - I need to add 2 Spry Regions to the form, one for the states dropdown list and one for the cities and phone numbers.
    - I need to create two Spry Data Sets using the XML data sets I created earlier and insert them in their corresponding regions.
    - And I need to analyze the code from iPHP's example and somehow link all the stuff together.
    Am I even close to correct?
    Thanks again,
    Meb
    1.) What does the source code from the example look like? Are there 2 xml documents?
    2.) Is there a form on the example? Do you want a form on your page?
    3.) How many Spry Regions are in the example?
    4.) What does the source code from the example suggest?
    5.) yes! View source code as previously advised. All of your other questions will be answered once you've done this! See a pattern forming here? You ask a bunch of questions, the answer is to view the source code. You say you've done that and will continue to do so, yet you still ask questions that can be answered by viewing the source code. The result is a lot of redundant discussion.

  • Can someone help me in building an interactive PDF form with dynamic bounding box?

    Hi Guys,
    I need to create an interactive PDF form which will contain images, text and fields.
    This is how it would be laid out:
    Header Image at the top.
    Below that a Text Box with a question "Choose the number of licenses" and a drop down option from 1 to 10.
    Depending on what they select, I need the following to be displayed.
    The following should be encapsuled by a bounding box.
    If "1" is selected. "Username: <blank field>    Password: <blank field>
    Then a button which says "Click Here To Login To Your New Account".
    The bounding box should end here.. and I have more text and images below.
    This I could achieve! But now if I select "2" I would need the bounding box to automatically become taller to accommodate two rows with "Username <blank> Password <blank>
    The bounding box needs to expand or contract based on the number selected in the drop down.
    Would love to here your thoughts on this!
    Cheers,
    Rajiv

    If you were to look at the spec for PDF, you'd see that that is probably not possible with a PDF file.
    But, I encourage you to ask this question in the Acrobat PDF Forms forum where the forms experts reside, and perhaps they could suggest an answer. JavaScript can be used, and perhaps that's the answer:
    PDF Forms

  • Creating a form with dynamic components

    I am rather new to LiveCycle, however I have made a few forms and distributed/collected them.  I would like to build a form where the user can fill in the fields and the info will be transposed to a different area of the form where the user can copy and paste it.
    Example:  Form has the following feilds: First Name:, Last Name:, Address:, City:, State:, Zip:,
    In another section of the form, these filled in fields would be displayed in full form as: Ex.
    John Doe
    124th St
    New york, NY, 55555
    Whereas the user could then copy and paste this info into another document.  Is this functionality possible with LiveCycle?
    Thank You in advance for any help with this matter.

    If the fields are displayed as fields (one for one mapping) then changing the binding to global and ensuring that the fieldnames are the same will ensure that the values are kept in sync. If the second occurance is a single field made up of a number of other fields then you will have to populate the second field by script. On the calculate event of the second field you woudl use something like this:
    this.rawValue = FirstName.rawValue + LastName.rawValue + "\n" + Address.rawValue + "\n" + City.rawValue + ", " + State.rawValue + "\n" + Zip.rawValue
    The \n is a newline character in javascript. This will force the line feed in the final multiline field.
    Paul

  • Adobe print forms - Intergration with Webdynpro ABAP

    Hi
    We are working on SAP Adobe print forms with Webdynpro ABAP. We are getting the PDF form's Hexadecimal content as a part of the FPFORMOUTPUT parameter when we execute the FM of the Form.
    I tried to assign that to a context variable and assigned that to the PDFSource of the form and tried to generate the PDF. But is is showing a black page.
    Can you please suggest a way if any to get this done.
    Regards,
    Srikanth.

    You can use the print form directly. I mean the same way as you would use the WD/ online form. Provide the form name, the data source and stuff and the form should work. If that would be an interactive one, you would not be able to change any values if the form is based on DDIC dictionary, but since you want to use the printform, this is not your concern.
    Regards Otto

Maybe you are looking for

  • How to verify the refurbished products

    Hello there, I have a question regarding the refurbished canon products. Is there any possibility to verify using the serial number if the body for example it is or not a refurbished product ? Thank you, Solved! Go to Solution.

  • Advertise banner in mobile application

    Hi All How to create or include advertise banner in mobile application? Thanks Regards Balasubramaniyan.S

  • TABLESPACE BACKUP - Database crash

    Hello guys, i got a little question about "Online / Hot Backup" and a crashing instance. The following worst case happen: 1) Alter Tablespace TABSP_USER01 in backup mode at 03:00 am 2) There is a problem, while copying the datafiles and the backup mo

  • Watermark bug in DVDSP 4.2

    I need to bug a project with a logo... I can get the logo into the project as a .tif or .pict (grayscale), position it on the subtitle track, force it to stay there, etc. The problem is during the build... it gives me this: Starting DVD Build ABC...

  • Custom button sizes and function

    I've read a lot of posts on custom buttons, but none address how to make my .psd pen button move from selection to selection. Also, for some reason, the pen appears, but it is very tiny. I made the pen a size of 720x480, used a mask and made it trans