Sapscript help -displaying line items in the table

Hi folks,
Can anyone please help me in a way of displaying the line items at the right place in the table fields?I have been playing with the tabs to space it for quite sometime. I tried everypossible combination, but does not work. Tring to figure out have not succeeded yet.
the line items in some lines displaying right, but if the first name or the last name is long, either pushes  forward the subsequesnt data or if the length is small, it pulls the data inside.
I do not know how to fix this.
Here are the 4 elements I tried to display  as line items
BOX XPOS 0 MM YPOS 0 MM WIDTH 10 MM HEIGHT 100 MM FRAME 10 TW
BOX XPOS 10 MM YPOS 0 MM WIDTH 50 MM HEIGHT 100 MM FRAME 10 TW
BOX XPOS 60 MM  YPOS 0 MM WIDTH 50 MM HEIGHT 100 MM FRAME 10 TW
BOX XPOS 110 MM  YPOS 0 MM WIDTH 28 MM HEIGHT 100 MM FRAME 10 TW
&OUT-SLNO&,,&OUT-EFNAME&,,,,,,&OUT-ELNAME&,,,,,,&OUT-EDOB&
paragraph format
tab1: 15 MM LEFT
tab2: 22MM LEFT
tab3: 24 MM LEFT
tab4: 28 MM LEFT
Any help is widely appreciated,
Thanks,
Sk

If it is a form to be newly developed, it is better to go in for Smartform development since smartforms will automatically handle this problem.
If you still want to continue using Scripts try to use
/:  YORGIN
or
/: XORIGIN to adjust the height of the Box, if needed.
More Details : http://help.sap.com/saphelp_47x200/helpdata/en/d1/803293454211d189710000e8322d00/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802edf454211d189710000e8322d00/frameset.htm
For the problem regarding length of the names, try to split the name and show it on two lines
eg., wrk_name+0(20)   on the first line
and  wrk_name+20(20) on the second line
Regards,
Anish Thomas

