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.

Similar Messages

  • 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

  • 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

  • Error in assigning output type in VL01N

    Hi,
    When the output type for pick list is assigned to VL01N automatically , it is showing an error log for the same. this is the error seen in VL01N -
    > EXTRAS----->DELIVERY OUTPUT>HEADER--
    >Processing Log.
    Text  ID  language  not found
    Message no. TD600
    Diagnosis
    You want to read a text which does not exist in the data base (or update memory).
    System Response
    Reading could not be carried out.
    Procedure
    You need to create this text:
    1. Initialization (module INIT_TEXT)
    2. Save (module SAVE_TEXT)
    i have debugged and i couldnt find out where the error lies.
    Is it an error in the driver program or in database updation ?
    This error didnt come when the ouput type is assigned manually. this happens only in VL01N where the output type is assigned automatically and the delivery is not saved .
    Help me solving this issue.
    Awaiting you replies.
    Vikki.

    Hi Parthi,
    I commented all the codes related to READ_TEXT and removed the TEXT INCLUDES i had in the SMARTFORMS.
    I dont understand the reason for this error.
    i have modified the standard program for pick list RVADEK01 and used it.
    Infact it was working fine till last week ................
    Vikki.

  • 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.

  • Error status of output type in sales order (va02)

    hi,
    I have created a output type in salse order for Idoc generation.
    My problem when i create a order and if it's credit limit excced then it show me red status of out put type, and no idoc generated.
    If credit limit is not excced than it show green status.
    can anyone help me how to make it in green or yellow status even if credit limit exceeds.
    how to remove this check.
    can this be solved by configuration ???
    <REMOVED BY MODERATOR>
    Thanks in adance,
    Edited by: Alvaro Tejada Galindo on May 23, 2008 6:57 PM

    Hi Mohit,
    Go to [VA02], using the standard toolbar select Extras -> Output -> Header / Item -> Edit and go to the Output Screen. Again using the standard toolbar select Goto -> Determin Analysis. Now select your output condition type and see what could be the reason for why the output type has not been picked.
    Regards
    NP

  • Smartform System Error for VF03 output type

    Hi Friends,
    Error encountered in Smartform:
    Message no. SSFCOMPOSER181
    Diagnosis
    You tried to switch to the next table column, but no other column exists. The current column is 10. The line type %LTYPE1 contains only 10 columns.
    System Response
    The system issues an error message.
    Procedure
    Check whether the current line type is the desired line type and whether you defined a switch to a new table line.
    %LTYPE1  contains only one cell consisting Material Description & Code .Apart from that nothin is there in line.
    Please help.
    Regards,
    Abhishek.

    Hi,
    check what is going else for JEX billingtype documents.
    if that does not work out you can try to locate where it is going wrong.
    how you do that: Disable a part of your form with conditions.
    then if you have done it so far you didn't get that error meesage. Then shrink the part you have disabled until it goed worng again. Then it is going wrong in the last part you have enabled. It is a lot of work but debugging in smartform is not as easy as in sapscript.
    success., Gr., Frank

  • 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 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

  • Invoice Outputs

    Hai Guys,
    I have assigned condition records (Sales Org / Customer) for the invoice output type in 'vv31'. But when I look in the header of the Billing document, at the output, the condition type is missing. I have to manually enter the condn type (ZRD0) and assign the communication method for it.
    Can somebody say why the condition type is not picked in the Billing document?
    Regards,
    Maheshwaran. I

    Hi ,
    It seems you have first created invoice and afterwords updated condiitton record.
    Output type would appear for newly created invoice or In changed mode for old invoice.
    Hope it would help.
    DRD

  • Outbound Output Type triggering a Post Goods Issue

    Hi,
    Is it possible to create an output type that does PGI for an outbound automatically?

    We have Output for Outbound delivery SPED working to create Inbound Delivery ELN automatically.
    When i setup SPER the output to delete the inbound it doesnt work.
    I get this error:
         Object 0080006202
         Output type: Stk.Transf.DlteDeliv
         Processing log for program /SPE/STO_ID_PROCESSING routine STO_ID_DELETION
         Delivery quantity must be entered for the item
         Error during inbound delivery modification
         No inbound delivery created for the replenishment delivery 0180002846
    But SPED HAS created the inbound i.e. 018002846 and in Outbound AND Inbound there is a Delivery quantity so i dont know where to enter any other delivery quantity for this particular error.

  • Output types in MM..?

    Hi all
    Can anybody explain me total no of output types were available in SAP (According to MM view).
    For eg, Po output type
                RFQ output type
                Material document output type
                Vendor return excise invoice output type.....etc
    Thanks
    sap-mm

    hi,
    Go to Tcode NACE, check the output types for the application....
    Regards
    Priyanka.P

Maybe you are looking for