on 11-08-2006 8:45 AM
Hai....
can any one say me what are the steps to be followed to trigger a workflow with an inbound idoc .....
Will be rewarded if useful...
Regards,
Jhansi
Hi Jhansi,
actually depends on in which case/status what you would like to do.
An example for your own code you find:
Configuring Inbound Processing via Workflow ->>>
http://help.sap.com/saphelp_47x200/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
Shortly:
...
PERFORM WRITE_STATUS_RECORD TABLES i_edids "Status write
USING errorcode.
...
CALL FUNCTION 'EDI_DOCUMENT_CLOSE_PROCESS'
...
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'IDOCTEST'
objkey = cidocnumber
event = 'InputErrorOccurred'
start_recfb_synchron = 'X' "synchroner Aufruf
...
The other way would be to find an customer exit to trigger the either via SAP_WAPI_CREATE_EVENT or SAP_WAPI_WORKFLOW_START.
If you write in details what you would like to do exactly, I think we are ablo to help you more.
Regards
Tibor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jhansi,
I have the very similar problem, with IDOC message type S1INVEXC.
Can you please tell me how to trigger the workflow as soon as the IDOC inbound message is recieved.
We are working ont the SPEC2K project, where the SAP-SD and the EDI (Web) is integration is happening. the Order to Invoice & Billing, process is simulated. But we need to build a Workflow for the Notification of the Invoice comments of the Customer via IDOC message type S1INVEXC.
Please its very urgent rquirment...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
1) In transaction WE42(Inbound Process Code) u create a new process code and in the field Identification assign the workflow r task id which has to b triggered for the inbound idoc.
2) Assign the process code in partner profile .
This will trigger workflow and all the validations , approval procedure can b done in workflow itself .
Regards ,
Scobby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.