Adobe form conditional breaks with subtotal

Hi,
I need to develop a form with a dynamic table that calculate a subtotal by company
Eg:
Reference Cash disc. Withh.tax Net loc. curr. CoCd
0 0 10 Z001
TESTE 1 0 0 20 Z001
TESTE 1 0 0 20 Z001
Subtotal      40
CNRWaeoitftsCh ehldhor e.cdtn.ai sccxce u.rr.
TESTE 3 0 0 30 Z002
TESTE 3 0 0 30 Z002
TESTE 3 0 0 30 Z002
                    90
I can set the conditional break by company but i can calculate the subtotal.
Thank you in advance.
Miguel
Edited by: miglsilva on Dec 20, 2010 1:52 PM

Hi Sai,
Thank you very much for the reply,
I have to implement something like a dynamic table:
Imagine
I have one table with the  purchase items of all the companies, like that:
XBLNR NETTO     Company Code
TESTE   20            Z001
TESTE   20            Z001
TESTE   30            Z002
TESTE   30            Z002
TESTE   30            Z002
TESTE   60            Z003
TESTE   30            Z003
So i have to display that by company, and when finish the las item i have to add a line with the subtotal like that:
XBLNR NETTO     Company Code
TESTE   20            Z001
TESTE   20            Z001
Subtotal 40
TESTE   30            Z002
TESTE   30            Z002
TESTE   30            Z002
Subtotal 90
TESTE   60            Z003
TESTE   30            Z003
subtotal 90
I had already the conditional break for break when the data[-1].bukrs ne data.bukrs but when i put the script for calculate the value the result it is all the items.
Thank you in advance.
Miguel

