Function module for reading service line items of a po

function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...

Hi oskchaitanya ,
use bapi BAPI_PO_GETDETAIL1.
Regards
REA

Similar Messages

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • Function module for reading payroll results

    HI,
    I need a function module for reading payroll results RT table.
    Import parameters are personal number, payroll area, and payroll period.
    Export should be RT table.
    Regards,
    Wasim Ahmed

    Hai Wasim
    Check the following Code
    data: payroll_cluster like t500l-relid.
        call function 'PYXX_READ_PAYROLL_RESULT'
             exporting
                  clusterid                    = payroll_cluster
                  employeenumber               = pernr-pernr
                  sequencenumber               = payroll-evp-seqnr
                READ_ONLY_BUFFER             = ' '
                READ_ONLY_INTERNATIONAL      = ' '
                CHECK_READ_AUTHORITY         = 'X'
           IMPORTING
                VERSION_NUMBER_PAYVN         =
                VERSION_NUMBER_PCL2          =
             changing
                  payroll_result               = payroll_us
            exceptions
                 illegal_isocode_or_clusterid = 1
                 error_generating_import      = 2
                 import_mismatch_error        = 3
                 subpool_dir_full             = 4
                 no_read_authority            = 5
                 no_record_found              = 6
                 versions_do_not_match        = 7
                 others                       = 8
        if sy-subrc <> 0.
          if sy-subrc <> 0.
            write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
            write: /'zu Personalnummer'(008), pernr-pernr,
                    'bei Sequence-Number'(012),
                     payroll-evp-seqnr.
            write: /  'Fehlercode ='(004), sy-subrc.
          endif.
        endif.
    Thanks & regards
    Sreenivasulu P

  • Function Modul for read field label

    hi all
    i search a function modul for read the field label from data element.
    Example for data element matnr, i must have field label text material.
    Thx abap_begin

    Hi,
    If you give input parameters type, field and table you get data element using
    RP_PRINT_GET_DATA_ELEMENT
    Try also
    KL_TABLE_INFO_GET
    But not sure if this futfill your requirement...

  • Percentage wise Confirmation for Multiple Service line items

    Hi,
    Percentage wise Confirmation for Multiple Service line items    
    During doing service entry sheet am able to do % wise confirmaion from
    Menu -> Entry Sheet -> Create -> With Planned Service -> Enter Percent.
    But this works only for single line item the first line.
    If we have multiple line items & if i give 10%, It calculates 10% for
    all items.
    We want Line wise % confirmation can be given as % confirmation will differ from
    line to line.
    Thanks
    Shashank

    Dear ,
    This percentage is a header data i.e applicable for all service items
    F1 help clearly says
    Percentage quantity to be adopted
    Use
        If you wish to adopt the planned services from the purchase order, you
        can enter an additional percentage in this field in order to have that
        percentage adopted instead of the total quantity shown in the purchase
        order.
    Example:
        Quantity specified.............Quantity to be adopted:.............Quantity specified "
        in purchase order:....................... 10 %..................................entry sheet:
        Service  1.......100 pc ................................................................10 pc
        Service  2.......200 m  ...............................................................    20 m
        Service  3. .....30 h   .................................................................   3 h
    Edited by: redriver on Jan 22, 2012 6:50 AM

  • How to Check Creation/Change data for PO Service Line item

    Hi, I was wondering what field(s) from what table(s) I would have to check if I wanted a report to look for the creation or chnaged date of a specific service item in a PO?
    Currently it is using the EKPO-AEDAT field to check if a PO line item has been changed, but I would like to narrow it down to just some service line items instead of capturing all the service lines in a recently changed PO line item.
    Thank you very much in advance for the advice!

    Hi Rashid, thanks for the advice, but it doesn't really solve my problem.
    What I want to know is if there is a field where the date of a service item was created in a PO line item is stored, so that an ABAP report can be written to retrieve newly created service items from POs.

  • Exit / badi for individual service line item detail with internal orders.

    Hello guys,
    <b>Issue 1.</b>as per our scenario we want to get the individual service line item details with Internal Orders.
    Please provide me any exit/badi with each item level with individual service line item Internal Orders.
    <b>Issue 2:</b> Remain same for issue 3 for blocking status. We want to delete item level for particular line what about the service rows which assigned in particular item.
    point will be rewarded for the suitabel answers.
    please give me response  ASAP.
    With Regards
    yogesh

    Hey Yogesh,
    I have the same scenario... Could you please drop a mail to [email protected] with the details of BADI and other details that you implemted for the same.
    Thanks a lot in advance.

  • BAPI_PO_CREATE1 for Multiple service line items

    Hi Exports,
    I am using BAPI_PO_CREATE1 to create service PO. I am facing problem when each line item(ebelp) has multiple service line items. I am unable to map multiple service line items to a single line item (ebelp) properly.
    Can anyone help.
    Regards,
    Kiran

    Hi ,
    I am able to create service PO when only one service line item is there.
    If multiple service line items are there. then i have to put the below code with in the loop.
    here i am facing the probelm.
            w_poservices-pckg_no    = g_pckg.
            w_poservices-line_no    = g_pckg.
            w_poservices-outl_ind   = c_x.
            w_poservices-subpckg_no = g_pckg + 1.
            w_poservices-service    = w_sdata-srvpos.
         w_poservices-short_text = w_idata-ktext1.
         w_poservices-quantity   = w_idata-menge.
         w_poservices-base_uom   = w_idata-meins.
         w_poservices-gr_price   = w_idata-tbtwr.
         w_poservices-matl_group = w_idata-matkl.
            APPEND w_poservices TO i_poservices.
            CLEAR: w_poservices.
            w_poservices-pckg_no    = g_pckg + 1.
            w_poservices-line_no    = g_pckg + 1.
            w_poservices-ext_line   = 0000000010.
            w_poservices-outl_ind   = c_x.
         w_poservices-subpckg_no = g_pckg + 2.
            w_poservices-service    = w_sdata-srvpos.
            w_poservices-short_text = w_sdata-ktext1.
            w_poservices-quantity   = w_sdata-menge.
            w_poservices-base_uom   = w_sdata-meins.
            w_poservices-gr_price   = w_sdata-tbtwr.
            w_poservices-matl_group = w_idata-matkl.
            APPEND w_poservices TO i_poservices.
            CLEAR: w_poservices.
            w_posrvaccessvalues-pckg_no    = g_pckg + 1.
            w_posrvaccessvalues-line_no    = g_pckg + 1.
            w_posrvaccessvalues-serno_line = 01.
            w_posrvaccessvalues-serial_no  = 01.
            w_posrvaccessvalues-quantity   = w_idata-menge.
            APPEND w_posrvaccessvalues TO i_posrvaccessvalues.
    thank you.
    Regards,
    Kiran

  • Function Module for reading PCL2 - B2 FEHLER table

    Hi,
       Is there any function module can use to read the FEHLER table messages? There is a standard program called RPTERL00 that used to read the FEHLER messages. However, I wish to simplified and use FM to get all the FEHLER table data in my customise program. I will need to delete some of the entries in FEHLER table after the correction has been done. Do you know how to do this?
    Thanks in advance.

    Hi, You don't need pass any data for table tgetbuff .
    Try this simple report. It's work for me:
    REPORT  Z_JRQ038R NO STANDARD PAGE HEADING
                     LINE-COUNT 65
                     LINE-SIZE 175.
    * D.A.T.A.
    DATA: IT_FL TYPE PC2B8 OCCURS 0 WITH HEADER LINE.
    DATA:  BEGIN OF tgetbuff occurs 0,
                  x(10),
               END OF tgetbuff.
    * S.E.L.L.E.C.T.I.O.N.  .S.C.R.E.E.N.
      SELECTION-SCREEN BEGIN OF BLOCK BL02 WITH FRAME TITLE TEXT-S20.
        PARAMETERS:
          PERNR LIKE PA0001-PERNR,
          YEAR  LIKE T549Q-PABRJ,
          MONTH LIKE T549Q-PABRP.
      SELECTION-SCREEN END OF BLOCK BL02.
    * M.A.I.N.  .P.R.O.G.R.A.M.
    START-OF-SELECTION.
      CALL FUNCTION 'HR_TIME_RESULTS_GET'
        EXPORTING
          GET_PERNR     = PERNR
          GET_PABRJ     = YEAR
          GET_PABRP     = MONTH
        TABLES
          GET_TBUFF     = TGETBUFF
          GET_FEHLER    = IT_FL
        EXCEPTIONS
          NO_PERIOD_SPECIFIED   = 1
          WRONG_CLUSTER_VERSION = 2
          NO_READ_AUTHORITY     = 3
          CLUSTER_ARCHIVED      = 4
          TECHNICAL_ERROR       = 5
          OTHERS                = 6.
      CHECK IT_FL[] IS NOT INITIAL.
      LOOP AT IT_FL.
        WRITE: / IT_FL-LDATE, SPACE, IT_FL-LTIME, SPACE, IT_FL-ERRTY.
      ENDLOOP.
    Regards,

  • Available Function Modules for Reading Master Recipe Info...

    Hi
    Is there a function module(s) available in ECC to read Master Recipe info.for Material/Plant inputs?
    Thanks
    Bluesclues

    Dear
    Try the folloiwng :
    1.BAPI_CONTROL_RECIPE_GET_LIST Read control recipe
    2.BAPI_CONTROL_RECIPE_REQUEST Request and transfer control
    3.MRTRS300_MASTER_RECIPE_READ  
    4.BAPI_CONTROL_RECIPE_GET_LIST
    5.MRTRS300_MASTER_RECIPE_SAVE (Save Master Recipe data from internal table )
    6.MRTRS300_MASTER_RECIPE_WRITE (Write Master Recipe data into internal table)
    Regards
    JH

  • SAP HR Function Module for reading RT

    Hi,
    Is there any function module in SAP HR which takes multiple employee numbers and period as input and gives payroll results as output.
    Thanks,
    Nidhi

    There is no FM for that
    But you can try reading the cluster by using import export commands.
    Regards,
    Manu

  • Function module for Create service order with reference to sales doc (RAS )

    Hi All,
    I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
    I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
    Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
    Sumit

    Try this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
    Regards
    Kathirvel

  • Post Invoice for Service Entry with many Service line item-MM-LIV

    Dear All,
    I have a problem to post Invoice for Service Entry with many Service line item. The problem is as follow:
    I have created 1 Service Entry which has 5 Service line item in it. Three of the service line item are subject to Value Added Tax (VAT), the others aren't. Then, i wanted to post Invoice for the Service Entry, however, it just display 1 item which amount in total. How can i segregate each service line item in Service Entry thus i can post Invoice for all Service line item with subject to VAT and all service item with not subject to VAT, if just 1 Service Entry created for it ?
    Please help me.
    Thank You

    Hi Ganda,
    If you mark the 'service based invoice verification' checkbox in your PO item, your service items will be in your invoice as seperate invoice lines. Then you can modify the taxcodes on service item level.
    Kind regards, Dick Hendriks.

  • Remote Function Module for Change document Items.

    Hi Experts,
    I want a Remote Function Module to read Change document Items, can any please help me out. <removed by moderator>
    Thanks,
    Sridevi
    Edited by: Jan Stallkamp on Aug 25, 2008 8:25 PM

    If you are looking for the fm here it is.....
    you can check this CHANGEDOCUMENT_READ_POSITIONS fm and its documentation.
    If it is suitable for your requirement copy the same fm and make it remote enabled.
    I think it should work for you.

