EXIT_SAPLF051_002 ?
Hi experts ,
I find that the above user exit gets triggered when I park a document in FV75.
When i change the same document and again save the same exit gets triggered. How do i find the difference between the 2 cases.Is ther any particular field through which i can achieve this? kindly help.
Also,after parking a document if i then add attachment to it,it is not necessary to save the document .I have a case where i have to trigger a workflow only if the parked document has an attachment. But if the they park the document(save) and then attach.How do i trigger my workflow?
Kindly help.
Regards
Ashwin.
Hi Ashwin,
If you have Different Tcodes for Creating & Changing the document then it can be triggered based on SY-TCODE. If the Transaction code is same for Creating & Changing then it will trigger in both the cases.
e.g.:
IF SY_TCODE = 'FV75'.
Code......
ENDIF.
Reward points if helpful answe.
Ashvender
Similar Messages
-
Parked AP invoices WS 10000051
I have setup the above workflow but it is not triggering when I park a document in FB50. I have activated the event FIPP CREATED in SWETYPV and on my WF, but the vent doesnt seem to be triggering. Any ideas
Hi,
You need to do some work around to achieve this.
In case to trigger your workflow you can use some enhancements.
We used the following enhancement to trigger the workflow for parked documents.
Try the user exit EXIT_SAPLF051_002.
For your case
IF sy-tcode = 'Parked document tcodes' .
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
object_type = 'FIPP'
object_key = objkey
event = 'CREATED'
COMMIT_WORK = 'X'
EVENT_LANGUAGE = SY-LANGU
LANGUAGE = SY-LANGU
USER = SY-UNAME
IFS_XML_CONTAINER =
IMPORTING
return_code = rc
event_id = ei
TABLES
INPUT_CONTAINER =
MESSAGE_LINES =
MESSAGE_STRUCT =
else.
endif.
Hope it helps.
Regards,
Raj -
Workflow not trigerring for BO : ZFIPP ( FIPP )
Hello Fiends ,
I have an issue with the Workflow not getting triggered.
The setup is working fine on development system , but not on test system.
Have created a custom BO : ZFIPP for FIPP and workflow template for FIPP - create and change event.
The event linkage has been activated on SWE2 . The workflow template has no issues. I have tested using SWUE and am able to create a workitem . We are using FM :SWW_WI_CREATE_VIA_EVENT_IBF to create the event.
But , When i park a document using FV50 t.code , the workflow does not trigger . Also , I tried testing the BO : ZFIPP with the parked document , Its not able to find the data from the workflow tables.
Please assist.
thanks
Raghu VHi,
Follow Amandeep Singh's previous post. If EXIT_SAPLF051_002, EXIT_SAPLF051_002 are not raising exceptions, see if the functional configurations under the below path is right. Better to take a functional consultant's help.
SAP Reference IMG -> Financial Accounting -> Financial Accounting Global Settings ->Tools ->Workflow -> Workflow for document parking
Verify release from amount and the workflow ID entered in the detail screen of OBWA.
Regards,
Krishnakumar PM -
User exit for FB60 after POSTING the Document.
Hi,
I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .
I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .
But my requirement is i need an enhancement which trigger after user posts the document.
Please help me...
regards
paveee.....Hi
Following are the available user exits for fb60 transaction...
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
If you still not find appropriate exit, go for badi's...
1)To search for a badi, go to se 24 display class cl_exithandler.
2) double click on method get_instance,
3) get a break point on case statement. execute and start the required transaction in new session.
4)look for variable exit_name. It would show the available badi's.
<b>Please do reward if useful</b>
Regards
Dinesh
Maybe you are looking for
-
Before image and after image is not updating correctly with 2LIS_04_P_ARBPL
Hello BW gurus I am facing problem with the posting date extraction from the extractor 2lis_04_p_arbpl. I am getting incorrect before image and after image. Please let me know how to solve this problem. Thanks and regards kiran.
-
Need help in fetching data based on date
i want to write the query for the below statements ? 1) net_bank_cr from rm_memorandum for the previous year end 31st March 2) net_bank_cr from rm_memorandum for the as on date 3) net_bank_cr from rm_memorandum as one year prior to current reporting
-
Import/Export Legal Regulation Control w/ One Legal Regulation
Hi, In a separate thread, Dhillipan helped me configure a legal regulation using Country/Country Group (config activity: Activate Legal Regulations at Country/Country Group Level) which was very helpful to restrict Sales Orders / Deliveries from a sp
-
Hi, Where can I put my image directory? For example, my application requires functionality to upload and display various images. These images can't be jar'd with the WAR file, because they are dynamic. But the problem is: How to get a file system ref
-
i downloaded the free upgrade for OS X Mavericks, can i delete this download before installation ? i don't want it after reading reviews.