Display item level Error in ME21N

i want to display an Item level message in ME21N.
Currently the messages are been displayed but all the messages are displayed at the header level.
im using an exit for the custom validation which I am doing.
how can we indicate the message for each item at item level.
please help.

Use this badi.
ME_PROCESS_PO_CUST
method PROCESS_ITEM
      CHECK doctype NE 'UB'. "stock transport purchase order no restriction
      lt_accounts = im_item->get_accountings( ).
      LOOP AT lt_accounts INTO st_account.
        l_accounting = st_account-accounting.
        ls_mepoaccounting = l_accounting->get_data( ).
        CHECK ls_mepoaccounting-ps_psp_pnr NE space.
        SELECT SINGLE stufe FROM prps INTO v_stufe
        WHERE pspnr = ls_mepoaccounting-ps_psp_pnr.
        IF sy-subrc EQ 0.
          CHECK v_stufe LE 3.
          CONCATENATE 'WBS Element of Level greater than 3:'
          'IN Item:' ls_mepoaccounting-ebelp INTO l_text.
          mmpur_message_forced 'E' 'ME' '083' l_text ' '  ' '  ' '.
          CALL METHOD im_item->invalidate( ).
        ENDIF.
      ENDLOOP.

Similar Messages

  • Any way to display row-level errors in AdvancedTable from ProcessRequest?

    I have a page which displays data in an Advanced Table. Users are also able to edit the data on each row, and then save. Upon saving, it will validate the data, and display row-level errors (via either OARowValException or OAAttrValException). That's all working fine.
    The issue I have, is that sometimes data can become invalid from outside of this particular screen. So when a user opens the screen, some of the data displayed is already invalid. If the user saves, without changing anything, they'll see the errors. I want to show the errors immediately, without them having to save on every range of records. So I basically want to re-validate everything when it is first displayed, so from ProcessRequest. Is there any way to actually do that? I've tried several ways, but nothing seems to work.

    Hi,
    I havent used it but u can try with the below logic
    Write ur logic in AM...
    Import oracle.apps.fnd.framework.OAAttrValException
    Import oracle.apps.fnd.framework.OARowValException
    //Iterate through all the rows.
    if(attr1!=attr2)
       throw new OARowValException (
            getEntityDef().getFullName(), // entity full definition name
            getPrimaryKey(),              // entity object primary key
            "FND",                        // message application short name
            "ATTR_EXCEPTION");            // message name Regards,
    Gyan

  • Item level messaging for Me21n

    Hi,
    Can macro mmpur_message be used to populate error message on item level of Me21n.
    Regards.
    Kusum

    Hi kusum,
    Please check SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log
    Best regards,
    Christian

  • No organizational data exists on item level (error message)

    Hello everybody,
    I still have this error message when try to create a shopping cart : 'No organizational data exists on item level'
    Following a lengthy discussion with SAP Support, SAP recommended that I remove the reference of the Purchasing Organization and Purchasing Group to the backend system (R/3).
    After removing the reference I was able to complete the SC creation process, but I got an error at the PO creation process, where I am unable to release the PO since it is not linked to a backend (R/3) Purchasing Organization/Group.
    I am currently using SRM 4.0 with EBP 5.0 in Extended Classic Scenario.
    I need an Urgent help on this issue !!
    Thanks,
    Lina

    Hi,
    If You have own PO document type (ZCS) then don't hange it.
    in SYS attrib add a local EBP system
    If you don't use local categories, You don't need to add product cat. * for local system.
    in my ppoma_bbp company have two purch orgs.
    -for local (fields with purch org and system id is empty)
    -for backend (fields with purch org is filled from backend system.)
    Example:
    Company (function with company code PW01\R3100)
    - Purch org local (function purch. org. checked but not filled)
    - Purch group local (function purch. group checked bud not filled)
    - Purch org backend (function purch. org. checked with values PZ1\R3100)
    - Purch group backend (function purch. group checked with values PZZ\R3100)
    Regards,
    Marcin Gajewski

  • ALV Display for Item & Sub-Item Level

    Hi Experts,
    i am developing one report and i want the display it in ALV as shown below.
    Item Level:
    Tax Jurisdiction    state     current balance       prior balance
    3900000               LA           10000                    15000
    Sub-Item Level:
    Jurisdiction Cd.   Posting Date       Type   Doc. no.    Amount
    3902948101        05/03/2008       AR      139          30,998.00
    3902948102        05/06/2008       AR      176         -56,987.00
    3902948123        05/11/2008                  178         -20,987.50
    3902948190        05/20/2008         AP      189          76,000.00
    3902948108        05/22/2008       GL       192          45,060.50
              Account Total                        74,164.00
    How can i achieve this for displaying Item Level And Sub-Item Level.
    Thanks & Regards,
    Ramana.

    hi,
    Plz refer this link for displaying hierarchical list in ALV.
    http://voiceofabap.blogspot.com/2008/05/how-to-use-alv-for-hierarchical-lists.html
    regards
    Sumit Agarwal

  • How to derive amount posted in GL account at invoice item level.

    I want to designe an Audit report where in the report should display item level revenue / Tax / Insurance posted in each GL Account.
    In other words, when the Accounting document against an invoice, it gives the entire value of invoice posted in respective GL accounts. I need to have a break up at item level.
    From SD point of view, the Account determination procedure logic could be incorporated but it may creata performance issue in system as the report may be run for a years period.
    Is there any other logic / table reference?
    The matter is urgent.........

    Try S_ALR_87012291 - Line Item Journal .
    pls assign pts to say thanks.

  • Invoice Item level break up for GL accounts

    I want to designe an Audit report where in the report should display item level revenue / Tax / Insurance posted in each GL Account.
    In other words, when the Accounting document against an invoice, it gives the entire value of invoice posted in respective GL accounts. I need to have a break up at item level.
    From SD point of view, the Account determination procedure logic could be incorporated but it may creata performance issue in system as the report may be run for a years period.
    Is there any other logic / table reference?
    The matter is urgent.........

    Try S_ALR_87012291 - Line Item Journal . It is SAP standard and gives the details of GL postings. Enter your invoice and have a look.
    The tables are BKPF ( Header ) and BSEG ( line item ).
    pls assign pts top say thanks.

  • Updating Ekpo by adding item level Screen Exit

    Hi,
    I added 2 fields at the item level of the ME21N  Screen using the following screen exit.
    ( SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item. )
    Now I just want to update EKPO table.,. How to proceed. any body know guide me.
    Thanks & Regards.
    Balajee.J

    Hi Mou,
    In this there are four methods
    1)ACTIVATE_TAB_PAGE
    2)TRANSFER_DATA_TO_SUBSCREEN
    3)TRANSFER_DATA_FROM_SUBSCREEN
    4)PASS_FCODE_TO_SUBSCREEN
    In thw first method pass the tabname,screen no,position all.
    fcaption = 'C Form Details'.
    fprogram = 'Z_VLO1N_HEAD'.
    fdynpro = '0200'. This is the screen created and kept all custom fields
    Here you the concept set and get data and move and get the values.
    TRANSFER_DATA_TO_SUBSCREEN
    set PARAMETER ID 'Z' FIELD  f_vbrk-ZCF.
    TRANSFER_DATA_FROM_SUBSCREEN
    get PARAMETER ID 'Z' FIELD   fvbrk-ZCF.
    Pass all these parameters it will resolve your issue.Check and post if need help.
    Regards,
    Madhu.

  • Display Header data to item level in me21n

    Dear Friends ,
    I have the  requirement that Incoterm field in me21n at header level while creating purchase order needs to get reflected at item level too. Currently it is blank (at item level).
    Is it the development or Customisation?
    Can anybody please explain me how to go abt it?

    If you enter an Incoterm on header level, this is valid for all items that do not explicitly have an Incoterm.
    If you then enter an Incoterm on item level, this overwrites the Incoterm entered on header level.
    So it's not clear why this requirement has come up.
    http://help.sap.com/saphelp_srm50/helpdata/en/0c/b91b3f7f9e3642e10000000a114084/content.htm

  • Error message in the IDOC at item level

    Hi,
    Iam working on IDOC.when idoc failed i get the that idoc error message and displaying in the report at header level.But my requirement is to diplay the error messages at the item level.Is it possible to display the error messages at the item level?For example for IDoc number is 30000045.For this idoc number 7 line items is there like 1000,1001,1002,1003,1004,1005,1006,1007.i want error message line item wise.Kindly suggest me.
    Regards,
    Sujan

    hi sivaprasath,
    write the custme code as per your requirement so that it will do..user exit or badi .
    ~linganna

  • Multiple Error message at Item Level....

    Hi all,
    I have some doubt into display multiple error message from item level.
    The scenario is, I have to run some validation at each line item. If validation fails error message is population. Now suppose user ignore the error message or with that error user creating new line item and again because of validation some error occurs, then both error message should display all together but system is displaying only last message not previous one. This is happening with both the classes CL_BSP_WD_MESSAGE_SERVICE' and CL_CRM_GENIL_GLOBAL_MESS_CONT.
    But if I check same thing with standard validation all error message display all together.
    Any suggestion through which I can combined all message and display together.
    Thanks
    Gaurav

    Yes.I have tried ADD_MESSAGE method of the CL_BSP_WD_MESSAGE_SERVICE class.
    Thanks
    Gaurav
    Any suggestion from experts..
    Regards
    Gaurav
    Edited by: Gaurav Mehta on Dec 3, 2010 2:18 PM

  • Exit or badi for me21n- for adding new field in delivery tab(Item level)

    HI,
    My Requirement is to add the New Field(Inspection Lot) in delivery tab in item level of me21n .
    I want to know this can be done by any Exit or Badi or modifying the standard sap is the only way to do this... 
    Kindly help me to solve the issue..it's quite urgent , i unable to find one,i used the exit mequery1 but did not work ......
    Thanks in Advance.

    Hi Nagaraju,
    Actually,for every T-code,SAP has provided a lot of BADIs where the customer can write their own codes depending
    upon the functionality required.
    In order to find the BAD for a particular T-code,go to the T-code SE24 and type in cl_exithandler and click on
    Display.
    You will get a list of methods in that class,double click on the Get_Instance method from the list.
    you will get the code for that method.Scroll down and you will find one of the parameters "Exit Name" there.Put a
    breakpoint on that function module and press F8.
    In the debugging mode,double click on the Exit Name to get the value contained in it.You will see the first BADI
    provided in that T-code.
    Note down this and then keep on pressng the F8 and noting down the BADIs being displayed.
    Now ,you will have to find out the BADI which fits your requirement.
    Now,it is not required to opy that BADI into ZBADI.Instead it is better to create a new implementation for this
    BADI.
    Go to the T-code SE18 and see its definition.
    Now,go to the T-code SE19 and create a new implementation and write the code there.
    Once done,activate that implementation and the BADI also.
    Now run the T-code and debug the code that you have written.You can modify the code accordng to your requirements.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • User exit - for ME21N, 22N, 23N - at line item level

    Hi,
    I want to add new text field to display the description of the MPM(material) in it.
    That filed I want to add to the Account Assignment tab at item level.
    How to add that field on the screen, I mean any screen exit for this?
    and function module to pass the data to that field.
    If anybody worked on such problem then pls. let me know.
    Thanks in advance.
    -- Umesh

    Hi,
    These are the user exits for me21n.                
    AMPL0001          
    LMEDR001          
    LMELA002          
    LMELA010          
    LMEQR001          
    M06B0001          
    M06B0002          
    M06B0003          
    M06B0004          
    M06B0005          
    M06E0004          
    M06E0005          
    ME590001          
    MEETA001          
    MEFLD004          
    MELAB001          
    MEVME001          
    MM06E001          
    MM06E003          
    MM06E004          
    MM06E005          
    MM06E007          
    MM06E008          
    MM06E009          
    MM06E010          
    MMAL0001          
    MMAL0002          
    MMAL0003          
    MMAL0004          
    MMDA0001          
    MMFAB001     
    Regards
    praveen

  • Adding a column at item level while creating PO using ME21N

    Hi,
    My requirement is to add new column in Item overview of PO at the time of creation. Same should be displayed in ME22N and ME23N.
    I tried doing same using BADI ME_PROCESS_PO_CUST using interface PROCESS_ITEM after adding field QSSYS in EKPO table.
    I have also tried exit MM06E005  / EXIT_SAPMM06E_013.
    Kindly let me know steps.
    Thanks & Regards,
    Vidhi

    Hi Vidhi,
    I think you can not add new column in standard one. Create a custom tab at item level and use that.
    [Me21n Tab|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29]
    Regards,
    Madhu.

  • Adding new field in ME21N items level NO ADDITIONAL TAB or SUBSCREEN

    Hello Gurus!!
    I have a requirement where I am just trying to add a new field ZZ*** at Item level in ME21N (and no new tabs please)
    I got the modification key and now wat i see is that in screen 1211 SAP has some field mappings with metadata.
    Refer to Include LMEMFSF0T.
    Can you please help me how sud i proceed or  wat can be an alternate way out to solve.
    regards,
    Prasenjit Singh Bist

    Hi,
         Another way of doing the same is to use screen-exits for the transaction. You can use the standard enhancement MM06E005 in SMOD for the Purchasing related custom fields. You can add the fields in the screens 0101, 0111 of program SAPLXM06 to get the fields in the tab 'Customer Data' at header level and item level for ME* transactions.
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_008 
                        are the function modules where u need to do the coding.
    and the fields u have added need to be included in the  includes
    CI_EKKODB
    CI_EKPODB
    of EKKO and EKPO for header level and item level respectively.
    Regards,
    Vishnu Priya
    Message was edited by:
            Vishnu priya
    Message was edited by:
            Vishnu priya

