Smartform with multiple Headers & Respective Item Details and Totals?

Dear All,
Appreciate if anyone clarify my doubt.
My requirement is to develop a smartform for billing with multiple headers & respective items and totals. For more clarity I'm explaining below.
                    Header Section1
variable1          variable2          variable3          variable4          variable5
     variable6          variable7          variable8
variable9          variable10          variable11
Item Details1
s no     vebeln     verpr     col4     col5     col6
total                    123.21
total in words -
               value     321.21
               value     982.98
               value     some value
footer details
                    Header Section2
variable1          variable2          variable3          variable4          variable5
     variable6          variable7          variable8
variable9          variable10          variable11
Item Details2
s no     vebeln     verpr     col4     col5     col6
total                    123.21
total in words -
               value     321.21
               value     982.98
               value     some value
footer details
                    Header Section3
variable1          variable2          variable3          variable4          variable5
     variable6          variable7          variable8
variable9          variable10          variable11
Item Details3
s no     vebeln     verpr     col4     col5     col6
total                    123.21
total in words -
               value     321.21
               value     982.98
               value     some value
footer details
Is this possible using smartforms?
Now they are using a classical report and takes printout in preprinted stationery.
requirement is to develop a smartform for this. there is a selection screen for the print program which accepts billing docs.
Thanks,

Rajiv,
Actually for your case you don't need a table inside the Main Window. 
1.) First Populate all the data(header + item) in an internal table in the print program itself.
2.) Pass this internal table to the smartform.
3.) In the smartform give exact dimensions to the main window.
4.) In the Main Window Use a Loop on this internal table.
5.) Create a template for the header data giving the exact dimensions.
6.) Create another template for the item data giving exact dimensions to the template.
7.) If there is pre-printed text between these templates, insert a text element between these templates. This text element will have nothing just give a paragraph format to it. Go to smartstyle, create a style in which create a paragraph format setting line spacing parameter of this paragraph format of the same size as that of pre-printed text.
8.) Only 1 page is required since Loop statement will print the second record on the second page if the dimension of templates are exact.
9.) Dimensions you can easily measure from the pre-printed form.
<removed by moderator>
Edited by: Thomas Zloch on Mar 6, 2012

