New DataSources for Line Items from FI-GL, FI-AP, FI-AR

Dear Experts,
Kindly sugest the SAP Note's and SAP Document links on  New DataSources for Line Items from FI-GL, FI-AP, FI-AR
for( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ). and what is the advantage of using this data sources.
Currently we are using the Data Sources with ( 0FI_GL_4, 0FI_AR_4, 0FI_AP_4 ) and we want to migrate to ( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ).
Please sugest in this regard.
Thanks&Regards,
Nagendra prasad.
Edited by: nagendra prasad on Jul 20, 2010 5:12 AM
Edited by: nagendra prasad on Jul 20, 2010 6:05 AM

Hi
Please find FI_GL_14 related links
[http://help.sap.com/saphelp_nw70/helpdata/en/49/5700570223413085021a8b4ef1087a/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/frameset.htm]
There is no FI_AR_14 and FI_AP_14. If you want more information directly goto help.sap.com you will find all the details.
Regards
YuvaraajP

Similar Messages

  • Datasource for ISU business partner line items from DFKKOP & VBRK

    Gurus,
    I am looking for a datasource that will allow me to report on the individual line items from table DFKKOP. Basically credit/debit posting.
    Bill from VBRK
    Pay from DFKKOP
    My research has led me to 0FC_BP_ITEMS which lacks VBRK
    If there is another one please would you share with me.
    thank you
    Vijay

    Why don't you create your own function module, ensuring you get the best possible index use. There is an index for contract account as well as one for business partner (at least here in ECC 6.0).
    You just need to make sure your, or the standard function module's select statement has values for as many of the index fields as possible. If that's not fast enough you need to look at completely different possibilities.
    As I usually say at that point: CPU is cheap...

  • BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables

    Dear All,
    I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
    Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
    Can i Use
    <b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
    pls help me out
    Message was edited by: Raja K.P

    Hi raja ,
    loop at iekko1.
        w_index = sy-tabix.
        item-po_item   = itemx-po_item   = iekko1-ebelp.
        item-quantity  = iekko1-mng01.
        itemx-quantity = iekko1-mng01.
        if iekko1-wamng = iekko1-wemng.
        itemx-no_more_gr = item-no_more_gr = 'X'.
        else.
        itemx-no_more_gr = item-no_more_gr = ''.
        endif.
        append item.
        append itemx.
          clear return[].
          call function 'BAPI_PO_CHANGE'
               exporting
                    purchaseorder = iekko1-ebeln
               tables
                    return        = return
                    poitem        = item
                    poitemx       = itemx.
          if return[] is initial.
          commit work and wait.
          call function 'DEQUEUE_ALL'.
    search for deletion fields which u have to mark 'X'.
    before calling  this BAPi u have to lock the PO by using ENQUEUE.
    <b>
    FU BAPI_PO_CHANGE
    Text
    Change purchase order
    Functionality
    Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
    Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
    Functionality in Detail
    Authorization
    When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
    M_BEST_BSA (document type in PO)
    M_BEST_EKG (purchasing group in PO)
    M_BEST_EKO (purchasing organization in PO)
    M_BEST_WRK (plant in PO)
    Controlling adoption of field values via X bar
    For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
    Transfer
    Purchase order number
    The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
    Header data
    The header data of the Enjoy purchase order is transferred in table PoHeader.
    Item data
    The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
    Use the table PoAccount to change the account assignment information.
    Services and limits
    Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
    Conditions
    Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
    Vendor and delivery address
    The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
    Partner roles
    You can change all partners except the partner role "vendor" via the table PoPartner.
    Export/import data
    Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
    Texts
    Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
    Version Management
    You can make use of the Version Management facility via the table AllVersions.
    Return
    If the PO was changed successfully, the header and item tables are populated with the information from the PO.
    Return messages
    Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
    Restrictions
    With this function module, it is not possible to:
    Create subcontracting components (you can only use existing ones)
    Create configurations (you can only use existing ones)
    Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
    Attach documents to the purchase order
    Change foreign trade data
    Change service data
    Change or reexplode BOMs
    A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
    PO items with an invoicing plan cannot be created or changed using the BAPIs
    In this connection, please refer to current information in Note 197958.
    To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
    To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
    In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
    Example
    Example of changes made to a purchase order with:
    1. Change in header data
    2. Change in item
    3. Change in delivery schedule
    4. Change in account assignment
    5. Change in conditions
    6. Change in partners
    Parameter: PURCHASEORDER 4500049596
    Parameter: POHEADER
    PMNTTRMS = 0002
    PUR_GROUP = 002
    Parameter: POHEADERX
    PMNTTRMS = X
    PUR_GROUP = X
    Parameter: POITEM
    PO_ITEM = 00001
    CONF_CTRL = 0001
    Parameter: POITEMX
    PO_ITEM = 00001
    PO_ITEMX = X
    CONF_CTRL =  X
    Parameter: POSCHEDULE
    PO_ITEM = 00001
    SCHED_LINE = 0001
    QUANTITY = 10.000
    PO_ITEM = 00001
    SCHED_LINE = 0003
    DELETE_IND =  X
    Parameter: POSCHEDULEX
    PO_ITEM =  00001
    SCHED_LINE =  0001
    PO_ITEMX =  X
    SCHED_LINEX =  X
    QUANTITY =  X
    PO_ITEM =  00001
    SCHED_LINE =  0003
    PO_ITEMX =  X
    SCHED_LINEX =  X
    DELETE_IND = X
    Parameter: POACCOUNT
    PO_ITEM = 00001
    SERIAL_NO = 01
    GL_ACCOUNT = 0000400020
    Parameter: POACCOUNTX
    PO_ITEM = 00001
    SERIAL_NO = 01
    PO_ITEMX = X
    SERIAL_NOX = X
    GL_ACCOUNT = X
    Parameter: POCOND
    ITM_NUMBER = 000001
    COND_TYPE = RA02
    COND_VALUE = 2.110000000
    CURRENCY = %
    CHANGE_ID = U
    Parameter: POCONDX
    ITM_NUMBER = 000001
    COND_ST_NO = 001
    ITM_NUMBERX = X
    COND_ST_NOX = X
    COND_TYPE = X
    COND_VALUE = X
    CURRENCY = X
    CHANGE_ID = X
    Parameter: POPARTNER
    PARTNERDESC =  GS
    LANGU =  EN
    BUSPARTNO = 0000001000
    Help in the Case of Problems
    1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
    2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
    3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
    Customer Enhancements
    The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
    EXIT_SAPL2012_001 (at start of BAPI)
    EXIT_SAPL2012_003 (at end of BAPI)
    The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
    EXIT_SAPL2012_002 (at start of BAPI)
    EXIT_SAPL2012_004 (at end of BAPI)
    These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
    There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
    Further Information
    1. Note 197958 contains up-to-date information on the purchase order BAPIs.
    2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
    3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
    4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
    5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
    Parameters
    PURCHASEORDER
    POHEADER
    POHEADERX
    POADDRVENDOR
    TESTRUN
    MEMORY_UNCOMPLETE
    MEMORY_COMPLETE
    POEXPIMPHEADER
    POEXPIMPHEADERX
    VERSIONS
    NO_MESSAGING
    NO_MESSAGE_REQ
    NO_AUTHORITY
    NO_PRICE_FROM_PO
    EXPHEADER
    EXPPOEXPIMPHEADER
    RETURN
    POITEM
    POITEMX
    POADDRDELIVERY
    POSCHEDULE
    POSCHEDULEX
    POACCOUNT
    POACCOUNTPROFITSEGMENT
    POACCOUNTX
    POCONDHEADER
    POCONDHEADERX
    POCOND
    POCONDX
    POLIMITS
    POCONTRACTLIMITS
    POSERVICES
    POSRVACCESSVALUES
    POSERVICESTEXT
    EXTENSIONIN
    EXTENSIONOUT
    POEXPIMPITEM
    POEXPIMPITEMX
    POTEXTHEADER
    POTEXTITEM
    ALLVERSIONS
    POPARTNER
    Exceptions
    Function Group
    2012
    </b>
    regards
    prabhu
    Message was edited by: Prabhu Peram

  • New G/L Line item Datasource 0FI_GL_14 not extracting exchange rate field

    Hi,
    We are implementing new G/L Line item datasource and standarad field of this datasource KURSE - exchange rate field  not extracting  data.
    Debugged standard extractor function module but field for exchange rate is not populating even there is a value in the base table BKPF.
    Please advise on this.
    Thanks
    UDAY
    Edited by: Udaybi on Apr 12, 2011 5:30 AM

    Did you solve the issue? I am facing the same issue too.

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

  • BAPI for Deletion of line Items from PR

    Hi Experts,
                    I need to delete line items from Purchase Requisition when user check the check box.Check box available on output display i.e check box to delete item.
    thanks,
    santhosh.

    Use "BAPI_REQUISITION_CHANGE". Existing list of LIne items should be filled in the structure "REQUISITION_ITEMS_OLD" & New list of line items should be included in the structure "REQUISITION_ITEMS_NEW"
    OLD - will contain the records currently in database.
    NEW - fresh list of records (in your case exclude the line item which is to be deleted)
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 14, 2010 3:36 PM

  • Extract ECC 5.0 New GL transaction Line item to BI 7.0(delta enabled)

    Hi all,
    The back end system is ECC 5.0 and i need to extract New GL line item transaction level data (with document/transaction  currency amount) to BI 7.0 .0FI_GL_4 datasource is on GLT0 table instead of NEW GL FAGLFLEXA and 0FI_GL_14 is available only from ECC 6.0onwards.What should be the approach/advice to accomplish this wth delta enabled
    regards
    savvy

    In my previous implementation, what we followed was
    We used 0FI_GL_10 to fill 0FIGL_O10 & 0FIGL_C10 for totals and
    for line items load DSO 0FIGL_O02 through 0FI_GL_4
    And we had drilldown (RRI) reports from C10 to O02

  • Profit Center is not getting captured in Vendor line item from MIRO.

    Dear Friends,
    Profit Center is not getting captured in Vendor Line Items from MIRO Transaction for some New Business Users, where as for Old Users profit center is getting generated at Vendor Line Item.
    We have provided the same authorization of old Users to new business users. (i.e. New user is a copy of old user)
    Please help us how we can the get Profit Center in all transactions will be processed by New Business users.
    I think we need to maintain user based authorization to get the Profit center in vendor Line items processed from T.Code:MIRO in SAP.
    Looking forward for your kind cooperation in this matter
    Thanks & Regards,
    Naveen Kumar.

    Hello Naveen,
    I am not very sure about your query, as you might be knowing that the Profit Center is only updated in New GL tables (FAGLFLEXA, FAGLFLEXT) and hence the Vendor relavant tables would not.
    The profit center information in the split lines or the line of the 'General Ledger View' are only displayed within transaction FAGLL03 which read the 'new' table for the NewG/L.
    About profit center wise reporting, when New GL is active Please review attached consulting SAP note:
    - 826357     Profit Center Accounting and new general ledger in
    I hope this helps. If not, please provide an example of your requirement.
    Thanks and regards,
    Suresh Jayanthi.

  • How to copy line items from one expense report to the next

    I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
    Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.

    Hi Tom,
    Here are two alternative solutions:
    Alternative 1:
    If you copy the expense report before you book the services (flight, hotel …)
    in GetThere, then the airline or hotel bookings will not start a new expense
    report but will be assigned to the copied expense report.
    Alternative 2:
    This alternative is a bit laborious.
    Shift the start date and end date of the expense
    report  that was automatically created by
    your flight booking for next week (e.g. Calendar Week (CW)  47) to the week after next week (e.g. CW 48).
    Copy the expense report of the previous week (e.g.
    46)
    Afterwards open the expense report that you
    moved to CW 48 and click on the tab strip itinerary
    Now assign the bookings (flight, hotel …) to the
    expense report of CW 47 by clicking on the button assign to existing trip
    Later delete the expense report in CW 48
    Get back to me if you have any questions concerning the alternatives outlined
    above.
    Note:
    These solution alternatives are only available for customes using HTML5 UIs.

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • Not to be able to delete line items from sales orders

    I have to do something so as not to be able to delete the line items from a sales order if I have already received a down payment for this sales order

    Dear Stilianos
    Assign Reason for Rejection for that line item and create a new line item in the same sale order.
    Incidentally, why do you want to delete the line item ??
    thanks
    G. Lakshmipathi

  • New G/L line item extractor 0FI_GL_14

    Hi,
    has anyone worked with the new G/L line item extractor 0FI_GL_14 already? I know that this line items extractor uses function module FAGL_GET_LINE_ITEMS and extract structure FAGLPOSBW.
    Does anyone have the coding for this function module?
    Thanks
    Christian

    Hi,
    Please find the code
    FUNCTION fagl_get_si_data.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SBIWA_S_INTERFACE-REQUNR
    *"     VALUE(I_ISOURCE) TYPE  SBIWA_S_INTERFACE-ISOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SBIWA_S_INTERFACE-INITFLAG OPTIONAL
    *"     VALUE(I_UPDMODE) TYPE  SBIWA_S_INTERFACE-UPDMODE OPTIONAL
    *"     VALUE(I_DATAPAKID) TYPE  SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
    *"     VALUE(I_CALLMODE) TYPE  RSAZT_CALLMODE OPTIONAL
    *"  TABLES
    *"      I_T_SELECT TYPE  SBIWA_T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SBIWA_T_FIELDS OPTIONAL
    *"      E_T_FAGLPOSBW STRUCTURE  FAGLPOSBW OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
      STATICS:
        sd_flag_interface_initialized TYPE boole_d,
        sd_counter_datapakid          TYPE sbiwa_s_interface-datapakid,
        sd_step_extrmode              TYPE rsazt_extrmode,
        sd_no_more_data               TYPE boole_d,
        sd_cursor_open                TYPE string,
        sd_max_lines                  LIKE sy-tabix,
        sd_updmode                    LIKE i_updmode,
        sd_rldnr                      TYPE rldnr.
      DATA:
        ld_rldnr                      TYPE rldnr,
        lt_select                     TYPE sbiwa_t_select,
        ls_select                     TYPE sbiwa_s_select,
        ld_syst_date                  TYPE d,
        ld_syst_time                  TYPE t,
        ld_utc_timestamp              TYPE timestamp,
        lt_select_int                 TYPE gusl_t_selection,
        lt_fields_int                 TYPE gusl_t_fields,
        ld_cursor_flag                TYPE flag,
        lt_faglpose                   TYPE faglpose_t.
      CASE i_callmode.
        WHEN rsazt_c_callmode-selscreen OR
             rsazt_c_callmode-selcheck.
        not supported yet
        WHEN rsazt_c_callmode-extraction.
        initialization mode (first call by SAPI) or data transfer mode
          IF i_initflag = sbiwa_c_flag_on.
    Initialization
          Invalid second initialization call -> error exit
            IF NOT sd_flag_interface_initialized IS INITIAL.
              IF 1 = 2. MESSAGE e008(r3). ENDIF.
              MESSAGE ID 'R3' TYPE 'E' NUMBER '008'
                      RAISING error_passed_to_mess_handler.
            ENDIF.
          Check for supported update mode
            CASE i_updmode.
              WHEN sbiwa_c_updmode_full.
              WHEN sbiwa_c_updmode_deltainit.
              WHEN sbiwa_c_updmode_delta.
              WHEN sbiwa_c_updmode_init.
              WHEN sbiwa_c_updmode_repeat.
              WHEN OTHERS.
                IF 1 = 2. MESSAGE e011(r3) WITH i_updmode. ENDIF.
                MESSAGE ID 'R3' TYPE 'E' NUMBER '011' WITH i_updmode
                      RAISING error_passed_to_mess_handler.
            ENDCASE.
            sd_flag_interface_initialized = sbiwa_c_flag_on.
          initialize change pointer
            PERFORM initialize_change_pointer.
          get relevant ledger.
            PERFORM get_relevant_ledger
                             USING    i_isource
                             CHANGING ld_rldnr.
          build selection table
            lt_select[] = i_t_select[].
            LOOP AT lt_select INTO ls_select
              WHERE fieldnm = c_fieldname_rldnr.
              IF ls_select-low  <> ld_rldnr OR
               ( ls_select-high <> ld_rldnr AND
                 ls_select-option = 'BT' ).
                IF 1 = 2. MESSAGE e014(r3). ENDIF.
                MESSAGE ID 'R3' TYPE 'E' NUMBER '014'
                      RAISING error_passed_to_mess_handler.
              ENDIF.
            ENDLOOP.
            IF NOT sy-subrc IS INITIAL.
              CLEAR ls_select.
              ls_select-fieldnm = c_fieldname_rldnr.
              ls_select-sign    = 'I'.
              ls_select-option  = 'EQ'.
              ls_select-low     = ld_rldnr.
              APPEND ls_select TO lt_select.
            ENDIF.
            sd_rldnr  = ld_rldnr.
          convert timestamp from SYS -> UTC
          The TIMESTAMP provided by S-API is always in local time (SYS),
          and the timestamp in the FlexGL tables is stored as UTC.
            LOOP AT lt_select INTO ls_select
                              WHERE fieldnm = c_fieldname_timestamp.
              IF NOT ls_select-low IS INITIAL.
                ld_syst_date = ls_select-low(8).
                ld_syst_time = ls_select-low+8(6).
                CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
                  EXPORTING
                    syst_date = ld_syst_date
                    syst_time = ld_syst_time
                  IMPORTING
                    utc_tstmp = ld_utc_timestamp.
                ls_select-low = ld_utc_timestamp.
              ENDIF.
              IF NOT ls_select-high IS INITIAL.
                ld_syst_date = ls_select-high(8).
                ld_syst_time = ls_select-high+8(6).
                CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
                  EXPORTING
                    syst_date = ld_syst_date
                    syst_time = ld_syst_time
                  IMPORTING
                    utc_tstmp = ld_utc_timestamp.
                ls_select-high = ld_utc_timestamp.
              ENDIF.
              MODIFY lt_select FROM ls_select.
            ENDLOOP.
          convert selection into internal format
            PERFORM convert_selection
                 USING    lt_select
                 CHANGING lt_select_int.
          convert fieldlist into internal format
            PERFORM convert_fieldlist
                 USING    i_t_fields[]
                 CHANGING lt_fields_int.
            sd_max_lines = i_maxsize.
            sd_updmode   = i_updmode.
          initialize database selection
            CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
              EXPORTING
                i_block_data = 'X'
                i_block_size = sd_max_lines
                i_selection  = lt_select_int
                i_fieldlist  = lt_fields_int
                i_initflag   = i_initflag.
          ELSE.                 "data extraction
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
            REFRESH e_t_faglposbw.
            IF sd_counter_datapakid = 0.
              sd_step_extrmode = rsazt_c_extrmode-db.
            ENDIF.
            IF NOT sd_no_more_data IS INITIAL.
              RAISE no_more_data.
            ENDIF.
            CASE sd_step_extrmode.
              WHEN rsazt_c_extrmode-archive.
              not supported
              WHEN rsazt_c_extrmode-db.
              database selection
                IF sd_cursor_open IS INITIAL OR
                   sd_cursor_open = 'NEW'.
                process database selection for new line items
                  CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
                    EXPORTING
                      i_block_data     = 'X'
                      i_block_size     = sd_max_lines
                    IMPORTING
                      flag_cursor_open = ld_cursor_flag
                    CHANGING
                      c_t_faglpose     = lt_faglpose.
                  IF ld_cursor_flag IS INITIAL.
                    CLEAR sd_cursor_open.
                  ELSE.
                    sd_cursor_open = 'NEW'.
                  ENDIF.
                ENDIF.
                IF sd_updmode = sbiwa_c_updmode_delta OR
                   sd_updmode = sbiwa_c_updmode_repeat.
                  IF sd_cursor_open IS INITIAL OR
                     sd_cursor_open = 'CHANGED'.
                  process database selection for changed line items
                    CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
                      EXPORTING
                        i_block_data      = 'X'
                        i_block_size      = sd_max_lines
                        i_changed_records = 'X'
                      IMPORTING
                        flag_cursor_open  = ld_cursor_flag
                      CHANGING
                        c_t_faglpose      = lt_faglpose.
                    IF ld_cursor_flag IS INITIAL.
                      CLEAR sd_cursor_open.
                    ELSE.
                      sd_cursor_open = 'CHANGED'.
                    ENDIF.
                  ENDIF.
                ENDIF.
              there is no more data to read
                IF ld_cursor_flag IS INITIAL.
                  sd_no_more_data = 'X'.
                ENDIF.
              fill additional bw fields
                PERFORM convert_data
                  USING    lt_faglpose
                           sd_rldnr
                           i_updmode
                  CHANGING e_t_faglposbw[].
            ENDCASE.
            ADD 1 TO sd_counter_datapakid.
          ENDIF.                  "Initialization mode or data extraction ?
      ENDCASE.
    ENDFUNCTION.

  • Define Additional Fields for Line Item Display

    Dear gurus,
    I'd like to ask for your help again, please. I've just added the field BKPF-USNAM to the list of fields of FBL1N using IMG:" Financial Accounting-> Accounts Receivable and Accounts Payable->Vendor Accounts->Line Items-> Display Line Items->Define Additional Fields for Line Item Display". When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
    Is there another transaction that I must set new columns to FBL1N.
    Thank you very much.
    Paresh Jivani
    Edited by: Jivani Paresh on Jul 31, 2009 9:16 AM

    Hii,
    When you will execute FBL1N, it will come up in standard format. if you want to see any specific fields,then you have to go to Change Layout button and choose from available fields as per your requirement and then execute.
    For future reference, you can save this layout as a Variant and then you can directly execute that report using that variant.
    Dhara D.

  • How to insert contract line item from file using any bapi

    Hi gurus,
    Just wanted to ask how can I insert new line item which were created from a file
    when updating/changing contract details.
    The requirement was to create new line item from a file and use those details in updating the contracts.
    What BAPI can I use to address this requirement?
    Thanks!

    Hi Rajvansh Ravi,
    This is for Service Contracts. Sorry for missing this detail.
    Hi Tarangini Katta,
    I have already used BAPI_CONTRACT_CHANGE, and it was good in updating existing line items,
    but it doesn't update the contract when a new line item is created in the file.
    To make a clearer view of the flow (requirement)
    First scenario:
          From the tcode (ME32K or ME33K), we can download contract details into an excel file for a particular service contract.
    Next scenario:
          That same excel file (downloaded) can be enhanced per line item (can also insert new line) and be saved locally.
    Next scenario:
          This same excel file can also be uploaded. And the changes done to the file have to overwrite or rather have to changed the details of the same contract and then will appear/reflect in the tcode.
    With this, if we had a new line item created (inserted) on the file (not change), we can not see the changes when we view the same contract in the tcode. (ME33K)
    Do you have any idea how the insertion from the file can be reflected on the tcode using an existing bapi?
    Hope this was clear enough...
    Thanks and hope to hear something from you soon.

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

Maybe you are looking for