User exit for idoc extension for material master (matmas05)

Hello all,
I have 10 custom fields added to anl idoc of basic type matmas05.
i created a new segment under parent segment E1MARA1
Now i want to find out the user exit where in i can write a code to read the data of this segment and populate into the data base table.
Can anybody provide me with the name of the user exit?
Regards,
Roshani

Check enhancement MGV00001 in SMOD.
Exit Fm is EXIT_SAPLMV01_002
Regards,
Naimesh Patel

Similar Messages

  • Restrict material groups  at PR/PO creation for items w/o material master

    Dear SAP experts
    I have one question related to restricting material groups which are possible for selection during purchase requisition or purchase order creation.
    The material group is created and several material master records are linked to it. Now the requirement is that when users are creating either purchase requisitions or purchase orders it shouldn't be possible to select that specific material group>
    But this should be valid only if PR or PO are being created for items without material master record. If PR/PO is created for item with material master record then the restriction should not take place.
    What would be the nicest solution to achieve that?
    Thank you all in advance for your help.
    Regards,
    Miha

    Hello Prakash
    Thank you very much for your answer. i think it is a very good starting point.
    However I am not too familiar with authorization group configuration of material groups.
    Right now in our system (transaction OMSF) field authorization group is empty for all existing material groups.
    Does this mean that for the material group that I want to have restricted I need to have two entries: one with Authorization group ZOK and another with ZNOTOK (or whatever the naming would be)?
    Furthermore I would like to ask you where is then the link between authorization group and user exit?
    And thirdly: do you perhaps have some more details which user exit(s) are relevant for our topic?
    So far thank you very much and I hope that you can provide me also with additional info.
    Rgds
    Miha

  • User-Exit/Badi/Funtion Module for update Batch in transaction CORK

    Hi Gurus,
      when an IDoc 'Z' is executed to do a confirmation using the FM CO_RU_ORDER_CONFIRMATION, the values of transaction CORK are modified.
      I'd like to update the field batch number so when you enter a process order in transaction CORK and then you click on Components, you'll see the list of component and the batch number updated throught the custom IDoc.
      Does anyone knows any user-exit or Badi or maybe a FM to implement so when the first confirmation is done, the batch numbers are updated?
    Thanks in advance.

    Hi,
    You can copy and paste the Report code below. This will give the list of User Exits and BADIs available for the Transcation code. Very usefull program.
    Below code will give a list of BADIs for particular transaction.
    =============START
    *& Report ZNEGI16 *
    REPORT ZNEGI16 .
    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.
    ================END
    <b>Reward POints if this helps.
    Manish</b>

  • No delivery expediter for PO item without material master

    Hello gurus,
    when I create a PO with an item without material master (just user-defined text), my system does not create a delivery expediter in ME91F, although the delivery is overdue. When I use a material master in the item, the expediter is created just fine.
    Does anyone have an idea what could be wrong here?
    Thanks
    Alicia

    Hi,
    Check in ME22N, under "Delivery" Tab whether following is maintained
    Reminder 1
    Reminder 2
    Reminder 3
    If not then maintain ad if you want it to come automatically in PO then check in SPRO > MM > Purchasing > Material Master > Entry Aids for Items Without a Material Master > Here assign the Purchasing Value Key to the material group
    It will start picking it for this material group for Text PO also.

  • User exit at item level for billing block field default for VA41 or VA42

    Hi All,
    I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
    which has to populate with some default value.
    Which user exit i need to check.
    Regards
    Jai

    Hi,
    Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
    Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
    Regards,
    Ashok.

  • User exit or a badi for checking the vendor email id in me22n on me29n

    hi all,
    can anybody suggest me a user exit or a badi  for checking the email id of the vendor in me21n or me22n or me29n.
    i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
    plz suggest me a solution its urgent.
    regards,
    santosh

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Kindly give authorization object for mrp type in material master

    Hi friends,
    Kind tell me what is the authorization object for MRP type in material master.
    Your help is considered more important.
    thanks in advance
    willaims

    hi,
    check your authorisation objects here:
    Go to PFCG --> Environment (at menu bar) --> authorization objects --> Display...
    Here see for MRP and MM for material managament in the tree structure...
    Regards
    Priyanka.P

  • Purchasing info records for PO-items without material master

    Hi gurus,
    I would like to have the system automatically determine certain settings (e.g. reminder/urging data).
    For PO-items with material master there is no problem, because all information can be stored in the purchasing info record, and are automatically found when I enter the material number.
    For items without material number/master I tried to generate a info record for the material group. When I enter the no. of the info record, everything works fine. But the info record is not automatically found, if I only enter the material group no.
    Is there any way to make the system find the info record by itself?
    Thanks
    Alicia

    Thanks to both of you!
    Priyanka:
    How can you create a source list for a material group? I thought this was possible for materials only!?
    Of course, you cannot have more than one info record at a time for a material group. But one would be enough for me...
    Dhruba:
    Thanks for the advice, but I know how to manually select a info record. The point is, I'd like to have the system determine it according to the material group I enter.
    Any other ideas?
    Alicia

  • IDOC: Problem with data filter for IDOC extension field

    Hallo!
    I've created an idoc extension for the basic type DEBMAS06 that works fine. Now I want to use a data filter for one field ( company code ) of my segment. Every segment with a company code different from 100 should be filtered and not send to the other client. But what happend is that for all customers that have at least one company code different from 100, all segments including the one with cc 100 were deleted and a error "Segment ... does not exist for message type DEBMAS" appeared on the screen.
    Does anyone have any ideas about this problem?

    Not sure about changes to be made at the filtering options.
    An alternative would be sending the data to XI as it is and perform the mapping to remove the unnecessary segments.
    Disadvantage: Unnecessary processing of segment would be done at XI.
    Advantage: The integration logic would be completely handled by XI.
    Regards,
    Prateek

  • User-exit on APO side for the deliveries that are coming from R/3

    Hi,
    When a delivery is created in ECC for a VMI customer, it creates an EI order in APO. We need to record some details of these orders on the APO side.   Can you please let me know the user exit/BADI that gets triggered when a delivery comes to APO through CIF which we can use for our requirement?
    Thanks in advance.

    Hi,
        You can use APOCF006(EXIT_/SAPAPO/SAPLCIF_PU_001) CIF User exit on APO side for CF_OBJECTTYPE = B(Delivery).
    I hope this will help you.
    Regards,
    Saurabh

  • IDOC EXTENSION FOR DEBCOR

    Hi gurus,
    can anyone of you please tell me step by step procedure to create an idoc extension, lets say for DEBCOR.
    Thanks,
    Rajeev

    hi rajeev...
    can u please share me the detail description of how to go for Idoc extension with an example.

  • Entry Aids for Items Without a Material Master - usage

    Hi
    Can anyone tell me what's usage of "Entry Aids for Items Without a Material Master"  (spro-mm-purchasing-mat master-entry aids..)
    and what it controls???

    Hi,
    In this step, you can assign a purchasing value key and a valuation class to a material group.
    The assignment of a purchasing value key provides you with default values for reminder levels etc. in purchase order items without a material master record and without an info record.
    The assignment of a valuation class to a material group enables the system to determine different accounts for the individual material groups.
    This is usally useful for creation of PO and account posting for materials without an MMR.
    When you create a PO you mention only the material group, based on which the purchase info like the Deadline monitorying, over/under delivery tolerances, Vendor evaluation etc gets incorporated into the PO. The account posting will get captured against the Valuation class maintained to the Material Group for which the GL account mapping will be done against the V.Class in the OBYC.
    Regards
    Merwyn

  • User exit in VLPOD transaction for populating difference quantity

    Hi All,
    I have to update populate and validate the different quantity in sales unit (TVPODVB-LFIMG_DIFF) and the corresponding reason while creating Proof of Delivery using transaction VLPOD.
    Please suggest a suitable user exit and program name for the same.
    Thanks,
    Abhishek

    Check the Badi "MRM_HEADER_DEFAULT".  Badi documentation reads
    In what business and technical context is the BADI?
    You can use the Business Add-In MRM_HEADER_DEFAULT when you enter an incoming invoice,
    to define certain default values for the header fields (for example, document type, header text,
    invoice date, posting date). In this way you can specify the document type independently of the
    company code or transaction.
    Regards
    Vinod

  • USER-EXIT on SAVE event for IE01

    Hi,
    I need USER-EXIT on SAVE event for t-code IE01.
    EXIT IEQM0003 work only first time after pressing "SAVE".
    IF i press "SAVE"  second time equipment will be created.
    Edited by: andriy.hulyk on Jan 26, 2012 12:45 PM

    Here is my code:
    IF DATA_ILOA-TPLNR IS INITIAL.
      AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
      ID 'ZZFLC' FIELD '*'.
      CASE SY-SUBRC.
        WHEN 0."SAP-ALL User
          EXIT."OK
        WHEN 12."User without restriction
          EXIT."OK
        WHEN OTHERS.
          AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
          ID 'ZZFLC' FIELD '01'.
            CASE SY-SUBRC.
              WHEN 0."Create eq. only with FL for some work centers
                MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
            ENDCASE.
        ENDCASE.
    ENDIF.
    If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work(

  • Idoc segments for additional UOM in material master

    HI, I have three questions
    a) we have the follwoing data defined in material master (additonal data)
    X UOM Y UOM EAN
    1 LITRES 1 LITRES NIL
    1 IGB (inner packg) 20 LITRES 345922222222
    1 GBE (packg) 20 LITRES 345922222222
    I need to know what is EAN no and in our case the EAN no is same for both inner packg and pack. . what does this mean. Sometimes we also see the EAN no is different. why... what it signifies ?
    2) We have outbound idoc trigerred from delivery. message type is WHSOD. in one of the segments (E1EDL24), the system shows the delivery qty and material no. This segment also shows the EAN NO AS 345922222222. In segment E1EDL26, the filed UMVKZ shows as 1 which is ok (numerator as shown above) but the numerator field shows 1 only (it does not show 20 litres,, i think the field name is UB something ).
    I need to know why the system is not showing 20 litres in numerator in the filed for segment E1EDL26.
    3) Had we have two different EAN in material master as above, did our standard message type would have shown the conversion factors (numerator and denomi ) as per the EAN nos.....If yes, then in which segments ,the WHSORD shows the Conversion factors based on different EAN nos in material master-UOM tab (for instance if 1 GBE (packg) = 30 LITRES and EAN IS 345911111111.... I think there will be as many segments in idoc as there are entries in Additonal data-UOM tab )
    rgds
    pamela

    Hi,
    As for as i know EANs  are not relevant to unit conversion. This is a number which uniquely identifies a material for a particular UoM.
    And regarding the numerator and denominator, check whether any logic is added in the corresponding segment which overwrites the value

Maybe you are looking for

  • How do I reset my adobe password on macbook air?

    I want to up date Adobe Flash Player on my Mac Air. I need to reset my Adobe password.  How do I do that?

  • Error while using DBMS_XMLSave package...

    Hi All, I am using DBMS_XMLSave package and when I try to execute the following code, it is giving me error "Java call terminated by uncaught Java exception:" I am executing following code .... declare insCtx DBMS_XMLSave.ctxType; begin insCtx := DBM

  • Failing to print report on some printers

    Hi All, I am hoping someone can assist with a problem I am having. I am printing a crystal report from a .Net Webservice. The code works perfectly on many sites and on my development environments. There is however one site that we are experiencing a

  • Sample ringtones

    Thanks ahead of time for your help ... new bonehead on the block I notice that the sample ringtones only go up to the letter "F"  (Fur Elise) ... where's the rest of 'em?  Thanks, Deb 

  • CRM_ORD_OP - Auth to own documents  CRM Security

    Hi all,       In CRM, I built a role that should allow a sales rep( to whom the role is assigned) to display only the documents created by him using the CRM_ORD_OP authorization object . But when he clicks on the search button he is able to display a