Problem in line items(text elements printing) in smartform

Hi all
Here iam printing line item data in invoice form
around 7 fields(text elements) iam having  the fileds are displaying one by one
I need to diplay all 7 fields one after another with some gaps in the same line
can u please let me know how to do it with text elements
thank you

Hi,
  create a table. In once line type(Line type 1)  create 7 different cells (Columns) for a single row.
For eg:
Line typ1 :  cell1 cell2 cell3 cell4 cell5 cell6 cell 7.
cell1 : &mara-matnr&
cell2 : &mara-ersda&.
like soon in 7 different cells.
Br,
Laxmi.

Similar Messages

  • RE: prob with line item text in PO print form

    Hi All,
    Problem with SAPscript
    I have A problem with PO pronting form.  In the PO craetion(me23n), IF we mention certain text in last line item the PO printing form is behaving uncertanly.
    If the text limit to a particular line is mentioned , then PO printing in only first  Page and otherpage is not printing where further data is supposed to print.
    If we exceed the limt , its again printing correctly in 2 pages with all the data. If we decrese the limit aslo printing fine.
    My problem  is , I could not understand exactly where the problem is coming. while debugging Befor the text apperas in form I have an inlcue like this form.
    INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX.
    IS the prob exist here?
    Please help me out?
    Edited by: shruthi puttoju on Jul 24, 2009 9:01 AM

    Hi,
         Header Long texts will be different from Line items long text, i think you are passing the long text for line items, so check how the long text is coming in debugger of the sapscript for each line item.
    Look at the Text Element ITEM_TEXT in the Main window of the sapscript. It has the INCLUDE which holds the text you are talking.
    INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &
    Regards
    Bala Krishna

  • Printing problem for line items in a smartform

    Hi
    I am developing a smartform for inbound delivery, i have to print each line item in each page and each line item should be printed according to count of pallets.
    lets say if my first line item has 5 pallets, it should print 5 time on smartform. and second line item should print on second page , and this logic should continue for all line items.
    can some one help me out ?

    item No    Material No   Descripition  Putaway Bin   SUT  Vendor Batch  LE QTY  COA   Base UOM
    this how my line item should like, i am able to print only single line item for each item no.
    if i have 5 pallets for single line item, i want the same line item to be printed 5 times and this is what i am looking at

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • Need to display Line item text in PO form...

    Hi,
    I could see some posts already in this regard but could not follow it and hence posting my query.
    In the defaut MEDRUCK PO form I could see that the line item text is displayed with the following statement.
    &TTXIT-TDTEXT&
    INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX
    I have my customized version of MEDRUCK and in that I want to include the same. How do I achieve this ??
    I tried to include the above statements as it is, but it did not work. The same is the case with my header text requirement. Its corresponding statements in MEDRUCK are
    &TTXIT-TDTEXT&
    INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID&  LANGUAGE &EKKO-SPRAS&
    What could be wrong ??
    Please help.
    thanks

    May be you are using these statements in wrong text elements in PO sapscript.
    Keep in mind that &T166P-TXNAM&, &T166P-TDOBJECT&, &T166P-TDID&.... are variables and there values are filled by sapscript calling program.
    Now it is possible that in your case you are putting this include statement in wrong text element. To check this you can print the variables just before include statement to make sure that values are correctly populated such as
    &TTXIT-TDTEXT&
    Printing Values: &T166P-TXNAM&, &T166P-TDOBJECT&, &T166P-TDID&
    INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX
    If the values are not populated, you may want to populate these manually by calling an abap routine before include statement and in that abap routine you can populate values for TDOBJECT, ID, and other relevant fields.
    Hope this is helpful to you.

  • Document line item text in Clearing document

    Dear All,
    Document line item text
    My client want the vendor invoice line item text(BSIK-SGTXT) to be captured in the corresponding clearing document line item text field(BSAK-SGTXT).
    (i.e) The vendor invoice and its payment clearing document should have the same text in the document line item text filed.
    According to me i can use  a substition rule and a user exit to assign the values. but here comes a problem* i have one clearing document against 3 to 4 vendor invoice documents* so my programming logic has got stucked here? like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here.
    Thank you
    Regards,
    Vasanth D

    like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here
    Why don't you discuss the issue with your client?  As you said, if you pay 5 invoices in a single run, the payment document item text can't carry all of those texts unless you use the long text.  What is the reason for the requirement?  Perhaps there's another solution.

  • Changing  Vendor Line item text @ FB03

    Hi Gurus,
       When running MEB4 (Rebate Settlement) it'll create Accounting Entries that can be seen @ FB03... My problem is how to change the vendor line item text at FB03 upon running MEB4.
    Thanks in advance

    Hi,
    You can use FB02 to change the vendor line item text.
    Regards,
    Vinod

  • Line item text is automatically disappeared

    Hello Experts,
    I have weird situation when I enter FI document.
    In FB01 transaction, I am going to enter the first line item data after I put the document header data.
    After I enter a G/L account, some values and line item text, I need to some data at 'More data' tab so that I click 'More data' button.
    When I go back to the screen for the first line item data after putting some data at 'More data' tab, the line item text that I have already entered before is automatically disappeared.
    Is there anyone who know why this happen?
    Thanks.
    BR,
    Chris

    Hello Raman,
    This is so weird.
    When we enter the document under language option 'EN', there is no problem like above.
    But in case we logon with our language 'KO', that problem happens.
    I think this might have something to do with language issue.
    Thanks.
    BR,
    Chris

  • Reservation line item text - non update issue

    Hi,
       We have a custom BDC (call tran) to create reservation. One of the fields for the reservation is line item text. We had this program from July 2008 onwards and we have no issues. All of sudden from 01/15/09 , the line item text is not being populated in the reservation, but reservation creation is working as before. We checked our system, there is no change to that program and infact we had only 2 transports on that day and they are related to FI and not related to MM or reservation at all.
    We did all our debugging, but this is inside a wrapper RFC and the RFC is called from EAI subsystem. (Tibco) The SQL trace and RFC trace shows all data of RESB being updated except this text. We are going crazy on this since it is such a simple BDC program and working fine so far and stopped all of sudden.
    My question is, are there any config which all of sudden made this field not available for input or something like that? I tried in config, but I couldn't find anything.
    Can you help on this? Thanks,
    The other crazy parts are,
    1. We tried writing the BDCTAB into a unix file, but the file is not created - one of the reason could be the user is CPIC user and may not have authorization to write to unix inspite of this user has sap all access
    2. We tried writing the dump into a custom table, but even that is not working. But when we execute this in SE37 manually, it is creating both unix file (in development) and updating the table as well.
    Regards,
    Sundar.

    It's sure that something changed between the last run and 01/15/09. A few ideas :
    - When the program is run, start an authorization trace, and give missing authorizations to CPIC until there is no more authorization problem (this is the most important thing to do first !)
    - Make sure that you program displays correctly all CALL TRANSACTION messages and exceptions also.
    - Analyze customizing imported between the 2 runs of this program (look at transport requests in the import queue log).
    - "Save" importing parameters so that to redo the test (with CPIC user) :
    -- change the program to write the BDCDATA to a batch input session (BDC_OPEN_GROUP, etc., SM35), and so test it later.
    -- save them to test data as indicated by [note 517767 Automatically generate test data at function module call|http://service.sap.com/sap/support/notes/517767]

  • Output skips few line item texts

    Hi All,
    In smartform output for purchase order it displays line item and their text in main window.
    For some PO's it works fine and for some it skips few lines of some line item text.
    In debugging i could find all line items populated.
    Steps Taken:
    1) In table defination i checked no page-break. Problem is it works fine but the first page comes blank and rest is fine.
    Is there any way to resolve this?
    Thanks,
    M Mishra

    Hi All,
    In smartform output for purchase order it displays line item and their text in main window.
    For some PO's it works fine and for some it skips few lines of some line item text.
    In debugging i could find all line items populated.
    Steps Taken:
    1) In table defination i checked no page-break. Problem is it works fine but the first page comes blank and rest is fine.
    Is there any way to resolve this?
    Thanks,
    M Mishra

  • Report for Vendor line item with GL line item text

    Hello SDN,
    We need to add the GL Line item text to a vendor line item report. I don't think adding a GL field is available option in the FBL1N report. Is there a way to display the Vendor name, Vendor number, Open amount and the GL line item text in a report without ABAP invovlement?
    I would really appreciate your help. Thank you.
    Edited by: nsap_fico on Aug 10, 2011 6:29 PM

    Some alternative is in KSB1 (Cost center line item report) - you can change the layout and include offsetting account and its text.
    But, in vendor line item report, if you want vendor number, vendor number, GL account number (offsetting) account and its text, then you should go with abap development.
    Have a look at the following note, if really serves your purpose.
    Note 1504612 - Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA)

  • Line Item Text ( Accounting Doc ) From Billing

    Hi Experts,
    As i know in Standard process, the Line item text FI Doc ( Accounting Document ) from billing doesn't have any value ( please correct me if i am wrong ).
    But in my case there is value in line item text ( billing doc no )
    i already check and not found any substistution or userexit, i try to search in customizing but dont have any clue where this text from. please advice where do i have to look.
    Thanks,
    Ricko

    Hello Burak,
    Thanks for reply, as i told in the message
    right now, there is value in my line item text
    it should be blank, but i couldnt find any customizing or anything that cause my line item text filled with billing document number. do you have any idea ?
    Thanks,
    RIcko
    Edited by: Chapii on Mar 19, 2010 5:24 AM

  • Line Item text to updated automatically with current month

    In this trxn, we have to always set the Posting variant every month, in spro.(set up line item text).
    spro->payroll india -> Reporting for Posting Payroll Results to Accounting->Activities in the AC System->Set Up Line Item Text.
    1000     Salary for the month of  June08
    Whatever text, we give at ID 1000, it gets updated in the accounting entries. What we require, that can it be automated , based on the payroll area/period. I mean, if I give Novu201907, then the text should be u201CSal for the month of Novu201907u201D.
    PC00_M99_CIPE - Execute run
    Document Date
    Posting variant                 SAP    Standard variant

    HI,
    a text change in general ledger line item will not be forwarded to spec. ledger automatically (as the change of a line item text triggers no posting to spec. ledger).
    But as you know the document relationship from GL doc. to SL doc go to the corresponding SL doc. and change the text if this is really needed (don't understand why the line item text is that important).
    Best regards, Christian

  • How to add the line item text in the Ledger line item report

    Hi SAP Gurus,
    I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
    advance thanks for the help.
    Regards,
    Deva.

    Hi,
    You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
    Step 1:-
    Create function module Z_GET_SGTXT as below:-
    Import:-
    BELNR LIKE BKPF-BELNR
    BUKRS LIKE BKPF-BUKRS
    BUZEI LIKE BSEG-BUZEI
    GJAHR LIKE BKPF-GJAHR
    Export:-
    PRCTR LIKE BSEG-SGTXT
    FUNCTION Z_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(BELNR) LIKE BKPF-BELNR
    *" VALUE(BUKRS) LIKE BKPF-BUKRS
    *" VALUE(BUZEI) LIKE BSEG-BUZEI
    *" VALUE(GJAHR) LIKE BKPF-GJAHR
    *" EXPORTING
    *" VALUE(SGTXT) LIKE BSEG-SGTXT
    SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
    AND BELNR = BELNR
    AND BUKRS = BUKRS
    AND BUZEI = BUZEI.
    ENDFUNCTION.
    Step 2:-
    Then create the Function Modules as below:-
    Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
    FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    *" EXPORTING
    *" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    Initialize Output by using the following line
    E_POSTAB = I_POSTAB.
    E_POSTAB = I_POSTAB. "<-- important
    CALL FUNCTION 'Z_GET_SGTXT'
    EXPORTING
    BELNR = I_POSTAB-BELNR
    BUKRS = I_POSTAB-BUKRS
    BUZEI = I_POSTAB-BUZEI
    GJAHR = I_POSTAB-GJAHR
    IMPORTING
    SGTXT = E_POSTAB-SGTXT
    EXCEPTIONS
    OTHERS = 1.
    ENDFUNCTION.
    Step3:-
    Transaction FIBF:-
    Settings -> Products -> of a Customer
    SGTXT Text in Line Item Display Active
    Settings -> P/S Module -> of a Customer
    00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
    Step 4:-
    Create the layout for FBL*N with display of the TEXT.
    Regards,
    Gaurav

  • To display line item text in FBL3N as it is displayed in FBL1N

    Hi Experts,
    Though the subject line presumes it to be a redundantly asked question but I could not comprehend the exact solution of this. So posting my entire scenario in a hope to get an effective response.
    Scenario: -
    We are not able to see the text when we run GL account balances. The text is maintained in the field text (in Basic data) and PO text (in fields PO Reference) . Now when you use transaction FBL1N to see vendor Open items, you can see the text (line item text) but the same is not seen when we run FBL3N (GL Account Line Items).
    In Technical (simpler) terms: -
    When we display an invoice using MIR4 say invoice number is 123456 (Vendor - 4567, GL account - 78946) , we can see line item text maintained there in field "Text" in Basic data tab. Now run transaction FBL1N for vendor 4567, text (BSEG-SGTXT)  is displayed in line item text. But when we run FBL3N text (BSEG-SGTXT) is not seen.
    How to display the line item text in FBL3N as well ?? In my initial manouver of SDN forum, i found solutions like BTE and pointers to substitutions. Kindly let me know a probable solution.
    Thanks a lot in advance.
    ~
    Shreya

    Hi,
    program RFITEMGL calls fm FI_ITEMS_DISPLAY thus:
      call function 'FI_ITEMS_DISPLAY'
        exporting
          caller_repid  = c_repid_gl
          acctype       = c_koart_gl
          x_opvw        = x_gl_opvw
          x_change      = x_change
          i_u_save      = gd_alvsave
          is_u_variant  = gs_variant
          it_u_fieldcat = gt_fieldcat[]
          it_kontab     = it_accts[]
          it_slbtab     = it_comps[]
          it_t001       = it_h_t001[]
          it_skat       = it_h_skat[]
          it_skb1       = it_h_skb1[]
          x_grid        = x_grid
          x_inet        = pa_inet
        tables
          it_items      = it_pos.
    where c_koart_gl     like bseg-koart  value 'S'.
    BSEG-SGTXT has value when BSEG-KOART = 'K' and this might be the reason why it is not displayed.
    It seems the report only displays records with BSEG-KOART = 'S'.
    Best regards.

Maybe you are looking for

  • WRT54GS v7.5 firmware

    Hi guys this is my first message here, so hi to all readers.. Ok, I'm experiencing some problem with the QoS feature of my router WRT54GS, (in practice it's not so configurable as I want, but this is my problem ...) so, I googled a lot but I didn't f

  • Unable to download trail version of photoshop

    Hello, I been try for week now to get the creative cloud to work on my computer. I have Mac Os X 10.7.5. At first, I keep getting the message " cookies dir: cannot make folder/ cookies : Permission denied (error 13). I decide to unstill it and try to

  • Itunes could not connect to iphone because pairing record is missing???

    I have just upgraded to iphone 4s from iphone 4 and when i connect it to my itunes i get the message "itunes could not connect to iphone 'iphone' because pairing record is missing. Any clues what i've missed??? Also my when i try to backup my iphone

  • Syncing Purchased Ringtones thru work comp

    I have two computers my phone regularly gets used on: my home (my main computer) and my work computer. Since I no longer have internet on my home computer, I have been downloading apps and putting them on my phone at work. They sync without any probl

  • Odd Behaviour: Query and Table

    I have odd occurrences within my code and need an explanation to one and help with the other. First of all, I have a query within which I am using the group attribute, and then I am using a counter to control the behaviour of the output within a tabl