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

Similar Messages

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

  • Text element with line item content and include text

    Hi All,
    How to write in smartform in single text element with line item content and include text.I am using this text element in table . Pls help me out. i am writing the include command in text element ,but this command is not enough for single line of text editor.
    thanks ,
    Rakesh singh

    I have been pulling my hair out for a few days trying to find
    this solution. This fixed my problems as well.
    I was getting ready to scrap the Report Builder altogether
    and move to SQL Server Reporting Services over this issue.
    I'm running 7.0.2 also, that version alone fixed many small
    issues like creating borders and such.
    Thanks

  • 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

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

  • 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

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

  • 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

  • Line item text field from MIGO are not copied into FI line item text field

    Hi all on SCN, please, I need a help.
    It was created as required by the user a field status group with the text field required.
    This field status group was assigned to some accounts, in order to make my unit tests.
    u2003
    In development envirionment was made some tests directly in FI area, and it works properly.
    u2003
    But the user made a test using MIGO transaction, choosing in this transaction an account that he changed its field status variant to the one created in development environment, that make the text fiels required. So, to start, he donu2019t fill the text item of MIGO, and a message error appear stating that he needs to enter values in this field.
    After fill in the text fiels, he can save his work.
    u2003
    But the FI document generated donu2019t receive the line item text typed in MIGO, but receives the values on Reference document and Document Header text entered in the header of MIGO, what is missing, donu2019t is automatically copied MIGO text line items to FI documents line Items, does there is some additional configuration missing?
    Hope someone help me with this issues.
    Thanks in advanced!

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

  • PO item text is copied to the Financial Document line item text

    A user have requested that the PO item text is copied to the Financial
    document line item text, to aid them in analysis of the GR/IR account.
    is there any solution to implement this ?

    There is no standard setting for this requirement. Check with your ABAP team for this.

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

  • Can't modify line item text in financial document

    Dear all,
    In some cases I'm not able to modify line item text field in financial documents, and I don't know why.
    I've checked customizing and BSEG-SGTXT appears as modificable field in any case.
    As far as i know text field is not a relevant field, so the system should let me modify it if the customizing is right.
    Does anyone know if there could be any other customizing that affects this transaction (FB02)?
    Thanks

    Hi
    Since you indicated the entry is from goods receipt, I understand that you are trying to change the line item text in a GL line item.
    If so, please ensure the following:
    1. in OB32, for Account type S and Field name BSEG-SGTXT, the trasaction type is blank, "Field can be changed" is ticked and "Posting period not closed" and "Line item not cleared" are not ticked. 
    2. In OB32, for Account type S and field name BSEG-SGTXT, no other entry is there along with company code which has a different rule.
    3. You can enough authorization to change the document.
    4. If you can change the text, but cannot save it, then please check whether any validation/BTE is in place which is not allowing to do so.
    Regards

  • Line item text in Basket - doesn't seem to work in B2B standard

    I'm trying to input some text associated with a line item in the basket and I cannot get the standard to work or my custom text type either.
    The standard has a text id hard-coded as 1000 (Customer Wishes) in the SalesDocumentCRM class, but when I place an order using B2B standard, the text is not stored in the backend (CRM).
    It seems to me that standard should work so I'm quite puzzled.
    Has anyone else had success populating line item texts?
    Any hints would be appreciated.
    Regards,
    Tim

    It turns out to be an authorization issue.
    The CRM_TEXT_ID authorization object for the text id's configured are not set.

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

Maybe you are looking for

  • Terminal and Widget Problems

    I am running into an unusual problem with my computer. I used Terminal to allow my widgets to go to the desktop (witch did not work), but when I typed in the command it added the plus and arrow symbol (the same as when you go to widgets on your mac)

  • What is a cellular data plan dom 250 mb for 30 days for 14.99

    I don't understand what it is. Is it worth the money

  • 5 iTunes Accounts Limit on iPod

    After creating a 6th iTunes account within our family I've discovered that iTunes store content from only 5 accounts can be synced to a single iPod (we all have our seperate accounts on a single computer and share downloaded content). In order to get

  • Macbook won't start up and the screen stays blank but the light is on...

    So one day randomly my macbook screen turned blank but he white light stayed lit up entirely. I tried moving the mouse around but the screen remained blank. I've tried to shut the macbook off and turn it on again and the white light goes off and on w

  • Spry XML dataset + PHP problem

    I have installed Dreamweaver CS3 and created a simple page that receives a XML dataset from a PHP page. I was not able to display any data in either FF or IE (just got a blank page). I then downloaded the 1.5 pre-release and discovered the Data Set E