Smartforms issue with displaying line items

Hi All,
I had a requirement where in which in the main window Five line items and then the corresponding values of line items below in the same main window.
Example :
  01      item1_description       value1    value2
  02      item2_description       value1    value2
  03      item3_description       value1    value2
  04      item4_description       value1    value2
  05      item4_description       value1    value2
  01      Jass                            value1    value2
  02      Jass                            value1    value2
  03      Jass                            value1    value2
  04      Jass                            value1    value2
  05      Jass                            value1    value2
if the value increases they go to next page the number of line items displayed will have the corresponding values to
be printed in the same page and in the main window.
Please help me how to do this.
Thanks & Regards,
Durga Naresh
Edited by: NareshBD on May 12, 2011 10:58 AM

I sense this will be either impossible or quite hard to accomplish.
What i dont understand is: why dont you go for the approach to print all you info regarding one line item into ONE line like:
01 item1_description value1 value2 01 Jass value1 value2
02 item2_description value1 value2 02 Jass value1 value2
03 item3_description value1 value2 03 Jass value1 value2
04 item4_description value1 value2 04 Jass value1 value2
05 item4_description value1 value2 05 Jass value1 value2
that again would make things very easy.

Similar Messages

  • Urgent : Issue with deleting Line Item in ME22N

    Hi all,
    I have an issue with deleting line item in ME22N for some Purchase Orders.
    When I try to delete the line item, a warning message comes up saying that " Quantity invoiced or delivered is less than the quantity ordered". And I am unable to proceed further and save the PO. Could anyone let me know as why this is happening?
    Thanks in advance.
    Regards,
    Adapala.

    Hi
    there is no need of group key.
    if any of these 3 are done, payment will be done in total.
    1.In setup all company codes for payment transactions , DESELECT seperate payment per business area check box
    2.In setup paying company codes for payment transactions , DESELECT seperate payment for each reference check box.
    3.In the Vendor Master got to payment transactions tab and below the payment method , there will be individual payment checkbox. DESELECT that check box.
    try again with first two with DESELECT options , i will check out with DME.
    Cheers

  • Display line items in Cells of a table- Smartform

    Hello All,
    Can any one help me achieving  the below requirement.
    I have a requirement of printing invoice with a smartform. I am displaying line items from a TABLE node by looping VBRP's internal table. There are 12 cells and the 5 th cell contains a number of Dicount rates.
    I am displaying these discount rates from LOOP node by looping KONV's internal table within that CELL. The 7 th Cell has got 2 values which are required to be: one aligned to the TOP right corner of the cell and the other to the bottom right side of the cell.
    Now the issue description is:
    CELL-5:  Contains unknown number of values for display within the cell to be positioned as MIDDLE justified for an item(POSNR) of the main item table.
    CELL-7: Contains two fixed values :KWERT to be at Top right of the CELL-7and NETWR at the bottom right of CELL-7
    I have managed to display the sub items in CELL-5 in the middle  by giving values to SPACE BEFORE/SPACE AFTER sections of PARAGRAPH FORMAT in SMART STYLE.
    Requirement: Irrespective of number of sub items in CELL-5 the 2 values in CELL- 7 to be aligned as one at the top right and the other  to the bottom right cell flexibly . Same applies to other items(POSNR) of MAIN VBRP item table.
    The ROWS of the MAIN Table to be flexible enough to shrink the space when then are less number of subitems in   CELL-5.
    Values in Cell-7  should be adjusted according to contents in CELL-5.
    Thanks in advance for your valuable suggestions.

    Hi,
    Do one thing while filling the 5th cell , count the number of values(counter) in it for each record and fill new internal table (Itab_cell7) as follws.
    DATA : FLAG,
    counter1 type n.
    DO COUNTER TIMES.
    counter1 = counter1 + 1.
      CLEAR FLAG.
    IF counter = 1.
        WA_CELL7-VALUE = KWERT.
        APPEND WA_CELL7 TO ITAB_CELL7.
        FLAG = 'X'.
    ENDIF.
    IF counter1 =  (counter1 - 1).
        WA_CELL7-VALUE = KWERT.
        APPEND WA_CELL7 TO ITAB_CELL7.
        FLAG = 'X'.
    EXIT.
    ENDIF.
      IF FLAG NE 'X'.
      WA_CELL7-VALUE = ''.
      APPEND WA_CELL7 TO ITAB_CELL7.
    ENDIF.
    ENDDO.
    Adjust the code if need as per your data.
    In cell 7 under loop node print ITAB_CELL7 values in a text. and prepare a paragragh for alingment.
    if it does not work for send me the XML file for your smartform.
    Regards,
    Antim

  • Printing multiple PR with different line items in smartform

    Hello all,
    I have an requirement to print multiple PR with different line items on different pages.
    So,suppose two PR are there,PR1 and PR2 with n no of line items,then i should get each PR on different page with its line items.
    Note: One loop processing is already there on line items.
    Best Regards,
    Anurodh

    Hi,
    Fetch all the PRs and its corresponding items into 2 different table. Then Loop at the internal whihc contains the PRs and  call the 2nd internal table for its items and call the FM for smartforms and pass them.
    LOOP AT it_PR.
      fetch all the items into it_PR_item
      Call Function Fnam
      Passign the it_PR_item
    ENDLOOP.
    Regards,
    Aditya

  • Issue with displaying summary in the Page Bottom

    Hi Friends,
    I have an issue with displaying summary in the page bottom. for this i am using command BOTTOM and ENDBOTTOM in Main Window.
    I designed 2 pages are First and Next, in the first it displays PO Header details and Item details in the Main window and also Item details continuious in the Next Page also.
    If the lines are enough in Bottom then it displays the summary. But if the lines are not enough in bottom then it does not trigger the new page, so that it doesn't displays the Summary in Bottom.
    for ex: Total lines of the page 50 and Bottom required 15 lines. In the next page contains upto 35 lines, it triggers the Bottom.
    But if the lines are more than 35 and below than 50, it does not trigger the new page so that it does not shows the bottom.
    Please help me on the same, this is very urgent.I will give a rewatrd if it is helful.
    Regards,
    Subbarao

    HI,
    Try with printing the bottom data with Protect and ENDPROTECT along with your Bottom and endbottom.
    Eg: Protect
    bottom
    text
    endbottom
    endprotect.
    Regards,
    Venkatesh

  • Displaying line items, although not activated in FS00

    Hi everyone!
    I've got a question about line items.
    I had created a GL account, and in it's master record I didn't activated Display line item. But, when I call transaction for displaying GL account's line items (FAGLL03), I can see line items?
    How is that possible?
    I know that there are some special cases, for example expense accounts: for every expense account there is a cost element in CO, and no matter settings in FS00, for expense account there is always line item display. Similary, reconciliation accounts always have open items management, irrespective of settings in FS00.
    But this is just regular account, with very few settings in master record: its balance sheet account, the account currency is local currency, sort key 001 and field status group G001. And that's all.
    Can somebody explaine this?

    Guys. In addition to above my problem.  I was facing this problem due to some graphics issue on my laptop. I was not able to see most of the fields because of Graphics Driver installed on my laptop. ( Later on I got this solution. ).
    This seems very unrealistic to hear but my experience is true.
    I hope in future if some one will have this issue please check out driver compatibility specially Graphics. This problem may suppose to encounter with Dell. 
    Anyways Z layout also worked fine as suggested by Guest FICO.
    Thank you all.
    Regards,
    Sharvari Joshi.

  • Problem in display line items in FS10N

    Hi all,
               I have checked ,check box in G/L account  "Line items display "  in FS00 in current period ( 4 / 2014 )after that line items get displayed in FS10N for this period .
    There is problem in displaying line items for same  G/L account with previous all periods such as 3/2014,2/2014,1/2014.
    I have tried report "RFSEPA01" it works fine if we enter document number for selection with other parameters ,but it gives error if we run report with just Company code and G/L account .
    Please provide any other way to get item details for previous periods or is there any update on report "RFSEPA01".
    Please let me know why this issue occurred, if we activated the line item display for the particular G/L account in between the Posting period
    Thanks,

    Hi,
    You can check below two programs
    RFSEPA01 - for line item display
    RFSEPA02 - for open item display
    Steps to follow:
    1. Block the G/L account from posting
    2. Run both programs
    3. Unblock the G/L account
    this will make the earlier posted items visible.
    Regards,
    Jyoti

  • Documents has been posted with out line item

    Hi,
    Actully my user created GL Account with out line item he posted transactions into documents
    Now we are not able to see the documents
    T-CODE:FS10N
    GL Account
    Company code
    Fiscal year
    when ever click on amount not able to see the documents.
    Please give me guide lines to solve this issue.
    Thanks&Regards,
    Prabhakar

    Hi,
    For secenario 2, you have to put below validation to achieve your requirement.
    Cumulative add quantities of all the entries which are having status 'E' - GR for the combination of PO number and line item number.
    Ex: PO no: xyz & two  line items 01 and 02
    In the EKBE table selection screen, give PO number and line item number. Then system will display all histery for that PO line item.
    then collect all the entries which are having status 'E'. Now, we have only all GR entries ( 101 & 102)
    Add quantities of all the entris which are having movemnt type 101 and 102 separately.
    Substract sum with movement type1 from the sum wiyh movement ment type 102.
    If result is zero, that means no GR posted. Total PO quantity open.
    Then this case only, system should allow for chnages.
    Regards
    KRK

  • The report in FI which contains Quantity field with every line item

    Hi Gurus,
    What are the reports in Finance which contains Qty field with every Line Item reports & reports that contains user name & System Id in it along with other informations e.g. G/L, Ar, AP
    Thanks & Regds,
    Santosh Rothe

    Hi
    Using the line item display report you can get the required details by changing layout in the output:
    FBL1N: Vendor line item
    FBL3N: G/L line item
    FBL5N: Customer line item
    VVR

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • Certificate of Origin with multiple line items in sapscript - Urgent Please

    Hi Everyone,
    Can you please help me with this issue in SAPSCRIPT.
    This is for billing document with multiple items with each line item with different country of origin.Right now the form is printing only one country of origin even if it has 3 line items each with different country.It's getting first line item's country and printing......but it should diplay each country with comma separated... But in debug it is showing all 3 different countries but in print it is printing only first country of origin.
       I have given text element as &VBDKR-TEXT& in form.
    In ABAP program I am getting country of origin like this,
    CLEAR : V_T005,VBRP , MARC  .
      LOOP AT TVBDPR.
      SELECT SINGLE * FROM VBRP
        WHERE VBELN = VBDKR-VBELN AND POSNR = TVBDPR-POSNR .
    begin of addiiton for ppr 13661
      CLEAR MCH1.
    SELECT SINGLE HERKL FROM MCH1 INTO MCH1-HERKL WHERE MATNR = VBRP-MATNR
                                           AND CHARG = VBdpR-CHARG.
      IF MCH1-HERKL NE ' '.
        CLEAR MARC-HERKL.
        MARC-HERKL = MCH1-HERKL.
      ELSE.
        NAME = VBDKR-VBELN.
          PERFORM HEADER_TEXT1 USING 'VBBK' 'Z065' NAME SY-LANGU.
        IF SY-SUBRC EQ 0.
          READ TABLE TEXT_LINES INDEX 1 .
          IF SY-SUBRC EQ 0.
            VBDKR-TEXT = TEXT_LINES-TDLINE.
          ENDIF.
        ELSE.
          SELECT SINGLE * FROM MARC WHERE MATNR = VBRP-MATNR
                                    AND   WERKS = VBRP-WERKS.
        ENDIF.                                                  "ppr 13661
      ENDIF.                               "PPR 13661 ADD
      CLEAR *T005T.
    data:SEP(3) VALUE ' , '.
    DATA: BEGIN OF ITAB OCCURS 100,
           LANDX LIKE VBDKR-TEXT,
          END OF ITAB.
    clear ITAB.
      SELECT  LANDX FROM T005T INTO table itab WHERE SPRAS = SY-LANGU  AND
    LAND1 = MARC-HERKL.
    LOOP AT itab.
    VBDKR-TEXT = ITAB-LANDX.
    *MOVE VBDKR-TEXT TO ZLAND.
    AT NEW LANDX.
       concatenate ITAB-LANDX sep into VBDKR-TEXT.
    ENDAT.
    modify ITAB.
    VBDKR-TEXT = ITAB-LANDX.
    ENDLOOP.
    endloop.
    Thanks in advance.

    Hi
    It depends on the size of the main in the page, you can set the high of main in order to print max a certain number of rows (so items).
    In this way you don't need the abap control, but the system automatically will print the first page with 15 row and the next with 25

  • Display line items of the data into next page in case of overflow

    Hi all,
    In my requirement i am displaying header data with its line items  through smart forms ( Landscape format).Since i am using landscape format main window size is less.Hence, In case of overflow of data
    the line items only should get displayed in the next page without the header information.
    I have given next page as Second page and i kept only  main window in the next page. But still it is displaying header information in the next page in case of overflow of data.
    Thanks in Advance
    Regards,
    Bhanu.R

    Hi Bhanu,
    In this case you can go for any one of the below 2 solutions.
    1) Try to use a seperate window(secondary window) for header information and for line items use main window. In second page use only main window. So, when the data overflows you will get only the line items.
    2) Try to use text elements. Give the header information in one text element say T1 and the line items in another text element say T2. And then write WRITE_FORM for text element T2 in a loop to display the line items.
    Hope this will help you.

  • FS10N balance not tie with FBl3N line item totals

    Hi
    I searched the forum for posting on FS10N and FBL3N incorrect balances and I did not any post appropriate for my issue. Hence I am posting my issue here.
    For a particular month, say 072010, FS10N GL balance does not tie with FBL3N line item totals. I am not sure why. In our case, we did not archive any line items and this is not related to year end carry forward. Year beginning GL balances look fine. We dont have any negative postings. Only few GL balances are off. We are using 4.7 version.
    Do you know why this inconsistency and how to rectify it? Is there any program which I run apart from Yead End carry forward?
    any ideas really appreciated.
    Thanks

    Hello
    We have already this trouble.
    To correct it you need to proceed like this (when NewGL is not activate, with new Gl there is one new programm)
    Without newGL
    - Block account to be posted (transaction FS00 Block for posting in the company view)
    - Delete open item, by using the programm RFSEPA03 (you need to adapt it by a copy because if you don't you can't run it), also this programm will unflag your account in the company view
    - Delete line item by the standrd program RFSEPA04
    - Create the line item by the standard program RFSEPA01
    - if this account is managed by open item, run the programm RFSEPA02 (you need to do the same adjustement of the RFSEPA03)
    With NewGL, there is something new. the program RFSEPA02 is linked with a new transaction and you don't have to adjust it FAGL_ACTIVATE_OP. The difference is when you create the open item, you have to define the default profit center and default value depending of the customizing of the leading ledger.
    BBest regards
    Philippe,
    Thanks for the rewards.

  • Withholding tax lines are being cleared along with other line items

    Hi All,
    While doing J1INCHLN(payment making of TDS), system giving error i.e.
    "Withholding tax lines are being aleared along with other line items"
    Please suggest me in this issue...it would be great help for me.
    Thanks,
    Saisri

    Hi,
    As per my analysis we found some documents, here We have made advance payment to vendors with TDS and again rised invoce to vendors with TDS and these documents have been nockedoff in F-54.
    We have many documents of such nature and as per me it is because of these documents  the system is throwing error. Pls. advice as to how to proceed on this.
    Thanks,
    Saisri

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

Maybe you are looking for