BAPI_PR_CREATE - shows error Incompatible Call Rejected, see note 2295840

@ordo
@StefanSchnell
@gabi_verzea
HI All ,
I am trying to create PR using Invoking BAPI “BAPI_PR_CREATE”

and i received below error : :frowning:

ALso i am not able to see file name UiDEST:SapDefaultConnectionName
in my local drive as per error message path.

Please help

regards
Pratik Mehta

@pmexilinx

Hello Pratik,
please look at OSS 2295840. There it is described that incompatible function modules should be prevented from being called via external RFC to avoid inconsistent data. It seems that you need a kernel patch.
Best regards
Stefan

Thanks Stefan for response!

does it mean that i cannot call this BAPI “BAPI_PR_CREATE” from UIPATH?

@pmexilinx

Hello Pratik,
as far as I can see it has nothing to do with UiPath. Your SAP system has a blacklist for in-/outbound calls. Please look at RZ11 parameter ucon/rfc/check_blacklist. If it is active, not equal 0, you get this error message.
Best regards
Stefan

Hi Stefan

here is screenshot of parameter

BTW i am able to call other BAPI i.e. BAPI_RQUISITION_CHANGE

can you suggest me how to change parameter in SAP to allow inboud/outbound

@pmexilinx

Hello Pratik,
Value 1 = check on for inbound (server side) RFC calls is on
You need admin rights to set it, click on Change Value.

image

Be careful and read OSS 2259818 first, there are good reasons for blacklisting. You do everything at your own risk. You may harm the data integrity of your SAP S/4HANA System.
Best regards
Stefan

Thanks Stefan ,

Thanks for help

I dont have access, i need to get SAP admin into this and see if admin can change value.

regards
Prtaik Mehta

1 Like

sorry i missed to check

we should set value to 0 to remove it from blacklist ?

at the momnet i see value is 1

Hi,

I am able to use BAPI_PR_CREATE now.
SAP system has enabled necessary option to use BAPI_PR_CREATE

But now i am facing another issue . I cannot create multiple PR
i can successfully create single PR but not multiple PR

although it is not giving error and it is giving second PR number as

sorry when i display BAPI RET2 Messages i am seeing error

message : No instance of object type PurchaseRequisition has been created. External reference: # 2

any idea on above error?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.