Header and line item headings in new page in Sapscipts

HI,
In Main window, I am displaying the header details.
In a box below, I am displaying its item headings and item data details. Now when the no. of line items exceed the first page, they are displaying in the second page with other windows, but the header details, box and the line item headings are not getting displayed in the next page.
Can anyone help me How to get the box, line item headings and header data also in the next page..
thanks in advance........
Rakesh

Hi Rakesh,
The header details, item headings and the box are also in the main window, thus, if the items exceeded and a next page is triggered, it will still continue to display the items until the loop ends.
what you can do is that you can make a separate /E elements for header details, item headings, box and line items. so if a new page is triggered, you can call again the elements for header details, item headings, and box, then continue with the line items.
Thanks,
M

Similar Messages

  • Displaying header and line items

    Hi,
    i) i have a fieldname i.e text and its value to display in the bodypage  (body)..
    i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
    in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
    ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
    Thanks

    Hi Shekar,
    The following solutions useful if you are using printbased forms.
    1. To display the field if the value is there.
    ->In the Context you can define the condtion on the filed.
    ->You can write a script on the subform superior to the field
    [code]      if ( $.field.rawValue == <value> ) then
                $.field.presence = “hidden”
          endif [/code]
    2. Header and item table
    In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
    refer the message
    Re: Adobe IF Attachments

  • What's the difference of Item Class value:Header and Line Item in AME Rule

    Hi All,
    when creating a Rule or Attribute,there is a Item Class property,which contains Header and Line Item two values.
    Can anybody pls help me clarify the difference?
    thx,
    edmund.

    This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
    Regards

  • Header and Line Item reporting (MultiProvider)

    Hello All,
    We have data coming in from a LO Extractor.  There are 2 extractors.  1 for line item the other for Header.  The line item extractor has all the fields for both so we decided to use this extractor (the line item).
    Question is, when extracting this data multiple records come over.  Let's say the order has 2 line items.  It brings over a header record and then 2 line item records.  We have it going to an ODS and then Cube.  The ODS key is order number and item.  Well the header record comes over with item number #, so 3 records hit the ODS.
    How do you handle this?  We saw something about denormalization and make this header record item number a 0.
    Can someone explain to us how to handle this?  We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
    Please help, Thank you

    Item level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
    This will not be good option if you require some fields that may have different records in the header and the item.
    One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
    Constant selection wil be helpful in the report level not during load process.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
    This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown.

  • How to add new fields for FB01 transaction both at Header and Line item

    Hi Guys,
    I would like to add the new fields at header and item level in FB01 transaction. Can I acheive this by using transaction EEWB....please help me on this.
    Thanking you

    Hi,
    We are trying to copy a work flow objects from ECC6.0 to 4.6C...where we found the following Select statement.
    *Determine Top WorkItem Instance
      if im_top_wi_id is initial.
       select wi_id top_wi_id wi_rh_task into lw_top_id from sww_wi2obj
         up to 1 rows
         where wi_rh_task = im_wftask and
               catid      = 'BO'      and
               instid     = l_instid  and
               typeid     = 'FIPP'.
       endselect.
       endif
    As table sww_wi2obj can't be found in 4.6C, can any one help how to replace or implement the same logic as above statements.
    Thank you....

  • To change the Purchase order header and line item text

    Hi everybody,
    I need to upload the PO Header and item text for the combinaion of PO and a material.
    Please help???

    Hi,
    Try this beloe code
          Length of the PO item text
          If the length > 132 Chars
      BAPI Function module for changing PO item Text
      commiting the bapi change
    SORT t_bapi BY ebeln ebelp.
      LOOP AT t_ebeln INTO wa_ebeln.
        LOOP AT t_bapi INTO wa_bapi WHERE ebeln = wa_ebeln-ebeln.
          REFRESH t_return.
          READ TABLE t_input INTO wa_input
            WITH KEY ref_num = wa_bapi-ref_num
                     item = wa_bapi-ebelp.
          IF sy-subrc EQ 0.
            APPEND wa_input TO t_output.
            w_len = STRLEN( wa_input-text ).
            wa_potextitem-po_number = wa_bapi-ebeln.
            wa_potextitem-po_item = wa_bapi-ebelp.
            wa_potextitem-text_id = 'F01'.
            wa_potextitem-text_form = '*'.
            wa_potextitem-text_line = wa_input-text+0(132).
            APPEND wa_potextitem TO t_potextitem.
            IF w_len > 132.
              wa_potextitem-po_number = wa_bapi-ebeln.
              wa_potextitem-po_item = wa_bapi-ebelp.
              wa_potextitem-text_id = 'F01'.
              wa_potextitem-text_form = '='.
              wa_potextitem-text_line = wa_input-text+132(123).
              APPEND wa_potextitem TO t_potextitem.
            ENDIF.
          ENDIF.
        ENDLOOP.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder = wa_bapi-ebeln
          TABLES
            return        = t_return
            potextitem    = t_potextitem.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = ' '
          IMPORTING
            return = wa_bapiret2.
    Regards
    Krishna

  • PO header and line item text in smartform

    HI,
    In my smartform I am fetching the 'PO header text', 'item text', and 'material text' for PO with "Include text"( by passing text name, object id etc..) with "no error if no text is maintained" checkbox checked
    This is working fine In the development servers....
    but when I moved these requests to quality servers...the above mentioned texts are not getting displayed in the smartform...while Texts are maintained in PO.
    What can be the problem??

    I guess there cant be any problem with the Include text . The problem can be either the text is not maintained or may be the include is not getting executed.
    See if you have any conditions in the condition tab.
    Check it in the debug mode and let me know if includ text is getting executed but value is not getting populated,
    Better you can do one thing
    Take the generated functional module name let us suppose your FM nae is /1BCDWB/SF00000100 then add SAPL   as below
    /1BCDWB/SAPLSF00000100
    Now go to SE38 and give this Program name and in the program find the code with the Text id .
    Supose your Text id is 'ZTXT'.
    find with this this ID and  find which function module is used to get your text.
    Put break point on the FM and now execute the form.
    Check whether values text is getting populated .
    Thnanks,
    Nageswar
    Reward if problem solved

  • Header data in xml tags and line items in fixed length but both in same fil

    Hi,
    In my scenario target side in header level i am passing all the values are fixed values and line item vaues are getting from the source data.how to write udf for this scenario.It should be graphical mapping.
    Please help to me
    please reply fast
    Thanks&Regards
    Swathi
    Edited by: SWATHIP on Feb 4, 2011 7:16 AM

    Hi,
    1) If your values are numerical you can use the "FormatNum" function under Arithmetic Functions.
    This will help you fix the length of the number and even the decimal part.
    2) If you want to fix the length of field which is of type string, you can try the following code:
    public String setLength(String var1, String var2,  Container container) throws StreamTransformationException
         /*   var1 will have the String Value, in var2 pass a constant integer of fixed length you want  */
         int len = Integer.parseInt(var2);
         String rslt = var1;
         if( var1.length() < len)
             for(int i = var1.length(); i < len; i++)
                 rslt = rslt + " "; // appending space
         else
               rslt = rslt.substring(0,var1.length - 1)l
         return rslt;
    regards,
    Aravind
    Edited by: ajnayak on Feb 7, 2011 7:25 AM

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

  • Line items are printing different page

    hi all,
    I neet to print line items in the same page.
    but when i execute my pogram it is giving 6 pages with one line item each page.
    how can we print 6 line items in same page if there is no space it must print in second page.
    Kind Regards,
    Kiran.

    Hi,
    You can specify, either in the style or in the form, that a particular paragraph should not be split in two by a page break. If this page protect attribute is set, then the complete paragraph is always printed on one page. This property applies only to that particular paragraph.
    This attribute is not intended to be used to protect all paragraphs against a page break. The point is that a page break is by its very nature a dynamic event and the exact point at which it occurs depends on the current state (length and contents) of the preceding text. It is also possible that you may want to protect only certain parts of a paragraph against a page break. One way to achieve this is to use the NEW-PAGE command immediately before the text concerned starts. Explicitly beginning a new page at this point should ensure that a further page break does not occur within the text. However, this technique is not change-friendly. For example, you format your text with the help of the NEW-PAGE command so that no page breaks occur where they should not. At a later time, you insert or delete some lines. These changes cause all the subsequent text to be moved relative to the printed page, and you must check each NEW-PAGE command you previously inserted to see if it is still in the correct place.
    To allow you to define the areas to be protected against a page break on an individual basis, SAPscript provides the PROTECT.. ENDPROTECT command pair. If you enclose the text to be protected in these commands, then SAPscript will ensure that each line of this text is printed together on the same page. If the complete text fits in the space remaining on the current page, then it is printed on this page just as it would be if no PROTECT command had been used. If, however, the remaining space is not sufficient for the text, then the PROTECT command has the same effect as a NEW-PAGE command and text is printed on a new page.
    Thus the PROTECT/ENDPROTECT commands may be regarded as a kind of conditional NEW-PAGE command, the condition being whether or not the lines enclosed between the two commands fit in the space remaining in the current main window.
    Syntax:
    /: PROTECT
    /: ENDPROTECT
    The text lines to be protected are enclosed between the two commands.
    An ENDPROTECT command without a preceding PROTECT command has no effect.
    If the terminating ENDPROTECT is missing, SAPscript assumes it at the end of the text.
    PROTECT.. ENDPROTECT command pairs cannot be nested. If a second PROTECT command occurs before the first one has been terminated by an ENDPROTECT, it is ignored.
    If the text enclosed by a PROTECT.. ENDPROTECT pair is itself too long for a single page, then a page break is generated immediately before the text and the text is printed in the normal way. It is then unavoidable that a page break will occur at some point within the text.
    Thnks and reward me with pts if useful.

  • Content Conversion: One row with one header and multiple item structures. Possible?

    Dear all,
    I have a input that looks like this:
    HeaderKeySomeHeaderInformationItemKeySomeItemInformationItemKeySomeItemInformation...
    Here's the actual input
    TEHGMESS0026000000288S0001TEI2____026200006112410400000000           18010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000JTEI2____026200006112410400000000           19010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    HeaderKey = TEHGMESS
    ItemKey = TEI2____
    Is it possible to process this via MessageTransformBean (my actual scenario is JMS to IDoc)? I already tried but I only succeeded when having new lines in my input to separate between Header and (multiple) Items.
    So when the input and my configuration looks like below it works, but when I only have a single row input it doesn't work, even when specifying xml.recordHeader.endSeparator = '0' / xml.recordItem.endSeparator = '0'. I even tried xml.endSeparator = '0' but no luck.
    Input that works
    TEHGMESS0026000000288S0001
    TEI2____026200006112410400000000           18010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    TEI2____026200006112410400000000           19010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    Matching configuration that works for input which structures are delimited by new line.
    Paramentername
    Parametervalue
    Transform.Class
    com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType
    text/xml;charset=utf-8
    xml.conversionType
    StructPlain2XML
    xml.documentName
    MT_TEI2Split
    xml.documentNamespace
    http://hansgrohe.com/pi/MQ/TEI2/10
    xml.keyFieldName
    SATZARTKey
    xml.keyFieldType
    CaseSensitiveString
    xml.processFieldNames
    fromConfiguration
    xml.recordHeader.fieldFixedLengths
    8,4,9,1,4
    xml.recordHeader.fieldNames
    SATZARTKey,SATZLENHG,NUTZLEN,MESSAE,MESSNR
    xml.recordHeader.keyFieldValue
    TEHGMESS
    xml.recordItem.fieldFixedLengths
    8,4,2,10,8,19,3,3,2,10,6,2,10,6,2,10,6,6,6,6,6,11,9,2,10,6,2,10,6,3,4,3,7,14,8,1,31
    xml.recordItem.fieldNames
    SATZARTKey,SATZLEN,BUCHART,TRNR,ANDGNR,MITEM,TEIVARI,BSTSTATU,REFTYP,ORNO,POS,REFTYP1,ORNO1,POS1,CHATYP,CHARGE,CHAPOS,ABBVONL,ABBNACH,ZUBVONL,ZUBNACH,I2MENG,I2BUNR,REFTYPN,ORNON,POSN,REFTYP1N,ORNO1N,POS1N,BSTSTATN,ABUSERAB,ABUSERFN,ABUSERNA,I2TIME,I2LIDNR,I2FMCODE,FILLER
    xml.recordItem.keyFieldValue
    TEI2____
    xml.recordsetName
    records
    xml.recordsetStructure
    recordHeader,1,recordItem,*
    Any clues on this? Is it even possible to have multiple structures in one row? Many thanks in advance
    Jens

    SAP came back to me with this answer:
    First, I would like to point the documentation for Message Transform
    Bean (MTB) in 7.4:
    http://help.sap.com/saphelp_nw74/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm?frameset=/en/57/0b2c4142aef623e10000000a155106/frameset.htm&current_toc=/en/45/0ea2de423c2d6be10000000a11466f/plain.htm&node_id=18
    As it is written at the beginning of this document, MTB is used to
    call classes written for the Plain Adapter Engine. So you may find
    additional documentation about the parameters for convertion in the
    documentation of the Plain Adapter Engine
    (http://help.sap.com/saphelp_nw74/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm?frameset=/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm&current_toc=/en/75/246b3de666930fe10000000a114084/plain.htm&node_id=11).There it is written that the structures by default are
    arranged line-by-line. The endSeparator just adds additional character
    string as a separator after the last column in a row.
    I hope that this answers your question. MTB expects the data to be
    structured line by line.
    You may add a custom module, which transforms the message in the
    expected format.
    If you have a look at the second link there's even a more precise wording that multiple structures within one line are not supported:
    xml.NameA.endSeparator
    Even if no specification is made here, a line break must follow since substructures are always expected as a line of the document.
    Bottom line is that it's not supported by now and verfied by me with PI 7.4 SP5
    Many thanks to Ambrish, Amit and Hareesh for the valuable input. Will probably try to work things out for now following Ambrish's / Hareesh's suggestion as this seems easier to implement. Amit's proposal with a dedicated module however would probably be the more polished solution.
    Cheers
    Jens

  • G/L Balance and Line items difference

    Dear Mates,
    We have a Inventory-Spare Parts G/L account
    When i see the FS10N g/l balances ,there is a figure appearing as 25,82,887/- in the period February and when i double click on the above said figure to see the line items whose total comes to 30,89,627/- with doc.type: WA.
    Can please tell me ,what could be reason for the difference between Balance appearing on the initial screen and line items total.
    Please treat it very urgent as auditors are sitting on my head.
    Thanks
    Subbu

    Hi,
    First let me know the SAP R/3 version and fiscal year.
    In the mean time, you can also check any changes has been made to your GL account master data related to line item display.
    all the best

  • Gr Ir Assignment Updation with PO and Line Item

    In the GL for GR IR Account the sort key was not  maintained with PO number due to which the assigment field in the line item was getting updated with the posting date and not with the PO & LIne Item details.
    We have made the requiste changes and new items are getting updated properly.
    But require assitance in updating the earlier line items.
    As of date total line items are more than  0.15 mn.
    Please suggest some method to automatically update the assigment field of the GR IR Line items with the PO Details.
    Regards
    Mukesh

    Hi,
    You can use a substitution to update the field through FI. Use GGB4 for wirting a substitution you may need some ABAP coding to substitute PO no and line items in the assignment field.  rule would be Co code =XXX and GL account =xxx and Posting date earlier than =xxxx  then concatenrate EBELN and EBELP in Assigment field Zounr.
    Then execute FBL3N and edit the assignment field by selecting all the documents and then save it you should see the PO line items populated. You can leave the substitution on or you can remove it after updating,
    Regards
    K.R

  • Profit center actual line item report for new GL

    Hi,
    We are using New GL functionality. I have posted one document as follows
    One line item with PC P0101 (Debit side) and second line item without PC (Credit side)
    Second line item also inherited to PC P0101.
    When checking profit line actual item report at KE5Z only one line item profit center displaying (debit side ), inherited line profit center not displaying (Credit side).
    I would like to see the both line items at CO report. Can any one suggest which report I need to refer at CO?
    At FI GL report I can able to see the both line item profit centers report (FAGLL03)
    Thanks

    Hi
    I think you have already got the answer to your question....
    You should refer FAGLL03 / FGI3 reports and not Ke5Z.. KE5Z is for Classical PCA where as the inherited PC in the 2nd LIne item is a New GL Feature
    More over, you should not have used Classical and New GL PCA together... Refer Note 702854 and 826357 which explains this
    Br, Ajay M

  • Header and Footer Items in Adobe Muse? Also Menu text being cut off half way.

    How can I make the header and footer items load faster in Adobe Muse? I am hosting with Business Catalyst. Everything else loads almost immediatly on my web page, but my Header and Footer graphic- wood grain picture- take almost 10 seconds to load, and almost a minute to load on mobile devices.
    As well, my menu's are not loading correctly on other peoples devices. On my lap top everything looks fine, but on other peoples devices the text in my menus is only loading half way? -only shows half the text.
    Still working on my site, but to see what I am talking about you can visit the web page I am in the middle of building at www.bkskin.com
    Please give me some advice if any of you have some, thank you.
    Megan Burnett

    Hello,
    It seems to be an issue with the Font that you have used.
    You have used Bubble-one font and if you check this font in Google Chrome it is cut off and if you check in Firefox, it comes up fine.
    Please have a look at this link in Google Chrome and Firefox and you will see the difference : http://www.google.com/fonts/specimen/Bubbler+One
    I would suggest you to use some other font in order to fix it.
    Regards,
    Sachin

Maybe you are looking for

  • S_tcode

    Hi All, The long text box in the role says the t-codes are added to this role on - date. But the t-codes are not present in the object S_tcode. Did i miss the opening credits or is it all that the role designer did not add them as per the description

  • Limit of pictures for slideshow?

    Hi. Is there a limit to how many pictures you can have for a slideshow using Front Row? I just created a slideshow from iPhoto (latest version) with 1200 pictures. Then when I played it it just stopped after so many and the screen went blank. Any sug

  • Persistent Spinning Beach Ball

    I have a spinning beach ball problem that I can't resolve. The computer will boot up to the login menu then when I login as a user (it happens with all users) the screen flips to my background then the beach ball starts. I can hear the drive working

  • Is the Macbook Pro Retina display better than the LED display on the new iMac that is coming out?

    I am thinking of either buying the Macbook Pro retina display (15") or waiting for the iMac 27" display. I am mainly focusing on the display, so what is better?

  • My ps3 won't allow me sign in to the network

    i'm very frustrated. I thought i created an account online but when i try to sign in it simply doesn't work. I'm on vacation and i planned on playing ps3 this week. This sh*ts ruining my lifeless vacation. lol. please help!. thanks. =)