Workflow -idoc
hi,
Pl suggest whether workflow and idoc(ALE/EDI) are same ?
Hi ,
Both are different and have individal functionality.
WORK FLOW is a tool designed to facilitate and automate the Business process which are not mapped in SAP.
For example release procedures and Approvals will fall under WORK FLOW
where as IDOC is used to send or receive information from or to Legacy system which was mapped to SAP.
IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling
An IDoc can be generated at any point in a transaction process. For example, during a shipping transaction process, an IDoc may be generated that includes the data fields required to print a shipping manifest. After a user performs an SAP transaction, one or more IDocs are generated in the sending database and passed to the ALE communication layer. The communication layer performs a Remote Function Call (RFC), using the port definition and RFC destination specified by the customer model. The IDoc is transmitted to the receiver, which may be an R/3, R/2, or some external system.
Hope it is clear,
cheers,
santosh
Similar Messages
-
Implement Oracle UCM 11.11.5 Workflow (idoc scripting)
Hi guys,
We are using Oracle UCM 11.1.1.5.
We have a 3 stages workflow. The stages are called as "Preparation", "Verification" and "Approval". We use Aliases. Users can be a members of many Aliases. But our requirement is a same user can't approve two subsequent steps. Lets say a user is member of all aliases. Hence he will be able to approve all stages of the workflow. But our requirement is the document who prepared should not be allowed to approve it in the verification stage. The system should throw a warning message. in the same way the person who approves in the verification stage should not be allowed to approve it in the "Approval" stage. Can we use idoc scripting to do that? Please give some idea and sample scripts to do this.
The question we have are how we can identify the previous stage approver and how we can display warning message on the screen when a same approver trying to approve again in the subsequent stages?
Thanks in advance
With Regards
Jacob
Edited by: user8778076 on Aug 29, 2011 8:39 AM
Edited by: user8778076 on Aug 29, 2011 9:04 AMHello VJ,
Please see details on using Rapid Clone -
FAQ: Cloning Oracle Applications Release 11i [Doc ID:216664.1]
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
Regards,
Debbie -
Invoice posting is not triggering idoc message in EBP to FI backned ECC6
Hi ,
We are working on classic scenario with SRM 5 having EBP and SUS on separate clients on same srm system.
Now we are extending standlone scenario for selected product categories .
We have created product master ,product category & vendor master in SRM EBP client. Defined below settings
1.Define Sourcing for Product Categories -local
2.Define Objects in Backend System -EBP of type Local
3.Define G/L Account for Product Category and Account Assignmet
We are able to create Shpping cart ->purchase order( local)->confirm goods & invoice for local product
With central ccountant authorization employee user has created the invoice and resulted status of invoice as
"Currently Being Transferred" , expected to post the invoice in ECC system but after invoice idoc is not getting generated in SRM in order to transferred to backend ?
I have tried and in debug mode found that ,Logical System of Logistics Backend is wrongly
attached to invoice ie instead of ECC logical system it is appearing SRM Local logical system . After changing the
backend value for invoice header -BE_LOG_SYSTEM from srm to ecc backend & executed
FM-BBP_PROCDOC_TRANSFER for particular invoice ,Idoc Basic type BBPIV01 is generated and passed to ecc.
But not able to identify why wrong "Logistic backend " is appeared in invoice. we have below attributes maintained in
Employee
Accounting System for Vendor VENDOR_ACS DSRCLNT254(SRM local)
Company Code BUK 100
Cost Center CNT 430900
System Alias SYS LOGSYS250
System Alias for Accounting Systems ACS DSRCLNT254
System Alias for Vendor VENDOR_SYS LOGSYS250
Vendor
Accounting System for Vendor VENDOR_ACS LOGSYS250(ECC)
Company Code BUK 100
System Alias for Vendor VENDOR_SYS LOGSYS250(ECC)
Kindly help me to post the invoice to ECC backend ,Thanks Sheetal,
We have classic scenario in place so ECC system (LOGSYS250 ) is defined as backend system of type- ERP_2.0 &
FIvalid- realtime backend validation .
We are using ECC is the accounting system defined in the configuration setting Define Backend Systems.
Note: More to add that Invocie idoc generated after backend logical system correction in invoice header data of SRM ,
it is posting invoice successfully in eCC backend . So data correction for logical system value is seems some problem with standlone scenario configuration .
We have validating this scenario for selectd product categories as with SRM 5 version in place, customer is intrested to use Invoice management system ie. invoice should be validated with exceptions in SRM before posting to ECC.
We have EBP & SUS in different client on SRM system ,so in existing classical scenario invoices created in SUS against ECC backned purchase orders is not flowing to IMS in EBP . Can you help me to validate the scenario ?
Regards,
Santosh
Edited by: Patil Santosh D on Oct 2, 2009 1:51 PM
Edited by: Patil Santosh D on Oct 5, 2009 11:37 AM
Edited by: Patil Santosh D on Oct 9, 2009 7:38 AM.
Issue is resolved . It is the System Alias for Accounting Systems setting in organization module .
Now with completion of workflow idoc message-BBPIV is generated in SRM and successfully posting in ECC.
Thanks a lot for your inputs . -
Workflow, Folios and Document Update question?
" Hi All,
System Setup - Oracle UCM 10gR3, ORacle 11G DB using OracleText
We are currently passing a folio through the workflow and want to be able to read the metadata of the content/docuemnt item stored in the folio.
We can do this from iDoc from say another webform/webpage but when we do it in the workflow scripting interface we get an error as follows:
Event generated by user 'Secretariat' at host 'appecmts01'. Error
generated when executing query '((SDATA(sddDocName LIKE 'TEST'))) and
((((prj/%) WITHIN dDocAccount)))'. Unable to execute query
'CotsSearchQuery'. ORA-20000: Oracle Text error:
DRG-50857: oracle error in ctx_query.result_set
ORA-20000: Oracle Text error:
DRG-51030: wildcard query expansion resulted in too many terms
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_QUERY", line 772
ORA-06512: at "DB_ADMIN.CONTENT_SEARCH", line 116
ORA-06512: at line 1
What it is doing is automatically adding the "and
((((prj/%) WITHIN dDocAccount))" statment onto the search query, but only from the workflow iDoc script interface. Using the iDoc elsewhere works correctly.
Is this standard behaviour? What can we do to resolve the issue barring disabling accounts?
Script we are using in workflow
<$getViewValuesResultSet("FolioContentId", "", "")$>
<$count = 0$>
<$numRows = 0$>
<$loop SchemaData$>
<$numRows = rsNumRows("SchemaData")$>
<$if strEquals(getValue("SchemaData", "dCpdParentDocName"),"UP-003563")$>
<$numRows = rsNumRows("SchemaData")$>
<$test = getValue("SchemaData", "dDocName")$>
<$QueryText = "dDocName<Matches>`test`"$>
<$executeService("GET_SEARCH_RESULTS") $>
<$if SearchResults$>
<$loop SearchResults$>
<$Poopie = "Vaylee"$>
<$endloop$>
<$wfMailSubject="Prop Owner - decision, namely <$dDocTitle$> (<$dDocName$>) FYI"$>
<$wfMessage="Prop Owner - <$numRows$>........Folio id: <$dCpdParentDocName$>......Doc id: <$getValue('SchemaData', 'dDocName')$>..This is a computer generated e-mail to notify you that the Agenda has served on the Commitee Meeting on <strong><$Committee_Meeting_Date$></strong> and the final version of the Minutes of Meeting, namely <strong><$dDocTitle$> (<$dDocName$>) </strong> has been compiled and approved and is ready for distribution to the correct proposal owners / initiators <i>(click on the link below to view the Minutes of Meeting)</i>."$>
<$wfNotify(Poopie, "user")$>
<$endif$>
<$count = count + 1$>
<$endif$>
<$endloop$>
Thx
Edited by: Stuart S on Jan 12, 2009 11:10 AMHi
I missed out to read that line in the problem that you had put across. I had come across a scenario like this and the reason and the workaround that i ffigured out was :
Cause:
This is caused by the 'ZonedSecurityFields' configuration entry not being set with the 'xClbraUserList' and 'xClbraAliasList ' options.
Solution
To implement the solution, please execute the following steps:
1. On the Content Server's file system, navigate to <ContentServer>\config
2. Make a backup copy of the 'config.cfg' file
3. Open the 'config.cfg' file
4. Under the "Additional Variables" section, place the following configuration entry:
ZonedSecurityFields=xClbraUserList,xClbraAliasList
5. Save the changes and close the file
6. Restart the Content Server
Let me know if this resolves the issue you are facing.
Thanks
Srinath -
Hi all,
I have the same type scenario that is file initiates the bpm that invokes the Webservice.the file data goes into bpm as the input data of the webservice and webservice gives the response and then the web-service response is mapped to
idoc and finally posted to R/3.
The interface sI created:
1.outbound Async -
>for file
2. Abstract async----
>bpm reciever step.
3.Abstract sync----
>bpm sync send step.
4.inbound sync -
>for the webservice to recieve the reqst and to send the response to Abstract sync
5.Abstract async----
>to send the data out of BPM
6.inbound async----
for idoc
created 3 communication channel.
1.file adapter: sender
2.SOAP adapter: Recv
3.IDOC adapter: Recv
created 3 reciever determination
Business process instance in ID
reciever agreement(2)
interface determaination
But getting a problem in BPM.
I think the scenario is logically correct as I have seen previous
SDN suggestions.
But getting the problem in BPM's sync step.and the SOAP rec channel is also inactive.in BPM workflow I can see the recv step is getting file req data but after that in the sync send step
its stuck up.getting error.
Please sir suggest me.Remove the interface you created for Idoc that is inbound async one. use the imported Idoc itself as the interface and also as the message type. Everything else looks good though i did not really evaluate ur ID configuration..
VJ -
Some of the error idocs are not falling into Workflow Inbox
The extract of IDOC list with status 51 from WE02 transaction is not matching with Workflow inbox column "object", some of the idocs which are errored are not showing in the workflow inbox. Here we are in need to get all the errored idocs into the inbox. Please suggest me to proceed further.
Hi Smita,
Thanks for your reply.
I have maintained the suggested role SAP_GRC_SPC_SCHEDULER in backend for an user id and i can able to see a job is getting completed in SM37.
However, the task in the inbox hasnt come yet.Any idea you may have as to how much time it will take for task to come into inbox.Or is that i need to do any more extra task.
Please advice.
Thanks
Ashok S -
Is there any table or report which gives IDOC nos related to workflow task?
Sreedevi, it depends what you want (where you start from), so please be more specific in your question next time (or if this doesn't answer your question).
If you have a work item number and want to know the IDoc number you can use function module SAP_WAPI_OBJECTS_IN_WORKITEM to get a list of all object references. Then you have to process it from there. You can make a flexible solution which is compatible with future added IDoc types by checking the object type of each object returned and traversing the inheritance hierarchy until you get to object type IDOC. Then you know it is an IDoc, and you can find the IDoc number as the key of the object. Or you can hardcode supported object types using a CASE or IF statement. The flexible solution would be much more fun to program in my opinion.
If you have an IDoc number and want to find work items you have to go the other way. That means starting with object type IDOC, finding all the inherited object types and for each of these using function module SAP_WAPI_WORKITEMS_TO_OBJECT. Again, another possibility is to hardcode the list of object types you want to check.
The table Rose told you about, HRS1201, contains no IDoc numbers, but it contains all the tasks with the methods they use. So actually you can use that to find all the object types you need to check (whether they are inherited from IDOC), since all work items will refer to a task definition. -
HCM = FI: Posting an IDOC via Workflow
Hello,
I hope I'm right here in this part of the forum. In addition I hope my explanations will be good enough to understand.
Every month the HCM-System send IDOCs (payment of salary) to the FI-System. Everything works well (in partner profile (WE20) we used message types ACC_EMPLOYEE_EXP, ACC_EMPLOYEE_PAY, ACC_EMPLOYEE_REC, PDTCO_POSTPRIMARY und PLANDATATRANSFERCO_POSTKEYFIGU (all inbound parameters) and process code BAPI is attached). Every payment is automatically and fully posted in FI.
Latter the FI accounting clerks do not want. They do want to decide when the IDOCs are posted into the FI. What we've done so far ist that we've changed the process code BAPI at the above mentioned message types into ED00. ED00 uses the standard task TS30200088 for generating a workitem in the BWP of a or some users. That's exactly what we want, no instant posting but self-decided action through the clerk. The only problem is that the standard task only displays the IDOC as seen in BD87. The process then can be terminated via the menu and the status of the IDOC changes to 53, but no FI posting has been processed what's not very amazing 'cause the standard task only displays the IDOC. Now my questions:
1. Is there any process code which comes with an appropriate SAP-Standard-Workflow to fulfil the request of the FI users (keeping the IDOC in Workflow status until the user executes the workitem which leads to posting of the IDOC)?
2. If not, do I have to create a new process code and do I have to create an own Workflow?
3. If all that would not help what else can I do?
In advance many thanks for your help.
Kind regards,
Frank
Edited by: Frank Zieger on Oct 21, 2011 11:40 AMHi,
U have to use the lookup.
1) pass the customer no to R3 system as input to function module.
2) IN function module check whether that customer no present or not?
3) Based on that u send a result back to Xi and go ahead.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231
chirag -
Inbound idoc processing by workflow
Hello,
How can I find if an inbound IDoc has been processed via workflow ?
following are details -
1)status records 50 and 64 for the idoc show RFC user ID whereas 62 and 53 show WORKFLOW_020 user ID.
2)manual re process in test system using WE19 has all four status records by login user ID.
3)BD67 values for this process code was checked for the start events.
4)I checked standard task 30200090 following oss note 325361
5)The invoice document posted via this idoc has created by user ID as WORKFLOW_020
I do not have full knowledge of inbound idoc processing via workflow and I am in the process of learning the same. Kindly help.
thank you very much in advance,
BhaktiHello,
How can I find if an inbound IDoc has been processed via workflow ?
following are details -
1)status records 50 and 64 for the idoc show RFC user ID whereas 62 and 53 show WORKFLOW_020 user ID.
2)manual re process in test system using WE19 has all four status records by login user ID.
3)BD67 values for this process code was checked for the start events.
4)I checked standard task 30200090 following oss note 325361
5)The invoice document posted via this idoc has created by user ID as WORKFLOW_020
I do not have full knowledge of inbound idoc processing via workflow and I am in the process of learning the same. Kindly help.
thank you very much in advance,
Bhakti -
Exception handling in IDOC using workflows
exeception handling in idoc using workflows
i. what will be the trigerring event in case of idoc ?
ii.will it be BOR -- IDOC<message_type >?
thanks in advance
naval bhattHi Naval Bhatt,
it depends on what you would like to do, but there is an object IDOCAPPL, more information you find Objekttyp IDOC<MSGTYP>:
http://help.sap.com/saphelp_47x200/helpdata/en/04/92725546f311d189470000e829fbbd/frameset.htm
General how it works:
Objects, Events and Tasks to be Created
http://help.sap.com/saphelp_47x200/helpdata/en/78/2176d251ce11d189570000e829fbbd/frameset.htm
This is an example how the application should implement the exception handling in IDOC by using workflows.
Events for example:
- inputErrorOccurred
- inputFinished
Regards
Tibor -
How to configure idoc&workflow in PI 7.4?
Hello colleagues,
I need configure the Idocs adn workflow in PI 7.4 but only I find documentation of PI 7.3.
Can you help me?
Thanks.Hi,
Please find below document for your reference:
NetWeaver BPM for System-to-System Message Orchestration (Including Migration of ccBPM to NW BPM)
How To Use the ESR Eclipse Tool with the Enterprise Service Repository
Introducing iFlow in PI 7.31 Configuration
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0c92caf-3e44-2f10-169c-838b94d6fd0a?QuickLink=index&overridelayout=true&53820235201459 - 7.31x
Regards
srinivas -
IDOC Error Notification - WorkFlow
<b><u>ALE-IDOC Master Data Distribution</u></b>
We have a busines requirement to email/notify an agent when an incoming idoc has an error-status. Please let me know how to proceed with this.
Thanks in advance!Hi,
if you are using the Inbound FM to process the IDoc, then you can very well use the work flow.
after processing the IDoc you will come to know the status of the IDoc .if any errors are there you can generate workflow.
Regards
vijay -
Idoc scripting in workflow tokens
Greetings,
A question for developers: up to what extent of Idoc Script calls can be made inside Workflow tokens? Only the function wfAddUser or other Idoc Script functions as well?
I'm trying to develop a dynamic workflow component that involves reading possible user, alias or ad-hoc metadata values from a database table using a custom Idoc Script function, into a token. So basicly, something like this:
<$wfAddUser(customIdocScriptFunctionToFetchUsers(dDocType),"user")$>
Is anything like this possible at all? Tests done so far result in the content item entering and exiting the workflow automatically due to probably being unable to load the users, the strange thing is that no erros are being output, not even in the content server output with "workflow" or "idocscript" sections being traced...
The point of this mechanism is to avoid having to create large ammounts of (hidden) metadata to serve as support to store users/alias to be loaded into workflow steps as tokens. Feel free to suggest any other alternatives tho :p
Thanks in advance,
- Tiago VidigalHey Tiago,
Typically you try to limit your token script to just wfAddUser. It is possible to use basically any idoc script in a token but any failure at all will result in the behavior you are seeing with the item skipping straight through the step.
Using your current design here is what I would do:
-In the entry script for that step make your call via the custom script function
-Store the result of the lookup into a workflow variable: <$wfSet("usersForStep", getCustomUsers(dDocType))$>
-do your wfAddUser in the token: <$wfAddUser(wfGet("usersForStep"), "user")$>
-Sidenote: You can add multiple users at once in one wfAddUser call if you pass a comma delimited string of the usernames
Reason this works: the Entry script is always evaluated before a token when entering a step, meaning you can put any complex logic there where it is easier to debug and keep your token code clean.
Hope that helps,
Andy Weaver - Senior Software Consultant
Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >
Edited by: Andy Weaver on May 18, 2009 10:55 AM
(Fixed one of my code snippets) -
Outbound Idoc through Workflow in CRM
Hello,
Consider this scenario, I need to create an opportunity document through Idoc inbound in CRM 4.0. There are certain validations done at the XIF layers as well as the application layer.
In case if there are any errors in the Idoc or errors the opportunity document created(application level errors), I need to send an outbound Idoc containing complete inbound Idoc data with certain rejection codes.
Can some body let me know the best way to achieve this. I
If this can be achieved through workflow, please provide the complete details on how to go about this.
Thanks In Advance,
KiranHello,
Consider this scenario, I need to create an opportunity document through Idoc inbound in CRM 4.0. There are certain validations done at the XIF layers as well as the application layer.
In case if there are any errors in the Idoc or errors the opportunity document created(application level errors), I need to send an outbound Idoc containing complete inbound Idoc data with certain rejection codes.
Can some body let me know the best way to achieve this. I
If this can be achieved through workflow, please provide the complete details on how to go about this.
Thanks In Advance,
Kiran -
Trigger workflow when IDOC Status 51 & with Basic Type "ORDERS003"
Hi Experts,
Can any one explaine how to create worlflow for "When Idoc status is 51 with the combination of Basic Type "ORDERS003" . If this condition will satisfy i need to send a mail using worklflow. For this one Bussiness type is BUS2102".
Can you explaine any one please i am new to Workflow.
Regards,
SriHi,
Please refer to the below thread. Hope it helps.
Triggering workflow upon idoc fail
Regards,
Sridhar
Maybe you are looking for
-
IPhone 4S to iPad 2 - Settings won't transfer.
I used my iPhone 4S backup from iCloud to set up my new iPad, but none of the settings, contents, or game data transferred over. How do I get EVERYTHING to transfer? All my apps are set up individually I stead of grouped in folders. And none of my co
-
I have had Firefox as my default browser. About one week ago, I tried to go on line and found that my browser was now "Bing". I tried to get Firefox back but could not. I would like to change back to Firefox but do not know how.
-
IPhoto Stops responding when assembling new book
I've been trying to buy a book on iPhoto but it keeps freezing out every time. This is a 50 page photo book, and after I click on the "Buy Book" button, the "Assembling Book" process starts, but after no more than 7 pages out of 50 of "Assembling", i
-
SCCM 2012 R2 Upgrade Error - Fails on SQL
Greetings, I am currently working to upgrade our current SCCM 2012 SP1 CU3 servers to SCCM 2012 R2. i have ran all the pre-checks and all comes through without error. when doing the upgrade the following errors appear and as such it will not move f
-
Hi All, Is there any command to import to ODI project on existing work repositroy with update mode or import work repository on new work repository. My scenario is every time ,i can modify the ETLs.So i can check in the total work repository every t