cancel
Showing results for 
Search instead for 
Did you mean: 

Parked AP invoices WS 10000051

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member193382
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

surjith_kumar
Active Contributor
0 Kudos

Hi,

In Financial Accounting --> Accounts Receivable and Accounts payable > Business Transaction> Incoming Invoices/Credit Memos --> Make and check settings for Document Parking --> Create Workflow Variant for Parking Documents (Click this)

There you have to assign your workflow No.

Regards,

Surjith