cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Personas 3.0 - RFC Issue

peter_atkin
Active Contributor
0 Kudos

Hi all,

I've created my own RFC with some simple data and added it to the whitelist.

But the 2nd parameter ZZREPORT doesn't seem to be reaching the RFC from the script.

If I comment-out line 37, then it will process the 2nd submit. If I leave line 37 in, then it does nothing.

Any suggestions?

FYI: my intention was to have one RFC for a number of maintenance order "additional functions" by passing the ZZREPORT parameter from the script to the RFC.

We are using Personas 3.0 SP3 with kernel 742 patch 401.

PeteA

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Pete,

What is the data type of the second parameter? Did you check with a session breakpoint if the RFC is being executed when the second parameter is set? Also, see if there are any exceptions in the browser console.

Best regards

Kranthi

SAP Screen Personas Team

peter_atkin
Active Contributor
0 Kudos

Kranthi


Bear with me - I'm very new to Personas.


My answers to your questions a below in RED:


What is the data type of the second parameter?

The 2nd parameter is a CHAR1 data element.


Did you check with a session breakpoint if the RFC is being executed when the second parameter is set?

I did set a breakpoint in the script (degugger:) and the REPORT value is being set correctly before the RFC is called. I haven't tried a BREAKPOINT inside the RFC, as I was told that it will not trigger. But I will also try that..


Also, see if there are any exceptions in the browser console.

No exceptions are issued in the scripting section of the Personas screen (bottom of the screen). I'm not experienced enough to know if Chrome's debugger is giving any warning..


PeteA

peter_atkin
Active Contributor
0 Kudos

Here's an update with respect to my script code:


var OrderReport = "A";

var oRFC = session.createRFC("Z_PM_PERSONAS_RFC");

oRFC.setParameter("ZZAUFNR", OrderNum);

oRFC.setParameter("ZZREPORT", OrderReport);    <<<<------

oRFC.send();

I put a breakpoint in the RFC:

  • The RFC breakpoint does not trigger if this statement highlighted above is active.
  • The RFC breakpoint does  trigger if this statement above is not active i.e. commented-out.

Any suggestions?

PeteA

0 Kudos

Hi Pete,

This is strange. Are you on SP02 or SP03?

If you are on SP03 and have the latest backend Notes and the latest client, I suggest you create an incident and we will investigate. The component is BC-PER.

The list of backend Notes and the client Note is mentioned in this SAP Note - https://launchpad.support.sap.com/#/notes/2295995

Best regards

Kranthi

peter_atkin
Active Contributor
0 Kudos

Thanks Kranthi,


We are using Personas 3.0 SP3 with kernel 742 patch 401.


OSS Message 239210 has been created.

.


PeteA

peter_atkin
Active Contributor
0 Kudos

Hi all,

Here's a quick update.

Patch 9 resolved this issue.

PeteA

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Patch 9 of what? The SAP GUI?

peter_atkin
Active Contributor
0 Kudos

Sorry Tamas, yes we updated the 740 GUI to Patch 9 which fixed the issue.

PeteA