ME22n-item overview userexit/badi

HI experts,
i need to add some Validations in the ME22n screen for the item overview screen.
could u give me any solution for the above,is there any userexit or badi to do,
thanx in advance
regards,
PPP

run this program and give the tcod..u will get all the user exits and BADIs
*& Report  Z_FIND_BADI
REPORT Z_FIND_BADI .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
* Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
* Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
* For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
do 2 times.
enddo.
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K

Similar Messages

  • ME22N Item Overview - Field of Netvalue Display.

    Hi Experts,
       When Executing Me22n the netvalue field (MEPO1211-NETPR)  in the Table control of Item overview is not displayed in the production server. But it is displayed in the quality server. We could not understand the issue.
    Please advice what  action to be takeN.
    Regards
    sudheer

    hi
    good
    i think there must be some configuration difference between Quality Server and the Production server, so when you r passing the data that is displayig in the Quality Server is not displaying in the Production Server.
    Consult your MM functional consultant to check the configuration of the production server.
    thanks
    mrutyun^

  • UserExit/BADI for ME22N services tab

    Hi all,
         My requirement is that, I need to do validation of the Service Quantity of Purchase Items in ME22N transaction (ie. Change PO).
    I have tried a BADI  "ME_PROCESS_PO_CUST", but I am getting only the PO item quantity in this BADI, not the service quantity.
    Can any body suggest me a correct  UserExit/BADI  to to the validation of Service Quantity.
    Regards,
    Anbarasan K

    Thanks Charlie.
    The user exit SRVESLL worked.

  • Can I fullfill from BADI customer fields that appear at item overview ?

    Hi,
    I can see that in SAPLBBP_SC_UI_ITS 120 (item overview) I have fields CUST1...CUST5.  called in runtime GT_SCR_ITMOVR_I-CUST1....
    I have tried to show content using a screen variant, but I haven't achieved. I think that is working but this field doesn't have value although I have customer fields at position level in the shopping cart. Even I have tried to call one of my customer fields CUST1 but without result
    Is possible to fullfill this content from BADI, without standar modification
    Best regards

    Hi,
    Data in custom fields can be filled using BADI BBP_DOC_CHANGE_BADI.
    In this BADI you can place your own logic to fill data in these fields.
    After BADI implementation data will appear in these fields.
    Hope this will solve your problem.
    Regards,
    Brajvir

  • ME21N - badi or exit to check waers for header and item overview

    hi all,
    i need to raise error message, after checking the header (delivery/invoice tab) - currency and item overview - currency.
    if they are not equal, then error message must be given and should be stopped from document posting.
    i was trying with the EXIT_SAPMM06E_012 and include zxm06u43.
    but i could not fulfill the requirement. actually i could not find in what table the item overview currency is being stored. it is having the screen field (MEPO1211-waers).
    how to proceed with this.
    plz help me in this regard.
    Sakthi Sri.

    hi verma,
    i was checking with the BADI >ME_PROCESS_PO_CUST, as you told, and in PROCESS_ITEM i am writing my code as follows,
    METHOD if_ex_me_process_po_cust~process_item .
      DATA: ls_mepoitem TYPE mepoitem,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg,
            ls_mepoheader TYPE mepoheader.
      DATA: i_ekko TYPE ekko.
      ls_mepoitem = im_item->get_data( ).
      ls_mepoheader = im_item->get_header( ).
      IF ls_mepoitem-waers NE ls_mepoheader-waers.    "i_ekko-waers.
        MESSAGE e000(z1) WITH 'error'.
      ENDIF.
    ENDMETHOD.
    but is giving error ' The result type of fn. method cant be converted into the type ls_mepoheader'. how to correct this error.
    thanks,
    Sakthi.

  • What User Exit can I use to add a cust field to PO Item overview in ME23n?

    Hi,
    I need help!
    Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    We are on release SAP ERP Central Component 5.0

    Hi,
    Thank you for the response.  I tried this and found  Badi ME_PROCESS_PO_CUST.  Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    Thank you for help - much appreciated,
    Vicki

  • VA01 : How to add field ship to party to tab Item Overview

    Standard SAP is filling the ship to party on item level by default with the value entered on order header level. In case you added multiple items for an order and you want to change the ship to party for 1 or 2 items, you have to doubleclick on the line and then go to tab Partners and change the ship to party item by item by using the next and previous item button. We would like to add a column including the SH partnervalue to tab Item Overview (sapmv45a 4900) so we will be able to change the ship to party for an item on 1 screen. Is it possible to add a new colum (via a userexit / badi)?
    kind regards
    Angelique Heutinck

    Seems its not possible through standard SAP.we had the similar req in our project so what we did is we append the structure VBAP and added one new z field .... i reckon the same way you can do it for ur req as well.in short you need the access key.
    Please do let me know if u fnd another way to fix the problem i mean without access key.
    Best of luck
    Jess

  • Add item detail field into items overview table on ME2xN transactions

    Hi all and happy new year !
    We want to add an item detail field (manufacturer part number = MEPO1321-MFRPN) into items overview table
    on ME21N, ME22N and ME23N transactions.
    Does someone know if it's possible with a badi or other kind of exit ?
    thanks for your help
    Eric

    Hello Eric,
    If you want to system to show  Mfr Part Number you must not maintain the "MPN Profile" in materail master.
    But if you are using a material with profile, you will only get these fields pooulated  if you order the MPN material, and not the internal one. See also information in note 615722.
    Regards,

  • Adding a new column to item overview screen 4900 in sales order transaction

    Hi All,
    I want to add a new column to refer to a custom field in screen 4900 ( Item overview screen ) in sales order transaction. Please suggest appropriate exit or BADI for the same. Give all steps to do the same.
    Thanks in adavance.
    Jawahar.

    Hi
    As the link that RamKi let us know, this is a modification, so, I suggest to avoid. See SAP Note 862228 - Order reason for returns on item level for further information. I suggest to use the other enhancements in tabs.
    Regards
    Eduardo

  • Need userexit / badi / bte to enhance the automatic clearing rules

    Dear All,
    My requirement is to enhance the automatic clearing rules for tcode ff_5.
    Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
    The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation set of standard algorithms do not meet the clearing criteria.
    Hence I need userexit / badi / bte to enhance the automatic clearing rules. EXIT ZXF01U01 / FEB_BADI are triggering before posting the document.
    So we cannot use these. Please suggest me regarding the same.
    Thanks in advance
    Somu.

    Hi,
           Did you get a solution for this problem from any other means? Cause I am also facing the same problem. It will be great if you can  help me in this regard.
    Thanks
    Sudheer K

  • Add custom fields in VL02N under Item overview tab

    Hi,
    In VL02N, I need to add two input fields under the tab "Item Overview"...
    I found the BADI  LE_SHP_TAB_CUST_ITEM but it is for adding a new tab i guess....
    Is there any way to add fields under item overview only ??

    Hi,
    find the enhancements for those transactions by using SE24 or  goto transaction > choose status option> find program name--> enter program name in SE38 --> goto attributes and find the package --> then goto SE84  give the  package name in the enhancements.
    If u want to add the custom field  in the perticular tab -> goto that perticular screen> click on status button> find the program name and screen no:> go for SE51 give tha deatils and find the enhancement .
    Thanks,

  • Custom fields in PO item Overview

    Hi Everyone,
    I have a requirement which i need to display the custom fields in the Table Control(Item Overview) of PO. Since our Version is 4.6C there is no badi's avilable to do the changes. Please let me know how can we solve this problem.
    Mentors: Forgive me if it is repeated Post...

    Hi,
    Search for user exit...either screen or field exit..this will solve your problem.
    Small help on how to find a exit;
    1. find out the package
    2. go to se84 with the help of package in the cutom exit tab look for all the exit.
    3.put the brek point and tack where you can get the solution.
    Pooja

  • Adding new column to item overview tab of warranty claim

    Hi all,
           I need to add an additional column to the item overview tab of the warranty claim.( transaction WTY ).
    If anyone has done this before then please send the details as to where and how this needs to be added.If added what are the necessary tables which needs to be updated.Is there any BADi or user exit to change and update this data .. ?If not how can this be done .. ?Is this a feasible requirement.. ?Please let me know soon.
    Cheers
    Nishanth

    Hi Neelima,
    Please investigate the use of customer fields for meeting this requirement.
    Regards
    Azad

  • PO Change Item Overview

    Dear Friends
    My end users have a requirement as follows
    In the PO Screen (ME21N, ME22N, ME23N) Item Overview sub Screen, there is a field call "RU" (Requirement Urgency)
    User want to set it as the second field in this screen
    is is possible? then how please give steps
    Thanks in Advance

    Hi.
    MM06E005 (Customer fields in purchasing documents), which in short allows you to add a new tab to either the Header &/or Item screens called "CustomerData". On this new tab, you can adjust accordingly.
    Thanks

  • Changes in custom tab shud reflect in std Item overview tab in VL32N

    Hi all,
    I have added a custom tab (Overview tab) in transaction VL32N and Vl33N using the BADI "LE_SHP_TAB_CUST_OVER".
    Now for transaction Vl32N,when I change delivery ,if i change the quantity field in teh  custom tab,then the chnages have to be reflected in the std ITEM OVERVIEW tab .Is this possible??
    My understanding was ,I cna do changes i n the std tab and those will be rfelected to the custom tab but not vice-versa.can someone pls confirm?
    Thanks.

    Hi xperts,
    Please advise.Is this requirement doable?

