CREATE SUBSTITUTION RULE FOR u0093COPYING LINE ITEM TEXT FOR LINE ITEMSu0094

Hi every body
When user post transactions in FB60 we have give the line item text, Suppose no.of lineitems are there in tht instnace my client asked to create the substitution rule to “COPYING LINE ITEM TEXT FOR LINE ITEMS”
pls tell me the processes how to create the substitution rule
Plz can anyboby help me out...
laxmi velaga

sorry,
link doesn't work:
here's the content:
you must add your rules at event 3 (complete document)
in an exit of ZGGBS000:
data htext type bseg-sgtxt.
*find
  LOOP AT BOOL_DATA-BSEG INTO BSEG
                  WHERE    bseg-sgtxt <> space.
  move  bseg-sgtxt to htext.
  ENDLOOP.
*copy
  LOOP AT BOOL_DATA-BSEG INTO BSEG
                  WHERE    bseg-sgtxt = space.
  move  htext to bseg-sgtxt
*modify
  MODIFY BOOL_DATA-BSEG FROM BSEG.^
  ENDLOOP.
http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
please reward useful answers
thanks and regards
Andreas

Similar Messages

  • Need help to change line item text for 220 Line items

    Hi Specialists,
    The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
    It has 220 line items.
    Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
    Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
    For Eg :
      1 50 2758000047 Accruals for CAS               Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Dec 08 / SKC - M&E Repair
    Changed Description:
      1 50 2758000047 Accruals for CAS               Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Jan 09 / SKC - M&E Repair
    Thanks,
    Abhinav.

    Hi
    This is possible, please follow as below:
    If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
    In the selection screen, if possible give all the document numbers (it is possible with addition selection).
    Once you get the output with the line item, select all line items and go to the menu options  there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
    VVR

  • Line Item text diplay for different wage components

    Hi Experts,
    My Client wants the exact narration (Monthwise) in line item text for the salary components which are posted to accounts. If I am using FB03 then the system is allowing me to maintain it manually, but it's not possible for headwise different salary components for 20,000 employees (Which is the manpower strength of the client) is there any other workaround for it? Is it possible that the monthwise narration will float for the wage components through the respective module?
    Please help in this regards.

    Hi Experts,
    My Client wants the exact narration (Monthwise) in line item text for the salary components which are posted to accounts. If I am using FB03 then the system is allowing me to maintain it manually, but it's not possible for headwise different salary components for 20,000 employees (Which is the manpower strength of the client) is there any other workaround for it? Is it possible that the monthwise narration will float for the wage components through the respective module?
    Please help in this regards.

  • Line item text in BOM

    Hi ,
    I am trying to upload the BOM from the excel and also i am trying to change the BOM based on the data in the Excel.
    During this process , i have to check the line item text for each component of the BOM to see wheather there is any changes in the line item text is there or not.
    Is there any way to pull out the line item text for the BOM ..Not only the m Line item text 1 and Line item text 2 , but also the Long text...
    TCode for display of BOM : CS03.
    Thanks..

    We can use the function module READ_TEXT ,
    in the import parameters ,
    id : MPO
    object : BOM
    language : EN
    text name :  it is the concatenation of
                      sy-mandt
                      stpo-stlty   "bom type
                      stpo-stlnr   "Bom number
                      stpo-stlkn  "Item Node
                      stpo-stpoz  "Item Counter
    Text name should be in the same order like this.
    Now pass these values to the READ_TEXT Function module
    the output will be in the form of an internal table. the internal table line will have the long text for that particular line item...

  • Create New Filed in Line Item Text Tab

    Hi Experts,
    How Can I create a new filed in Quotation > Line Item > Text Tab ?
    Tks. & Brgds.
    Ripon

    Hi,
    Hope your requirement is to add one u2018Text typeu2019 in the line item of the sales order.  Say you want to add u2018ITEM DETAILS_SOURCEu2019 in the line item text of sales order. Follow the steps given below.
    1.     SPRO >> SD >> Basic function >> Text Control. Click u2018Text Controlu2019
    2.     Click on u2018Define Text Typeu2019
    3.     Select u2018Sales Documentu2019 and then u2018Itemu2019
    4.     Click on u2018Changeu2019; select the Text procedure u2018Sales itemu2019 and click on u2018Text IDu2019
    5.     The text object is VBBP; Create a new u2018Text  IDu2019; Go for a  new entry and enter the sequence number (higher than the existing one); enter TEXT id as u2018ITEM DETAILS_SOURCEu2019; save
    6.     Now the new text id will be displayed at item text if you create a sales document that includes inquiry, quotation and sales order.
    Hope this will be useful to you.
    Regards,     
    K Bharathi

  • Line item texts restriction for GL accounts

    Hi Gurus,
    I had lots of the Line item texts defined at the client level which can be choosen at the time of document postings.Can we restrict the line item texts with respect to GL accounts number to which we are postings.i.e.If I choose a particular GL account only few of the texts assigned to GL accounts needs to be displayed for text field.
    Thanks in advance.
    Regards,
    Abhinandan

    Hi Parul,
    The fast entry for invoices and credit memos are possible in SAP. Pl refer the URL link for detailed answer to ur question:
    'http://help.sap.com/erp2005_ehp_03/helpdata/EN/20/7248d7852d11d3b84700a0c930dc87/frameset.htm'
    Regards,
    Amish.

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

  • PO line item text copied into Line item text on MIRO

    i have entered line item text on the PO that i would like to get copied over to the line item of the invoice when created either thru MIRO or MIR7.  I have looked and it looks like the copy rule for item text is in TEFP, but i have not got it to work.  Am i missing something.  Sorry, but i am the FI guy trying to work in the MM side.
    Thanks, 
    Sean

    Maintain Customer Exits for Invoice Verification
    The following SAP enhancements are available for maintaining the customer exits in Invoice Verification:
    MM08R001 ERS (conventional Invoice Verification)
    MM08R002 Tolerance checks
    LMR1M001 Transfer of document header and item data,
    account assignment proposal for invoices for blanket
    POs
    LMR1M002 Account grouping for GR/IR account determination
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Item text in follow-on documents
    LMR1M005 Change criteria for releasing parked documents for
    posting
    LMR1M006 Change XML data for BAPI call CreateFromData
    RMVKON00 Consignment/pipeline settlement
    MRMH0001 ERS (Logistics Invoice Verification)
    MRMH0002 EDI invoice receipt (Logistics Invoice Verification)
    MRMH0003 Revaluation (Logistics Invoice Verification)
    MRMN0001 Message output for Invoice Verification

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

  • Nested table for PO Output (Item texts) - trying again.

    Hi experts
    I posted this question already, but the formatting disappeared, so trying again.
    I have created a PDF version of the Purchase Order output. Everything works well, except for the last step - a nested table where I want to display Item texts from the PO for every item.
    The steps I followed:
    1. In the Interface, I read the item texts, and placed them in an internal table, where the table has a field EBELP (item number) and a field for the text. So, for a PO with 5 items, where 2 items have texts, the table might look like this:
         00010    First line of text for item 10.
         00010    Second line of text for item 10.
         00040    Only line of text for item 40.
    2. In the context of the form, I put this table 'under' the existing 'ITEM' entry. In other words, for every item, the texts must be displayed. Obviously I then put in an entry under the WHERE CONDITIONS to say that EBELP = ITEM-EBELP, otherwise it would repeat every line of text for every item.
    The problem is that it does not behave quite as I expected. It currently prints:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
             Only line of text for item 40.
    Item 30 information
    Item 40 information
    Item 50 information
    Where it should print:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    +Item 40 information+
             Only line of text for item 40.
    Item 50 information
    In other words, it simply 'breaks' on change of EBELP, and moves the text to the next line, as opposed to the correct line.
    I tried debugging, and it does appear to be doing things in the right order, but it is still doing the output incorrectly. I also searched the forums for similar problems, but I could not find a solution to the problem I am experiencing.
    I also put 'dummy' (empty) rows into the table - that fixes it, but then it messes with my layout and I get something like:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In the above, I don't want the gaps where the empty rows are.
    Please advise?
    Thanks and kind regards
    Casper

    Reposted without formatting...
    I have created a PDF version of the Purchase Order output. Everything works well, except for the last step - a nested table where I want to display Item texts from the PO for every item.
    The steps I followed:
    1. In the Interface, I read the item texts, and placed them in an internal table, where the table has a field EBELP (item number) and a field for the text. So, for a PO with 5 items, where 2 items have texts, the table might look like this:
         00010    First line of text for item 10.
         00010    Second line of text for item 10.
         00040    Only line of text for item 40.
    2. In the context of the form, I put this table 'under' the existing 'ITEM' entry. In other words, for every item, the texts must be displayed. Obviously I then put in an entry under the WHERE CONDITIONS to say that EBELP = ITEM-EBELP, otherwise it would repeat every line of text for every item.
    The problem is that it does not behave quite as I expected. It currently prints:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
             Only line of text for item 40.
    Item 30 information
    Item 40 information
    Item 50 information
    Where it should print:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In other words, it simply 'breaks' on change of EBELP, and moves the text to the next line, as opposed to the correct line.
    I tried debugging, and it does appear to be doing things in the right order, but it is still doing the output incorrectly. I also searched the forums for similar problems, but I could not find a solution to the problem I am experiencing.
    I also put 'dummy' (empty) rows into the table - that fixes it, but then it messes with my layout and I get something like:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In the above, I don't want the gaps where the empty rows are.
    Please advise?
    Thanks and kind regards
    Casper

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

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

    hello
       i m creating an alv interactive report. in basic list i have fields from likp table and in interactive i have lips table fields. one need one more field in interactive list and that is "line item text" field. (i have matnr and arktx in interactive). for the time being i created line item text in VL02>>ITEM>>TEXTS>> FOR ITEM NUMBER(POSNR). I didnt understand where this line item text is stored ; i mean in which table it is stored . how to retreive this field from a table??

    Hi,
    You have to use the FM READ_TEXT..to get the text name..
    The following are the details you have to pass to the FM..
    Text name - Delivery number + line item.
    Language - SY-LANGU
    Text ID - ????
    Text Object - VBBP.
    You can get the above details in the text itself..
    Display the text..
    Double click on the text to get to the editor..
    In the menu..choose..GOTO -> HEADER..
    There you can see the details like Text ID, text name & text object..And use them in the FM read_text..
    Thanks
    Naren

Maybe you are looking for