Internal table coming from webdynpro to adobe forms

Hi friends,
    I am developing one interactive form , In this i have to send one internal table data which is available in view context to interactive form but while designing the layout of the form that table is coming as a structure.how can i solve this problem ?
Please give your suggestions.

Hi,
  sudheer b
    I am not able to understand your scenario properly but i can give you some exposure about the cardinality of any node.
If you create a node in COMPONENTCONTROLLLER or in VIEW you have to set the Cardinality of the node.
There are four option
A.   1u20261        Only one element is instantiated.
B.    0u20261        At runtime, no more than one element is instantiated, but it is also possible that no element is instantiated.
           If you ahve taken like above those then when you call the node  from your code wizard you will get it like a structure.
Check also you will not been able to select as a table opeation.
C      1u2026n        n elements can be instantiated, but at least one element must be instantiated.
D.     0u2026n        The number of instantiated elements of the context node can vary.
           In the above case you can call the node as a table operration from your code wizard.
Check the below link:-
       [http://help.sap.com/saphelp_dm40/helpdata/en/7a/787e40417c6d1de10000000a1550b0/content.htm]
Reply if you need any further clarification.

Similar Messages

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • Problem in Webdynpro and Adobe form with signature field

    Hi experts!
    I have a problem with Signature Field in Adobe Form showed in a Web Dynpro Abap.
    During the execution I fill the Signature field correctly but when I push any other button of the Webdynpro, the Adobe Form shows me the next error.
    After click OK, the webdynpro is hang and not respond.
    Any idea why not respond?
    Thanks.

    Hi friend,
    Its not like that the Adobe created using SFP is non interactive.
    We can create interactive forms using SFP transaction using java code.
    I think it will be the problem with ADS just check with your basis people i think they will configure you the settings which works fine.
    To check whether the settings are perfect you can try executing the standard programs FP_TEST_00 and
    FP_PDF_TEST_00. If it works fine then some other problem exists else check with your basis team.
    Just check this and revert me if you have any issues. I will help you
    Thanks,
    Sri Hari

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • Importing internal table data from FM to eCATT test script

    Hi all,
    I am working on Workflow project where by i need to post invoices related to purchase orders sent as scanned imaages. Incase all the data in the incoming invoice(scanned) is correct then i am using BAPI_INCOMING_INVOICE_CREATE to post the invoice.
    But when the data is wrong, i need to give the user MIRO transaction pre-populated with the invoice details so that he manually corrects them(after verification) and posts the invoice.
    I understand MIRO is an ENJOY transaction hence BDC doesn't work properly(i have tried with all kinds of options on recording and the problem comes incase of multiple POs) hence i choose to use eCATT.
    The recording worksfine but my real problem is the PO data (multiple PO details for same invoice) is in table form. In all my previous objects related to eCATT we used to upload the file, hence no problem of importing tables.
    But now as i'll call this test script from a function module which has all the POs in the form of internal table, i need to import this into my test script.
    Please any body tell me how to proceed in this case or please suggest me a better a way to record the MIRO.
    Thank you,
    Lakshmi Narayana.S

    Hello Raj,
    First of all thank you for your inputs.
    Yes, I know about Parking an invoice. even i am using it in some scenarios.
    If everything on the invoice matches with the values in SAP then i am posting it using BAPI invoice_create also.
    But for some scenarios like if the PO on the invoice doesnot match with actual PO then i need to create a work item in the Accounts Payable user's inbox and he will change invoice data manually (after getting confirmation and correction) and post it using MIRO.
    Here i need to pre-populate the MIRO with the invoice data so that he can correct and post it.
    Hence i was trying to write a BDC and as MIRO is an Enjoy transaction i thought writing a BDC is not a good idea (i tried writing BDC but had problems) hence i am using eCATT.
    Hope i am clear about my problem. Any inputs to solve this are welcome.
    Thanks,
    Lakshmi Narayana.S

  • How to Pass the Internal table of a report to Smart Form

    Hi Experts,
    I have one report in which from selection screen i am getting the values from the users, and upon that values i am filling data in to the internal table.
    Now i want to pass that internal table data to the smart form
    and print that data in the smart form.
    So could you pls give me some pseudo code or any steps to achieve it.
    Thanks & Regards,
    DS

    Hi DS,
    First of all you need to create a SF and then need to call the FM generated by the FM in your report.
    In the SF in the form interface>tables tab>mention the name of the table and its type structure.
    Pls note that a new structure has to be created as the same type of your internal table which holds the data.
    And the import and export parameters as just the same as in a FM.
    Now after you create and activate your SF a FM will be generated (wen u execute your SF you will be taken to this SE37 screen with the name of FM so no probs..)
    You can call this FM in your report. Hope this helps.
    Ex:
    say itab has your final data, and you also want to export a variable var1 to the SF.
    after your normal report operations end, call the FM and pass on these data.
    say your FM name is FM1.
    call function FM1
    exporting
    var1 = var1
    tables
    itab1 = itab1.
    pls note that in the SF also i gave the same names, it is not mandatory to give the same names.
    and as you want to print a table in the smartforms, you need to create a table in the smart forms and then display the data which is quite simple.
    Hope this helps...
    if you need any further explanations, pls revert...
    Regards,
    Narendra.
    Reward points if helpful!!!

  • Webdynpro Interactive Adobe Forms/Workflows

    Hi,
    I have the following steps for my client in their appraisal process.
    Manger selects his employee using webdynpro and selects the appraisal form.
    Manager and Employee fills Appraisal form / interactive adobe form in the beginning of the year .
    It will be sent to the employee UWL through workflow for verification in read only form where he can add his comments in the comments box.Once he agrees with the objectives and submits the form it sits in the UWL of managers.
    After six months there will be revision of Objective Setting if required by manager and employee with same as above process.
    Objective Setting should be freezed after approval.
    At the end of the year, the final appraisal form is agreed with employees and manager an approval from manager should send to the next level line manager UWL using workflows.
    I have built the webdynpro application with an interactive adobe appraisal form , but how to trigger the Workflow from the adobe form and what are the steps i need to customize for the above process and store the appraisal form after the second line managers approval??
    Are these available in standard workflows provided by SAP? Or do I need customization?
    Please help.
    Thanks.
    Kumar

    Hi Kumar,
    Your requirement is achievable by configuring a HR Process by using the HCM Process and Process. Please refer to SAP course material HR 280 for an overview of the HCM process and forms.
    Regards,
    Roy

  • Test inside  the table is truncated when integrating Adobe forms with WD4A

    Hi All,
    I am facing issue in table when integrating adobe forms with web dynpro for ABAP.
    Whenever the pagination happens the text in the table row cells is truncated and it starts from next row in next page. Is there any properrty of table in Form builder which I can use to allow the test to go to the next page?
    Best Regards,
    Arti.

    Hi. You should place your question in "SAP Interactive Forms by Adobe" forum. You will get advice quicker there.

  • Comparison between webdynpro and adobe forms

    Hi All,
    I want to compare Adobe v/s webdynpro.Can anybody tell me some pros and cons of webdynpro over Adobe?
    Thanks.

    Hi Shweta,
    This is a little bit "chalk and cheese".
    WebDypro is an application programming environment with huge functionality which you can use to create any online application.
    Adobe forms are a forms based UI which can talk to an application programming environment such as WebDynpro, or a business process environment such as Guided Procedures if it is available, but can also work independently on a PC or laptop without a network connection.
    But I assume here you are talking just a WebDynpro "form" i.e. a UI, versus an  Adobe form?
    Think of it this way:
    Adobe forms are a forms specific technology - WebDynpro forms aren't - they are part an application technology
    Adobe forms can be used <b>offline</b> and <b>printed</b> with no additional effort - WebDynpro applications are only used online, and print functionality needs to be specifically added (other than printing straight from the Web Browser which really isn't the same thing at all)
    Adobe includes a number of features to support offline processing and later upload - such as barcode generation - (you can fully or partially enter data in a form which generates the barcode, then print it and swipe the barcode with a reader), digital signatures, intelligent protection of fields, and offline button features (e.g. to return a form via email) - WebDynpro doesn't do anything offline... of course.
    And of course there are different skillsets required to create the forms. 
    But really the main criteria to decide one vs. the other is:
    Do you need <b>offline</b> capability? If you do then its clear the choice is Adobe.
    Personally I prefer Adobe also if you are likely to be printing the form. 
    If everything is happening online then really its just an application and other factors will dictate the forms choice, such as available skillsets and the level of integration required with backend systems.
    This is also consistent with SAP's current and future direction - SAP is delivering forms as Adobe forms - so they can be used online and offline.  Applications SAP delivers using WebDynpro.
    Regards,
    Jocelyn

  • Handling RAW data types (from SAP) in Adobe forms - Illegal Arg Exception

    Hi,
          I have a scenario where I have to get data of type RAW in SAP to Adobe Forms using web dynpro java. What is the corresponding type in Web Dynpro / Adobe Forms.
    I am using Adaptive RFC and when I get the model from SAP function module, the RAW type is created as Binary type in the data dictionary of Web Dynpro.
    When I map the model context to controller context, the type is taken as byte[].
    I tried to set the attribute for this field and I got the Illegal Argument Exception error.
    I am using NWDS 7.0.9 and NW04s SP12. Pl help. I am working on this since 10 days but could get no solution.
    The initial exception that caused the request to fail, was:
    <b>java.lang.IllegalArgumentException</b>
    at com.sap.dictionary.runtime.DdTypeBinary.format(DdTypeBinary.java:60)
    at com.sap.dictionary.runtime.DdTypeBinary.toString(DdTypeBinary.java:64)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.doFormat(DataContainer.java:1405)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1098)
    at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderAttributes(XfdRenderer.java:370)
    ... 41 more

    Issue with the RAW data types is resolved now. I have changed the data type of the field into String in the dictionary (web dynpro).. I have changed the corresponding getters and setter functions from byte[] to string. And everything working fine now. I got the Illegal Argument exception initially because I was trying to display the binary data type fields on the adobe form or view which I am not supposed to do.
    Also it is better to create separate view attributes in the context to get the values rather than mapping the model attributes directly in the form or view.
    Thank you one and all.
    Regards
    Vasu

  • Reading data from pdfsource of adobe form

    Friends,
    This error pertains to the retrieving data when executing the WDA application.
    System details: NetWeaver 2004s. ADS support pack 16.
    The Adobe Livecycle Designer version: 7.1.3129.1.296948
    The Adobe Reader version: 8.1
    The SAP GUI version: 710.
    The Web Dynpro component is active.
    The Custom Adobe Form is active and is of ZCI layout type. I also inserted the Web Dynpro Script in the layout of the form.
    The Custom Form Interface is active and is of XML Schema-Based Interface type. The XML schema source is generated.
    The Adobe form has been included as an InteractiveForm UI element in the MAIN view of the WD Component. The displayType property of the InteractiveForm UI Element has been set to "native" and enabled property of the form is checked.
    I have included an attribute of type XSTRING called 'USERDATA' under the root context node and set it as pdfsource for the adobe form UI element.
    I have included the "Submit" button from web dynpro native library in the form.
    I have created a event handler method for the "onSubmit" event of the Adobe form UI element. I have created a reference to the context node 'ZECR' that is the datasource for the adobe form, through the following lines:
    data: noderef type ref to if_wd_context_node,
    eleref type ref to if_wd_context_element.
    noderef = wd_context->get_child_node( name = 'ZECR' ).
    when i run the WDA application, i am getting the error:
    Subnode MAIN.USERDATA does not exist
    Please let me know to rectify this error.
    I am not sure how to proceed further ie how to retrieve the data from the XSTRING attribute. I need to populate the data from the attribute to a customized table.
    Any hints or help would be greatly appreciated.
    Thanks and Regards.

    Hi Mahesh,
    I got the code from wizard using Read Context and selected the node.
    The error is removed.
    Here is the code in the onSubmit event handler method:
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_userdata LIKE ls_context-userdata.
    get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `USERDATA`
        IMPORTING
          value = lv_userdata ).
    I understand data has to be read from lv_userdata parameter using a function module. Is there any standard function module for the same and what are the steps for the process.
    Any hints or help would be greatly appreciated.
    Thanks and Regards.

  • Table Overflow - Page Break - Multiple tables in Body page in Adobe forms

    Hi,
    I have to do a payslip in Adobe forms. I am using only Adobe for print forms.
    Please redirect me to correct category if this is wrong category.
    I am customizing standard form PYXXFO_SAP_PAYSLIP_IN01. (payslip for india through hrforms)
    The standard form is entirely positional. So, if the contents of the table overflow, they are overwritten on the contents below.
    So, I have to make corrections to adjust the payslip for table overflows.
    My changes:
    1. There are total 8 tables in form. I created content areas for each of them and assigned the subforms/tables to those content areas.
    2. I converted the body page from positional to flowed, and applied the related pagebreak settings.
    The problem I am facing:
    When the earnings table overflows, the rest of the content is displayed on second page, in a continuous manner.
    eg.
    The structure of the form is:
    Header details
    earnings table   deductions table   form16 table
    Other tables
    leave details
    now, if the earnings table overflows -
    page 1:
    Header details
    earnings table (page break)
    Page2:
    (continued)earnings table
    page3:
    (continued)earnings table   deductions table   form16 table
    Other tables
    leave details
    In this, the deduction table and form16 table is shown on 3rd page. I wish to show them on the first page as they have not overflown.
    I am sure, I am missing something very small, but I am unable to understand what.
    I tried all the possible combinations.
    Does the main subform needs to be "positional"?
    They way I expect it is:
    page 1:
    Header details
    earnings table (page break)    deductions table   form16 table
    Other tables
    leave details
    Page2:
    {Header details - It would be great if I could have this}
    (continued)earnings table
    page3:
    {Header details}
    (continued)earnings table
    Also, If this is successful, I would like to apply the same feature to rest 6-7 tables.
    Edited by: chinmay kulkarni on Aug 17, 2011 3:04 PM

    This was a duplicate question.
    Kindly remove this thread if possible.
    The solution for this thread is as follows:
    I was sort of hoping that there should be some standard functionality available for this, it being Adobe, but there is not.
    So, I had to run a work around. Quite a lengthy one.
    What the problem was:
    I needed to print around 4-5 tables adjacent to each other in single page and in verticals. What Adobe does is: it fills 1st table, then 2nd then 3rd and so on. So, if there is a page break due to large entries in the adobe, the contents breaks with rest of the tables being blank, but the content being filled sequentially.
    What I did was:
    I created a grand table with the structure having all the tables embedded in it. eg.
    data: begin of grand_table occrs 0,
    table_A type table_a_table_type,
    table_B type table_b_table_type,
    table_c type table_c_table_type,
    end of grand_table.
    Hence, I could include all the data in a one single grand table, and put the data in sequential manner.

  • Update internal table data from table control

    Hi GURUS,
    I need help regarding one of my requirement.
    I need to display data from the internal table on the screen and when the user selects a record/multiple records from screen and clicks on approve button i need to update one of the field from N to Y in the corresponding Ztable. Once the record is updated from Ztable , that should no longer be visible for the user on the screen.
    I am using table control wizard to display data. I am able to update the Ztable, but that record is not refreshing from the user screen. Any suggestions would be approved.
    Also please let me know if table control is the best way to do this/ alv grid control??

    hi
       REFRESH CONTROL Control-Name FROM SCREEN '0100'  -> use this command to refresh the table control
    to know more, read into
    https://forums.sdn.sap.com/click.jspa?searchID=2934287&messageID=673474
    Re: URGENT HELP REQ IN TABLE CONTROL WIZARD
    if helpful, reward
    Sathish. R

  • How to extract data from an interactive adobe form and update SAP database

    Hi ,
    I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.
    Please let me know the procedure for doing this in ABAP.
    Thanks,
    Prasuna.

    Hi ,
    pls have a look at the link below...
    [http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]
    if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :
    zdept is the interface name ..
    method ONACTIONCLICK .
      data:
        Node_Adobe       type ref to If_Wd_Context_Node,
        Node_Zdept       type ref to If_Wd_Context_Node,
        Elem_Zdept       type ref to If_Wd_Context_Element,
        Stru_Zdept       type If_Main_View=>Element_Zdept .
      data wa_zdept type zdept.
    * navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).
    * navigate from <ADOBE> to <ZDEPT> via lead selection
      Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).
    * get element via lead selection
      Elem_Zdept = Node_Zdept->get_Element(  ).
    * get all declared attributes
      Elem_Zdept->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zdept ).
      wa_zdept-DEPTNO = Stru_Zdept-deptno.
      wa_zdept-DNAME = Stru_Zdept-dname.
      wa_zdept-LOC   = Stru_Zdept-loc.
      insert into zdept values wa_zdept.
    endmethod.
    Hope this helps  !!!
    best of luck !!
    Regards
    Ravi

  • Searh help in ABAP webdynpro with Adobe form is flickering/blinking

    All,
    I have an WDA that has an interactive Adobe form for input. I'm calling the SAP standard search helps when clicked for value helps from the Adobe interactive form that opens up the search helps pop-ups in the web-dynpro style. But strangely, the portion of the search help pop-up window that is just over the Adobe interactive form is always flickering/blinking whenever something is typed or moved on the search help pop-up window. This seems to be a standard bug/issue with SAP. Has anyone encountered the same issue and have found a solution to that?
    Regards,
    Sam

    hi rock,
         try this: sometimes any event might be calle din the backend which is overrirding your adobe form which is causing you the flickering. check it
    ---regards,
       Alex B Justin

