on 02-15-2024 8:51 AM
Hello,
I have a simple requirement to read the company code and posting date from the screen, execute a custom function module and output fiscal year and fiscal period for information on customized FB01 transaction screen. The FM is very simple:
Now, when getting to the script in SAP Personas i have several issues:
1. When trying to pass the parameter the issue is the syntax error below:
While i can correct it by converting the input parameters .toString
then comes issue 2:
Any help with the script is highly appreciated. Thank you
Tamas,
Thank you for your reply. I got it to work in the most weird way - i just adopted the template RFC call, that's it.
Defeats my imagination as to why it would start working while a manually written code, different only in some var names, doesn't. Inasmuch as i hate those 'automagical' solutions, the solution now works. The SAP-JS interpreter still tells me there's a syntax error but the code works and returns the desired values.
Go figure.
Merci
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At first glance, your script looks OK.
Then, the ubiquitous questions: Which Personas SP are you running, and do you have an all-green note check list in Health Check, with every available relevant note implemented?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.