Maybe you are looking for

  • How to switch from reverse alphabetical order?

    Please forgive a newbie question: when I open a list view of my hard drives in Finder, the names of the folders are listed in reverse alphabetical order, with the Z's on top, and the A's on the bottom. How can I change it so that it displays the A's

  • Need Information on Sourcing cockpit and Business rule framework

    Hi Experts, I am having 2 general qustions : 1. ) What is sourcing Cokpit and what are the things that we can done from sourcing cockpit.Please explain in detail. example  : what i knw abt sourcing is...... It means from where we are going to source

  • Differences between the Mac and PC versions of Premiere Pro CS5

    Hello. I am considering to buy the Educational version of Adobe CS5 Production Premium (mainly using Illustrator but once in a while photoshop and Premiere). For Premiere CS5, how is the Mac version compared with the Windows version? Is it better or

  • Processing messages XI

    Hi all, I am going to explain my issue: First of all, in my interface I have a mapping that converts Idocs to an outbound structure. Then, that structure is used to call a BPM that gets another information. If I launch 5 IDocs, in sxmb_moni transacti

  • How do I get CS5 updated to read raw format photos

    Why doesn't Photoshop read raw format photos from Nikon D600? I've tried downloading new versions of "Camera Raw". It downloads and installs successfully, but I still can't open the files in photoshop.