29-01-21 04:24 AM
After the connection has been successfully established, you can switch to the Search tab. Enter a pattern or the name of the RFM you want to use, in our example RFC*, and press the button Search to get the RFMs.
You will be automatically redirected to the Selections tab. Here the desired function module can be easily selected and the code generated in a few steps.
If a function documentation is available, you can find it in the tab of the same name. But in the most cases RFMs are not documented.
This can be used to generate code for deeper structures.
01-02-21 10:32 AM
02-02-21 08:23 AM
Hello Zdeněk,
thank you very much for your reply.
In my opinion are the permissions not a problem for an RPA developer in an SAP development environment.
Authorization object S_RFC: RFC_TYPE = *, RFC_NAME = *, ACTVT 16
Authorization object S_TABU_DIS: DICBERCLS = *, ACTVT 03
Authorization Object S_CTS_ADMI: CTS_ADMFCT = TABL
If there are any problems just call the transaction code SU53.
Best regards
Stefan
06-05-22 06:55 AM
07-05-22 06:46 AM
@Abarna Anbu
Hello Abarna,
I tried it and it works without any problems, mmmh...
To find the reason please open in your SAP system the TAC SE37 and open the RFM RFC_READ_TABLE. In the field QUERY_TABLE enter TFDIR and add in the table options FMODE = 'R' AND FUNCNAME = 'BAPI%'
Execute the RFM and in a normal case you should see the same result.
In your case an exception raises. I tested RFM Code Generator with and without OSS 2246160 successfully.
Please replace the asterisk * with an percent % and try it again. Maybe an unicode character error.
Or it is possible that your system blocks the clause as insecure, if the allowlist RFC_READ_TABLE_TABL has been activated in TAC SLDW.
Thanks and best regards
Stefan