Copy text to auto generated line items

Does anyone know how we could populate the text field automatically when the tax lines are generated during posting. We have set the editing option "copy text for GL account entry" but it never populates the autogenerated lines. Header Text would be fine as we realize on a multi line document the text could be different on each line item and the system could not determine which line to use. Thanks very much for your thoughts and ideas.

Hi,
You may need to use a substitution along with that with help of ABAP programmers have to write a user exit which
does this functionality which you are looking for.
hope this helps
Regards
pbb

Similar Messages

  • Make changes to auto generated line items when posting invoice thru MIRO?

    Hi All,
    My requirement is to make some changes in line items data when posting invoice through MIRO transaction.
    I have written a substitution for the same, The issue is that some line items get automaticaly created (i.e inter company posting). I need to make changes to these line items as well but substitution is not being triggered for these auto generated line items.Is there any way by which I can update in these line items as well ?
    further do we have any internal table which holds all the line items at runtime....to which I can refer and make the changes. I have searched but could not find one.
    Can anybody provide some inputs on this.
    Thanks,
    Lucky.

    Hi Kaushik,
    Thanks for your reply.
    I am using BADI INVOICE_UPDATE but here we will not be having line items which are auto generated.
    When we do inter company posting, line items are automatically created and these are not avaliable in the BADI. I am not sure if we can trap these line items any where.....the possible alternative which I can think of is to use memory reference and modify the internal table which holds all the items but unfortunately I am not able to find any such internal table to refer to at run time ...have u got any idea on this?
    Thanks,
    Lucky.

  • FB60 - Substitution rule to generate Text in automatic generated line item

    Hello SAP genious,
    While we post vendor invoice ( FB60) and customer invoice (FB70), at this time along with Dr and Cr line items one automatic additional line item is getting generated this is based on Tax type which you select while making invoice.
    now, I want to show some text in this automatically created line items. This might be possible by creating some substitution rule but i am not sure.
    and if it is possible through substitution rule then what could be my prerequisite, and check would be..?????
    can you please tell how can i get Text in this additional line item getting created due to VAT tax code.
    Thanks a Lot for your input.
    your reply will be rewarded with points.
    Thanks
    Jignesh

    Thanks for all your replies.
    I Want the field BSEG- KOBEZ i.e description field in the accounting doc of the offsetting entry to be replaced in the GL account  text field.
    Ex :
    PK    Account        Description                  Amount           Text
    31    100000         Furniture  Vendor             50             Sales
    40    1999             Inter Compy                     50             Furniture Vendor
    I want the description of offsetting entry vendor description i.e Furniture vendor (field BSEG-KOBEZ) to be replaced in GL line item text BSEG-SGTXT.
    I cant find the field BSEG- KOBEZ while i search in the substituion to replace in Text field.
    How do i write in substitution to say that the offsetting entry description should be in text field of GL account.

  • Text in automatically generated line items

    Hi All,
    Can anybody help me how to maintain Text in line items generated automatically.eg: While posting vendor
    invoice WTax line item is entered automatically. Similarly accounting document generated from MIRO but there is
    no text assigned to it, how to do that.
    regards,
    sudha

    Hi
    Use the Substitution using the user exit.
    This is specific to some document types only, so use them in prerequisite along with the company code, also you can use the GL.
    In user exit...write a ABAP code to fill the text field with the text.
    VVR

  • Business Area for auto generated line items

    Dear All,
    If business area is XXXX then business place/section code is BXXXX.
    If co code XXXX, then profit center = business area.
    Both the above substitutions exist in our production system. I have set Business
    Area & profit center fields mandatory for certain postings keys.This doesnt create any problem for normal postings. But when a transaction generate auto postings like service tax seperate line item, TDS line items, price difference etc SAP throws error for Business area or profit center. Pls guide with a solution to this issue.
    Your inputs are valuable.
    Regards
    Komal
    Edited by: Komal on Apr 3, 2009 6:04 AM

    Experts, pls contribute your inputs.
    Regds
    Komal

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

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • 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

  • How to assign profit center to automatically generated line items

    Hi, Experts,
                       My problem is that I want system automatically assign profit center to automatically generated line items.
                       Eg.
                             (Vat is @ 10%)
                                        Transaction                             Amount                            Profit Center                    
                              Purchase                   Dr                    Rs.1000/-                           XYZ
                              Vat                             Dr                    Rs.100/-
                              To Vendor                  Cr                                      Rs 1100/-
    Here I have to assign Profit Center in VAT G/L by double clicking on it, in reality, system should automatically assign profit center to VAT G/L same as to purchase, because this vat amount belongs to same purchase G/L.
    Kindly help me
    Thanks in advance

    Hi,
    1. In which SAP version you are working ? Are you using SAP 4.7 or ECC 6.0. ?
    2. If you are in ECC 6.0, have you activated New G/L ?
    3. Segment reporting is happening with Profit Center is one of the scenario ?
    Auto updation of Profit Center will depend upon these conditions. Accordingly one can provide you the solution.
    Regards,
    Shridhar

  • Want to copy Delivery address of one line item in shopping cart to all item

    Hi Experts,
                    We are upgrading from SRM 5.0 to SRM 7.0,In SC Creation We want to copy Delivery address of one line item in shopping cart to all line items in Shopping cart by clicking Change All Items button.This is custom button we added this button and we had written code to achieve the functionality but it is not working.This is same like Change All Items button in Account Assigment for copy accont details of one line item to all other line items in SC.
    Web Dynpro Component:/SAPSRM/WDC_UI_DO_SHIPTO
    Web Dynpro View:V_DODC_SHIPTO
    Thanks,
    Aarthi.

    Hi Prasad,
                   Our customer needs that button,they want whenever they are clicking the button delivery address should copy to all line items.
    In my action ONCHANGE_ALL_ITEMS i called this method
    wd_this->mo_dodm_shipto->zchange_all_items( ).
    zchange_all_items( ) is  implemented in class /SAPSRM/CL_CH_WD_DODM_SHIPTO.
    the code i wrote inside zchange_all_items( )
    *Error
      DATA: LX_PDO_ABORT               TYPE REF TO /SAPSRM/CX_PDO_ABORT,  " Class for Fatal error caught by PDO Layer
            LX_PDO_ERROR               TYPE REF TO /SAPSRM/CX_PDO_ERROR.  " Class for PDO General Exception
    Object Instances
      DATA: LO_MSG_CONSUMER            TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER,
            LO_PDO_SHIPTO              TYPE REF TO /SAPSRM/IF_PDO_DO_PARTNER.
    Context-Data
      DATA: lte_cll_shipto              TYPE /sapsrm/if_ch_wd_set_facade=>gt_guid_element,
            loe_cll_shipto              TYPE REF TO /sapsrm/if_ch_wd_set_element.
    Field Symbols
      FIELD-SYMBOLS <lse_cll_shipto>    LIKE LINE OF lte_cll_shipto.
    DATA : lo_pdo_acc TYPE REF TO /sapsrm/if_pdo_do_acct_assgmnt.
      DATA : ls_shipto_cll type /SAPSRM/S_CLL_SHIPTO,
             lt_pdo_partnerdetails      TYPE bbp_pdt_partner,
             ls_pdo_partnerdetails      TYPE bbp_pds_partner,
              LV_GUID          TYPE BBP_GUID,
              lv_item_guid type bbp_guid,
             lv_filled TYPE wdy_boolean.
    *exceptions
      DATA : LX_ABORT                  TYPE REF TO /SAPSRM/CX_PDO_ABORT.
    *Constants
      CONSTANTS : LC_OBJECT_ID         TYPE CRMT_SUBOBJECT_CATEGORY_DB VALUE 'BUS2121001',
                  LC_ADDR_ORIGIN       TYPE /SAPSRM/S_CLL_SHIPTO-ADDR_ORIGIN VALUE 'B'.
      IF LV_FILLED = ABAP_TRUE.
    Downcasting to shipto
        LO_PDO_SHIPTO ?= MO_PDO.
    insert the clipboard into facade and update and submit update
        me->/sapsrm/if_cll_do_mapper~insert_from_clipboard( io_set_facade = mon_cll_set_facade ).
    Add new Accounting entries.
        lte_cll_shipto = mon_cll_set_facade->get_data_elements( ). "get all elements from the context
        LOOP AT  lte_cll_shipto ASSIGNING <lse_cll_shipto>.
          loe_cll_shipto = <lse_cll_shipto>-set_element.
          loe_cll_shipto->get_static_attributes( IMPORTING rv_attributes = ls_shipto_cll ).
    Map ui-structure to pdo-structure
          MOVE-CORRESPONDING ls_shipto_cll TO ls_pdo_partnerdetails.
          IF LS_SHIPTO_CLL-PARTNER_FCT =  mv_part_func.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = ''.
          ELSE.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = LS_SHIPTO_CLL-PARTNER_FCT.
          ENDIF.
          IF ls_pdo_partnerdetails-del_ind NE 'X'.
            CALL FUNCTION 'GUID_CREATE'
              IMPORTING
                ev_guid_16 = ls_pdo_partnerdetails-p_guid.
           mv_acc_guid_split = ls_pdo_shipto-guid .
            IF mo_scope = 1.
              ls_pdo_partnerdetails-p_guid = mon_cll_set_facade->get_bo_guid( ).
            ELSE.
              ls_pdo_partnerdetails-p_guid = mo_parent_bo_mapper->items_get_lead_selection( ).
            ENDIF.
            APPEND ls_pdo_partnerdetails TO lt_pdo_partnerdetails.
          ENDIF.
          CLEAR : ls_pdo_partnerdetails, ls_shipto_cll.
        ENDLOOP.
    Add New items to PDO
        IF NOT lt_pdo_partnerdetails[] IS INITIAL.
          TRY.
              LO_PDO_SHIPTO->update_item_partners( EXPORTING it_partner = lt_pdo_partnerdetails
                                                               iv_item_guid       = lv_item_guid
                                                   CHANGING co_message_handler = mo_pdo_message_consumer ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Update PDO with the changed data.
          TRY.
              mo_pdo->submit_update( ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Fire refresh of DO Mappers registered for refresh since the item table has acc related data.
          mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
        ENDIF.
      ENDIF.
    Thanks,
    Aarthi.

  • Enter Text in Price difference line item in MIRO

    Hello,
    My user wants to enter text in price difference account line item in MIRO. I tried to do it in MIRO simulation by doubl click on line item. But it does not show as we normally see in FI documents.
    Please advise how can I enter text in price difference line item while doing MIRO. Since this account gets posted automatically.
    Regards,
    Tapan

    Hi,
    You can create substitution with exit in GGB1/ OBBH
    In exit, give a popup for this price difference line item and in that popup user can enter the text and then fill that text in the line item.
    Your ABAper should be able to do it.
    Regards,
    SDNer

  • Copying g/l balance and line items details

    What is the best way to copy  account balance and the line item details from one G/L account to another one.
    Thanks

    Hi
    The best way to upload GL open items and GL balance is via FB01.
    Good Luck
    Hari

  • Tax code input for Automatically Generated Line Items

    Hi Guys,
    We want to input a tax code for the Automatically generated line item..for exchange rate differences in F-28.
    Once i simulate the F-28 , and i try to input the tax code in the Automatically generated line item for exchange rate difference,
    I cannot input the tax code in that screen..and it is greyed out.
    Is there a way we can assign a tax code for this GL account line item that is automatically generated by the system ?
    Thanks,
    Srikanth.

    Hello,
    you have to add the tax code in GL master data. if that's not possible (several codes possible), I would set up a substitution.
    kr
    Nico

  • In COGI error text "Multiple assignment of line item"

    Hi Guru,
    In COGI error text "Multiple assignment of line item"
    Description:
    ultiple assignment of a line ID
       Message no. M7357
    iagnosis
       An item table, in which the line ID (LINE_ID)
       was transferred to the function module MB_CRE
    ystem Response
       Processing is terminated.
    rocedure
       Contact the system administration.
    rocedure for System Administration
       There is an error in the calling application.
    Please help me to resolved this issue.
    Thanks and regards
    PNU

    Hi,
    Thanks for reply,
    It is possible to remove material from COGI list. We need to stop creation of this error.
    Is there other solution to control creation of error  "Multiple assignment of line item"
    Thanx & regd.
    PNU

Maybe you are looking for

  • How to reinstall Adobe Reader (E6)

    I uninstalled by mistake Adobe Reader on my E6. Does anybody know how can I get it back? The trial version on QuickOffice website says I have to install the main package first (?), I've tried to restore it through the backup I had made on PC and on t

  • Reg Logical System Name

    Hi, We have ECC 6.0 PROD and ECC 6.0 QAS System. WE have different logical system names for both the systems But when we refreshed the PROD to QAS , we have to run the BDLS transcation to change the logical System name(since we are having different l

  • TAW10 and TAW12 exercises in Netweaver 7.01 ABAP Trial Version

    Hello, I just finished the ABAP academy, courses TAW10 and TAW12. I want to do some exercises for studying to the certification test, but the exercises in the books require ABAP objects (such as tables, structures, data elements, templates and so on)

  • Using Webdynpros for NWBC3.0

    Hi All, It is the requirement of connectivity of NWBC using Webdynpro Actually I am new to  Webdynpro application. Initially we have activated all the services of Webdynpro in the system  then we develop the Webdynpro application in SE80 of WDR_CHIP_

  • ORA-01613: thread 2 only has 1 logs - at least 2 logs required to enable

    Hello, I have just ran through the final stage (db creation using dbca) of the RAC install on redhat AS 2.1. At the end i was informed "ORA-01613: thread 2 only has 1 logs - at least 2 logs required to enable" I gave heard that to create the log for