MIRO - Invoice Output types (MR90)  Routines Based on Specific Suppliers

Hi All,
Requirement is to trigger Invoice outputs for a specific set of suppliers, while doing invoice verification in MIRO and the same need to be processed in MR90 for the output.
Is there a routine which triggers a invoice output ( type REKL) only for specfic set of suppliers, for e,g if the suppliers are all ERS suppliers then it should trigger "REKl" else not?
I am aware we have a routine 181 which can be modified but wanted to know from experts if this kind of requirements has a standard solution.
Will appreciate any help regarding this.
Note :Standard settings and customization have been done and triggering output is not an issue so please address the specific requiremennts.
Regards
Swagat Panda

Would like to know more on how your are cancelling ERS invoices already settled? as i am not able to cancel them in MR8M is there any other ways around it?
Also, Sub Cr we are using not for back dated price changes but since we are a service company we don't have concepts of MAP prices for the materials all are account assigned materials and get expensed and revaluation will just act as a statistical entry as there won't be stock at any point of time.
The invoice reduction we are not using as these are all ERS invoices and if there is any amount to be debited to the supplier we come to know after a settlement run (MRRL) is over and we see a "visual" quality defect at a later point of time as i mentioned earlier we don't have stock.
So this is one of the reason why we are debited the supplier at a later stage using Sub Cr and for this the vendor has to be sent a "notification" that we are going to debit him for a delivery ( account assigned ).
But your suggestions were helpful in setting up business rules.
Please be in touch.
Regards
Swagat Panda