Similar Messages

  • The Adobe Forms was created with Disable Fields!

    Hi All,
    I am new in Adode Interactive Forms ABAP.  I am trying to implement a simple scenario using Web Services published by RFC on ABAP side and simple form with one field  MATNR to bring a Description MARKT, and button to call the Web Services.  I configured ADS on Server, installed  Adobe LifeCycle 8 and SAP GUI 7.1.  I created the  Adobe Form and it was actived.
    My issue is,  when a run the program  to generate a PDF, using the FMu2019s 'FP_JOB_OPEN'
    , 'FP_FUNCTION_MODULE_NAME', CALL FUNCTION i_funcname, the Adobe Forms was created with disables fields. I canu2019t fill it and canu2019t press the button to call WS on ECC.
    Could you help me?
    Thank you!
    Fábio Ferri
    SAP Consultant Netweaver

    Hi fabio,
    When you say the example ran successfully is it without any error messages..?
    Did you check in spool "SP01" if there something sitting out there.
    To my understanding PDF rendring is dependent in 2 aspects.
    1) the output device type you select (this should be a PDF enabled printer)
    2) Programatically if you say it should go to a printer or spool.
    Just try with FP_TEST_00 either in sfp or SE38 and try both print preview and print.
    in print priview it should display the PDF on the screen.
    In print it should display as success message and in spool it should have the corresponding PDF. if both are working fine then the ADS and output device config are correct and it all depends on how do you handle the PDF output.
    Just try the above approach and post the results,
    Cheers,

  • Is Adobe Form Central compatible with WIX?

    Is Adobe Form Central compatible with WIX.com?

    Hi kbeam-bci,
    While I'm not very familiar with WIX.com, Adobe FormsCentral does have an Embed Form option, which allows you to embed your form on a website. There are also several Embed options, such as including (or not) the page background colors and header, among others.
    Please let me know if this answers your question.
    Best,
    Sara

  • Adobe forms using Workflow with normal SAP

    Hi All,
    Can any one help me, how to assign Adobe forms to Workflow with normal SAP.
    Thanks,
    Archana.

    Hi,
    The std. PCR (Process Change Request) workflow use  Adobe forms.
    BO is BUS7051,The std. workflows are
       WS50000041
       WS50000042
       WS03100019
       WS21300032
    Check this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d1cb99-46cf-2b10-8880-85004a301283]
    Regards,
    Surjith

  • Adobe Forms - Page Break via a Conditional Break

    Having read through the forum I am getting the impression that Page Breaks is a bit of a problem.
    I can enforce a page break between datasets by setting "After:" to "Goto Next Page", on the Object->Pagination tab, however this results in a blank page at the end of the entire output which is just the Master Page with all the static elements.
    The 'Conditional Breaks' sounds like the logical point to force a page break based on a combination of inequality or if a particular data element equals a known value.
    However, I don't seem to be able to get the 'Conditional Break' to work.
    So, the question I would like to ask, is how can you tell if the conditional break logic is correct and whether or not it is running? For example on an ABAP system is it possible to run it and debug it?
    My attempts at getting the break to open a pop up or write to disk via JavaScript fails, which is leading me to think they  are being ignored by the Adobe Form at both the server and client level.
    Is it possible that I have missed another setting somewhere else in the Adobe form configuration?

    Hello Jason!
    You are right that conditions (and all scripting) are bit tricky in this solution. Still they work.
    Debugging of AIF at ABAP side is not possible due to the architecture of the solution - from the ABAP POV it is just a web-service call and receiving result (PDF) back. You can't stop it on midpoint or intercept it somehow.
    At the same time there are other ways to check it.
    First, you can enable trace and saving additional info in SFP transaction under Utilities -> Settings.
    Details see [here|http://help.sap.com/saphelp_nw70/helpdata/EN/f7/a04aee0cb94978a011401311efe603/frameset.htm]
    And the nice way to check if your condition block is taken into the account is simple check like 1 = 2.
    If this works and you receive page break than all you need is find errors in your condition syntax, otherwise the problem is somewhere else.
    Regards,
    Petr Perstnev

  • ADOBE Form Using Table with dynamic number of rows

    Hi All
    First some information about our infrastructure:
    - AdobeDesigner 7.1 in the Developerstudio
    - SAP-Portal 7.0 SP15
    I have a View with tabstrips and behind the tabs i have defined an event. On one Tab I included a ADOBE-Form with Table. The Data for the PDF sould only filled in the context for the Form when i jump to this Tab. I created the Form by using this documentation [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669].
    To fill the tablecontext I use the following Code:
    IPrivateAnlegenBANFView.IPositionenElement position = null;
    IPrivateAnlegenBANFView.IPositionenNode posNode = wdContext.nodePositionen();
    int NUM_5_TIMES = 5;
    for (int i = 0; i < NUM_5_TIMES; i) {
    IPrivateAnlegenBANFView.IPositionenElement posElement = wdContext.createPositionenElement();
    +posElement.setMaterial("" + i);+
    +posElement.setKurztext("Test" + i);+
    +posElement.setWarengruppe("Warengr" + i);+
    posNode.addElement(posElement);
    If i put this code in the wdDoInit method it  works fine and shows me 5 Rows. But if I put the code in the Action of the tabstrip it shows me only one row. I checked the entries of the context and there are 5 entries (showed them in a WD-Table).
    Can someone tell me what im doing wrong?
    Thanks for a answer and kind regards
    Pascal

    Hi All
    finally i found the solution for the problem.
    When you define the interactive Form in the view do not define the property "dataSource" of UI-Element Interactive Form it seems, that the binding is static and not dynamic.
    Add the following source to the viewCotroller
    Global Part of the Source:
    private static IWDInteractiveForm form = null;
    Method wdDoModify:
    if (firstTime) {
      form = (IWDInteractiveForm) view.getElement("InteractiveForm");
    When you have an Event where you fill your Contextnode which you want to display in the table of an Adobe Form Use this code:
    Action:
    public void onActionFillTab(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent ){
      //@@begin onActionFillTab(ServerEvent)
         * Code to fill the Node for AdobeForm Table
        form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
      //@@end
    If you want to clear your table and show it directly use in the action the following code:
    wdContext.nodeTabelle().invalidate();
    form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
    Kind regards
    pascal

  • How adobe form gets prepopulated with employee data?

    hai guys,
      i need to develop adobe forms in webdynpro abap to be deployed in portal.
    the user access the forms from ess screen after he logs on into portal.
    when the user clicks on the form,how to prepopulate the form with the employees data of the user(like pernr,reporting manager,etc etc)

    Hai Robert,
      I have spent time trying to figure the process.
    i ahve created a webdynpro application with a interactive adobe form in it.
    the problem is the submit button in the form doesnt trigger the code in on action method in the webdynpro.
    i am on ecc 6.0
    net weaver 7.0
    life cylce designer 7.0
    i ahve checkd other threads,
    activex is ticked in webdynpro,
    i have created the button from webdynpro library(i dotn have 2 separate native and activex libraries at all)
    any sugestions.

  • Data mapping to Adobe Form /RPM/FORM_PFS_ITEM with WDcomp /RPM/UI_FACTSHEET

    Hi,
    Scenario:  Data is filled in the form  /RPM/FORM_PFS_ITEM with the webdynpro component /RPM/UI_FACTSHEET.
    Problem:  I need the mapping of data to the form  /RPM/FORM_PFS_ITEM with the webdynpro component  /RPM/UI_FACTSHEET.
    Thank You,
    Swetha.C

    Hi Vijai,
    In our project, we have the same requirement but I am one step behind than you. I am able to generate the PDF form but not able to generate the data. Means all the fields are coming as disabled fields.
    Can you please send your code as a sample code so that I can have a look at that and check where I am doing wrong/missing. My id is sandeep.kamdar in gmail
    Thanks & Regards,
    Sandip Kamdar

  • Adobe form is opening with blank screen?

    Hi,
    When i am trying to open adobe form in my portal application, it contains only the blank screen. Could you please let me know, what is the reason for this and how to solve this problem.
    I am using adobe livecycle desi
    Thanks,
    Sathishkumar GS

    Hi Tulasi,
    Thank you for your reply. I am using adobe livecycle designer 7.1 and reader 8.0
    And activex controls are already activated. Even i am gettign the same result.
    Thanks,
    Sathishkumar GS

  • Adobe form terminates gui with "initilization of font server module failed"

    Installed Adobe Live Cycle Designer.
    Now when I try opening any form in SAP guif rom the individula t code say for example PR05, it thorws me out of the gui saying "initilization of font server module failed".
    Why??
    please advise..
    Thanks
    Ven..

    This is an issue with the SAP GUI vs Adobe Reader 9. OSS note 1308147 refers to this. Followed the work around mentioned at
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/plm/adobe9-SAPGUIcrash.
    and it works fine now....

  • Adobe form code initialization with HCM Processes and Forms?

    Hi,
    We're trying to dynamically determine some language-dependent text label values in the form interface code initialization routine before displaying an interactive PDF form. All works fine when using the transaction SFP test tool, label values are dynamically determined using the code on the PDF printout.
    However in our case, the interactive form is embedded in a HCM P&F scenario and when launching the process form WDA application from the UWL, it looks like the same code initialization code is executed (when debugging it) but the values are not updated on the PDF when displaying.
    Any ideas how to go forward? Should we instead be using an ISR BAdI or such to do the same thing? We do not want to store all the label fields in the HCM P&F form scenario, because they are not supposed to be stored in HCM, we just need to dynamically display some text labels on the PDF form.
    We're on SAP ERP 6.0 EhP4, NW 7.01.
    Best regards,
    Mikko

    Hi Chris,
    thanks for your answer. Just to give you some background on the requirement, we are dealing with the public sector and they are let's say quite strict about form appearances
    To elaborate more, we have a need to build a single work contract printout PDF form for all the company codes (embedded into a second form scenario in our HCM P&F hiring process), because 90% of the layout and of all the labels in the work contract are common to all ccodes. Unfortunately for us, there are however some static texts / text labels with their translations whose customer requirements vary between the company codes. In addition, the customer is not ready to harmonize these texts mostly because of legal reasons. An example of this is as follows:
    - ccode 1 label: work contract (+ translations to several languages)
    - ccode 2 label: work contract approved by local union (+ translations to several languages)
    - ccode 3 label: work contract signed and approved by local union and company (+ translations to several languages)
    As silly as the requirement may seem, they are not ready to harmonize these labels into a single label because of these reasons (we have tried this many times without much success and told them about the technical difficulties to come). So we need to come up with a working solution
    What we have gone forward with so far is a Z-table containing all the dynamic texts and their translations. We are now just looking for a way how to dynamically populate PDF form label values upon runtime. In normal PDF print form cases (= without HCM P&F involved), the code initialization routine works just fine. We bind the label values to the form interface elements and then upon runtime we populate the interface elements in the routine based on the incoming company code value.
    But this is where we are stuck now. It seems HCM P&F somehow prevents or overwrites the changes done in the PDF forms code initialization routine when launching the PDF form from UWL and the HCM P&F process form WDA app and I'm looking for ways to make it happen.
    Any ideas?
    Kind regards,
    Mikko

  • Adobe Forms page break inside a table

    Hi,
    I have a 50 columns table and I need to print the first 25 columns on a page and the next 25 columns on the following page. Beside this if the number of lines in the table is big enough to flow on a new page I would like to print them like that:
    First n lines (where n is the maximum  of lines that can enter in one page)
    Page 1
    Coumn1 ........ Column25
    Page 2
    Column26..... Column50
    Next n lines
    Page 3
    Coumn1 ........ Column25
    Page 4
    Column26..... Column50
    and so on, until the lines in the table are all printed.
    Thank you very much!

    Hello Ana,
    You can only add a maximum of 20 columns and 50 rows in a single page, the solution would be to conditionally divide the main table as 20xN, 20xN, and 10xN. And regarding the flow on a new page:
    1. If you use the subform for line items, then make the subform type 'Flowed'.
    2. If you use only table in body page then check for Allow page-breaks within content.
    Regards,
    Manish

  • Adobe forms supported compatibility with Windows 7?

    Hi all,
    I want to know Windows 7 will support adobe interactive forms or not? If yes, what will be the adobe reader version needed and any patch to be updated?
    Please let me know.
    Thanks,
    Sathishkumar GS

    In my opinion forms should work in any Reader version released for Win 7 (I don´t know which versions are these, because I am still on Vista). I also think that even older versions od Reader should work ok, since there are some compatibility modes in Win 7, aren´t they? I would not worry about the technical side.
    Regards Otto

  • Conditional Master & body page in Adobe Forms

    Hi,
    I have an existing Master and body page in my PDF Form. Based on some value appearing in the internal table, I need to display another Master(with only Content area) and Body page. So in my case I have created two master and two body pages. Only if I get a value in some field in the internal table of Body page2, I need to display the master page2 & Body page2. Else, my master page2 & body page2 should not be displayed.
    Is this scenario possible?
    Thanks in advance.

    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.

  • 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.

Maybe you are looking for

  • AP Supplier Contacts Interface

    Hi to all. Hi have some doubts for supplier conversion on R12. I need to convert Supplier, Supplier Sites and Supplier Contacts. For what I saw I can join the Supplier and Supplier Sites using the same SUPPLIER_INTERFACE_ID so the interface understan

  • JApplet returning parameters ?

    Hi there, I've made an applet and sent String parameters to it. The applet manipulates these parameters and other stuff. Is there any possible way to return these parameters or any other, I was kind of expecting a setParameter method like the getPara

  • Upload / Download Tables.

    Hi All, I have a requirement in which I am suppose to use some tables in one system (For Ex : A) to make some reports and other operations like BDC etc., in another system (For Ex : B). Both system A and B are not related or can be connected to each

  • Used disk space on new MacBook: mystery!

    We've just (about 3 weeks ago) bought a new MacBook for my wife to use. I'm completely mystified about the amount of disk space that is already used, and wondered if there is some problem. Here are the figures, from Disk Utility: Total Capacity of To

  • TS1292 where is the code itunes in ipad mini or in visa card because i cannot do the billing payment method correctly in itunes code?

    where i can find the code of itunes in doing billing payment method?