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

Problem BAPI while calling with in BADI

Former Member
0 Likes
325

Hi ,

My requirment is quiet different.I need to create new relation ship in BP transaction in CRM.for that i am using BADI BUPR_FILTER_RELSHP .But in side the BADI i am using BAPI BUPA_BAPI_RELATIONSHIP_CREATE to create the relationship.

But the BAPI is not working inside the BADI.Out side BADI if i create Zprogram and if i call th BAPI then it is working fine.

Please suggest me any other way.

1 REPLY 1
Read only

Former Member
0 Likes
289

Hi,

You can create one function module to create the relationship using BAPI and then call this function module in your

badi in bagkgroung task.

Call function in background task.

thanks.