Maybe you are looking for

  • Discoverer Plus not working in Internet Explorer

    IE 6.0 on Windows 2000 professional SP4 and all of the patches up to date. Latest Java run time from Sun. I hit the link to Plus and it will eventually bring me back to the login screen with all of the parameters empty. It also opens a new window whi

  • Problem running a jspx page on 11.1.2.4.0 on the integrated weblogic server with 11.1.1.6.0 already installed

    hi friends, i have installed a different version of JDev 11.1.2.4.0 as per my new job requirements and i am unable to run my .jspx page ... i already have 11.1.1.6.0 installed and running ... the following is the error that i am getting... can anyone

  • How do i repair a corrupt hard drive and i lost my install disk

    My Macbook started acting up....when rebooting there was a flashing file folder with a ? inside. Finally got to reboot, ran Disk Verfiy and my hard drive is corrupt. We just moved and I have no install disc. How do I repair my hard drive?

  • Trouble with mini ipad after ios 7

    Since IOS7 cannot enter to the appstore in my mini ipad, just by the desktop;its asking me several times my apple ID but does not enter or do anything. Anyone with the same issue? How do I fix this?

  • Getting control of a domain name

    a prosepective client has approached me the problem is that there has been some sort of dispute with her old web designer. also it turns out that the host is a sole trader who knows the developer personally. so neiter of them will give me access to t