Same output type getting triggered twice upon saving the document

Dear SDNers,
I have a shipment Document.
Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)
Clarification needed:
1. Please guide as to where i need to look for the error as to why same output is getting triggered twice  simultaneously( gap of 1 second).
2. i have checked in the processing routine associated with it. Is it the right place?
P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.
Regards,
SuryaD.

Hi,
Fetch the data from Nast table for that document number
Check the vstat  . if it is 0 then use the below function module.
CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.
Then it will update the existing single record for the first time .
Next time on wards you will get the multiple records for te document in the Nast table.
For that you need to change the VSTAT status as per the requirement.
Hope this might solve your problem.
With Regards,
Sumodh.P

Similar Messages

  • Same output type gets generated twice when we create PO

    Hi,
    I have a problem. When I create PO the same output type ZEA gets generated twice. It should come only once. What could be the problem?
    Please give me some pointers.
    Regards
    Purva

    Hi
    goto the PO in ME22N
    goto Messages
    select the Output type and check the settings in Communication Method and Further data about the messages etc and other print parameters
    Regards
    Anji

  • 2 outputs getting created simultaneously when saving the document

    Dear SDNers,
    I have a shipment Document.
    Upon saving it 2 Outputs- LAVA for (EDI) get generated at the same time.
    Clarification needed:
    1. Please guide as to where i need to look for the error as to why 2 outputs are getting triggered simultaneously( gap of 1 second).
    2. i have checked in the processing routine associated with it. Is it the right place?
    Regards,
    SuryaD.

    Hi Nagaraj,
    thanks for your response.
    So if i understand right, you mean to say that if 2 condition records are maintained, then 2 outputs migh get created.
    Right.
    Regards,
    SuryaD.

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

  • Functional module which get triggered after posting of the document F-22

    Hi,
    I am posting the documents using the transaction F-22. I need to update some table after the documet will get post.
    I try to find out the BTE'S in the transaction FIBF but unable to find it out.
    Can anyone help me to find out the relvant functional module which will get triggered after the posting of the documents.
    Please help me with this.
    Thanks in advanced.
    Regards,
    Darshana

    Hi Harini,
    It is also not get triggered while i am posting the documents.
    Can you please suggest me some more functional modules.
    Thanks in advanced.
    Regards,
    Darshana

  • Output type mot triggered

    Hi,
    The process is that
    A sales orders are getting created with the batch job once the sales order has been generate a Output type is triggers
    and mail sents to customer about the order confirmation.
    The medium os output type is "Send external" and dispatch type is "3 - Send with application own transaction"
    Our problem is this output type has not getting triggered it in Yellow only.
    if we change the dispatch time form 3 to 4 - Send immidetiatly then its working fine.
    why this is happening?
    how to resolve this so that there will be smooth operation with dispatch time as 3?
    regards,
    anup

    See, you can process a message immediately by updating the application document or you can process it at a later time. For later processing you must use the report program RSNAST00 or a corresponding application function.
    Thus there are some individual possibilities are:
    Time 1: The message is processed through report program RSNAST00. This report program can be scheduled periodically or started manually.
    Time 2: As in time 1, but the message contains an earliest processing date and a requested processing time. The message is ignored by report program RSNAST00 before the requested date.
    Time 3: The message is selected and processed by application specific programs. Processing can take place online or in the background.
    Time 4: The message is processed when the application document is saved. No further processing of the message is necessary.
    So, check your communication method & transmission medium for dispatch time 3 for your requirement : A sales orders are getting created with the batch job once the sales order has been generate a Output type is triggers and mail sents to customer about the order confirmation. Check the output condition record maintained.
    Also you can use user exit MV45AFZZ for automatic generation of email.
    Hope this can assist you.
    Thanks & Regards
    JP

  • 2 medium for same output type

    Hi,
    is it possible to create 2 condition records for the same output type BA00 but i want it to be transmitted to 2 different medium.
    eg: 1 - print
         6 - EDI
    now i am unable to do so. I am defining my output via sales org.
    but when i enter 2 records of OR doc type with different medium, i get any error
    "The condition is being p rocessed in the current session. A condition record with the same variable key is already being
    processed."
    thanks
    dyl

    Hi,
    It is not possible to maintain 2 condition records with the same document type with different medium... System says its currently processed, if needed you can change the current record with the medium........
    Alternatively yu can simply copy and create a new condition type with ref to BA00 and maintain the different medium...
    Reward if helpful...
    Regards
    Bageerath

  • Prepopluate adapters getting triggered twice

    Hi,
    I have configured an access policy for my DB resource and it works fine. However, I see that the pre-populate adapters run twice. One of the pre populate adapter fetches a unique number from the DB each time it runs and since this adapter gets triggered twice for the same user, the sequence is getting disrupted. Can someone please tell me how do I resolve the issue. I have the auto save checked on the DB resource process definition.
    Thanks,
    Supreetha

    hmm 9.1.0.2 BP14 ... Well found it to be an unpublished bug in 11.1.1.3.3 Bug 10323254: Prepopulation adapters run twice for fields in process forms. ... but yep I have seen it on 9.1.0.2 also and can't recall the solution. May be you can raise an SR ....

  • Po message getting triggered twice

    Hi,
    recently we have upgraded SRM5.0 to SRM7.0 with ECC6.0 EHP pack4 .
    we have a problem when we create PO from SRM shopping cart in ECC.PO message is getting triggered twice. Th issue was not there before upgrade.
    Can anyone please help me resolving this.
    Thanks & Regards,
    Beena.

    Hi,
    While making a purchase requisition, you can refer to either last purchase or can take a reference of blanket purchase agreement, just check for that particular supplier that whether in the requisition table while importing requisition from maximo, there exist a reference of any last purchase or any blanket purchase agreement. If yes then autocreate workflow will get trigger automatically which might be schedule on your instance, which will create a purchase order for that particular supplier.
    Thanks & Regards
    Ankur Dawra

  • Two print programs using the same output type in t-code v/40

    Hi,
    I am trying to use the same Output type RD00 to print diferent forms.
    In t-code v/40 we can fill a second Processing but how this work?
    Can someone tell me more about this?
    The final goal is to print diferent forms according to different companies.
               Thank you and best regards
                         João Fernandes

    Hi,
    It is not possible to have 2 different routines to be assigned to one output type in the procedure. I think when you say 2 routines, you are saying 2 logics or you are saying the subroutines KOBED and KOBEV of the routine.
    In all reqmt routines, which is in discussion now, only one of the subroutines will be always called, though I dont know unfortunately which one is this. As you said, that only one of your processing logic works, that is the right subroutine area where the second logic should also be coded. So please move your code from the inactive subroutine area to the active subroutine area. Now you should be able to see both the validations being active.
    Hope this helps. If the case is different, please let us know.

  • Two printers need to be setup for same output type

    Dear Experts
    How do we create condition records for two different printers in VV61 with same output type and packing material type?
    Thanks in advance for your answers.
    Regards
    Bala

    3)
    The configuration helps to redetermine the printer.
    F1 help for the field:
    "Description of print profile
    By specifying a print profile, the printers for output processing are redetermined. You can, for example, assign the printers of a specific packing station to a print profile.
    Using the parameter "PPT", you can individually define the print profile in the user parameters."
    Please note that you also have to maintain the profile for each user.
    2)
    You have to make yourself familiar with SAP's condition technique.
    http://wiki.scn.sap.com/wiki/display/ERPLO/output+determination+using+condition+technique
    (You will need a condition table in which one key field is the plant and assign it to the output type through an access sequence)

  • Help required: Two smartforms for same output type?

    Dear All,
    I have a requirement to display bill of lading for a shipment.
    The shipment usually contains two kinds of materials.
    The data to be displayed for the first set of materials data is different from what is
    displayed for the second set/kind of materials. The layout(columns and structure) is entirely
    different. But the user wants to see the two sets of data in two pages, (for the same output type).
    But, from what I know, we can only associate one smartform to an output type.
    Any inputs.
    Thanks.

    Hi
    V/30, just check your output type, if you click on form and routines there is option assigning multiple programs and forms (i,e, Upto 5).
    Have not tried it , you can try and let us know your feedback
    Regards
    Jitesh

  • Invoice Print and Email from same output type

    Hi All,
    We want to print invoice and send an email to customer. Can this be acheived using same output type??
    If yes, plz guide how can we do this..
    I check some queries in forums but they had coding etc.  Can we do it with config??
    Regards,
    Satish.

    I'm not sure why you wouldn't configure two output types. However, you can do this with one output type in a number of ways:
    1. Use a speciial function output (transmission medium 8).
    This allows you to write ABAP code to anything you want. However, you have to manage print contols on yur own as the special function transmssion medium doesn't allow you to specify these on he condition record.
    2. Change the driver program for the print output for the output to send emails.
    You would need to handle the email routing on your own because the output records for print are just for printing.

  • Blocking Output types from Triggering.

    Client has a requirement that if overall credit status of delivery is 'B' ( Blocked ) then all output types Automatic or Manual associated with the delivery should be blocked.
    I added following lines of code in requirements for all output types associated with deliveries
      IF   KOMKBV2-CMGST CA 'B'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
    But we are still able to attach output types to deliveries with credit status blocked, any pointers ?

    hi Saket,
    This can be the issue you are facing.
    you are exiting from the current event with the 'EXIT' statment, but the validation is not applicable in the subsequent event.
    in the subsequent event, may be 'END-OF-SELECTION',
    insert the following statement, as the first statement:
    CHECK NOT KOMKBV2-CMGST EQ 'B'.
    hope this helps

  • Invoice outputs are not printing after saving the document..!

    Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
    Amar

    hI,
    GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
    AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
    REGARDS,
    SK
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM

Maybe you are looking for

  • Iphone 4s performance very poor after iOS7 update

    Hi Guys, I just thought i'd post my experience on my iphone 4s... First of all the phone is approx 18 months old. The phone was perfect until I updated to the popular IOS7 update, cough!!!! Heres what's happening... iPhone probs since IOS7 update Fir

  • From 6Mbps to 47Kbps in a heartbeat

    This is not a rant because frankly I don't have the energy for it. I have now been a BT customer for 14 days and I wont even bother going into the utter mess BT made of getting me online after giving them over a months notice of moving into our new h

  • Having problems in creating a class with name File.

    I want to compile a new class with class name as File, i have made it part of a new package also but still i am getting this error "File.java:2: CustomFile.File is already defined in this compilation unit import java.io.File; ^ File.java:6: cannot re

  • X220 not turning on!

    Today when I pressed the power button to turn on my CPU the only thing that happened was the light that illuminates the keyboard turned on briefly and an orange light flickers once on the mute and microphone buttons, the cap locks light also turns on

  • How to hide a network volume on the finder.

    We use a java application to manage advertising. This application must reach a smb network volume to access to the files. On the other hand we do not want that the users can access to this network volume (to see this network volume on the finder). It