Similar Messages

  • PO Output Type / Processing Routine Problem

    Hello everyone,
    I cannot seem to find any reference to the problem described below.
    I have encountered a problem by migrating from SAPFM06P to SAPLMEDRUCK during an ECC 5.0 upgrade, at a client where I am under contract as an ABAP Developer.
    Here is some background to the situation.  The client is currently migrating from version 4.6C to 5.0 and thought it was a good idea to upgrade their purchase order messaging  programs from the outdated SAPFM06P, which was utilized in version 3.x, to the newer program SAPLMEDRUCK implemented for use in version 4.6.
    Specifically, Message Output (ME9F) controls the output of purchase order messages in foreground, when the purchase order message is saved and the "further Data option" of the PO message contains "requested processing" equal to the value of "send with application own transaction".  This way, the actual messaging can be controlled in foreground and "breakpoints" can be set to display tables and fields.  Behind the scenes, the message status program RSNAST00 is executed by ME9F program RM06ENDR_ALV.  During this execution, it locates the message (NAST) record from the purchase order and the (TNAPR) configuration, which links the output type to the ABAP print program and SAPscript layout set.  The specific problem is: in RSNAST00, the external call perform "PERFORM (TNAPR-RONAM) in PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND" does not pass NAST information to the called program (TNAPR-PGNAM).  I know no NAST table information is passed because I set a break-point on the perform and single step to the print program.  Therefore, the purchase order is unknown by the print program (TNAPR-PGNAM) and results in an error and no purchase order print is provided.  Needless to say, this was tested with a new "Z" version of SAPLMEDRUCK.  So, I changed the program name (output type processing routine) in configuration to SAPLMEDRUCK, but there again the NAST information is not passed to the print program from RSNAST00.  Ironically, I reverted back to the older "z" version of SAPFM06P and NAST and TNAPR information is passed to the print program thru the external call perform quoted above.  I prefer to not modify the SAP original code for RSNAST00, which is used in many other applications.
    One other note, I had previously performed this maneuver on one different occasion with very successful results.
    Has anyone ever encountered this problem in a 5.0 environment (running Windows NT and MSSQL and SAP BASIS 6.4).
    I know this is long winded, but I wanted to explain the background of the entire situation.
    Any and all help would be appreciated.  Thanks in advance,

    Dave,
    Your entry points (like form ENTRY_NEU) should remain in your current version of SAPFM06P.  Change that form to reflect the function calls in the new SAPLMEDRUCK form (ENTRY_NEU) (calls to ME_READ_PO_FOR_PRINTING and ME_PO_PRINT.
    Look at the example below:
    Here is the form in your old (Z) version of SAPFM06P:
    FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.
    XSCREEN = ENT_SCREEN.
    IF NAST-AENDE EQ SPACE.
       XDRUVO = '1'.
    ELSE.
       XDRUVO = '2'.
    ENDIF.
    CLEAR: XFZ, XOFFEN, XLMAHN, XLPET.
    *- Anstoß Verarbeitung -
    CLEAR ENT_RETCO.
    PERFORM LESEN USING NAST.
    MOVE RETCO TO ENT_RETCO.
    ENDFORM.
    Here is form entry_neu in your new (Z) version of SAPFM06P:
      INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
           exporting
                ix_nast        = l_nast
                ix_druvo       = l_druvo
                doc            = l_doc
                ix_screen      = ent_screen
                ix_from_memory = l_from_memory
                ix_toa_dara    = toa_dara
                ix_arc_params  = arc_params
                ix_fonam       = tnapr-fonam          "HW 214570
           importing
                ex_retco       = ent_retco.
    endform.
    Remember, the form should be in the Z version of SAPFM06P - not the Z version of SAPLMEDRUCK.  Make sure the configuration (TNAPR) has the SAPFM06P program name and entry point.
    It should work.  Let me know how it goes.
    Rick

  • Output Types Processing Routines

    Hi experts,
    I need help regarding the Output Types Processing Routines.
    In SAP, there are several Processing Routines, how does the processing routines work if you put a Program and Forms to Processing 1 and Processing 2?
    Points will be rewarded.
    Thanks....

    Hi Salem,
    When you execute a program through a transaction, then the first program and the first form are executed..
    These entries are maintained in NAST table.. Now, the first o/p is displayed... When you press the BACK button on the o/p of first form screen, It goes back to the SAP code and check for the second entry if any, if it exists, it calls the second progarm and the second form.. and so on..
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • Print a invoice output type on two printers

    Hi,
    I want to print a invoice output type on two printers simultaneously.
    Is there is any ways to assing this.
    Regards,
    S

    Hi,
    From SAP at a time only single printer can print the Output.
    But once the spool request is generated, in the OS level with the help of network people on SPOOL SERVER you can distribute that Spool request to multiple printers.
    Regards,
    Anji

  • Invoice output type getting triggered after setting SY-SUBRC = 4 in routine

    Dear Friends,
    When ever invoice document is generated, if the invoice document is completed and if its accounting document is generated successfully, we need to trigger an output type for invoice ZRD0
    For this purpose, we have created a routine 902 in our system. If the required condition, mentioned above, fails then SY-SUBRC set as 4 else set as 0 to trigger the output type.
    Currently we are facing a problem, even after setting SY-SUBRC as 4 in routine 902, output type ZRD0 getting triggered.
    Please help me to fix this bug.
    Thanks a lot.
    Best regards,
    Amol Chaudhari.

    Hello Aditya,
    I have maintained same code in both routines 'kobed_902' and 'kobev_902'.
    Required code maintained in the routine,
    sy-subrc = 4.                          " Do not trigger output type
    * If the posting document is created or Billing document canceled    *
    * and if invoice document is Completely processed then the output    *
    * type ZRD0 is Triggered.                                            *
      IF komkbv3-uvall CA gc_c.   "Invoice document is complete or not
        IF komkbv3-rfbsk CA gc_ce.   "For VF01 and VF11
          sy-subrc = 0.
        ENDIF.
      ENDIF.
    We are getting this problem on production client and not able to generate the scenario on quality.
    The output type is actually an EDI output type which is generating an IDOC for the invoice.
    Thank you.
    Best regards,
    Amol Chaudhari.

  • Two modifiable invoice output types to be generated

    Hi experts,
    One of my customer has requested us that he need modifiable output types. the first invoice will be like a normal one which he want to keep it for company internal purpose and posting to FI will be done on that basis.
    the second invoice is based on first and is splited into two parts which he want to send to customer it can be anything llike 80-20, 90-10, 40-60, 50-50, 20-30 and many more as per user requirement.  the field on which the invoice is to be splitted is on material price. in part A  suppose it will be 80% of material price + 100% taxes and in part B it will be remaining 20% of the amount left. Everywhere in first part 100% of taxes are charged.
    can i use proforma invooice concept or any other or  a complete Z program is to be written.
    please suggest
    with regards
    SANTOSH GOSWAMI

    hi,
    i think you can achieve it
    but, its a huge task for an abaper to understand your requriment
    as per your requriment you have to align that many logics in the smart form from smart form point of view.
    then i think so that many condition types in outside condition records.
    happy new year
    please check with your abaper and confirm
    balajia

  • Invoice output type

    Hi all,
                 How to assign my Zform to invoice. Kindly explain me process.
    Thankx advance,,,,

    Hi,
      The Output Type for the Invoice is RD00.
    Goto the Transaction NACE and select the Application Area V3 Billing and click on Output Types.
    There you can see the Output Type RD00. Select that and double click on Processing Routines which will be on the left side. Here you can see the form assigned. Goto Change mode and assign your ZForm.
    Regards,
    Roja Velagapudi.

  • Output type and Routine

    Hi All,
    I have created one Z* output type and attached it with Z* program. and it is having routine called ENTRY_N. Now when i execute a transaction which will trigger my output type, is giving me error saying "Processing routine ENTRY_N in program Z* does not exist".
    Can anyone help.
    Regards,
    Dharmesh

    > Hi,
    >
    > in the Driver Program have a routine with name ENTRY.
    > just paste it.
    >
    >
    FORM ENTRY USING RETURN_CODE US_SCREEN.
    >
    >   CLEAR RETCODE.
    >   XSCREEN = US_SCREEN.
    <i>>   PERFORM PROCESSING.</i>
    >   IF RETCODE NE 0.
    >     RETURN_CODE = 1.
    >    ELSE.
    >     RETURN_CODE = 0.
    >   ENDIF.
    >
    > ENDFORM.
    >
    > and put the aboce code in it.
    >
    in the above code Perform processing you need include all your open_forms and write_forms, close_form. the data you are trying to pass it to script. i hope it is clear.you need to put that logic in the <b>form ENTRY</b>.
    regards
    vijay

  • Error in invoice output type.

    Hi All,
    When we are trying to send invoice using ZXXX output type and external send as medium i.e transmission medium is 5  using VF02. This invoice is not going out and output type is in red/error status with no process log.
    Could you please help.
    Thanks,
    N M Poojari.

    Well, that's poor programming as you've already figured out.  The output program should be calling NAST_PROTOCOL_UPDATE and adding a message to the processing log so you can determine what's wrong without guessing or debugging.  What you need to do now is debug the output program and find the point where it sets the return code (the parameter in the output subroutine call) to a non-zero value and determine the condition that that triggered the error.

  • ISupplier Portal : Display Link based on specific supplier

    I have a requirement of adding a link to the isupplier pages facing the supplier and the link opens an XLS file.
    I was able to add the link through personalization and now every supplier sees this linked file.
    How do I restrict only few suppliers to see this.
    for example, we want only supplier - A, B and C to see . P, Q, R should not see it.
    Any directions would be helpful.
    Thanks

    Followed your suggestion, but I dont know how to pull the supplier name. There is no VO behind this page that has the VendorName as a view attribute.
    Here is what I did:
    My page I am trying to extend is :
    /oracle/apps/pos/home/webui/PosHomeMainPG
    CP : oracle.apps.pos.isp.webui.PosPgImgHelperCO
    extended CO : oracle.apps.pos.isp.webui.XXPosPgImgHelperCO
    Viewed AM attached with the page : "oracle.apps.pos.isp.server.PosHPageAMImpl"
    here is the list of all the pos related VOs attached to it. None of them have suppliername/vendorname as an attribute.
    "oracle.apps.pos.isp.server.PosHpageSearchVO"
    "oracle.apps.pos.isp.server.SecureAttrVO"
    "oracle.apps.pos.isp.server.AttribValuesVO"
    "oracle.apps.pos.isp.server.PmntHPageVO"
    "oracle.apps.pos.isp.server.InvHPageVO"
    "oracle.apps.pos.isp.server.PosHpOrdersVO"
    "oracle.apps.pos.isp.server.PosHpAsnVO"
    "oracle.apps.pos.isp.server.PosHomeQuickSearchVO"
    "oracle.apps.pos.isp.server.PosHomePendingVO"
    Although this information is present in Orders tab, but I need it on Home Tab.
    How do I go about it ?
    Thanks a lot.
    Edited by: OAF-dev on Aug 7, 2009 3:18 PM

  • Enter Output Type Each Type while Printing Invoice

    Dear All,
    Have searched in the forum already for a proper answer but could not find one.
    The issue is, while printing the invoice, the system is not automatically determining the output type even though all the output determination configurations have been made.
    I have to manually enter the output type by entering into the billing document header data.
    Kindly let me know if I have missed on any configuration during output determination.
    Thanks and Regards
    Adithya

    I hope you did what mentioned you.
    If you have doubt, whether the output type is getting determined properly or not.
    Use Tcode VF02.
    If Header Output Type -
    select Goto option from Menubar - Then Header - Choose Output.
    Accordingly, If the output type is Item related then
    select Goto option from Menubar - Then Item - Choose Output.
    Then Change: Output screen in your billing doc(VF02), in menubar select Goto - then choose Determin. Analysis.
    In output determination procedure in Analysis Output screen, track your desire output type and its determination status.
    Check routine for requirement against output type in:
    1. Output determination procedure
    2. In access sequence for the output type, check routine against access/condition table.
    Finally, accordinly determine output condition record by using TCode VV31 for the desired output type.
    Further, check routine for requirement like 62 is assigned against output type in:
    1. Output determination procedure
    2. In access sequence for the output type, check routine against access/condition table.
    Also, have look on one my recently discussed SD thread:
    - Re: Output to be blocked for Billing documents, if not released to Accounting
    Regards
    JP

  • Error while triggering program through output type while saving invoice

    Hi,
    I have a scenario where in my Z program needs to be triggered when saving a invoice.
    For that we have attached out Z program to output type which gets picked while saving invoice.
    In the Z program we have written the entire code in Form Entry subroutine.
    In the Z program we have called a FM "SD_SALESDOCUMENT_CREATE", to create a sales order.
    After sales order is created we have used a Commit statement.
    If I run the Z program individually, Salesorder gets created perfectly.
    How ever as per scenario when trying to save the invoice, output type gets picked. But program doesn't get called.
    and when I go to the saved the invoice I get the following error immediately:
    "Error document - Update was terminated"
    I have found that the problem is with COMMIT statement through transaction SM13.
    Can anybody help me with this. I cannot save the sales order without COMMIT, so I have to use it.
    Thanks in Advance,
    Rohan.

    Hi Rohan,
    I have worked on almost similar kind of requirement as you. 
    "Error document - Update was terminated" is because saving of invoice is done in u201CUpdate Tasku201D. Again in that work process, FM also calls for update task, which is not allowed and give short dump.
    Here are two different approaches to cope up in this scenario.
    1.Call FM in NEW TASK.
    Calling Function module in new task will assign new work process and will use different update task.
    Use:
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE' STARTING NEW TASK 'task'
    This will not give update termination error.
    Call of FM in this way will work, but as this will be asynchronies call you will be not able to get status/message out of the FM call result.
    If capturing return message is mandatory, use below approach
    2, Process output type via Job
    Set output type, dispatch time u201CSend with periodically scheduled jobu201D in u201CDefault valueu201D tab.
    Run batch job for program u201CRSNAST00u201D with appropriate variant.
    Please let me know if you need any further details.
    Best Regards,
    Nisarg

  • Output type determination in Billing document

    Hi,
    I have a query reg automatic determination of output type in the billing document. The scenario is, For an invoice, two output types are determined automatically for all invoices. But the third output type is determined based on Shipping point. For Example say, output type IFIB should be determined if Sh.pt is A and IFIT if sh.pt is B. This is controlled thru "Requirement" assigned to the output types in output det procedure.
    The problem is, for a particular document IFIB appears though the sh.pt is B, Now i have to find out whether it is determined automatically or manually. I have checked the following
    1. The "manually changed" field is not flagged in the "further data" of this output type. I believe, if it is not ticked, then the output type is determined automatically and no manual change was carried out. Am I right?
    2. When i checked the "determination analysis", I find that the output type with the message "Output ignored (Requirement not fulfilled)". If the output was determined automatically, then "output xxx found" should appear right? When the analysis says it is ignored, then how come it can appear automatically?
    I am confused over this contradictory findings. Plz tell me whether my assumptions stated above are right. Kindly suggest me alternative ways to find out whether it is determined automatically or manually? If it is determined automatically, on what conditions?
    Thanks in advance
    Suresh

    Hi Suresh,
    In an output determination, it may tell  u that the output type is ignored because of un-fulfilled requirement, but it will still automatically appear in Header-> output, but u need to check the actuall processing status, whether is 0,1, or 2. I assume for your case it will be 0 (not processed, meant for manual processing instead), 1 (processed) and 2 (error occurred).
    Another thing which is essential is that, in order to let the system successfully fulfill your determination criteria, u need to assign output type with correct access sequence, for example 1 access sequence by sales org/billing type for output, another 1 is by sales org/shipping point. Or u can simply create 1 access sequence with 2 condition tables.
    After that u need to create condition record for each output type, u do this in t-code VV31.
    By rite, during transaction (issue output), system will be able to search for those condition record and output type will be automatically appear, providing if there is any rquirement routine in your output det. proc (appl = V3) returns TRUE.
    Cheers,
    Benny Andre

  • Output type determination program or fuction module.

    HI Gurus,
    I'm looking for the standard program or function mudule that the SAP ERP are using for the determination of invoice output type.
    I want to debug why is not accepting some fields.
    Know anyone wich one is it?
    Thank you in advance.
    Abel

    Dear Abel,
    o        Program: RSNASTED
    o        Form routine: EDI_PROCESSING
    o        Procedure: V10000
    For Complete Information, refer:
    [Invoice Message Control Configuration|http://www.erpgenie.com/sap/sapedi/messagecontrol.htm]
    I hope, this would be really helpful, to you.
    Best Regards,
    Amit

  • Output Type Determination

    Hi experts,
    I have a requirement wherein if an EDI invoice output type is selected during the creation of the billing document, then all the remaining output types below that should not be selected. Please find below the screen shot of the output procedure used. Whether a customer is relevant for EDI output or not is based on different values provided in different fields and the business do not want to follow that approach.
    Please provide suggestions/pointers to achieve this requirement.
    Thank you,
    Som

    Hi
    In my opinion yes. In table NAST there will be a record ofr ZINV. Taking the VOFM 101 as a template (your EDI output is ZINV), maybe, your VOFM 901
    PERFORM KOBED_062.     "call vofm 62
    LOOP AT XNAST WHERE KSCHL EQ 'ZINV' AND
                                            OBJKY EQ MSG_OBJKY   AND
                                           AKTIV EQ SPACE       AND
                                           VSTAT EQ '0'.
        EXIT.
      ENDLOOP.
    IF sy-subrc = 0.  "it was found
    sy-subrc = 4.     "output not created
    ELSE.
    su-subrc = 0.
    ENDIF.
    Create your VOFM (remember the note I told you in my first answer), and change the VOFM 901 for the other output types different to EDI.
    Although it's for pricing, see also SAP Note 156230 - Requirements: What is permitted, what is not?.
    After, debug it and fit to your requirements. During the debugging, check how XNAST is populated.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for

  • Tranport Request for Item Category

    Dear All I am trying to create transport request for item category but when I include it in transport and save it, It give me error "Object R3TR TABU TVAPT, referred to by the object key, does not exist Diagnosis The object keys of the request/task c

  • AI acquire waveform. vi update rate

    Hello, I would like to increase the update rate ( which governs how many samples are acquired per second) for the attached vi- AI Acquire Waveform(waveform).vi. This vi is a built in vi obtainable from Analog Input palette under Measurement I/O. The

  • Financial Reporting Studio - Chart 2nd Axis Title

    I have a Financial Reporting Studio (9.3.1) report including a chart (combo) and have "checked" secondary axis and subsequently set a secondary axis title. Upon opening the report the secondary axis title does not show. The font color is black and th

  • Where is my X11?

    Hi everybody, I tried to install glut using fink to my Macbook Pro, and I lost my X11! I reinstalled it from OSX install DVD, but no hope! It says that fonts can not be found! here is what I have under /usr/X11R6: [haris@ /usr/X11R6]$ ls include lib

  • Tethered capture 7D mark ii

    When will tethered capture in lightroom support the canon 7D mark ii