Maybe you are looking for

  • How do I remove my iPhone 4S from my iCloud account?

    I upgraded to an iPhone 6. I successfully registered it. I successfully erased all contents from my 4S. But my 4S still shows on my profile at iCloud.com. I went to my provider and my local Apple store but neither one could figure out how to remove i

  • Unable to create source...

    I get this message when attempting to embed an SWF file into FLEX as follows: [Embed (source='assets/advertdemoleft.swf')] private var adl:Class; the swf is built with Interactive Designer in Quark and exported as SWF. Help??

  • Front panel objects not stationary

    Hello I've created a VI for a particular instrument in our lab. There are a number of inputs and outputs associated with it so I arranged them together on the front panel for ease of viewing. However after I saved my VI and opened it again all most o

  • Regarding rescheduling of purchase req.

    Hi All, For raw materials I have maintained safety lead time in the material master and I conduct MRP run. System create the purchase requisitions after MRP run. When I check the requirements in MD04 for the raw material, system show me rescheduled d

  • I have a new mac book pro with osx 10.8.1 and it will not upgrade to 10.2

    my new mac book pro retina 13" came with os mountain lion 10.8.1 and it will not let the app store upgrade it to 10.2 and will not let applications for 10.2 upgrade either.  it keeps saying that mountain lion is not compatable with this device.