Workflow & ALE

Hi,
I am aware that workflow can be used for triggering idoc as well as for error notification.However I have no clue about how Workflow can be used for the same.
Is anybody aware of any documents that will give some examples explaining these also the bare minimum terms related to workflow ,that I need to know in order to execute the process.
Thanks & Regards,
Vanita

Hi!
Refer to:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an advanced guide to implementing application link enabling.pdf
Your sections of interest:
4.2.9 Make basic settings for Workflow
4.3.17 Setting up Workflow
4.4.5 ALE Workflow Configuration Procedure
Hope it helps.
Regards,
Maxim.

Similar Messages

  • Change workflow administrator

    Hello ,
    Is there any way to change the wrokflow administrator . The scenario is a user (who is the administrator for many workflows, ALE config post processing permitted agent etc )is going to be replaced by a new user .  All the places where this user was configured has to be now replaced by the new user . Is there any easy way to do this . Or is there any easy way to find out where all the old user has been configured as reciever/administrator . Please show some light .
    Many thanks,
    JR.

    the workflow system is administrated on different levels - at least when it comes to do workflows on IDOCs - and that's almost the only aspect i know of - so you would have to change the whole setup - use tx.
    SWDC_RUNTIME to change the workflow administrator for worflows in general - a hint here: it pays a lot in the long run if you are not putting a single user-ID here, but tie it to HR-ORG: set up a position and attach a whole bunch of users to it, so you can distribute the workflows to more people and additionally you would never have to touch the admin-settings again ... the admin in this transaction would then be of type 'S' and the number of the organizational level. use tx. PPOME to set this up.
    tx. OYEA to set up an IDOC-Adminstrator on the top-level (there are several levels where you can set them also ... on level of the partners, for example -> check tx. WE20 for this. here goes the same as for the above mentionen customizing: use HR-ORG to define a position ... see above.
    both: IDOC-admins and workflow-admins are client-dependent, so you will have to repeat that action in every client in your system you want to use.

  • SAP Certified Technology Professional - Platform Technology with SAP NetWvr

    Hello Experts,
    I am planning to give SAP BASIS certification exam at SAP TechEd 2010
    SAP Certified Technology Professional - Platform Technology with SAP NetWeaver 7.0 (http://www.sap.com/services/education/certification/certroles/certificationtest.epx?context=[[P_ADM_SYS_70|G]]| )
    I am already associate level certified with Netweaver 7.0 ( Oracle 10g ) which is a pre-requisite to giving this exam.
    Can you please tell me how to go about the process of enrolling for a TechEd and what will be the approximate price ?
    -Amit

    Hi,
    You just need to have an overview knowledge of the ABAP fundamentals as you mentioned about:
    ABAP Debugging, Business Workflow, ALE/EDI/Idoc, Forms (Smart Forms/SAPScript), Authorization and Roles, Data Migration Transaction Variants,Analytics and Reporting, Foreign Trade (Foreign Trade in ERP, Global Trade Services), Programming in SD.
    You will be able to get basic SAP Help on these topics on SDN or google.
    Foreign trade would include export sales.
    Analytics & reporting would include SAP Query and LIS based reporting(std & flexible analysis).
    ALE/EDI/IDOC would include communication with other systems.
    Forms include output data, you really dont need to know the way it is coded, just std assignment like NACE(output determination), etc.
    Authorization & roles would include segregating responsibilities across different ppl in a big organization.User profile, parameters and other basis related logon objects refere to thi.
    Data migration is uploading and moving of data through BDC & LSMW's from flat files to SAP.
    Programming in SD would be knowledge of SD related tables, user exits/badi's and workarounds(if std config doesnt work).
    All the best.
    Regards,
    Amit

  • About ale error handling in workflow?

    Hi,
    can any one explian in detail ale error handling through workflow,its urgent for me.
    Regards,
    phani

    Hi Srikanth,
    follw the steps it will helpful u,
    Pre-requisites. 
    It is assumed that the reader of this article has some knowledge in SAP workflow BOR objects and ALE Idoc process like process code, Partner Profile etc. 
    Description 
    Here, we will be discussing in details the Error handling of an Inbound Idoc through triggering an event, which in turn will be triggering a workflow attached to the workflow. 
    Steps:-
    1.     Create custom BOR object with the events, Start and Stop event
    2.     Create a workflow for the error handling, like generating a notification whenever an error occurred in the Inbound Idoc.
    3.     Creation of Function Module and attachment with the Process Code
    4.     Create the settings for the Inbound Process of the Idoc through the Process Code.
    Creation of BOR objects. Go to the[http://www.****************/Tutorials/ALE/ErrorHandling/page3.htm] transaction SWO1. 
    Enter a name for the Object type and click ‘CREATE’ button for creating the custom BOR object. 
    Enter the details required for creating the BOR objects... 
    Create the Key fields and events of the BOR object.
    For creating the Key fields place the cursor on the Key fields and Click on the Create Button
    Create events for triggering the workflow and stopping the workflow.
    For creating the event place the cursor on the EVENTS and Click the create button like Key fields.
    Create two events.
    Enter the event name description etc and proceed further to create it. 
    Similarly create another event for ending the Workflow in the similar manner like that created earlier. 
    Now, Generate the BOR object through the generate button
    Release the EVENTS and subsequently release the BOR object. 
    After the creation of BOR object
    Create a workflow for the generation of notification whenever an error is reached in the Inbound Idoc.
    Execute the transaction SWDD. 
    Click on the CREATE button for creating the workflow for error handling. 
    Choose the Step type to be inserted for the notification like here we are using Send Mail option for sending a mail to the user whenever any error occurred.
    Activate the Workflow and test it whether it is working as per the requirement.
    After the successful completion it is required to attach the workflow with the event.
    Go to the Header section (Denoted by CAP).
    Go to the Start Events TAB.        
    Enter the details of the event with which the workflow should be linked like the category, BOR object type and the event with which that should be linked.
    Enter here the BOR object that has been created and give the name of event created for starting the workflow.
    Click on the Binding Button for generating the binding between the event and the workflow.
    Click on the Binding Button for generating the binding between the event and the workflow.
    Generate the binding and click OK button to save the binding.
    Click on Activate / deactivate button for activating the linkage.
    After the successful linkage the following sign will appear on the workflow..... 
    This shows that the workflow has been linked to the event and it will be triggered whenever that particular event will be triggered. 
    After the creation and successful linkage of workflow with the event it is required it is required to generate a function module and attached it to the process code. 
    Go to SE37 transaction and copy a standard process code function module to a custom one. Do no delete any parameters from the function module as the SAP standard program itself is calling this. 
    In that function module do the required validation and whenever the validation fails set a standard parameter ‘WORKFLOW_RESULT’ to 9999 from within the function module, otherwise normally proceed to set the status to 53.
    After the creation of function module it is required to attach it to the process code and corresponding attached to the message type at the Partner Profile stage.
    The process code is being created through the transaction WE42
    Go to the change mode and click the New Entries button for creating new process code. 
    Enter the Process Code Name, description and choose the processing type as Processing by function module. Click on the extension button of Identification.
    The details for the of the Process Code after clicking the identification button will be  
    Whenever idoc arrives into the Destination system then the standard SAP triggers the Process code attached to the Message type in the partner profile. The partner profile is being maintained in the transaction WE20. 
    Since, it is and inbound scenario so the message type and the corresponding process code will be maintained for the Inbound Parameters. 
    Click on Create Inbound Parameters button for creating new Inbound Message type and the corresponding message type. 
    Enter the process code for the corresponding message type. 
    Click SAVE button for saving the changes. 
    Whenever the IDOC arrives into the target system, it checks the partner profile and finds the corresponding process code. The process code is being linked with the function module through which the IDOC is required to be processed.
    Regards,
    Phani.

  • [HELP] ALE inbound process and Workflow handling problem

    Hello,
    first of all, i have to apologize about my english level. I will try to explain my problem (thanks for your patience ).
    Well, I'm implementing an ALE inbound interface. My development at this point are:
    - Customer Idoc Inbound function (with correct interface).
    - Customer Basic Type
    - Customer Message Type and correct assignment to the Basic Type (Tx WE81 and WE82)
    - Customer Object Type (Subtype of IDOCAPPL)
    - On BD51 I put "1" for my function.
    - On WE57 I put this:
    Processing by --> My function and type "F"
    IDOC type --> My Basic type (without any extension)
    Message --> My message type (without any message code or msg. function)
    Object --> My object type (subtype of IDOCAPPL)
    Direction --> "2" (Inbound)
    - I created a process code for this interface (on WE42):
    It is processed with ALE service and by a function module (my function).
    On "Module(Inboud)" part I put my function and maximun number of repeats "0". On IDOC part I put my Object type with start event "INPUTERROROCURRED" and end event "INPUTFINISHED".
    On application objet I put my Object type.
    Rests of fields are blank.
    - I defined a partner (WE20) with this new message type and process code.
    - Also I created a Task (PFTC) for handle exceptions in inbound process. It has a rule for agent determinate.
    I think it is all.
    My problem is: when I process an IDOC (from WE19 for example) and it gets 51 status (error), it has to launch an event that trigger my task, is this way? Well I'm not getting any event.
    I have all Workflow customizations OK (in this systems are running some Workflows).
    In my function code, when I detect any error I put an error in the status table and put in WORKFLOW_RESULT the number '99999'.
    Why I'm not getting any event? What I'm doing wrong?
    Thanks in advance. Regards.

    Hello again,
    finally I've solved the problem. The solution for me, was a config on tx. WE42 and some missing code in the function, I only fill WORKFLOW_RESULT with '9999', but I didn't add any register to RETURN_VARIABLES table.
    Regards.

  • ALE Workflow setup

    Hello Gurus,
    I want to setup workflow for ALE/Idoc error handling. Sap version 4.6B.
    Can anyone please tell me in detail the steps need to be configured/setup for
    the workflow. This is for customer master distribution.
    Urgent please.
    Thanks in advance.
    Rgs,
    Anant

    Hi Ananth,
    If you want to know how to activate the workflow for handling the idoc errors then here is the explabatio.
    Go to tcode : WE42.
    Choose any inbound processcode: ex : INVC and click on details.
    Here usually the events are defined(Start and END event) for IDOC Error handling through workflow.
    For process code : INVC
    Object Type                         IDOCINVCON
    Start Event                         INPUTERROROCCURRED
    End event                           INPUTFINISHED
    If any error is occured when IDOC for message type INVCON  is created then IDOCINVCON.INPUTERROROCCURRED event will be triggered. You need to use this event in the start condition of workflow "which in turn will send the workitem to user who is responsible for correcting the errors".
    Reward if it helps.
    Thanks
    Praveen

  • ALE: Workflow Objects

    HI,
    do yo have some information about ALE / IDoc (Monitoring/Exception handling/Processing) Workflow processing ?
    - Which BOR can be used ?
    -Which classes can be used ?
    - sample workflows.
    - can i use the alerting framework with workflows ?
    Thanks,
    Gordon

    Hi,
    Check
    http://help.sap.com/saphelp_46c/helpdata/EN/d4/09c276a3a811d189be0000e829fbbd/content.htm
    http://help.sap.com/saphelp_45b/helpdata/EN/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    Edited by: Neenu Jose on Oct 28, 2008 10:57 AM
    Edited by: Neenu Jose on Oct 28, 2008 11:00 AM

  • ALE Workflow

    We're implementing ALE between our financials server and HR server.
    We would like to set up some sort of monitoring to make sure the IDocs are processed successfully and want to notify users via some sort of Workflow.
    From what I understand, the program RSEIDOCA collects the Idocs based on the status/message type etc.. criteria selected and sends them via SAP Mail to the appropriate people
    And, I need to make sure all the partner profiles have an Agent assigned to them - this would be the person who's notified of errors.
    I'm sure there's a lot left out. Can someone explain ALE workflow? How similar is it to normal workflow used on FI side?
    thanks,
    robert.

    Hi Robert,
    SAP provides std WF for error handling. The link below will give you some useful information to get started. Hope this helps.
    <a href="http://www.asug.com/client_files/Calendar/Upload/ ASUG%20EDI%20IDoc%20Error%20Handling%20Using%20SAP%20Workflow.ppt">IDOC Error Handling using Workflow Presentation</a>
    Cheers
    VJ

  • ALE Workflow Scenario

    Hi,
    Can somebody tell me how we can handle errors in ALE on Inbound side using workflow?
    All the help is appreciated.
    Thanks,
    Sneha.

    HI Sneha,
    Please go to transction WE20, pick the Partner / Idoc that you would like to assign the Org. chart to.
    Then you should configure "post processing :permitted agent" Tab with the Organizational unit.
    Then double click the process code associated with the Idoc Type and click the button next to the Function Module associated with this process code.
    Check IDoc Tab and see if Stanard Event INPUTERROROCCURRED is present in the field called start event.
    Regards
    Saurabh Goel
    Edited by: Saurabhgoels on Jul 9, 2009 1:37 PM

  • How workflow work in ale layer.

    hi guruj,
    If an error occurs in the ALE layer, the IDoc containing the error is stored and a workflow is created.
    how that works.
    can u suggest some site or forwrd some material on it on([email protected]).
    thankyou .

    HI
    see the links
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6702507d11d18ee90000e8366fc2/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/17/eb18c879ebd54798921ecbd2268a8e/content.htm
    download docs.
    http://www.erpgenie.com/sapgenie/docs/application_link_enabling_whitepaper.doc
    http://www.erpgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://hosteddocs.ittoolbox.com/KW122906.pdf
    http://65.13.3.56/Misc/Processing%20in%20the%20ALE%20Layer.pdf
    http://www.dataxstream.com/doclib/ALEOptimization.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6a90d6aa-0b01-0010-8a83-cf0e6c70dcce
    <b><REMOVED BY MODERATOR></b>
    VIVEKANAND
    Message was edited by:
            Alvaro Tejada Galindo

  • Steps for ALE/EDI error handling using workflow

    Hi
    I need to handle errors in outbound IDoc generation using workflow. Can you please let me know the steps to be used for this. Step-by-step answer would be appreciated.
    Thanks

    Seetha,
    I have this already..
    IDOCPACKET                                                           
    Object type                         IDPKWMMBXY             
    End event                           MASSINPUTFINISHED      
    IDOC                                                          
    Object type                         IDOCWMMBXY             
    Start event                         INPUTERROROCCURRED     
    End event                           INPUTFINISHED          
    Application object                                                                      
    Object type                         BUS2017                           
    Start event

  • ALE Error Handling with Workflow

    Hi All,
    I have some issues with using workflows with idocs:
    In our process codes , the business object , start event for error handling and success event has been configured.
    Now if the workflow_result is 0 then success event is triggered and if workflow_result = 99999 then start event is triggered.
    I have two qquestons:
    1. How are these events triggered as I did not find any code in the F.M> to triggerethem.
    2. What is the purpose of End event.
    Apart from this , is there any area where workflows can be used with IDOCS.
    Thanks and Regards
    Aman

    Hi,
    In case I am creating a custom F.M. to process idoc data then I can use the F>M> to create the event.
    However In case the standard F.M. is being used and workflow_result is set to 9999 in it and I have consigured the start event to it,in that case I will not be able to use thie F.M> to trigger the workflow.
    Thanks and Regards
    Aman

  • ALE: Error handling through workflow

    Hi All,
    My requirement is to trigger a workflow to send a mail when ever there is an error in posting an IDOC.
    I have created a FM, Business object, Process code and assigned FM & BO to it. created a workflow object and assigned BO object to it. I am getting mails too.
    But the problem here is I am getting mails to SAP inbox even the IDOC is posted successfully.
    I am setting the value WORKFLOW_RESULT = 99999 when IDOC posting fails.
    My requirement is to trigger workflow only when there is an error in posting IDOC.
    Please suggest.
    Thanks in advance,
    Prathap

    I think there are standard workflow for your requirement. Please check WE46 transaction code for the task.
    Thanks
    Arghadip

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to Prevent Workflow when Automatic PO created in 3rd Party Sales

    Hello,
    We have set up a special Sales Document Type for the purpose of 3rd party sales. The item category is TAS, so the Purchase requisition gets created automatically.
    The problem is that when the Sales Order is saved, it starts a Business Workflow and sends an email to our EDI Technical Team.  We want to disable the workflow functionality in this sales document because it is not needed.
    Is there a way to disable ALE for a sales document type?
    Thanks very much!

    Hi,
    Please review the following notes for more information:
    550388     FAQ: Customizing of third-party and individual Pos
    210997     Accnt assignmt categoriesin third-party and indiv.P
    On creating Purchase order for requirement created for a customer sales order stock, if the customer sales order stock is not valuated, this means a Consumption ( GBB ) account is involved here. If the posting is a consumption account, SAP allows the user to decide whether it should be autotmatically or manually entered. Because of this option, system need this account to be set with Field 'Automatic posting only' to ' '.
    With this field  'Automatic posting only' setting to ' ', whether the account can be automatically or manually entered is then controlled by the field status in the PO creation. If you do not want the user to enter the account manually, then this account should be set to display mode in PO.
    If the customer sales order stock is valuated, then in General business process, this would involve a BSX ( material account )
    postings. Normally this is automatically derived during PO creations. No manual enterring is allowed. Thus if it is correct to set this account with field Automatic posting only' setting to 'X' in FI settings.
    Please read the note 37563.
    Please check if note 842977 is present in your system.
    regards
    Waman

Maybe you are looking for