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,
Sri
Hi,
Please refer to the below thread. Hope it helps.
Triggering workflow upon idoc fail
Regards,
Sridhar
Similar Messages
-
How can i trigger workflow when particular event happens in webdynpro
how can i trigger workflow when particular event happens in webdynpro
hi,
To trigger workflow , use the fm : 'SAP_WAPI_START_WORKFLOW'
Refer this thread for similar requirment : Workflow in WebDynpro
Blog : http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1564403950DB00699140435432809306End?blog=/pub/wlg/2778 -
Functiopn module associated with basic type of idoc without process code
can i know the function module assciated with basic type of idoc if i do not know the process code for the same
hi saurabh,
download.oracle.com/docs/cd/B10464_05/integrate.904/b10299/intro.htm
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = wa_edidc
TABLES
communication_idoc_control = it_edidc
master_idoc_data = it_edidd
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
i think this will help u
regards,
sindhu. -
How to find IDOC Function Module for Basic Type:ORDERS05
Hi,
What is the Transaction Code to locate the Function Module linked to the IDOC Basic Type & IDOC Message Type?
Appreciate Your Help.
Thanks,
Kannan.Hi Seshu,
Thanks for your reply. While creating a Custom IDOC, How do I link the IDOC Function Module and Basic Type. Appreciate Your Help.
Thanks,
Kannan. -
Trigger WBS idoc with basic type PROJECT01 when ever saved
Hi
I have requirement where idoc has to trigger each time the field value is changing to replicate changes to master data through a new document. And also only WBS elements with Project Type = 'TS' (Time tracking level). I am new to Idocs. Please hlp me how to do this. I have to use PROJECT01 idoc type.
Regards,
LohithaHi,
Please refer to the below thread. Hope it helps.
Triggering workflow upon idoc fail
Regards,
Sridhar -
#'s coming up in IDOC when IDOC flatfile processed with RSEINB00
Hi,
We have given IDOCs in flatfile structure which are needed to be loaded in backend SAP R/3 through XI and it needs some transformation,so we are using XI for mapping in between,otherwise we would have processed directly into R3.
Basically we are placing IDOC Flatfile in a folder and we are running RSEINB00 program on XI through a file port in XI and IDOCS are getting created in Backend SAP R/3.
When we place IDOC flatfile in Windows folder and process the file we are getting #s in IDOC fileds(many fields) ,but we don't see any #s when we process the IDOC flatfile when placing IDOC flatfile on UNIX .Our XI/PI is running on UNIX.
please help,what causing the problem?
Thank you,
Regards,
SathishHi Ravi kanth,
I see them (#s)in IDOC fields in backend SAP R/3 once the IDOC flatfile got processed.
as we are running RSEINB00 report on XI ,we noticed that empty tags are coming (from Windows OS Folder)in SXMB_MONI even before my mapping execution ,I think they are being populated as # in IDOC.but dont see this problem when IDOC file processed from UNIX folder.
You think ,if we save file in UTF-8 format or Binary might help rather than ANSI format and process it.
Thank you,
Sathish -
Trigger workflow when PR changed and copmlete activ workflow for same PR
Hi,
i am triggering the workflow for all line item of PR when PR is created. now i want to create workflow when PR change also.
but before triggering the workflow i have to check the any in process workflow for the same and if then complete is and delete all its work item.
for Ex.
PR -4500000001 created with item 10 workflow triggerd ,
suppose i changed it and agan save next workflow trigged now before triggerin this workflow we have to complete the 1 instance of workflow , delete all workitem of that instant
Please suggest how can i achive this .
Thanks in Advance
Deepanker DwivediHello,
We have already implemented this in our old project.Please find below the solution.
No config change is required.
1.Go to tcode SWETYPV
2. Double click on your linkage.
3. You will see there check function module.
4. MAke a custom custom function module of yours and it will have CDPOS and CDHDR as its component.
5. When so pr is changed or created this function module will be triggered there you can identify whether pr is changed or not using cdpos and cdhdr.
6. If it is change raise two events one for completeion of old worklfows which are in process second for creation of new workflow instance.
7. Create a wait step in your workflow which will wait for the completion event to be raised.
Hope it helps.
Regards,
Nabheet Madan -
IDOC communication between different basic type releases.
Has anyone run into a scenario where a newer SAP release would like to send a message to a partner with an older SAP release, using a basic type that does not exist in the older system? (eg. DELVRY05 which only exists in release 700)
In this scenario, what is the best practice, other than to have the newer SAP system send an older basic type that does exist in the receiving partner?
Thanks.Hi,
You can do this by specifying the older release in the partner profile outbound settings (for message type).
Under the "Outbound options" tab there is a field "Seg. release in IDoc type". There you can specify the older release and the IDoc will automatically be depricated when it is received in the receiving system.
Regards,
Gajendra. -
Trigger Workflow when IDOC_INPUT_ORDERS FM
Hi,
When there is an error in IDOC excution using FM "IDOC_INPUT_ORDERS', I have to send a mail to idoc Partner. Please let me know how to do it.
Thanks and Regards
RaviHi Ravi,
Pick the status of the idoc from the DDIC table when the sy-subrc is <> 0. Create a business object under SCDO and generate the update program which will generate the Function Module for the same. Once the Function Module is generated, call the same Function Module after the IDOC_INPUT_ORDERS depending on the sy-subrc and using the Return code from the same generated Function Module setup a workflow which triggers an email using the distribution list.
Hope this is clear.
Regards,
-Syed. -
Trigger workflow when a file is opened
I have a library with many files in it.
When users open a particular file, I want them to have a message displaying accept or reject message to them.
Thank you,
Bisi
Bisigreatcan you describe the exact requirement. Because when user click the document the control will pass from Sharepoint to Office web apps or office client. So i thought it not possible. anyway if you are descrip why you require that option means we can check
some other way
Ravin Singh D -
IDOC with basic type INVOIC01 help !!!
Hi experts,
In this idoc type INVOICE01, where I can see the customer number?
I created a function module to process this inbound IDOC and trying to get sales orders by BAPI function module BAPI _ SALES_GETLIST , but I don't know how to get the customer number to fill in this function module.
Thanks,
GyHi,
I viewed the structure E1EDKA1.
I found out the value of this segment in my inbound IDOC. Its partner function code: RE, LF, PI.
Could you explain that, and tell me which the partner function can I get the value of field vendor number (LIFNR - Vendor number at customer location ) and assign to customer number?
Thanks,
Gy -
How to get the IDOC name attached with message type (IDoc at receiver end)
Hello Friends,
I have configured the Order Confirmation Idoc.And the port used is XML_HTTP. in this port generally the idocs are sent to a java servlet.
So there the idocs are being created with name :- Idoc_no.XML
but i need to get the IDoc name prefixed or attached with the message type name, that the particular idoc uses.
waiting for your replies .
thanks,
jeevanHi Jeevan,
I am sorry for the confusion, the solution i provided is used when we go for XML FILe port. But when we go for XML HTTP port, this option is not available in SAP. So we need to check with the target system, whether there is any option available to read the file contents before saving , so that we can save the idoc with the required file name .
With my knowledge i assume why this option is not there for XML HTTP port is when we use XML HTTP port the idoc will be converted into XML and will be transported over HTTP protocol to an remote system which may be any type like XI, Java Servlet, Business connector, .Net etc. So in that case all the systems may not support the file name what we propose from the SAP. This is my assumption.
Please go through the help provided by SAP for XML Port types
http://help.sap.com/saphelp_nw04/helpdata/en/21/e9c975eb1911d6b2ea00508b6b8a93/frameset.htm
Please check with the Java guys who are working at the target end, whehter they may help you to resolve.
Thanks & Regards
Vijayanand Poreddy -
Memory leak when I use function with bstr_t type
Hello,
I use Visual C++ 6 and TestStand 3.1.
I use the tool: Purify from Rational Instruments to detect memory leak in my code.
When I use in my code, functions from the TestStand API using bstr_t types: GetValString, GetType... memory leaks appear.
Do you have an idea to solve this problem?
ThanksBreizh,
Etes vous sur que le problèmes soit lié au type bstr_r ?
Pouvez vous me faire parvenir un exemple de code mettant en oeuvre la fuite mémoire?
Raphaël T.
NI FRANCE
Cordialement,
Raphael T -
IDoc User exit: OREDRS (Basic Type ORDERS05)
hi experts,
I need to enhance FM u201CIDOC_INPUT_ORDERSu201D. So I had created the new project ZENHVEDA via tcode CMOD and under this new project, I assigned the VEDA0001 enhancement. I wanted to enhance Function exit EXIT_SAPLVEDA_001 (INCLUDE ZXVEDU03). But I had encountered this message:
Program names ZX... are reserved for includes of exit function groups. Message no. DS027
Any ideas what is this about? Appreciate so much.
TQ.TQ very much.. I'm able to create now..
Have a great day ahead...
TQ. TQ -
IDoc basic type FIDCCH01 with error F5866
Iu2019m trying to create an iDoc with basic type FIDCCH01 and message type FIDCCH type. Iu2019m getting error F5866 u201CWhen calling up the interface to financial accounting, no entry was made in the transfer parameter "Application key" when I process the idoc. I do not see an idoc value by this name. What am I missing in my config?
Thanks,
StanStan,
First, I'd like to mention that you determine where the error message F5866 is used by entering this message in transaction SE91 and pressing the where-used function. This won't show you any of the dynamic message calls, but it does indicate that function modules FI_DOCUMENT_CHANGE and FI_DOCUMENT_CHECK_CHANGE are both possible origins for the message you received. These function modules are part of the FI Interface which I am assuming is called during the processing of your IDoc.
ACCHD-AWREF is one of the values passed to the FI Interface function modules, and message F5866 is returned when that field is blank. This is why I assume that the IDoc in question is missing a value for the AWREF field.
Based on that assumption, I checked the definition for the IDoc type that you mentioned, FIDCCH01, via area menu WEDI. This IDoc type contains a segment E1FIREF with field AWREF. You can use transaction WE02 to display the IDoc causing the error and check to see if the actual data for E1FIREF-AWREF is blank (ultimately leading to the blank ACCHD-AWREF value and error F5866).
Cheers,
Jamie
Maybe you are looking for
-
PDF file cannot be previewed.
I have uploaded one pdf file on acrobat.com to embed same pdf file in my website so visitor can see pdf file into browser. But after uploading pdf file, i m getting following message. "This file cannot be previewed. Please download it instead." How i
-
Need to determine machine is ON / OFF ?
On network for a given IP address, I want to detrmine if that particular machine is ON / OFF ? How come I can achieve this ?
-
Image-hyperlink goes directly to that specific category of products (like balls only)
Hello, I have a complex beekeeping trading site, gogobeekeeping.com and i'm having a stand still on how i'm suppose to code, design this part. Basically I have 8 images that represent a specific product(s) and I want it to go directly to those list o
-
How do I install Adobe Photoshop and Premiere Elements 11 on my laptop if it has no CD port?
I have already bought both Adobe Premiere Elements 11 and Adobe Photoshop Elements 11. I want to install them on my laptop but my laptop doesn't have a CD drive. How can I install them??
-
Standby database creation on oracle8.0.6
Folks...can anyone point me to right documentation for creating standby database on oracle 8.0.6. I found very good doc for version 8.1.5 but not 8.0.6. Thanks S