Maybe you are looking for

  • TS4006 I lost my iPad! I initially set up a screen lock in iCloud but now my iPad is no longer in the list.

    I lost my iPad! I initially set up a screen lock in iCloud, only to find out that I would then not be able to find my device. I then removed my device from the list in iCloud. Now, after clicking on "find my iPhone", it does not appear in the list. H

  • Work Center Mandatory  in PM Order

    Hi Experts, May i know how can i make Mandatory, both  Work center (Mn.wk.ctr) Under Person Responsible sub screen and the work center ( WkCtr/Plnt ) under first Operation sub screen  of the Header TAB in PM Order. Regards, Kavvya

  • Variable has value ??.DP0.D003??  in WEBi

    i have a report which was created by somebody else, need to udnerstand it. it has a formula variable  thats shows value ABS(??DP0.D0003??) i am lost where this value came from as its not in the dimension or the variables created. could it be an under

  • Best options for exporting true HD 1080

    I want to import HD video from a Canon HV20 and edit in FCE 4 and then export the edited movie in a format which I can write to Blu Ray disc and view through a Blu Ray set top box or PS3. What are the best settings to use in FCE4 as i'm really gettin

  • Error with posting period

    Hi All, When I am trying to post goods issue for material 1 I get the following error log Posting only possible in periods 2002/11 and 2002/10 in company code . Then,I tried to update posting period using transaction code MMPV BUT INVAIN. Please help