cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BRFPlus: Call Function Modules outside system on which it is hosted

Former Member
0 Kudos

Hi All,

Can we call or access Database Tables or Function Modules/RFC in system other than where BRFPlus has been hosted.

Example: If BRFPlus is hosted on System A, Can it Call FM/RFCs in System B or access Database tables in System B.

If Yes, How?

Please help us with an solution to this.

Thanks and Regards,

Neha Ashokkumar Singh

Accepted Solutions (1)

Accepted Solutions (1)

christianlechne
Active Contributor
0 Kudos

Hi,

you can use the procedure call expression to call a static method of a class of a function module in your system A. WIthin this method/function module you can access the data from other system via the "usual" ways like calling a RFC function module or a BAPI

Hope that helps

Best regards

Christian

Former Member
0 Kudos

Hi Christian, Thanks for your response.

Hi All,

We need your advise on whether SAP DSM can be used for the above mentioned requirement.
That is, if BRFPlus is hosted on SAP System A, can it access the data/FMs/Tables in another SAP System B using SAP DSM?

If so how?

Also, how to check if the system has a DSM License?
Using Document:
Thanks and regards,

Neha

former_member190447
Participant
0 Kudos

Absolutely. With DSM you can have a central designtime system, let's say system A. When creating decision services and business rules, you can access backend data of any systems in your system landscape. So there's no need for data replication for designing rules. Decision services then can be deployed to any systems of your system landscape, including system B, where they can be processed, and have access to all DDIC data, ABAP methods and function modules.

For further details please refer to http://scn.sap.com/docs/DOC-29158. Especially the overview presentation and the 3 video tutorials provide for a good introduction to DSM.


Former Member
0 Kudos

Thanks a lot for your reply and a helpful link.

Also, How can we check if the DSM add-on or license is installed in the system?

The tcode is "DSM"...right?

Regards,

Neha

former_member190447
Participant
0 Kudos

Right. Transaction code is DSM. The software component is DECSERMG. Be aware that this component is needed for the designtime system (DSM system) only. Not for any managed system where decision services are being deployed to.

If you tell me your company's name, I can check weather there is a DSM license in place. Alternatively please contact your account executive. He can check for the license as well, or he can get you one. Material number is 7015437.


Former Member
0 Kudos

Thanks a lot, Your reply has really helped, the videos are really very helpful.

We followed it and could link our BRFPlus to a managed system, but when we tried to simulate our Procedure Call, we got the below error:

Missing Lock on Decision Service Manager, Please Enqueue, We tried using the Note: 2010931, but it did not work.

We tried seeking SAP Help, The suggestion from SAP is to upgrade Netweaver 740 to SP05, is there any other way in which we can avoid the upgrade part?

Thanks and Regards,

Neha

former_member190447
Participant
0 Kudos

If this note does not solve the issue, please trigger an OSS note.


Former Member
0 Kudos

Hi,

That Error has surprisingly gone without us changing anything.

But now when we are trying to call the BRFPlus function from the Workflow, we are getting the below Error/Exception:

An exception with the type CX_SY_CREATE_DATA_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause


Any Idea, why this could be happening?


Thanks and Regards,

Neha

Former Member
0 Kudos

Hi,

Thanks for all your suggestions and help till this point.

We have 2 Systems System A (CRM System) and System B(ECC System),

BRFPlus is hosted on System A and using DSM, we declared System B as the Managed System and linked our BRFPlus Application to System B, we were successfully able to access Data Types and Function Modules in Managed System(System B) through Procedure Call Expression and Run Simulation.

Now, there is a Workflow in System A(CRM System) which needs to access the BRFPlus Function using the Function ID but is failing at the point where BRFPlus function is making a Procedure call to function in Managed System.

Are we missing some point regarding DSM add on to BRFPlus? Request you to please help regarding this.

Thanks a lot for your time and assistance.

Regards,

Neha

Former Member
0 Kudos

Closing this thread and have started a new thread for my last question.

Thanks

Neha

Answers (0)