cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_BUPA_CENTRAL_CHANGE is not working in BG Job

ravi_a3
Participant
0 Kudos

Hi All,

I have used BAPI_BUPA_CENTRAL_CHANGE for change the business partner data. It is working fine in foreground. but background ground it is not working.

when i execute in background , the job status is showing as finished. but changes are not happening in those bp tables.

Please help me to solve this issue.

Thanks & Regards,

Ravi A

Accepted Solutions (1)

Accepted Solutions (1)

kavindra_joshi
Active Contributor
0 Kudos

Hi ,

Sometimes if the data to be updated to large , the Background program would time out. You can also debug the process in Background.

You can check this link http://wiki.sdn.sap.com/wiki/display/ERPFI/Debug+program+used+in+background

~Kavindra

ravi_a3
Participant
0 Kudos

Hi Kavindra,

Thanks for ur valuable response.

i have found the problem through background job debugging method, which have mentioned the link.

Reason:

I have used GUI_UPLOAD for getting data from .txt to file system. In background job we have to use application server data's using open data set concept.

Regards,

Ravi A

Answers (2)

Answers (2)

Former Member
0 Kudos

Is it possible to change the 'firstname' for the BP category person???

ravi_a3
Participant
0 Kudos

Hi Swadini,

we can change the BP person name.

code:

CENTRALDATAPERSON-FIRSTNAME = 'XYZ'.

CENTRALDATAPERSON_X-FIRSTNAME = 'X.

call the bapi

call transaction commit.

Regards,

Ravi A

Former Member
0 Kudos

Hi

little hint, authorisations missing?

Why dont you trace it?

Regards

a

ravi_a3
Participant
0 Kudos

Hi Andrea,

I have executed in foreground it is working fine. While working in foreground it is not asking any authorization.

But why it is not working in background?

Can you please tell me , how to trace the authorization in background mode.

Regards,

Ravi A

Former Member
0 Kudos

Hi Ravi

generally speaking the program flow in background sometimes is different than foreground, that's why in first instance I always analyze auths

Transaction ST01 and select a user that you will use only for the background activity (bear in mind to activate this only after last dialog)

Let me know how it goes

a