Similar Messages

  • After a PAI, I am not able to slect line items in the table control.

    Dear All,
    In GR55 Report;after a PAI triggered (by Enter button or vertical scroll bar),  I am not able to select any line-items in the table control. If no PAI triggered, the I am able to select as much as line item..
    Can anybody help me..
    -Ullas U

    before display, while debugging , after pai, it will go in pbo modules,
    so there u need to check the structure screen for the variable select. u might have declare one variable like sel(1) type c,
    these variable u have written in table control attributes in select variable as itab-sel.
    so check in debugging first.

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

  • 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

  • Displaying Line Items of a BAPI in Table Format

    have a custom Bapi ZPM_GET_ORDERS.
    It has a Model structure like
    Orders_Hdr
    Operations [Multiple Line Items]
    I want to display the operations line items in the table format in a View when we click on the Orders_Hdr.
    For that I am wondering what should the code on the onLeadSelect of Orders_Hdr table at the ViewController?
    In other words how can I display those line items on a click of a Header record. I am looking for some pseudo code that goes in the onActionLeadSelect()of View.
    Thank You . Any help is appreciated

    Hi Vivek,
             On LeadSelect .....just get the current selected node element and also store a attribute value from the currnet selected to a variable (like orderid)which is common in both the node ....then loop through the operations node and put the condition equal to orderid using the variable ...if mathces the put node elemnt in to some node created(value node of same type )...
    for copying the node u can use the WSCopyService class...
    Regards,
    Yash

  • Line items for the PO are not automatically displayed

    Hi all,
    When attempting to post an invoice against PO, the line items for the PO are not automatically displayed. When we went to the Listing of PO's and brought this up, we noticed under the "invoice"tab that the: Invoice Receipt & GR-BsdIV is checked.
    need your help
    Thanks
    Fayaz

    Hi,
    Can you check delivery complete indicator in PO. It is in PO item details delivery tab.
    In MIRO transaction, select the  tab Purchase order/scheduling agreement, enter PO number and press enter.
    Right hand side select the layout all information .
    Regards,
    Chandra

  • How to display a line item in the billing calculation ?

    Hi Experts,
    My client requirement is to just display a line item in billing without affecting the total invoice amount. ( line item should just show up, no calculation should be included).
    Regards,
    Farooq

    i agree on the rate step fr the calculation you would like to see the line item check the variant control, it usually has the option to write a line item.  depending on the variant.
    bobby r.

  • Custom table Not deleting the line items on the order.

    Hi All
    I have an issue, In SAP  we have created a custom table which is related to ship to party, as and when we delete any line items in the order(VBAP)  it should update /delete the custom table but it is not deleting, while when we create any line items in the order (VBAP) it is updating  the entries in the custom table which is suppose to happen.
    Please let me know your inputs.
    Thanks,
    Ram

    UPDKZ is not a field name. it is the processing status of a line or order.
    If UPDKZ is I , its initial, like adding a new line
    If UPDKZ is U, its update. Like changing or modifying an existing line
    ....so on...
    Regards
    Sai

  • How to find open line items from the BSID table

    Hello Guru's
    I need some fever from you......... please any one tell me that How to find the open line items from the BSID table .
    please replay ASAP..
    Regards,
    Raghunath.S

    Hi Raghunath
    BSID and BSAD are Secondary Index tables for Customer line items. All customer open items are stored in BSID table and Cleared items are stored in BSAD table.
    Regards,
    Venkat

  • BeX Analyzer Aggregation - display line item and header amounts in same row

    Hi Experts,
    I've a requirement in which I'm looking for help.
    Consider that I've one DSO with line item detail and I wish to display on a report for each line item (in the same row) the value of the header which has to be the sum of all line items for each header.
    Here's an output of what should be displayed:
    PO || Hdr  || PO item Item Amount || PO Amount (Sum All Items/Header)
    1    ||  1    ||  10 u20AC                          || 15 u20AC
    1    ||  2    ||  5 u20AC                            ||15 u20AC
    I've already tried to create a formula/calc key figure, using the KF "Item Amount" aggregated with exception of the "PO Hdr" Char, but it doesn't work.
    I know that i can built this on the data model but I just want to be sure before that there's no way to achieve this requirement through query designer.
    All help will be welcomed!
    Thank you.
    Nuno

    Hi Lakshmipathi Sir,
    Thanks for your reply. Could you please let me know how exactly i need to mention the logic to ABAPer.
    I can see two fields are giving from VBKD table with line item wise it is displaying.
    1. BSTKD
    2. BSTKD_M
    thanks,

  • PERNR - Personnel Number on vendor line item of the FI document Posting

    After posting a time sheet (PR05, PRFI, PRRW), the FI document created (display via FB03) has the personnel number on each of the GL line items, but the field is blank on the vendor line item.  Does anyone know how to get this to be populated with the same data as being populated on the GL line items (it's the same field BSEG-PERNR)?  I've made the field optional on the vendor reconciliation account as well as on the posting key, but no success yet.  thanks.

    Thanks all for responding. 
    The vendor master was populated.  The strange thing is that the GL line item gets populated but not the vendor line item in BKPF/BSEG.  We talked to SAP and to get the vendor line item to populate we would have to do an SAP coding change.
    I created a quickview (SQVI) between the appropriate tables to get the report out that we needed (a bit easier than an ABAP) - but nontheless it worked.
    thanks again.

  • Error display line items

    Hi Gurus,
    please help me on this error.. what to do?
    No line item display possible for account 41000010 1000
    Message no. F4430
    Diagnosis
    You have determined that displaying line items is not to be possible for G/L account 41000010 in company code 1000.
    Procedure
    It is presumably a clearing account (incoming check account, GR/IR clearing account) which has its own reports for analysis.

    Hi,
    Intally GOTO FS00 and tick the line item display and then GOTO SE38 and give program RFSEPA01 and execute .
    then GIVE co code and GL account number
    Documemt 1-999999999
    hope this solve your problem
    regards,
    Santosh kumar

  • The  vendor code is not coming against some Assignment line items with the

    Hi All,
    While executing  t.code FBL3N,the  vendor code is not coming against some Assignment line items with the GL A/C4607000, some line items it is coming.
    The GL A/c 4607000 is GR/IR clearing a/c.
    Please let us know  why this situation is happeing at the time of FBL3N.
    Thanks
    Ram

    HI,
    By activating the special fields you can the vendor number, but use the new reprot called "FAGLL03 - Display/Change Items (New) ".
    First go to SPRO> Financial Accounting (New)> General Ledger Accounting (New)--> Master Data > G/L Accounts>Line Items --> Define Special Fields for Line Item Display
    Click on New Entries -
    Table - BSEG - Field - LIFNR
    Save. Now execute the report - FAGLL03 - Display/Change Items (New)
    Give the gl account number and execute.
    After getting the line items list from menu select --Settings --> Special Fields --> Click on New Entries --> Enter Table BSEG, Field Name LIFNR.
    After this come back and execute again. It will give you the vendor number.
    Thanks & Regards,
    Shashi Kanth.

  • Display line items not possible!

    Hello
    I've a very strange situation on the productive system:
    I have a company code that registers and display account line items, while the second cannot display them, even if I've configurated the same aspects in account fields for the two company codes. That means they have the same
    - flag on display line items  AND
    - sort key  001 - POSTING DATE
    why??
    thanks a lot in advance,
    Chiara

    No, the answer was not that one, but thanks anyway.
    Finally I found the answer in
    Forum:  Message MSITEM033 in New GL - Cannot Display GL Line Items
    note OSS:
    -  1323960   Incorrect entry '/' in SKB1-XLGCLR and BSEG-XLGCLR
    -  1149500  Clearing open items by batch input selection
    -  1437341   Note 1437341 - Correction of BSEG/Index tables after note 1323960
    regards,
    Chiara

  • BDC - How to find line item index in table control?

    Hi guys,
    I am doing a BDC for VL02N, I am stuck up in positioning the line item index. For example, I have 10 line items, I want to fill quantity for the item 000060 which is in the third line. I am able position the cursor using button for locating item ( ok_code = 'POPO' ), but I could not find the index of the item in the table control, so that I can enter the quantity value as
    PERFORM bdc_field  USING 'LIPSD-G_LFIMG(03)' '100'.
    Any expert to help me on this?

    Depending on the message the line number might be in one of the fields:
    MESSAGE_V1
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    Although if the message simply is not meant to include the line number, it won't be there. That's the way it is. If there is a user exit available, you may add your custom messages with the line number. In some user exits (in sales order for sure) there is a special variable (flag), which is set when the BAPI runs the transaction.

Maybe you are looking for

  • Pound Sign (u00A3) in Sender SFTP Channel  - using MessageTransormBean

    Hi, I am reading a csv file using Seeburger SFTP Sender Communication channel. One of the field has pound sign  like    £250 forTution With default UTF-8 codepage I am geting a square symbol instead of £ sign. I tried to set codepage to ISO-8859-1 an

  • Photo Mail Crashes

    Every timne I try to use Photo Mail Elements 10 crashes. I am getting so sick of $80 upgrades for crap that doesn't work as advertise!! Of course, now that PE 11 is out no more help for PE 10. What a company this Adobe has turned into. Just awful!! A

  • How can I move all my contacts from iPhone to iCloud?

    On my iPhone, all my contacts are synched with my MobileMe Account. Now I've set up iCloud on my iPhone by creating a NEW iCloud account, with a different Apple ID (I mean, different from my MobileMe account and from my Apple Store/ITunes account, to

  • Upgrade of academic version possible in Europe

    I bought Aperture in Europe with an academic discount in November 2005, when it did still cost $500 without the discount in the U.S.. I paid 399 francs (my local currency), the full version then was probably 699 or 799 francs. I later got a voucher o

  • Permissions Errors

    I understand that SUID file realted errors are typical right now, and I'm used to "Group differs on "private/etc/cups", should be 0, group is 26" (why hasn't Apple fixed this yet!?) yet the ACL errors on this list are new and Permissions Repair is un