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 WITH DESTINATION

Former Member
0 Likes
910

Hi all,

The function SUSR_ZBV_USER_SEND_BACK dumps at the line COMMIT WORK..

What should do the lines:

CALL FUNCTION 'BAPI_USER_CHANGE' IN BACKGROUND TASK

DESTINATION log_central

The destination "LOG_CENTRAL" what values should have? What it does?

Thanks!!!

6 REPLIES 6
Read only

JoffyJohn
Active Contributor
0 Likes
804

If you see the code

SELECT SINGLE logsys FROM t000 INTO logsys WHERE mandt = sy-mandt.

its passing the current client value and geting the log sys and based on this getting the remote desitination.

ang then comparing that with log_central. if they are different the function is getting executed.

log_central should have a value of remote destination created in sm59 where function module the function module is going be executed.

Just debug the function module and see what is happening.

Read only

Former Member
0 Likes
804

The value of log_central is a Conexion, but what values should I check at the tx sm59 so It can work Ok?

Thanks for your help ...

Read only

Former Member
0 Likes
804

It seems to be the destination of Your ZBV master system.

ZBV is a central user management!

Regards

Klaus

Read only

0 Likes
804

Hi Klaus,

What is the the destination of ZBV master system? Where can I check if its working OK?

Regards

Jennifer

Read only

0 Likes
804

Hi Jennifer,

you can get the destination of your ZBV master system in SE37 calling test mode for FM SUSR_ZBV_CENTRALSYSTEM_GET.

Start it with Delivery Model "USER".

You will get the information in Export Parameters CENTRAL_SYSTEM_LOGSYS and/or CENTRAL_SYSTEM_RFC_DEST, but only, if you have an active ZBV.

These values should be the same as in your dump.

Regards,

Klaus

Read only

Clemenss
Active Contributor
0 Likes
804

Hi Jenn,

first of all read and try to understand what the dump says, i.e. COMMIT WORK in UPDATE TAK is not allowed.

Read the dump once fully! Post what you do not understand.

Regards,

Clemens