Change table header in adobe form

Hi experts,
I have to print a table in a printable form.
for that i have defined the table structure in the element on both, the interface and the form context. the thing is that the form shows the field value in the HEADING property of the data type definition.
is there any way to change it to any other string without modifying the HEADING property?
In advance, thanks a lot.

solved

Similar Messages

  • Interactive table control in Adobe forms

    Dear gurus,
      I am trying to create an interactive table control with header. The table control will have 10 rows, and I want the users to be able to enter values into the table.
    I created a new node with cardinality 0...n; and added attributes under it. The I dragged that onto my design view and made duplicate entries of the rows to get 10 rows under the header.
    Now the issues I am having are
    1) The table is not visible in preview Pdf; I tried to save and activate the form, but still appears to be invisible
    2) For some strange reason the table control in adobe forms is not as flexible as the one in webdynpro, where it is easier to bind the fields and send / recieve data from the interface.
    ~thanks and appreciate any comments.

    when your cardinality is 0..n you won't see it in preview mode.. you need to launch it from your dynpro & you will see it.
    Also, if you know you're going to have 10 rows all the time, why not make the cardinality 1...n?
    Nevertheless, I personallly wouldn't create the table in this method.
    I would create the table in Web dynpro, add a column called "SeqNo" or whatever and pre-populate that field with 1 - 10. When you drag/drop your table from your Data View, just rt-click that column and hide it so your users won't see that field.
    You'll have 10 rows displayed to the user each time and you won't worry about having to bind anything since it'll be done automagically.

  • How to transfer Internal table to a Adobe form? ....urgent...

    Hi Experts,
    I am not able to get the data in the adobe form from an internal table.
    I need to put the data in individual fields in the adobe form.
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. There are 1 table in the Adobe Interactive form((Adobeform)created by the 'sfp' t-code.
    a) create a interface with a structure(A_STRU).
    b) create a form with the interface.
    c) In the layout of the form, drag a table to the form.
    d) Binding the table to the A_STRU.
    e) Binding the fields of the table to the fields of the structure.
    2. Create a view -
    first_view in the WDP ABAP.
    3. In the first_view, there is a Interactiveform ( named "adobe_form" ) to be binding the Adobe Interactive form (Adobeform).
    4. Type the code in the wddoinit of the first_view for bindding the internal table to context of the adobe interface.
    DATA lo_nd_z_php_form_pay TYPE REF TO if_wd_context_node.
    DATA lo_nd_g_context TYPE REF TO if_wd_context_node.
    DATA lo_el_g_context TYPE REF TO if_wd_context_element.
    DATA ls_g_context TYPE wd_this->element_g_context.
    navigate from <CONTEXT> to <Z_PHP_FORM_PAY> via lead selection
    lo_nd_z_php_form_pay = wd_context->get_child_node( name = wd_this->wdctx_z_php_form_pay ).
    g_context is the context interface of the adobe form.
    navigate from <Z_PHP_FORM_PAY> to <G_CONTAIN> via lead selection
    lo_nd_g_context = lo_nd_z_php_form_pay->get_child_node( name = wd_this->wdctx_g_context ).
    binding the g_context to the form context.
    lo_nd_g_context->bind_table( result_payslip ).
    through the debug the program, I found 50 records in the result_payslip internal * * table .
    5. run the wda, I find the nothing data to be displayed in the adobe form.
    6. But I can transfer a string parameter from wda to adobe form. I don't know how to transfer data in the table?
    I don't know how to config the table in the adobe form?
    I hope to get the guide for step by step to solve the problem. Thanks a lot .
    I hope to get some hints. Thanks a lot .
    Pls help me out.
    Thanks & Regards,
    Tao

    hi ,
    I have similar difficulty.....
    I Am putting data from internal table into Adobe form using ABAP web dynapro.
    I am not able to see data in Adobe form though inernal table contains 14 records.
    Also, i have been thr' WDR_TEST_ADOBE
    but still not able to solve problem .
    Can you help me?

  • Dynpro table -dynamically change table header name

    how to change table header name at runtime ?
    for instance, when i bind to a dataNode with this attribute:
    smsid, usrid, crdate, stdate,enddate
    change to
    message_id, user_id, create_date, start_date, end_date  during runtime.

    Hi yzme,
    To change the column header for each field you have to set the [Caption-Header] text value.
    Use this code inside "wdDoModifyView" method.
        //@@begin wdDoModifyView
         IWDCaption smsid_caption = (IWDCaption)view.getElement("smsid_header");
         smsid_caption.setText("message_id");
         IWDCaption usrid_caption = (IWDCaption)view.getElement("usrid_header");
         usrid_caption.setText("user_id");
         IWDCaption crdate_caption = (IWDCaption)view.getElement("crdate_header");
         crdate_caption.setText("create_date");
         IWDCaption stdate_caption = (IWDCaption)view.getElement("stdate_header");
         stdate_caption.setText("start_date");
         IWDCaption enddate_caption = (IWDCaption)view.getElement("enddate_header");
         enddate_caption.setText("end_date ");
            //@@end
    Regards,
    Mithu

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Read table data from Adobe Form in WD method

    Hello,
       Context is like this :
       ADOBE_DATA        --- Node
             POS                  -
    Node   which has Dict. Stru : TABLE  card : o..n
                   POSNR       --- Attribute
                   MATNR       -
    Attribute
    Created Adobe Interactive Form through the template source of view layout.So xml schema generated automatically
    and is all ok.
    Method on action Submit :
    DATA :
    Node_zatodv_pos       type ref to If_Wd_Context_Node,
    it_zatodv_pos TYPE STANDARD TABLE OF zatodv_tab_pos.
    Node_pos =
                 Node_Adobe_data->get_Child_Node( Name = If_MAIN=>wdctx_POS ).
      Node_pos->get_static_attributes_table( importing table = it_zatodv_pos ).
    When I test the application,this method returns SY-SUBRC is 0 but internal table is "always empty".
    I have also individual attributes in the context which are read correctly.Only get_static_attribute_table doesn't read the table content.Please could any one help me where would be the problem.
    Thank you

    Hi peter,
    If you are trying to add data to a standard SAP table then you should use a FM or BAPI for that but if the table is not standard then you can use following steps but it would be better to do it using FM or BAPI.
    Do the following(without FM/BAPI):
    1. Crate a context in your view mapped to the fields of the database table.
    2. Now use this context as the data source for the form.
    3. Map the fields of the form with the attributes of the context.
    4. Now create a button on the form or on your view which has a action event handler method.
    5. In the method use code wizard to read the context attached to adobe form. By default it will create a structure containing data, which will be sufficient for adding one record at a time.
    6. Now use this structure to add data to table using SQL queries.
    Do the following for FM/BAPI integration:
    1. Create a FM/BAPI which has the functionality to add data to your SAP table.
    2. Now use service call to add the FM/BAPI fields as a context to your web dynpro component's context.
    3. Now map it with the view where the adobe form is created.
    4. Follow steps 2nd, 3rd and 4th as above.
    5. Now in your Action method use code wizard to call the method created by service call to FM/BAPI.
    This will work as required.
    Please reward points if useful.
    Regards,
    Vaibhav Tiwari.

  • Change table usage in a form

    Hello,
    I've been working on a project for a few months now, and in charge of building Forms.
    Just recently we upgraded our Designer 6.0 to Developer Suite 10g (Designer 9.0.4.5.6).
    In their infinite wisdom, the architects have chosen to rename some of the applications and following CDM-standards, all table definitions will have to be renamed also.
    As I am not keen on having to change all table usages in my forms manually, I would like to know if there is a way to do it in Designer itself.
    I know this wasn't possible in the older Designer version, so before I handled something like that in Forms Builder. But now another demand of the project is, to be able to have 100% generation for all forms, so that's not an option anymore.
    So, do I face a lot of work or can anyone give me something I can try?

    Hi,
    I'm sorry to say that maybe you have a lot of effort to pay.
    However, I think you have a tricky way that can help you solve your problem, but not considered a good solution. You can do remaping by overriding the default DML functionality of Form. In detail, you can override ON-INSERT,ON-UPDATE,ON-DELETE,ON-LOCK and ON-FETCH to replace the default SQL statements that Forms Builder automatically generates.
    In this case you just add these triggers to your changed modules, and that's all.
    Regards

  • Changing "x" location in adobe forms

    Hi, I am trying to move a textfield based on an event in adobe forms. I coded it as
    TextField1.x = TextField1.x + 20
    I guess "TextField1.x" returns a String and hence it pretty much concatenates the string and makes it like "92.5mm20". Need some help in understanding how to change the "x" property.
    Also, is it possible to include some graphics/animation using external javascript graphics libraries. It would be great if you guys could point me towards a page/tutorial that gives some infor in it? Thanks.

    It appears you have the text string "92.5mm" as the contents, value, of "testField1.x" and this value is a character string because there are characters that are not numeric, a sign, or deli meter. JavaScript is then assuming you are concatenating the contents with the value of "20". You need to either only enter a valid number into "TextField1.x" or strip out the non-numeric values. You may also need to use the 'Number()' constrictor.

  • Generating table STXFPCUST for Adobe Forms

    Hi,
    I am creating a smartform compatible adobe form and I believe for the system to generate the smartform for this, we need to update the table STXFPCUST with the name of the Adobe form and allow the system to generate the smartform.
    Can I have some input on what needs to be specifically done here? Thanks much.
    Kind regards,
    Srikanth

    Suri , Have you solve this  please replly as i am facing such a problem

  • How to change Dunning Text in Adobe form

    Hi All,
    In Dunning Adobe form I need to replace standard dunning text with my custom text.
    I found the node for that, but in that text node I am not able to fond where from that text is coming.
    Please Help me out in this.
    Form Name :f150_Dunn_SF(Adobe form)

    And you checked the context of your form if there is a text node there with some properties and didn´t find anything? Start there and tell us what you have found there.
    Otto

  • Changing Page size in Adobe forms

    Hi Experts,
    I am new to Adobe forms.I am creating a form whose size is very small with 11.6929In height and 8.2677In width.But i viewed some of the SAP standard reports for example FITP_PLAN_FORM ,the page size is 29.7cm and 21cm width the page type is A4.
    I am also using the same page type as A4.Why is this difference? I am struggling to get the page size.
    Can any one guide me plz..
    Thanks&Regards,
    Karthik.

    Hi Karthik,
    Keep in mind the Units you are comparing. By default, my adobe LiveCycle designer shows the units in inches:
    so:
    29.7cm = 11.7in  , and
    21cm  = 8.3in
    just a thought
    regards,
    harman

  • Dynamic table control in adobe forms

    Hi All,
    I am creating abobe form using web dynpro java. I have a table with one row & 5 columns. After that i have put "add" button, so that as i click on this button, a new row will be inserted in the same table with same no. of columns & data fields.
    Please can anyone tell me, how can i do this???
    Thanks & regards,
    Vinita Sharma

    Vinita,
    You will need to use the addInstance method. For example try looking the Purchase Order form which may be stored at this location on ur PC.
    C:\Program Files\Adobe\Designer 7.1\EN\Samples\Purchase Order\Dynamic Interactive\Forms
    Chintan

  • How to access Table rows in ADOBE form

    Hello Experts,
    I want to access the Table rows which are getting populated by WDA context, in form JavaScript when the table is populated.
    on the basis of few cell values i want to disable and enable particular cells in table rows when the table is rendered to the user.
    Please provide your inputs and suggestion on how to write a java script for it and in which event  i should write the script.
    i searched SDN and found couple of blogs and threads and tried using them but not working.
    Thanks,
    Siddharth

    Hello All,
    thanks for your suggestions.
    after some research and  trial and error i found the solution:here is the sample code for those who might face this issue.
    SUPERNODE(Root Node)
        --SUBFM(SUBFORM)
    MYNODE( Table)
    DATA(Table ROW)
    ADD       (Table COLUMNS)
    DELETE   (Table COLUMNS)
    var data1;
    var norows = xfa.resolveNodes("SUPERNODE.SUBFM.MYNODE.DATA[*]").length;
    for ( var i =0; i < norows; i++)
         if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").rawValue == "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").access = "readOnly";
        if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").rawValue != "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").access = "readOnly";

  • Problem in table creation in adobe form

    Hi,
    I have created an interface using a table type (Import). In the context tab assigned table under the form (Drag drop)
    till this everything is fine.
    When I go to layout tab and from the data view when I drag and drop the table to body page fields are coming as individual text fields instead of table.
    Please suggest where I am doing wrong or is there some setting to create a table ?
    Thanks
    Bikas

    Hi,
    Once you have placed the table from data view on to the body page, ypu got to hierarchy and place the cursor on body page1.
    After that, you go to Palette->object and in content field set the attribute as flowed. After this, you will get the output in tabular form

  • Table creation in adobe form

    Hi,
    When I drag and drop table from data view to page body it is coming like flat structure
    I need make table in the form.
    Is there some setting to do which I am missing, Please suggest.
    Thanks
    Bikas

    Hi,
    This was due to some technical fault, I posted only once this can be verified with the content and posting date and time .

Maybe you are looking for

  • Error starting BPM process in CE 7.2

    Hi Guys, I created a BPM process and deployed it on CE 7.2 server. When I try to start it from  Process Repository , I get following error. com.sap.tc.bpem.wdui.procstarter.procstarter.comp.ProcStarterComp$MyException: Error :Start event ID is null;

  • How create a button with a certain size??

    hi the button I create need to have a image icon, and the size of it should remain the same no matter what happen to the size of the frame or panel. by the way, how do I calculate the size of a image I need to set to a button at run time? thank you.

  • Orgamize bookmarks is no longer available to me in the bookmarks menu

    orgaNize bookmarks has not been visible to me in any version of 4Beta.

  • Cumulative and non cumulative

    Hi All, What is the exact deff between cumulative and non cumulative? give me a simple sceneriao it would be very helpful...? thanks kiran

  • Connecting SD and CRM servers

    Hi, I am new to SAP CRM, i have installed R/3 4.7 in one laptop and SAP CRM 4.0 in another laptop. is there any possibility to connect these two servers for the transfer ? if yes, wht is the necessary steps for these connections. please note that the