Application Development and Automation 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: 
Read only

Function Module for creating a ticket in the background

Former Member
0 Likes
486

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
Read only

Former Member
0 Likes
410

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