Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for creating a ticket in the background

Former Member
0 Kudos

Hello!!

I'm searching for a function module which will generate a ticket in the background for the Service Desk that they can see, ok...we have a problem with the rfc-connection.

I have a job who runs once a day.

If the sy-subrc NE 0.

' Generate a Ticket for the Service Desk, that they can see it in their business workplace.

Endif.

But how can I handle this?

Thanks for all your ideas.

Wishes!

1 REPLY 1

Former Member
0 Kudos

hmm... ok.

i found a solution:


CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

you need all fm's and then it works.

maybe somebody can also use it