Exit ME52n for service tab

HI friends! I need some help. I have to validate data values for ME52n in service tab (this tab shows up when I select item with service in botton of screen).
I'm trying to use exit module from MEREQ001, like EXIT_SAPMEREQ_005 but I can't this services values in exit modules of MEREQ001, I can only get values from item but not from service tab.
How I can validate this data?
Thanks for any help!

Hi Fulvio,
If you want to validate the service line data, please use SAP Enhancement (SMOD) SRVESLL.
Regards,
Phil

Similar Messages

  • User-exit/BADI for version tab in ME22N

    Dear Friends,
    I have a requirement pertaining to user exit/BADI.
    In ME22n in version tab when ever we change any data of PO the Version Completed check box should be checked.
    Please let me know about the User Exit to be used and few lines of Pseudo code to proceed further.
    Thanks,
    Anshul

    Dear Dave,
    Check any enhancement Point is available to inlcude your logic in that place.
    With Regards,
    Selvan.M

  • Exit/badi for Material group validation on service POs

    Hi Gurus,
    The requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.I have used EXIT_SAPMM06E_017 for line level validation.
    For service sub line level 'MATERIAL GROUP' i tried using EXIT_SAPLMLSP_030 but validation is not working properly as
    EXIT_SAPLMLSP_030 is triggered before EXIT_SAPMM06E_017.
    Kindly suggest any alternatives.
    Thanks in advance
    Deepika

    Hi,
    I had finally used BADI ME_PROCESS_PO_CUST method CHECK and PROCESS_ITEM for enjoy transactions i.e ME21N ME22N ME23N and written code in EXIT EXIT_SAPLMLSP_030 for service item validations.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
        DATA: wa_zmm_mat_grp TYPE zmm_mat_grp.
        EXPORT header_data-aedat FROM header_data-aedat TO MEMORY ID 'ZDAT24933'.
        EXPORT header_data-bsart FROM header_data-bsart TO MEMORY ID 'ZBRT24933'.
        IF header_data-aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( header_data-bsart = 'SRV' OR header_data-bsart = 'SRVF' OR header_data-bsart = 'SRVI') AND ( header_data-bsart NE ' ')  AND
             ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl AND
                                                                         bsart = header_data-bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF header_data-bsart IS NOT INITIAL.
            IF ( header_data-bsart NE 'SRV') AND ( header_data-bsart NE 'SRVF') AND ( header_data-bsart NE 'SRVI') AND
               ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
              SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl.
              IF sy-subrc EQ 0.
                MESSAGE e006(ze1).
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    For service subline item following code:
    DATA: wa_zmm_mat_grp TYPE zmm_mat_grp,
          v_bsart TYPE ekko-bsart,
          v_packno TYPE esll-packno,
          v_ebeln TYPE ekpo-ebeln,
          v_aedat TYPE ekko-aedat.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT header_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT header_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IMPORT re_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT re_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ELSEIF sy-tcode = 'ME21' OR sy-tcode = 'ME22' OR sy-tcode = 'ME23'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT i_ekko-bsart TO v_bsart FROM MEMORY ID 'ZPOT24933'.
        IMPORT i_ekko-aedat TO v_aedat FROM MEMORY ID 'ZDTA24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    hope this will help u.

  • User exit for partner tab on sales order

    Hi All,
    Is there any user exit available for partners tab on sales order which should trigger when ever user changes anything from that tab like add/change remove any of the partners.
    Thanks,
    Suman.

    Hi Guys,
    Any Updates.
    Thanks,
    Suman.

  • Bapi BAPI_REQUISITION_CREATE : how to populate data for sevices tab

    Hi all,
    I am creating a purchase requisition through bapi .I am using  bapi BAPI_REQUISITION_CREATE
    For creating purchase requisition. The bapi is  creating PR.
    I need to add item level services details also through bapi.i am Using structure BAPIESLLC to populate data. But the data is not getting populated in the services tab.
    For header data i am populating the following data.
    itab_bapiebanc-preq_item      =    '10'.
      itab_bapiebanc-doc_type       =    'NB'.
      itab_bapiebanc-short_text     =    'Blinding'.
      itab_bapiebanc-quantity        =    '1'.
      itab_bapiebanc-unit              =    'AU'.
      itab_bapiebanc-deliv_date      =    '20081027'.
      itab_bapiebanc-plant             =    '1000'.
      itab_bapiebanc-pur_group      =    '001'.
      itab_bapiebanc-preq_name    =    'tracking no'.
      itab_bapiebanc-trackingno     =    '2/C/1B'.
      itab_bapiebanc-mat_grp        =    '007'.
      itab_bapiebanc-acctasscat    =    'P'.
    itab_bapiebanc-ITEM_CAT      =    '9'.
    itab_bapiebanc-GR_IND          =    'X'.
    itab_bapiebanc-IR_IND            =    'X'.
    itab_bapiebanc-FIXED_VEND    =    ' '.
    APPEND itab_bapiebanc.
    itab_bapiebkn-wbs_elem        =    'E-2004'.
    itab_bapiebkn-g_l_acct  =  '0000417000'.
    APPEND itab_bapiebkn.
    itab_bapiebantx-PREQ_ITEM = '10'.
    APPEND itab_bapiebantx.
    when i am adding the above data the p,r is creating sucessfully in the system.
    I need to add data in the item level services tab also.
    I am populating for services tab .
    *----- this part is not working
    itab_bapiservices-SERVICE  = '100217'.
    itab_bapiservices-PCKG_NO  = '0000000001'.
    itab_bapiservices-LINE_NO  = '0000000001'.
    itab_bapiservices-EXT_LINE = '0000000010'.
    itab_bapiservices-short_text = 'BREAKFAST CNTR TOP; AS PER SPECS'.
    itab_bapiservices-QUANTITY  = '680'.
    itab_bapiservices-BASE_UOM  = 'M2'.
    itab_bapiservices-GR_PRICE  = '23.00'.
    itab_bapiservices-MATL_GROUP = '007'.
    itab_bapiservices-PRICE_UNIT = '1'.
    append itab_bapiservices.
    I am populating data for service tab like given above.But the value is not get updaing in purchase requisation.
    Please let me know how to populate the data for service tab.
    with regards,
    ambrose
    itab_bapiebantx-text_line      =    'Test for Purchase requisiton'.
    APPEND itab_bapiebantx.

    Hello
    Try this:
        CALL FUNCTION 'NUMBER_GET_NEXT'
             EXPORTING
               nr_range_nr                   = '01'
               object                        = 'SERVICE'
             IMPORTING
               NUMBER                        = pacno
             EXCEPTIONS
               INTERVAL_NOT_FOUND            = 1
               OTHERS                        = 8.
    itab_bapiservices-PCKG_NO = pacno + 1.
    Also Note 499626 - FAQ: BAPIs in the service

  • Issue in Service tab and Sourc of supply tab validation in ME51N/ME52N

    Hello,
    I have requirement in ME51N/ME52N transaction for Validation of service number (under service tab) asigned Agreement number (under Source of Supply Tab)
    Requirement is like : get KONNR number(agreement number) from item level than get PACKNO fro EKPO table than get all the service number SRVNO from ESLL table.
    now get all the service number from Service Tab at item level.
    than validate service number in service tab should belongs to service number available only for selected KONNR number.
    I tried with BADI : ME_PROCESS_PR_REQ but there is not a single method is available which will return SRVNO details .
    and in user exits we also tried but not able to get correct exit or BADI which should return details of serviced numbers used in PR.
    please help to find out the correct way or other solution for this.
    thanks and regards,
    Tamseel Hashmi

    Hi,
    Make sure  item category D is selected in Purchase Req or Purchase Order.
    Thanks
    Silas

  • Services tab in Service Purchase Order for Limit SC is not filled in

    Hello All
    As per the standard behaviour if a Free text SC is created for Services , the PO is created with one line item having description as " service item " and under the Services tab we can see the line items.
    But when we create a SC from Limit for Services ( if we select Confirmation and Invoice ), The PO is created just like normal PO with item category as "D" and we do not see any line item in the Services tab in the PO.
    Could you please let us know why this difference between Free text SC and for Limit SC.
    Thanks in Advance.
    Regards
    Bharath Valleri

    Hello Bharath,
    What you describe is standard.
    1- Limit SC
    A limit item in SRM can give two kinds of R/3 PO items:
    b- If you set "Invoice and confirmation" during Limit SC item creation, this means you will confirm your item, so R/3 PO item for service can only be created as category item "D",
    Nevertheless, for your R3 PO item, you have populated an expected value (and you can fill in also an overall limit if check box "Unlimited" was not set at SC item creation).
    That's why "Service" tab is empty. The "Limit" tab is populated in this case: confirmation will be done according to PO item expected value and not according to PO item quantity
    a- If you set "Invoice only"during Limit SC item creation, this means confirmation is not allowed for you item, so R/3 PO item can only be created as item "B" (blanket). Blanket PO cannot be confirmed.
    2- Free text SC
    For a free text SC item with product type "Service", R/3 PO item will be a "D" category item.
    "Service" tab is filled in with quantity and net price: confirmation will be done according PO item quantity.
    So, main difference between Free text SC and Limit SC is quantity or expected value based confirmation.
    Regards.
    Laurent.

  • View workflow logs in services for object tab in transaction

    HI All ,
    Is there any settings that need to be done to see the workflow associated witha particular Tcode in Services for Objects  tab.
    Actually i  want to see the custom workflow logs other than using tcode swi1  .
    Regards ,
    Sijin K P
    Moderator message: not directly related to ABAP development, please see the Workflow forum.
    Edited by: Thomas Zloch on Jan 17, 2012

    Hi,
    You have to implement GOS (Generic Object service).
    Plenty of material available for it, you can reffer to meet your requirment.
    Regards,
    Manish

  • No PO Price tab when we create the PO for Service Material

    Hi MM Guru's
    when I tried to create the PO from PR for Service Material Type (DIEN), PO price Tab is not appearing in PO
    can anyone let me know why this PO price tab is not coming in case of DIEN material type
    Thanks in Advance
    Priya
    Edited by: Priya Kansal on Apr 23, 2010 6:16 PM

    >
    Priya Kansal wrote:
    > Hi
    >
    > There is no condition Tab at Item and header level
    >
    > Thanks
    How this is possible. You are creating PO in ME21n, right? It should be there. Look closely.

  • How to update CONDITIONS for SERVICES in ME51N, ME52N.

    Hi All,
    My requirement is to update the CONDITIONS for SERVICES for the transaction ME51N, ME52N. I'm using BAPI_REQUISITION_CREATE to create the Purchase Requisition.
    Thanks.

    Hi Swetha,
    u will definitely update the condition and services by using the bapi
    *BAPIREQUISITION_CREATE*_ 
    with regards,
    Kiran.G

  • Unhide "Services for object" tab (MM02, MIRO, ...)

    Hi, everybody!
    I'm in trouble with "Services for object" tab. I need it in transactions: MM02 and MIRO, but it is hidden.
    I'm not sure about it, but I guess this could be solved with the right authorization. Just don't know which one.
    Could anyone help me?
    Thanks in advance.

    Hi,
    I guess BADI GOS_SRV_SELECT could solve the problem. You may disable the change button and other functions (perhaps using authorizations as a trigger).
    *Structure IS_LPOR contains
    *INSTID * Obkey := keyfields of Business Object
    *TYPEID * i.e. BOR TYPE 'ZDGF_DG'
    *CATID * i.e. 'BO' for BOR
    Be carefull - It is used for all kind of objects - so add CASES for combinatons of CATID/TYPID and call an own function/method for each.
    Kind regards,
    Holger

  • Screen exit for invoice tab in me21n

    Hello,
    I have a requirment where i need to add push buttons at line item under the INVOICE TAB of transaction ME21N.Do we have a screen exit available for this?
    Thanks in advance,
    Suman
    Moderator message: please do some research yourself first.
    Edited by: Thomas Zloch on Dec 20, 2010 10:17 AM

    I have created the screen SAPLXTOB 1000 and 1001  as sub screens and activated them.
    Attached a project to the enhancement and activated it.
    Still I do not see the 'OTHER TAB' new screen on the transaction IE01/02/03.
    As per the documentation it shld have appeared.
    Do i need to do any customization/configuration here.

  • Req Assignment Tab page not coming for Service order

    Hi All,
             I am working on simple service order SM01 type scenario. where in i am entering the operation & time for the same.
    Now when i am going in to operation detail screen . I am not able to find out the requirement assignment tab page.
    Strangely when i am using same reference object & creating the Maintenance order PM01 & doing the same as above it is showing the req assignment tab page.
    Regards,
    Amar

    Hi , I have found out the solution for the same.
    I have found that the external scheduling flag is   
    set for order type SM01 in customizing. Since this is set, requirement    
    assignment tab will not be populated as this will be taken care           
    externally.                                                               
    Remove the flag in below customising path.
    Plant Maintenance and Customer Service--Maintenance and Service ProcessingMaintenance and Service Orders-Scheduling--External Scheduling--Define for Each Order Type                                                                               
    Once this flag is removed for order type SM01, this tab will appear       
    for service orders.                                                       
    Regards,
    Amar

  • Problem to find Exit Name for me52n

    Dear all,
                 Recently i've facing a problem for finding the exact Exit Point for transaction ME52N.Can anyone please help me for finding this?
    regards,
    sameek.

    Hi, read http://www.surfingincognito.com/index.php?q=aHR0cDovL2ZvcnVtcy5zZG4uc2FwLmNvbS9tZXNzYWdlLmpzcGE%2FbWVzc2FnZUlEPTQ0OTU5MDE%3D   You can use inside of methods additional metods-GET_ items, GET_DATA. Please ask from your abaper, he'd know how to use it
    Also check this ME51N / BADI ME_PROCESS_REQ_CUST
    Edited by: alex ice on May 7, 2011 12:47 PM

  • Service tab in ME52N

    Hello,
    We have an issue with number of columns in the services tab for an account assigned purchase requisition.
    One user is able to see the Order number(account assignment) column in the Services tab in line item detail.
    The other user does not see the Order number column.
    Where is the control to set up the columns that we want to see in services tab?
    Regards
    Vignesh

    Hi,
    Make sure  item category D is selected in Purchase Req or Purchase Order.
    Thanks
    Silas

Maybe you are looking for

  • Safari won't open after upgrading Mountain Lion

    The dialog box states 'Safari quit unexpectedly'. Restarting in regular and safe mode doesn't help. It seems this is a common problem from the blogs... Any suggestions?

  • ITunes 8 not compatable with XP SP3?

    today I updated my iTunes using the apple software update and it said during the install that the software did not clear the windows testing. when the install finished I restarted the computer like it said too.Now when ever I try to open iTunes I get

  • Text in F110

    Dear Experts, I would like to display field 'text' in document line item display in F110 I already added the field through SPRO-FA-AR/AP-Business transaction-outgoing payment-outomatic outgoing payment-Payment Proposal Processing- make Settings for D

  • F-32 to clear the Customer Account Balances through BDC

    Dear Experts, My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32. But i need to automate the process by writing BDC or BAPI or any FM. Pl help me by providing some inputs on that. Also he

  • Splitting Audiobook files

    Hello, I have an audiobook that I would like to burn as an audio CD. The main problem is that each of the seven files is at least two hours in length. How would one break it up as to fit across several CDs? I have a feeling that the word "GarageBand"