What triggers workflows execution from IDocs
I have set up a process that triggrs workflows from IDocs by setting the Process code to 'Process by task'.
In some cases, when the workflow falls over, it would be easier to create a new workflow rather than fix the old (the workflow has checks in so that it will not create duplicate documents at any point).
I would like to write a restart report that allows an IDoc to be reprocessed using a new workflow, but I don't see how it is triggered; it is not via an event because the workflow does not have a triggereing event.
Can somebody tell me what the function module is that triggers the workflow, or if it is a report program?
Kind regards,
Tony.
Found it: it is IDOC_START_INBOUND.
Bit of a giveaway really.
- Tony.
Similar Messages
-
Hi
I have not worked on forms part regarding workflow.
I have a scenario where in when a workflow is started, work items are required to be executed from Portal. Here underlying tasks when the work item is executed, will be a form ( which might be used to display or modify the data.)
Wanted to know what approach has to be taken so that workflow can be executed from web?
I understand in case of NW04s, we have Adobe forms.Also wanted to know how Adobe form technique can be used in case of Workflow?
Thanks in advance
Regards,
Akshay BhagwatHi Akshay,
Basically what you need to do to execute a workitem from the web is to install the Knowledge Management functionality of Netweaver which will give you the Universal Worklist.
The worklist is configured to recognize workitems from the R/3 system. That is all that is required. (The workitems will still be accessable in R/3 in addition)
The default visualization in the UWL is the SAP Gui for HTML which gives you a screen that pretty much duplicates what you see in R/3. If you want a more Web like screen you can use transation SWFVISU and associate a specific workflow task with another method of visualization like a WebDynpro or an Iview. This requires some additional configuration in the UWL for this and you also have to build the Iview or WebDynpro
If your users find the SAP gui for HTML acceptable it's just a matter of config.
Look for a document called "How to Configure the Universal Worklist" that should be available for download to get the details of the necessary configuration.
Hope this helps.
Brent -
Workflow not triggered for PR from MRP run
Hi,
I have PR Release strategy workflow configured, working well when i try to create PR manually, triggers workflow.
PR's created thorugh MRP run, triggers release strategy but not workflow.
I checked the event trace 'releasestepcreated' event not triggered through MRP run.
Please respond ASAP.
Your inputs will be highly appreciated.The response i got from SAP.
Please see note 67866 Purchase req. from materials planning -> no workflow
Thanks,
Indira -
Why do I only see grayscale values when I add color from color picker? This happens occasionally, but I don't know what triggers it.
We can't know. You have not provided any system information, not told us what version of AE, details about your artwork, color management and whatnot.
Mylenium -
Triggering workflow upon idoc fail
Hi Gurus,
I have to trigger emails to users thru workflow whenver an idoc fails. Please teach me how can I achieve this.
Your help is highly appreciated.Hi
Here is the link for idoc error handling workflow.
[idoc error handaling|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609e6465-15de-2a10-859d-da7bcbca54a3]
[idoc description|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8088e6fc-5637-2b10-c189-9733fa621cf1]
Regards
vijay -
What is workflow ? What are the advantages of using workflow? What are the
what is workflow ? What are the advantages of using workflow? What are the steps for building a workflow ?
Hi Leela,
Your question is very straight question.
Better u can follow these links.
http://www.esnips.com/doc/90b7763b-f9d9-4861-a273-04674b9fe3f2/Workflow
http://www.esnips.com/doc/991843e0-8686-4949-94b9-f45d90081b22/workflow
And i'll give some theory answer for ur questions
i.e.,SAP Business Workflow can be used to define business processes that are not yet mapped in the R/3 System. These may be simple release or approval procedures, or more complex business processes such as creating a material master and the associated coordination of the departments involved. SAP Business Workflow is particularly suitable for situations in which work processes have to be run through repeatedly, or situations in which the business process requires the involvement of a large number of agents in a specific sequence.
You can also use SAP Business Workflow to respond to errors and exceptions in other, existing business processes. You can start a workflow when predefined events occur, for example an event can be triggered if particular errors are found during an automatic check.
SAP provides several workflows that map predefined business processes. These workflows do not require much implementation. For an overview of these SAP workflows, refer to Workflow Scenarios in Applications.
Integration
SAP Business Workflow uses the existing transactions and functions of the R/3 System and does not change the functions. You can combine the existing functions of the R/3 System to form new business processes with SAP Business Workflow. The workflow system takes over control of the business processes. If you are already using SAP Organizational Management, you can use the organizational structure created there to have the relevant agents carry out the individual activities. It is possible to have an activity carried out by a position. This ensures that the respective occupiers of the position can carry out the individual activities during execution of the workflow. This means that personnel changes in your organization are taken into account immediately in the execution of a workflow.
Features
SAP Business Workflow provides a number of tools for defining and analyzing workflows as well as for monitoring operation.
The Workflow Builder is for displaying and making changes to workflows. You can make small extensions directly to the original workflows supplied by SAP, such as carrying out your own agent assignments or changing deadline monitoring.
There are several Workflow Wizards to support you in the definition of workflows, with which you can create specific parts of a workflow. The Workflow Wizard Explorer gives you an overview of the existing Workflow Wizards.
In order to make the functions of the R/3 Systems available to a workflow, you use business objects, which you can define and analyze in the Business Object Builder. These business objects are made available to the workflow in reusable tasks. The Business Wizard Explorer gives you an overview of all existing tasks.
The end user receives information about the activities they are to carry out in their Business Workplace. This provides them with a central overview of all the activities that they are authorized to carry out. They can commence the activities from here.
Several tools are available to the workflow system administrator, with which they can control and analyze the current workflows. The workflow system administrator is notified of problems automatically by the system.
Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Rewards if it is useful. -
Hi !
I'd like to know if there is any way to postpone the workflow execution after the event is triggered.
We have a scenario that the process will trigger an event and based on a specific date (informed by the user) the workflow must wait before execute the necessary tasks.
Is there some way to postpone the workflow execution after the event is triggered ?
<u>Example:</u> the event is triggered at Oct 15, and the workflow must wait until Oct 22 to execute the tasks.
Thanks for the attention!
Kind Regards!Hi Alex
I agree totally with KK this forum is not all about points and moderators are intervening to get rid of requests for points from the posts. ABAP forum is one where this is happening.
Coming to your response below, you say
>>>>'Cause in my case there are no dialog steps and by the end an e-mail is sent to the user.
If you only need to send an email after some delay, I suggest you write a program to do this. It can then be scheduled as a periodic background job that can look back at documents entered, may be, 7 days ago; and then generate emails for those. If the volume of your documents is high then the solution you are trying to implement would put undue strain on the system. Please weigh the pros and cons before going ahead.
If you can explain in more detail what you are trying to achieve then someone can suggest a better solution. -
Call / trigger an ECC workflow step from PI ?
Hi,
For a flow "ext (file) -> PI -> ECC (workflow)", from PI, I need to run / execute / trigger () a workflow step in ECC, which already exist. I think that I can acheive this by creating an abap proxy in ECC in which I will call a Bapi or Method to run / execute / trigger () this workflow step. I don't know exactly how for the moment (in parallel I'm doing search about it), but that's not the matter.
before to waste time by searching in this way, what's the best solution to call an ECC workflow step from PI ?
Many thanks.
Mickael
(*) maybe I don't use the good terminology. Sorry.hi Shabarish,
I'm confortable with web service, IDoc, RFC/bapi and abap proxy (and ...), but here, I prefer to use abap proxy (asynch + sxmb_moni in ecc) except if there is another better approach
else as in PI we have ccBPM, so a workflow , as in ECC we have also workflow , does my approach (abap proxy & call method) is the good one ? or is there a better way between these two workflow tools: PI + ECC ? like a standard "workflow module" or a workflow "connexion" ? (I fear I know the answer but I would prefer to be sure),
Note: I'm in PI 7.11 SP06 and ECC 6.0.
Regards.
Mickael -
What is the Successfull processed IDOC status number?
Hi Experts
What is the Successfull processed IDOC status number?
arjent Please.
Thanks in advance
SekharHi Chandra,
Below are IDoc Process Codes
For outboud Idocs:
1 IDoc created
2 Error passing data to port
3 Data passed to port OK
4 Error within control information of EDI subsystem
5 Error during translation
6 Translation OK
7 Error during syntax check
8 Syntax check OK
9 Error during interchange handling
10 Interchange handling OK
11 Error during dispatch
12 Dispatch OK
13 Retransmission OK
14 Interchange Acknowledgement positive
15 Interchange Acknowledgement negative
16 Functional Acknowledgement positive
17 Functional Acknowledgement negative
18 Triggering EDI subsystem OK
19 Data transfer for test OK
20 Error triggering EDI subsystem
21 Error passing data for test
22 Dispatch OK, acknowledgement still due
23 Error during retransmission
24 Control information of EDI subsystem OK
25 Processing despite syntax error (outbound)
26 Error during syntax check of IDoc (outbound)
27 Error in dispatch level (ALE service)
28 Not used
29 Error in ALE service
30 IDoc ready for dispatch (ALE service)
31 Error - no further processing
32 IDoc was edited
33 Original of an IDoc which was edited
34 Error in control record of IDoc
35 IDoc reloaded from archive
36 Electronic signature not performed (timeout)
37 IDoc added incorrectly
38 IDoc archived
39 IDoc is in the receiving system (ALE service)
40 Application document not created in receiving system
41 Application document created in receiving system
42 IDoc was created by test transaction
50 IDoc added
For Inound Idocs
51 Error: Application document not posted
52 Application document not fully posted
53 Application document posted
54 Error during formal application check
55 Formal application check OK
56 IDoc with errors added
57 Test IDoc: Error during application check
58 IDoc-Copy from an R/2 connection
59 Not used
60 Error during syntax check of IDoc (inbound)
61 Processing despite syntax error (inbound)
62 IDoc passed to application
63 Error passing IDoc to application
64 IDoc ready to be transferred to application
65 Error in ALE service
66 IDoc is waiting for predecessor IDoc (serialization)
67 Not used
68 Error - no further processing
69 IDoc was edited
70 Original of an IDoc which was edited
71 IDoc reloaded from archive
72 Not used, only R/2
73 IDoc archived
74 IDoc was created by test transaction
Regards,
Satish -
Hi,
I want to set you a workflow for one IBOUND idoc coming via edi partner. I want to use the organization units and then assign the user to it. what are the steps required for setting up a new workflow totally from the start for a IDOC / Message type and config.
Thanks in adv
/ManikSTEP 1. USE SALE -> Error Handling
STEP 2. Go To Basic Workflow Settings.Use Auto-customise button to allow the system to configure most of the options.
STEP 3
a)Go to SAP MENU -> TOOLS-> BUSINESS WORKFLOW ->
DEVELOPMENT ->DEFINITION TOOLS->TASKS
b) Create a customised task putting IDOCCLFMAS for example as object type and INPUTFOREGROUND as object method.
c)Associate the triggring event InputErrorOccurred with the standard task.
d)Associate the terminating event InputFinished with the standard task
e) Assign appropiate agent to the customised task. For this GO TO
Additional data -> Agent assignment -> Maintain
STEP 4 -- Go to transaction WE20.In the partner profile of the message type CLFMAS enter for the post processing permitted agent.Enter the agent type (Organisational unit,Workcenter,Job,Person,Position or User),agentId and the language.
STEP 5- In case of any error in processing of Idoc a workflow notification is sent to concerned agents.The message is sent to the inboxes of concerned persons which indicates which interface has erred,the associated IDOC number ,status of the IDOC and the date and time of error.
Regarding the complete set up you can check the workflow tutorial in help.sap.com.
regards
Aveek -
Hello All,
When SAP is triggers an IDOC to SAP XI, the conversion from IDOC to IDOC XML takes place in SAP XI(correct me If Im wrong here).
Can some body tell me what is the mechanism behind this conversion from IDoc to IDOC xml....and there is no adapter comes to into picture as the sender is SAP....which component does this conversion in XI
Regards,
ThaiTo Convert IDOC to IDOC XML and the other way around,IDOC Meta Data is required by the IDoc adapter(availabe at Integration Server).
IDoc metadata is loaded in IDX2 Using RFC connection maintained in IDX1(port maintenance in the IDoc adapter).
For more details refer http://help.sap.com/saphelp_nw70/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm -
Trigger workflow with inbound IDOC.
Hi all,
i have to trigger my workflow with incoming idoc which coming from other server. this IDOC content is financial document. can any one tell me what is the procedure to make it happen.
Regards,
Sri harsha.MHi Harsha,
You have to call this Event FM in your ABAP program
for example
REPORT Z_TIBOR_EVENT_SAP_SW .
INCLUDE <CNTN01>. " include container macros
DATA: OBJKEY LIKE SWEINSTCOU-OBJKEY,
EVENTID LIKE SWEDUMEVID-EVTID.
DATA: EVENT_CONTAINER LIKE SWCONT OCCURS 0 WITH HEADER LINE.
PARAMETERS:
OBJTYPE LIKE SWETYPECOU-OBJTYPE DEFAULT 'BUS1001006',
MATERIAL LIKE MARA-MATNR,
EVENT LIKE SWETYPECOU-EVENT DEFAULT 'CREATED',
END_DATE LIKE SYST-DATUM DEFAULT SPACE.
OBJKEY = MATERIAL.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = OBJTYPE
OBJKEY = OBJKEY
EVENT = EVENT
CREATOR = ' '
TAKE_WORKITEM_REQUESTER = ' '
START_WITH_DELAY = ' '
START_RECFB_SYNCHRON = ' '
NO_COMMIT_FOR_QUEUE = ' '
DEBUG_FLAG = ' '
NO_LOGGING = ' '
IDENT =
IMPORTING
EVENT_ID =
TABLES
EVENT_CONTAINER =
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
commit work.
ENDIF.
Thanks and Regards
Prabhakar Dharmala -
Break points are not triggering in RFC from portal application
Helllo,
I am running Biller Direct application from portal, which is triggering a standard SAP RFC FM back end, am trying to debug my execution from portal, for this i put the External Break point, Session break-poiint at the beginning of this SAP RFC FM, but, its not stoppping at ll, here the user is a Web user, not dialog user.
How can i stop my execution in this SAP RFC FM to check how the structures are populated?
Thank youHi Raju,
Please try the below way and check if it works.
Open the RFC in R/3 i.e.
SE37 -> give FM NAME -> DISPLAY.
Click on UTILITIES -> SETTINGS -> CLICK THE TAB debugging.
In the screen against the field users : give the value 'WEBLOGIN'.
Uncheck the FLAG 'IP MATCHING'.
And at the bottom check the check box against the field
'Session Break Point Activate Immediately'.
Save these settings.
Then go to the line at which you want to debug the code and put an external break point over there.
But, please take care of one thing as we are giving it as a WEBLOGIN, when ever some logs in, it will reach the brteak point and stop there. We have to click F8 to continue. Or else, the portal will be hanged for them.
Thanks & regards,
Y Gautham -
What is the diffrence btween IDOC and BDOC?
what is the diffrence btween IDOC and BDOC?
Hi,
In short Idoc is an Intermediate Document and Bdoc is an Business Document.
Data can Be Transferd from Sap to Non Sap using Idoc where as we can transfer
data between sap to sap in Bdoc.
IDoc
IDoc (for intermediate document) is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system. IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions
BDOC
BDoc is a business document which is technically similar to an IDoc. BDocs are used to communicate data between two systems.
BDocs come in two types. One is the message BDoc (MBDoc) and the second is the Synchronizing BDoc (SBDoc).
MBDoc is used for replicating the data between SAP CRM and SAP R/3
SBDoc is used for replication and realignment between SAP CRM and mobile clients
som times SAP will be integrated with som other third party systems
ex SAP with BAAN here we should comunicate one to other systems
here we can integrate using EDI technology in this the formate of data will be in I DOCS EX :EDI is a bridge between 2 systems .I doc is a container to transfer data from one sys to other
this Idocs we can use in ALE technology also
BDoc is called Business Document,
BDoc represents data in a structural format. This sturctural architecture is use to either input data to system or send data to other system.
BDocs are data carrier that can either collected in system(Inbound) or can be send out of system(Outbound)
Please refer following link:
http://help.sap.com/saphelp_crm40sr1/helpdata/en/ec/8d7e3a7e760b55e10000000a114084/content.htm
Thanks,
Medha. -
"Unable to load workflow actions from server. Please contact your server."
I get the following error message when I want to create or open a workflow in SharePoint Designer 2007
"unable to load workflow actions from server. Please contact your server
administrator."
I don't receive this error as a site collection administrator, but one of my contributors gets the error.What Chris mentioned is kind of abnormal situation described in
http://office.microsoft.com/en-us/sharepointdesigner/HA102379121033.aspx#20.
However, normally, you won’t be able to create SPD workflow if you only have Contribute permission level. I give the user Design permission level then he can
create SPD workflow.
There are other factors affecting permission to create SPD workflow:
1.
According to
http://office.microsoft.com/en-us/sharepointdesigner/HA101005871033.aspx#4
, the SPD workflows are stored in a site-level hidden document library called Workflows. You should make sure that user have permission in this document library so that the created workflow can be saved successfully.
http://blogs.msdn.com/sharepointdesigner/archive/2008/11/25/locking-down-sharepoint-designer.aspx
describe the method to manage permission for this hidden Workflows document library: open the site in SharePoint Designer >> right-click the Workflows library >> click Properties >> click the Security tab >> click the link “Manage
permissions using the browser”
2.
SharePoint Designer contributor setting (http://office.microsoft.com/en-us/sharepointdesigner/HA101174691033.aspx
) can also block the user from being able to create workflows.
Maybe you are looking for
-
Sharepoint Foundation 2010 Workflows created in Sharepoint Designer
Using Sharepoint Designer 2010 (64 bit) on Sharepoint Foundation 2010 (free version) I'm trying to get some basic workflows I've designed against a list in SPD working. They effectively just email a user the list item is assigned to based on some sim
-
Query based on values in a csv
Got a CSV file with about 11,000 entries, trying to query database based on those entries. Was thinking something along these lines: select * from table where value in (column 1 in csv file) Not sure how to do this, anyone know?
-
MSS - Appraisal - No user mapping defined for system SAP_ECC_HumanResources
Hi Experts, We are using MSS for appraisal. When we click on Maintain Performance Documents link on MSS, we gets Status Overview for employees. After that when we click on In Preparation point, it gives following error. No user mapping defined for sy
-
New file default settings???
Hi Guys, how do I change the default settings so it's always the same when I open a new file? For Instance, I'm trying to set the sample rate to 44.1k so that everytime I open a new file it defaults to that sample everytime. It was set to that sample
-
I have exported images from lightroom in tiff format, now I would like to get them printed. The printer I have spoken to only works with jpegs? This brings up several questions, will I loose image quality? If so maybe I should be looking for a differ