Exit in  IDOC_INPUT_INVOIC_MRM

Hi,
There is an user-exit that allows you to change the document type and replace that of customizing.
thk.

solved exit EXIT_SAPLMRMH_015

Similar Messages

  • User exit in IDOC_INPUT_INVOIC_MRM?

    We are using IDOC_INPUT_INVOIC_MRM to post invoice. Our input idoc will have custom  segments where customer purchase order number will be stored. This customer PO number is not equivalent to SAP PO number, but can be related to custom (zz field) in EKKO.
    My requirement is to translate this customer PO number to SAP PO number ..
    1) Is user exit EXIT_SAPLMRMH_011 a good place to update the E1EDP02 (the appropriate qualifier 001) with the SAP PO number? My only concern in doing it here, we may need to actually tamper with IDOC data and insert segments (so not comfortable with this option)..
    2) or have the vendors populate the customer PO number populated in E1EDP02 segment (qualifier 002) instead of custom segment .. And use the same user exit to update the E1EDP02 segment with SAP PO number. This involves modification of IDOC data also (but no insert involved).
    the following step in IDOC_INPUT_INVOICE_MRM requires the PO number. Thatz why  I want to get the SAP PO number so early and not in later user exits where I can directly update the FRSEG internal tables.
         PERFORM po_data_prefetch
            TABLES idoc_status
                   idoc_data       
            CHANGING  mrm_subrc.
    Do you guys think it is the good alternative? or What do you guys think is a better approach? Thank

    Option 1 is not too uncommon to do with IDOC user exits. In fact in some of the user exits, we wiped out entire segments and added new ones for some business reasons. So I suggest not to rule out the option 1 entirely. The problem with option 2 is that you are dealing with external entities(your vendors) to provide you with the information. These external entities are not under your control. If you ask even one vendor to change, they may have to go through their own development life cycle and test cycle before even they can provide the information you need. Some influential vendors might even refuse to do it because they may be using the same EDI message program for several of their partners. Thay cannot change it just for your sake. So imagine if you to ask ten vendors to change. That will add more delay to your timeline.
    Regards,
    Srinivas

  • Validation of vendor material number in IDOC_INPUT_INVOIC_MRM

    Hi folks,
    Scenario: Inbound EDI vendor invoices received as IDOCs.
    I'm using Logistics Invoice Verification process code INVL to receive and post vendor invoices on to the ERP2004 release of R/3.
    I have purchasing info records setup with the vendor material number.
    When I process an inbound vendor invoice, I can put in a customer material number i.e. a material number existing in material master in E1EDP19-IDTNR with qualifier E1EDP19-QUALF = 001.  When I do this, R/3 checks that the material number is valid and refuses to post an invoice if the material number is invalid - this is good.
    This means that the EDI program parameters with the 'Check Material Number' enabled is working as expected.
    Now when I only have a vendor material number i.e. E1EDP19-QUALF = 002 an E1EDP19-IDTNR = vendor part number, R/3 posts the invoice even if the vendor part number is invalid - IDOC_INPUT_INVOIC_MRM does not seem to be validating the vendor part number.  The document posts whether I use a valid vendor part number or an invalid one - what am I missing?
    Satish

    I can answer by words of Axel Angeli - top level SAP R/3 consultant and R/3 cross-application development coach, the author of classic book "SAP R/3 Guide to EDI, ALE and Interfaces":
    "SAP R/3 delivers a serious of predefined EDI programs. Many project administrators see them as standards which should not be manipulated or modified. The truth is, that these IDoc processing functions are recommendations and example routines, which can be replaced by own routines in customizing."
    and
    "SAP R/3 is delivered with a series of predefined IDoc types and corresponding handler function modules.
    Some of the handler programs have been designed with user-exits where a developer can implement some data post-processing or add additional information to an IDoc.
    You must always see those programs as examples for IDoc handling. If the programs already do what you want, it is just fine. But you should never stick to those programs too long, if you need different data to be sent."
    So now you can feel free to customize
    Regards,
    Maxim.

  • Posting by IDOC_INPUT_INVOIC_MRM

    Hi All,
    We want to add 2 line items to the posting done by
    IDOC_INPUT_INVOIC_MRM in the same way that we do by MIRO in tab 'G/L account', one line item will be the a debit to the purchasing account and the other one credit to the Reflection account both with the same amount. Do you know which structures in the idoc shoul be filled?. I am not expert with idocs however if you have documentation of how the structures should be filled for this specific case will be helpful.
    The idoc has this setting
    Direction         2
    Basic type        INVOIC01
    Extension     
    Message type      INVOIC
    Partner no.       448737
    Partn.Type        LI
    Port              SAPX1C
    Many thanks in advance.
    Edited by: Miguel Torres on Jul 24, 2008 7:01 AM

    Hi,
    Many thanks for your quick response, for me this is enough I will contact to the developer.
    I would like to share also the information from SAP.
    Hi Ms. F. Finance
    This functionality is not available as standard. However, from release
    470, you can use customer exit CUSTOMER_FUNCTION_15 for
    direct posting to the G/L account or material account.
    Please have a look at attached note 427137.
    So I think that we need to add this information using this exit. I will try and let you know the result.
    Thanks again.

  • How to park the invoice using 'IDOC_INPUT_INVOIC_MRM' ....

    Hi All,
    I am using FM 'IDOC_INPUT_INVOIC_MRM' for parking the incoming (Idoc) invoices.
    But FM   IDOC_INPUT_INVOIC_MRM   directly posts the invoices. I think is by default from SAP.(not sure)
    Can you Pls help me on this issue.
    Thanks.

    Thanks for ur help
    g_fl_adspc_park_document = A will park the document
    g_fl_adspc_park_document = 5 will post the document
    I have few questions.
    1. The status variable 'i_rbstat_new'  is not exported in the Standard SAP code. It will be difficult to change.
       Is there any NOTE?
    Include:LMRMHF1E
    ----- Aufruf Create-Baustein zur Erzeugung des Rechnungsbelegs -
      CALL FUNCTION 'MRM_INVOICE_CREATE'
           EXPORTING
                i_rbkpv               = i_rbkpv
                i_edi_korrkz          = i_korrkz
                i_fix_payment_terms   = f_fix_payment_terms
                i_fix_quantity_amount = 'X'
                i_transfer_price      = e_transfer_price
           IMPORTING
                e_belnr               = e_belnr
                e_gjahr               = e_gjahr
           TABLES
                t_frseg               = t_frseg
           EXCEPTIONS
                error_message         = 4
                OTHERS                = 8.
    2. In FM 'MRM_INVOICE_CREATE'  i_rbstat_new is by default 5.
        I think we need to set the status to 'A' in FM  'MRM_INVOICE_CREATE'  .
        Can you sugest any function exit.
    Thank you....

  • Exit for Inbound IDOC for Invoice

    Hello friends,
    I recevie a IDOC and the Invoice is created with the data in the IDOC.
    The invoice is created at the
    FM - IDOC_INPUT_INVOIC_MRM
    and within the FM - MRM_INVOICE_CREATE.
    The document # is e_belnr.
    My requirement is to Save the IDOC_DATA as  Image and I have Developed a FM to create a Image from this IDOC data. However I am looking for an USER EXIT  where I could capture the document Number and do it further.
    ANy Suggestions.
    Ster

    Hi you may want to check the  enhancements  RMVKON00  &  MM08R002.

  • User exit to change rbpk-zlspr prior to invoice save

    Hi,
       I need to locate a user exit that will lett me force my will on the setting of the payment block (rbkp-zlspr) in a Vendor Invoice that is being parked. Parking is being done vi FM MRM_INVOICE_PARK.
    I have looked at the methods in badi invoice_update but the rbkp structures are import only so that will not do it. Anyone had any experience.
    The reason I need to do this is that this is the second invoice that is being parked for a particular PO.
    The first invoice has been fully processed and some GR exists for that first invoice.
    The parking is being done using the MRM function modules and somewhere these decide that as the PO already has GR then this new invoice should have a block code that reflects existing GR, however that GR is not for this invoice and later custome programming for the new invoice requires it to have a particuar payment block code to proceed. Therefore I need to force that block code into RBKP when parking the invoice regardless of the MRM modules decision.
    Cheers,
    Ross
    Edited by: Ross Goodman on Nov 24, 2010 10:13 PM

    Hi Pranjali,
    1. Since break point is  getting reached in case of ME22n it will definitely reach in case of ME21n as well ( I have already worked on it).
    2. Now as far as the GR invoice or MIRO transaction is concerned,  I have checked with INVOICE_UPDATE BADI having method CHANGE_AT_SAVE. Break point is getting reached here as well.
    3. For IDoc thing what you can do is, find an appropriate exit in FM IDOC_INPUT_INVOIC_MRM. Since I don't have the IDoc setup which can replicate your scenario. It would be difficult to find the appropriate exit. So, to find the appropriate exit in this FM what you can do is to find string CALL CUSTOMER FUNCTION in the main program. This string will be followed by 001 or 002 etc. Out of this pick your appropriate FM and hence the proper exit.
    4. Similar is the case with BAPI_INCOMINGINVOICE_CREATE.
    I hope now it will definitely help you in resolving your queries to greater extent.
    Come up with queries if any.
    Cheers
    VJ
    Edited by: Vishal Jindal on Oct 25, 2010 7:55 AM

  • BADi or Enhancement Spot in IDOC_INPUT_INVOIC_MRM

    Hi,
    Can anyone please let me know whether there is any BADI or Enhancement spot in the Function Module: IDOC_INPUT_INVOIC_MRM to change the BKPF-XBLNR (Reference field).
    This is used for Inbound Idoc:
    Message Type: INVOIC
    Basic Type:  INVOICE02
    Process Code: INVL.
    I go the user exit to change but I am looking for BADI or Enhancement Spot.
    Thanks and Regards,
    Shravan G.

    Answered

  • IDOC_INPUT_INVOIC_MRM posting date

    Hi,
    I have a SD invoice which as an IDOC message IDOC_INPUT_INVOIC_MRM.
    This IDOC posts an Invoice in transaction MIR4.
    My problem is the SD Invoice date is not transferred to MM invoice date (posting date).
    For example I have SD Invoice date: 01/11/2009 but the IDOC creates the MM invoice with posting date equal to actual date (date for IDOC processing).
    Do you Know how can I manipulate this date?
    I tried to manipulate in IDOC segments but I couldn't.
    Thanks,
    SF

    I have the user exit ZXEDFU02 and ZXM08U22.
    But my problem is how to manipulate this date?
    Because in transaction WE19 when I see the dates in segment I don´t see any date = 04.11.2009.
    I tried to manipulate all dates that appear in WE19 and anyone intgrates in MM posting date.
    Thanks,
    SF

  • Multiple G/L or Cost centres in IDOC_INPUT_INVOIC_MRM

    HI All,
    We are creating the Invoices through idoc, while creating the invoice we are unable get the multiple G/L or Cost centers.
    This is FM ---IDOC_INPUT_INVOIC_MRM
    We contact the SAP for this problem they came up with  Customer exist EXIT_SAPLMRMH_015.
    Could you please help me ...
    Regards,
    Bharani

    Ok, Thanks for clarification. The Solution could to extend IDOC Type to Include multiple INVOICE G\L Accounts or cost centers. You will have to use the User Exit provided by SAP to populated these additional fields in the IDOC.
    For more information on extending the IDOC Type refer [Link1|/community [original link is broken];
    Steps:
    1. Create the Segments with the New fields Tcode WE31
    2. Create the IDOC type (Extension) Tcode WE30
    Add the segments here
    3. Implement the Function module exits to populate the new segments in Outbound and to Process and update the New segments data in INbound.
    TCODE CMOD.
    Regards
    Shital

  • About DOC INVOIC02 and FM IDOC_INPUT_INVOIC_MRM

    Hi;
    We need to park invoice by IDOC type INVOIC02 and FM IDOC_INPUT_INVOIC_MRM.
    Is there any way ( maybe user exit/BADI) to save the parked invoice information into a Z* table ?
    Thanks in advance.
    Vindy

    Hi,
    You can create a wrapper FM around this FM and right your custom code in that wrapper after calling standard FM. Then you have to configure this Z FM as processing FM for incoming IDOC.
    Regards,

  • Problem with User exits when using custom fm

    Hi everybody,
    I am processing an IDoc using fm IDOC_INPUT_INVOIC_MRM. Nos I had to copy this to Z_...
    And this fm has a sun-routine that calls User-exits. When I am using the standard fm, the UEs are being checked for active and executing the logic in the UE. But when I am processing IDoc using Z_...fm, the system is checking if the UEs are active. Its also active and now the cursor is coming to CALL CUSTOMER-FUNCTION '014'. But here when I press F5 in Debug, the cursor moves to the next statement after this function call without executing the user- exits. I dont know why its not executing the UE.
    Is there any setting that I need to make?
    thanks in advance
    kris

    Hi Vamsi,
    User exits are specific to the object they are included in. So when you have a "CALL CUSTOMER-FUNCTION '011'" in IDOC_INPUT_INVOIC_MRM and when you have "CALL CUSTOMER-FUNCTION '011'" in your Z function module, they are two different things.
    The purpose of a user exit is that you can include your logic in there within the limits defined by the object and without repairing the system. If you copied it, then you don't need the user exit anymore, as that copied object is your custom object and you can incorporate anything you want within main source code itself. If you really thing you should have that user exit, then double click on the call function statement, the system will ask if you want to create the function module, say yes and proceed with the creation.
    But I don't see any reason why you will copy a standard IDOC function module(while you could have used a user exit in there) and still want to use the user exit functionality. Once you copied, it is your object and you don't need a user exit to insert code into your own object.
    Hope this is clear.
    Srinivas

  • Windows 7 displays error message when exiting +cursor issue

    Two issues here. CS5 Phoshop on Wind 7 64 bit.
    Physical processor count: 8
    Processor speed: 3073 MHz
    Built-in memory: 12279 MB
    Free memory: 9577 MB
    Memory available to Photoshop: 10934 MB
    Memory used by Photoshop: 80 %
    Image tile size: 128K
    First issue is since the latest automatic Adobe update (why fix what isn't broken?) Every time I now exit Photoshop I get the message "Adobe QT Server has stoped working" and occasionally it happens when I exit bridge. Indesign is also behaving badly. I can no longer start a previous document from file manager without ID crashing out.
    The other is the cursors in Clone and erase lose their edge (become invisable) for no reason - well not quite. Noise Ninja crashed Photoshop when I tried to use it. I reinstalled it and all is well. The cursor issue seems to be intermittant but came back (for no reason) after I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem is now seriously affecting how I work. Almost enough to go back to Win XP which ran CS5 Photoshop flawlessly.
    Any help will be gratefully accepted.
    Doug

    function(){return A.apply(null,[this].concat($A(arguments)))}
    doug87510 wrote:
    The recent problem is the entire outline of the cursor (including the crosshair in the middle) was missing at any size of cursor. All I had was exactly what I'd get if I used a real spraygun.
    Well, that issue is simply a matter of hitting the Caps Lock key.  When Caps Lock is on, you'll see the cursor outline, and when it is off you'll see a crosshair.  That's a feature, not a bug.
    Glad to hear the 11.1 drivers are out.  I will download them and try them now myself.
    Regarding "Adobe QT" crashing...  QT brings to mind QuickTime, though that is Apple, not Adobe.  Do you have Apple QuickTime installed?
    Regarding memory usage, with 12 GB of installed RAM, you should be able to set Photoshop to use 90% or more in Edit - Preferences - Performance.
    -Noel

  • Unable to capture new KUNNR in Exits from XD01

    Hi all,
    I am creating a new customer in XD01 and trying to capture the new customer number in an EXIT. Here, the customer number is (internally)automatically generated as a result of which this customer number cannot be captured in the exit. I am using SAPMF02D user exit.
    Can somebody kindly give me some idea on how to capture this new customer on saving XD01?
    Thanks,
    Max

    Hi Max,
    http://help.sap.com/saphelp_46c/helpdata/en/63/ed2c7dd435d1118b3f0060b03ca329/frameset.htm
    Re: Customer Master / Vendor master Creation
    Re: How to transport Custom Screen Fields from XD01/XD02 screens to KNA1
    Re: Customer (FD01,FD02) Enhancement
    Hope it helps..
    <b>Reward points if useful..</b>
    Thanks & Regards
    ilesh 24x7

  • When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of it.

    When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of this message. When I login to my husband's account, this message does not appear.

    Hey sunnyday7!
    Here is an article that can help you address this issue:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Additional Information
    OS X automatically relaunches the Finder when it is quit. If the Finder is unresponsive, use Force Quit to relaunch it. Select Finder in the Force Quit Window or Dock, then click Relaunch.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

Maybe you are looking for

  • Check Conversion Exists in SAP Query

    Hi Experts, In our SAP HCM, we can interchangebly use SAP pernr and Singapore NRIC in PERNR field. SAP has provided a utility to map Singapore NRIC with SAP number in the pernr field based on IT185. SAP number can only been seen in Txn Code SE16. Aft

  • Keynote update error iwork09

    I recently updated manually the Keynote update. I have iwork 09 version 5.0.4 (633). So i wanted to get the recent version. There were couple of things that were not right; 1- I downloaded the update package (9.0.5) for iwork 09, it never showed as a

  • Replacement path using the text variables.

    Hi all, I need to create the text variables of processing type replacement path. can any one help me by sending the step by step procedure for the same. Thanks & Regards KK

  • Sharing Files AFP issue

    Hi, in my LAN there are 12 macs , some of them got 10.4.5 , others 10.4.11, one has Os 9.2.2 Every machine is sharing files via AFP/SMB (System Preferences /Sharing) , all machines are listed correctly in Network Finder window. The issue is here: It

  • Upload file via document Manager in taskflow: error the file does not exist

    Hi, I have a page that include document manager. I am able to upload file to UCM server via one user signon. Then I created a new user in UCM. With this new user, whenever I try to upload a file, the file name that I entered keeps getting blanked out