Workflow triggered twice. Triggered using Message Control/Output Types

I created an output type for VA01. After creating (then saving) SO, workflow is immediately triggered which shouldn't be the case since I have to run program 'rsnast00' to trigger workflow. So workflow is triggered twice during the process. How do i fix this?
DATA:
dispatch time = 'send with periodically schreduled job'
application = 'v1'
transmission medium = 'events'
processing 1
  program = 'RSWEMCO1'
  form routine = 'CREATE_EVENT'

May be the workflow is triggered in such a way that when ever out put type is created then the workflow must be triggered.
As the purpose of the report stated by the SAP is
Purpose
Issues output from all applications with send times 1 and 2.
May be the output type is created twice but the output of the report is not Duplicated. ( mentioned by SAP ) check the documentation of the report.

Similar Messages

  • How to do configuration to create outbound idoc using message control

    The objective is to create outbound idoc based on some selection criteria using message control approach.The interface will be triggered when there is goods receipt via MIGO transaction.............Now based on the material document number from NAST table i am going to fetch data and do further processing inside the function module i am going to create.later idocs will be created via program RSNASTED.How we do the configuration to set up this whole operation?

    Please go thru:
    1) message control
    2) http://help.sap.com/saphelp_di46c2/helpdata/EN/c8/19878343b111d1896f0000e8322d00/content.htm
    Regards
    Shital

  • Why we are not using "Message Control" for Master data ?

    Hi friends,
    We are using Message control as output determination for Transactional data, <b>what is the main reason for not using the msg control for Master data.</b>Please explain with details...
    I am very thankful to them...
    Thanks and Regards.
    <i><b>Naveen Kumar. Chamala</b></i>

    Hi Naveen,
       Listing down those I know -
       1. Master data is expected to be changed/created less frequestly.
       2. Transactional data is expected to be chnaged/created more frequestly.
       3. Transactions to create/change/display master data do no have message control integration, since you are not supposed to print/fax/mail master data to your partners.
       4. Distribution of master data in generally supposed to happen within Enterprise boundry and typically you will have one central server maintaining master data which will be distributed to multiple downstream operation system (Some thing where MDM fits). So ideally when distributing master data using ALE you will be sending it to multiple systems.
       5. Distributing transactional data PO/SO etc is same as sending fax/print which fits with the requirement of message control.
    Hope this helps,
    Regards,
    Sanjeev

  • Idoc type used for an output type

    Hi experts,
    How do I find the Idoc structure used by an output type.
    When i look in nace it only shows the program name as RSNASTED and form routine as EDI_PROCESSING.
    Thanks,
    Raghu.

    I guess i have to explain the whole problem.
    We are trying to eliminate a couple of items from going down to 4 output types of which 3 of them are using EDI.
    So I think we should eliminate them from being populated in the line items of each IDOC.
    i.e) each basic type/ extension whichever it uses.
    Does it make sense?
    if not please advice, I am new to EDI.
    Thanks and regards,
    Raghu

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

  • Outbound idoc using message control

    i wnt to extend orders05 with a new segment with new fields,that are not being populated by orders05.
    I want to know what will be the total process flow so that i can see the idoc values using  we02.
    my tcode is me23.please help.

    Hi,
    Use the Exit "EXIT_SAPLEINM_002" to populate the data into Z segments in extended idoc.
    In partner profile (WE20) in message control tab you have to give the Apllication as 'EF' , message type and process code as ME10 for Order creation.
    Regards,
    Bhavana.

  • Outbound idoc process for sales order using message control

    Hi All,
        I am changing sales order using VA02 , while saving sales number IDOC is creating but I am unable to see the data filling into segments. I think idoc is triggaring in background.
      Can you please tell how I can see the data filling in to segments
    Thanks in advance,
    SN

    keep the break point in the program RSNAST00
    at this particular code.
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                             us_screen
                                                             if found.
    and also Activate update Debugging , before pressing the save button in VA02.

  • Triggering output type(Bringing it to unprocessed state )

    Hi All,
    I have one output type. I want to trigger that output type and then bring it to an unprocessed state.
    Please let me know how can I achieve the same.
    My requirement is that, after the output type is triggered, I have to process the output type and get the PDF.
    This part can be done. All I want is ,,,to bring the output type to unprocessed state.
    Please  suggest the needful.
    Regards
    Rudra

    set nast-vstat = 0

  • Ale/Idocs ..... what is the role of  message control

    Hi Guy s..
    Can Any one.. tell me..  Importance of message  control , Stand alone and  change pointer s in Ale  Idoc''' and where to use...

    Hi,
    Message Control:
    With Message Control is documents are output based on
    certain conditions. In ALE scenarios this is basically used for transfer transaction data (fulfilling configuration settings defined in message control) from one system to another system.
    Example: If you want to send purchase order IDocs from customer to vendor system using ALE. When saving of purchase order the IDocs should be triggered. Further the IDocs should only be sent when the purchasing document fulfils certain conditions - purchase document of a certain document type only needs to be sent. By output control we can configure the conditions and the timing (when the document should be triggered) and using ALE (as interfacing technology) we can send IDocs (containing application data fulfilling conditions) from one system to another system.
    For More Info on Message Control,
    /people/gajendra.bhakuni/blog/2007/03/13/message-control-output-control-for-ale
    Change Pointers:
    Change pointers are the mechanism through which you can send data to another SAP system or external system if there is a change happening to specific fields of master data.
    Change Pointer (Master Data Distribution)
    Purpose
    If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers ( ® Master Data Distribution).
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    do the following steps for Change pointers ::
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    go through this link which ll give you detail about the change pointer
    http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.htm
    Regards,
    Padmam.

  • No partner profiles (message control) maintained.

    Hi Friends,
    I have created a PO but getting error message in output type that
    No partner profiles (message control) maintained.
    Message no. B1127
    Diagnosis
    No IDOC partner profiles have been created for the message control for for application EF, condition key ZDPO and change message '' with partner type 'LS' and partner role '  '.
    Procedure
    Please create the partner profiles for the logical system that should contain the IDOC. You can either generate them from the ALE model or create them manually.
    Any pointers.
    Regards

    Hi,
    I get the same Error message can someone help?
    No partner profiles (message control) maintained
    Message no. B1127
    Diagnosis
    No IDOC partner profiles have been created for the message control for for application EF, condition key ZZVA and change message '' with partner type 'LS' and partner role '  '.
    Procedure
    Please create the partner profiles for the logical system that should contain the IDOC. You can either generate them from the ALE model or create them manually.
    I  need to send my PO information to a Logical system.
    1) Created new message type ZZBA. Message type triggers automatically but fails.
    2) I did create a LS Partner profile (PART123) in WE20
    3) In outbound parameters, in partner profile I entered
    LS/ORDERS
    4) Basic type- ORDERS01
    5) In message control i have
    EF/ZZBA/ME10
    6) Maintained condition record for ZZBA
                     PO type/ LS/PART123/A/4/EN
    please help
    Regards
    Raj

  • Output type message issue

    Hi  experts,
    I got an issue regarding po's output message related one
    here is issue : In my production system some messages(NEU) type are deleted manually (in me22n).
    next day to the same PO's NEU type message is sent to vendor with out physical trigger and with out any changes made to that PO's.
    PO message settings : output type : purchase order(VN) , medium EDI ,date/dispatch time 4 ,send with periodically scheduled job
    program : RSNAST00 job name : RSNAST00 ( i found it from tbtcp table)
    here i want to track out why it was happening. I am abap developer.
    where would be the problem is happening.my functional was saying that it was due to the job process which triggers program"RSNAST00 " in background.he was asking to check the current settings of that job process.
    Even i tried to debug the RSNAST00 program. still i didn't found any solution for that .
    here one more problem is : it was triggering output next day itself.my functional is asking to find out that from where it was extracting date and time to send output.
    why it was sending output next day .why not it on that day itself.
    thanks
    konidala

    Hi
    If output is sent through periodically scheduled job.Then output is sent as per the schedule.
    For eg,
    You have scheduled a job RSNAST00 for evey monday 9 am.
    Then it will process the output every monday 9am irrespective of time and date of output in PO.
    To send out put immediatley make date/dispatch time 1(Send immediatley).
    Hence check the job for time,day or date scheduled make necessary changes if required.
    Use SM36 tcode or you can find it is tbtcp table also.

  • Help needed in Message Control - very urgent

    Hi Experts,
    I have one requirement where in the customer wants to stop creation of IDOC which posts Invoice using message control and message control status should be changed to RED color and also the message should be populated in the processing log saying 'IDOC processing failed, External customer numbers not maintained'.
    Could you please let me know any user exits or customer exits available for this purpose.
    I have searched all the possibilities.
    I have chanked the program RSNAST00 which picks up the data from table NAST and looks into table TNAPR to get the processing porgram for th selected output and also this program checks the partner profile and gets the process code which creates an inoice IDOC. I searched for user exits and customer exits to popolate the required messages and stop IDOC creation.
    I am an ABAPER and i know i need to write code to do validation, but could not find the exact place where to write? I any ABAPERS looking at this post, please reply me.
    Can anyone please advise me how to go about solving this issue?
    Thanks
    Srinath

    Hi,
       I am sending the requirement.
      Please send me the solution.
    Requirements:
    1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
    Investigation:
    Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
    a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
    Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                                a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
    Solution:
    Requirement 1.
           IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
         a. This change applies to all billing types (F2, G2, L2, RE etc).
           Requirement 2.
                 Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
    If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
    Segment:  E1EDK02
                                  Field:  QUAL = 001
                                  Field:  BELNR = VBRK-XBLNR
    Please help me how to move a step ahead.
    Waiting for your immediate response.
    Thanks,
    Chandra.

  • ALE with Message Control

    Hi Guys,
    I have a small problem. I wish to trigger an IDoc to my Vendor as soon as a Purchase Order is created in my system. I am using Message Control for it.
    All the configuration for proposing the output type have been done and I am getting the desired output type shown in the "Messages" with correct recepient . But when the PO is saved and the Idoc is generated I find that the IDoc is sent to some other Logical System and not to the vendor.
    I have created the partner profile for the Vendor with the outbound parameters.
    Can anybody tell me what am I missing or could be wrong in my settings?
    Regards,
    Prakash Pandey

    Do you have a specific requirement?
    For  example, purchase order message control parameters will look like this,
    Message type - Orders
    application - EF
    Message type - NEU
    Process code ME10
    For purchase order change,
    Message type - ORDCHG
    application - EF
    Message type - NEU
    Process code ME11
    Change flag set

  • Message Control help

    Hello all, I am trying to use message control to send an IDoc to XI upon creation of an outbound delivery.
    I have tried a few things.  In my partner profile under <b>outbound parameters</b> (message control tab) I have set the <i>application: V2 (shipping)</i>, <i>message type: LD00 (delivery note</i>), and the <i>process code: DELV (idoc_output_delvry)</i>. 
    However, when I create the outbound delivery it's not kicking off an IDoc.  What am I missing?  Have I selected the wrong information for message control?  I want to use IDoc delvry05
    points garunteed.
    Message was edited by:
            Ethan West

    hi,
    but did you maintain condition records?
    transaction NACE or directly VV21
    (you need to see the IDOC in output messages
    of the delivery doc)
    you can also use LAVA output type but depends if you want to output delivery creation
    (delivery notification) or delivery posting 
    anyway create the condition record and it will work:)
    everything step by step in my book:)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to read the processing log of message control ....

    Hi,
        I would like to find the idoc # generated by message control ...
        The input is delivery number that uses message control....
        In the delivery header output part, we can see the idoc # by pressing the
        processing log button, but i don't know how to get this log in ABAP program
        any good suggestions? Thanks

    Hi,
    Do you mean to read the mail content in R/3 inbox or UWL..?
    If in R/3 then SBWP transaction Unread Documents..
    If in UWL see notifications part.
    Please if this does not solve your problem> please elaborate on your problem
    Regards
    Sai

Maybe you are looking for

  • Passive FTP Port Range -- Server 10.3.x Panther

    I know that the port range for Passive FTP is >1024, but I want to define that to a smaller group of unused ports so that I can specify that those ports are open in the Firewall. Can, how, and where do I define this port range??

  • Import midi  and play to external midi

    When I import a mid(i) file, it creates all the tracks and plays back through the system output. What I would like to do is play it to my USB attached external midi device. I can do this by moving individually each track to a newly created External M

  • Commenting functionality for blog pages

    Does anybody have any information as to when/how Apple might be planning to address a horrible oversight in an otherwise solid 1.0 release... NO COMMENTS! Is a blog really a blog without commenting functionality? I realize I could publish to a folder

  • OPA portlet Customization

    I am working on project to integrate OPA portlet in Webcenter. There is requirement to enable communication between OPA interview portlet and Webcenter portlet. once the interview is done , there should be a way to dispatch event to another portlet.

  • How to open a FCP 5 project in FCP version 4.5

    I need to open a project made i version 5 in a FCP version 4.5, is it possible?