Similar Messages

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

  • [svn] 949: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 949
    Author: [email protected]
    Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - try again with legacy-collection true and false.
    Doc: No
    Checkintests: Pass
    Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • ABAP list with multiple headers

    Hi experts,
    i have to display a table with multiple headers. Example:
    Header 1 = Sales order header
    Header 2 = Sales order items
    It's possible to create an ABAP list with 2 headers?
    Thanks in advance.

    Hi Dan,
    FYI .
    [ALV Grid with Multiple Headers;
    Regards
    Abhii

  • [svn] 931: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 931
    Author: [email protected]
    Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - we need automated tests for this basic case.
    Doc: No
    Checkintests: Pass
    Details: RequestFilter was not handling multiple headers with the same name properly.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • Service Procurement with Multiple Service Line items

    Dear Experts,
    We have the following Business Scenario. Request your inputs in addressing this issue.
    Business scenario : Most of the Procurement for our client is of services. So, we need to configure services with multiple service line items. This Shopping cart to create PR in ECC. PR to PO conversion to take place in ECC. Now onwards client needs Supplier integration for confirmation of services and sending invoices by Vendor.
    Guidance required in the following
    1 In Shop functionality if we select services, PR is being created in ECC with only one Service Line item. Whereas if we go for Request functionality, then always it is routing to Bidding process (which is not required for client). Can we create SC with multiple service line items with out request functionality?? Or Can we root the Request functionality with out Bidding process??
    2 If we convert the PR to PO in ECC (Classic Scenario), can we go for SUS integration. In such case which is the best way of supplier integration. Can you please guide us on basic steps on installation (can we go for different client in the same server) and configuration.
    Request your inputs in this regard
    Thank you,
    Ravi

    Hello,
    We suffered the same problem in our company.  We have found a way to work with the SRM shopping cart multiple line rollup to ECC single line purchase order.
    If the multiple shopping cart line items contain the same location code and cost assignment they will rollup into one ECC purchase order.  The system seems to 'think' it is helping you by consolidating your information.
    In the Basic Data section of the shopping cart there is a Service line item field.  If you enter something in each in that field for each line it will keep it's own line in ECC.
    Your implementation may differ slightly from ours but I recommend playing with the location code, cost assignment and Basic Data service line fields until you can see a pattern.  Basically you need to find a method to make each line a separate entity so they don't rollup.
    Good luck,
    Corinne

  • HT2534 hii i am using iphone 3g mobile i have some problem in downloading free apps    here is asking an credit card details    so i want to download with out entering credit cards details      and here i have there is not havening an option "NON"

    hii i am using iphone 3g mobile i have some problem in downloading free apps    here is asking an credit card details    so i want to download with out entering credit cards details      and here i have there is not havening an option "NON"

    How did you create the account ? Unless you followed, exactly, the instructions on the HT2534 page that you posted from when creating an account then credit card details will need to be entered before the account can be used to download any item from the store.

  • I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.

    I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.
    <div id="mp3-player" style="display:none;height:15px !important;float:left;margin:0px 0 15px 0px; width:270px !important;">
                           <div style="height:15px !important;width:270px !important;">
                               <embed src='http://209.15.205.3/~cityval2/MP3/352681.mp3' width="270px" height="15px" AUTOPLAY=false CONTROLLER=true LOOP=false PLUGINSPAGE="http://www.apple.com/quicktime/" />
                            </div>
                        </div>

    One key point.
    1. Migration within  the same forest ; we can say operation is cut & paste (Source account wil be not present)
    2. Migration between the forest ; we can say operation is copy  & paste ( Source account will be present)
    Also find some ADMT cool stuffs.
    ADMT Series – 1. Preparing Active Directory
    ADMT Series – 2. Preparing the ADMT Machine
    ADMT Series – 3. SID History
    ADMT Series – 4. Password Export Server
    ADMT Series – 5. Machine Preparation
    ADMT Series – 6. Service Account Migration Wizard
    ADMT Series – 7. Group Account Migration Wizard
    ADMT Series – 8. User Account Migration Wizard
    ADMT Series – 9. Merging Users with a Different sAMAccountName
    ADMT Series – 10. Security Translation Wizard – Local Profiles
    ADMT Series – 11. Computer Migration Wizard
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
    LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • Posting an Idoc with Multiple Headers and Multiple Lines

    Hi all,
    I have a scenario like this fileXIIdoc
    Invoice file comes in text file with multiple header and multiple lines like this
    111               aaa     13214234    US   (header)
    09082010     ABC    9999            A     (Line)
    222               ccc     43454543    US   (header)
    09082010     XYZ    7777            B     (Line)
    09082010     PQR    8888            C     (Line)
    I need to post single Idoc with all the headers and lines
    we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
    Regards
    Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PM

    hi,
    lets go again.
    you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
    for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before.  in PI apply to change the occurrance if you could send ONE Idoc Per Header.
    now is better clear???
    Let us know.
    Thanks
    Rodrigo P-.

  • Looking to create delivery with multiple batch line items

    Hi,
       Can you please suggest me BAPI / FM to create a delivery with multiple batches. like ... i have 1 mail line item in the delivery and n sub line items. If possible can you please post req parameters too. Thanks in advance.

    solved my own

  • Hierarchy problem when creating IDoc with multiple headers

    Hi,
    In general, When you create an inbound IDoc for the IDoc Type FIDCCP02, you have all the data records arranged in hierarchical order (while viewing it in the we02 transaction).
    Our requirement is to have m number of headers(E1FIKPF) and in turn it has n number of items(E1FISEG) inside a same IDoc. We have a problem in viewing the hierarchy of them in the data records tab. It comes down in a flat order without hierarchical division.
    If we have only one header, we get the hierarchy sorted by default. If we have multiple headers we see the same problem again.
    We guess some make-ups in the EDIDD structure which contains segnum, hlevel etc needs to be done.
    Let us know the correct method to get this fixed.
    Points will be rewarded.Thanks in advance.
    Regards,
    Reni

    Every Idoc segment has a place to put in the parent segment for that Idoc. When you "fill" the Idoc , this tsep might not be executing for some reason.
    Is this some customer development?
    in EDID4 ,see these fields
    PSGNUM-Number of the hierarchically higher SAP segment
    HLEVEL Hierarchy level.
    Regards

  • Black background in Load Planning in TM9.1 with VB2.1(Also item details)

    Hi Experts,
    In Load Planning tab in Freight order, the 3-D component's background is always black, and when i clicking the item, item details will pop-up,
    but the background also black, please see below picture.
    Does anyone has ideas, Thanks in advance.
    Best Regards,
    Matthew He

    Hi Uwe,
    I have a similar problem.
    I copied the demo program  VBI_GUI_SAMPLE1 and have changed the source for displaying Details and Tooltip.
    But the Details are shown in a black box. The letters are also in black, so the details are not visible.
    --source
    " tooltip
         ls_descr_entry-category   = if_vbi_const=>gc_descr_category-both.
         ls_descr_entry-part       = if_vbi_const=>gc_descr_part-caption.
         ls_descr_entry-field_name = 'RD'.                       "#EC NOTEXT
         ls_descr_entry-value      = |{ is_geo_position-xpos }/{ is_geo_position-ypos }|.
    *    ls_descr_entry-column     = 1.
         APPEND ls_descr_entry TO ls_spot-description.
         ls_descr_entry-category   = if_vbi_const=>gc_descr_category-tooltip.
         ls_descr_entry-part       = if_vbi_const=>gc_descr_part-subcaption.
         ls_descr_entry-field_name = 'WGS84'.                    "#EC NOTEXT
         ls_descr_entry-value      = |{ ls_spot-position-xpos }/{ ls_spot-position-ypos }|.
    *    ls_descr_entry-column     = 1.
         APPEND ls_descr_entry TO ls_spot-description.
         ls_descr_entry-category   = if_vbi_const=>gc_descr_category-detail.
         ls_descr_entry-part       = if_vbi_const=>gc_descr_part-body.
         ls_descr_entry-field_name = 'body'.                     "#EC NOTEXT
         ls_descr_entry-value      = 'detail'.
    *    ls_descr_entry-column     = 1.
         APPEND ls_descr_entry TO ls_spot-description.
    --end source
    Best regards Maarten van Riel

  • ALV with multiple headers

    Hello All,
         i have a requirement where i have to have multiple headers in a single alv.
    The exact requirement is like.
    Header1----
    row1
    row2                     1 unit
    row3
    row4----
    Header2
    row1
    row2
    row3
    row4
    Header3
    row1
    row2
    row3
    row4
    and the number of individual units is not fixed and will be determined at runtime.
    Can somebody tell me the steps to achieve it.
    actually i tried using block alv in loop but it is showing inconsistent data and moreover it has a limitation of 19 appends.

    make you are looking a break page
    check this
    http://hosteddocs.ittoolbox.com/kk021909.pdf

  • Service PO with Multiple service Line Items

    Hi,
    i am working on Service Po Creation by using BAPI BAPI_PO_CREAT1. I am able to create service for multiple line items but the problem is single line item my have multiple service line items in that case my object is not working. Can any one suggest solution for this.Here i am attachng what i written logic
               T_POITEM-PCKG_NO      = V_PACKNO.
            T_POSERVICE-PCKG_NO = V_PACKNO.                    "'0000000001'.
              T_POSERVICE-LINE_NO = V_LINENO.                    "'0000000001'.
              T_POSERVICE-OUTL_IND = 'X'.
              T_POSERVICE-EXT_LINE = '0'.           "V_EXTLIN.                  "'0'.
              T_POSERVICE-OUTL_LEVEL = '0'.           "V_EXTOUT.                "'0'.
              T_POSERVICE-SUBPCKG_NO = V_PACKNO + 1.               "'0000000003'. "(Dummy No.)
              T_POSERVICE-QUANTITY = ITAB-SERV_QUANTITY.
              T_POSERVICE-BASE_UOM = ITAB-BASE_UOM.
              T_POSERVICE-PRICE_UNIT = '1'.
              T_POSERVICE-GR_PRICE = ITAB-GR_PRICE.
              T_POSERVICE-SHORT_TEXT = ITAB-SERV_TEXT.             "'SERVICE TEST'.
              APPEND T_POSERVICE.
              V_LINENO = V_LINENO + 1.
    *          V_PACKNO = V_SUBPACKNO.
              T_POSERVICE-PCKG_NO = V_PACKNO + 1.
              T_POSERVICE-LINE_NO = V_LINENO.
              T_POSERVICE-EXT_LINE = V_EXTLIN + 10.             "'0'.
              T_POSERVICE-OUTL_LEVEL = '0'.                          "V_EXTOUT.                "'0'.
              T_POSERVICE-OUTL_IND  = SPACE.
              T_POSERVICE-QUANTITY = ITAB-SERV_QUANTITY.
              T_POSERVICE-SUBPCKG_NO = '0000000000'.
              T_POSERVICE-BASE_UOM = ITAB-BASE_UOM.
              T_POSERVICE-PRICE_UNIT = '1'.
              T_POSERVICE-GR_PRICE = ITAB-GR_PRICE.
              T_POSERVICE-SHORT_TEXT = ITAB-SERV_TEXT.                            "'SERVICE 1'.
              T_POSERVICE-PLN_PCKG   = V_PACKNO + 1.
              T_POSERVICE-PLN_LINE   = V_LINENO.
    *          T_POSERVICE-MATL_GROUP = '0082'.
              APPEND T_POSERVICE.    
    *          SET PCKG_NO AS SUB_PCKG_NO IN TABLE POSRVACCESSVALUES THIS:
              T_POSERVALUE-PCKG_NO = V_PACKNO + 1.                                       "'0000000003'.
              T_POSERVALUE-LINE_NO = V_LINENO.
              T_POSERVALUE-SERNO_LINE = '01'.                "'01'.
              T_POSERVALUE-SERIAL_NO = '01'.              "   '01'.
              T_POSERVALUE-QUANTITY = ITAB-SERV_QUANTITY.       "'10.000'.
              APPEND T_POSERVALUE.

    by following instructions in 420332 note.

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

Maybe you are looking for

  • Channel Error

    Hi, Channel is giving below error. Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'WRM.WRM_STOCK' (structure 'statement'):

  • Phone Firmware upgrade Startegy for 9.1 -- 10.5 migration

    Hello, We are planning our migration from CUCM 9.1 to 10.5. I want to do a phone firmware upgrade before upgrading the cluster, to minimize phone upgrades. Planning to use PFD (Peer File) for this. My question is, what would be the best strategy to u

  • Logon in Visual Studio Fails Only with NW 2004s

    Hi, Initially, I was working on a function to retrieve Performance-Log-History Data form a C# Application, using the .net-Connector and MS Visual Studio 2003. I got a "XML-Type Conversion" Problem, and found some entries in the SDN, that brought me t

  • WRT54G v5 Fails Unexpectedly

    Hi, Ok, when I woke up this morning I found that the network in my house had unexpectedly gone off line. I have determined that the ISP (AT&T- DSL connection) is not to blame by bypassing the router and being able to connect as usual. The problem I'm

  • Right shift key minimizes screen

    When I press the right shift my screen "mimizes" and vice versa - it does not capitalize the letter in question and is extremely annoying.