cancel
Showing results for 
Search instead for 
Did you mean: 

adaptive RFC model creation error

Former Member
0 Kudos

I am using dialog user id . While creating model using adaptive RFC , after selecting BAPI and clicking next I am getting following permission error . What permission to be given by our BASIS team to enable me to create /execute BAPI for model class creation ?

[Info]: Creating Model: LoanbalanceModel

[Info]: Creating Model Class: Bapi_Ap_Acc_Getkeydatebalance_Input

[Info]: Creating Model Class: Bapi_Ap_Acc_Getkeydatebalance_Output

[Error]: RFC Import Failed. The import has been terminated.

[Fatal]: com.sap.mw.jco.JCO$AbapException: PERMISSION_ERROR

[Fatal]: com.sap.ide.metamodel.importers.rfcmodel.RFCImportFailedException: RFC Import failed. Cause: class com.sap.mw.jco.JCO$AbapException:PERMISSION_ERROR

com.sap.mw.jco.JCO$AbapException: (126) PERMISSION_ERROR: PERMISSION_ERROR

at com.sap.mw.jco.JCO$Function.getException(JCO.java:17988)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3147)

at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:173)

at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:164)

at com.sap.mdi.ddtypes.DDStructure.setDeliveryClassAndDescription(DDStructure.java:225)

at com.sap.mdi.ddtypes.DDStructure.getDescription(DDStructure.java:213)

at com.sap.dictionary.types.mdi2metamodel.R3ToMetamodelDictionaryConverterWithNestedStructures.createStructure(R3ToMetamodelDictionaryConverterWithNestedStructures.java:580)

at com.sap.dictionary.types.mdi2metamodel.R3ToMetamodelDictionaryConverterWithNestedStructures.createDdicObject(R3ToMetamodelDictionaryConverterWithNestedStructures.java:399)

at com.sap.dictionary.types.mdi2metamodel.R3ToMetamodelDictionaryConverterWithNestedStructures.createDdicObject(R3ToMetamodelDictionaryConverterWithNestedStructures.java:326)

at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.ImportRFC(DynamicRFCModelImporter.java:343)

at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.doImport(DynamicRFCModelImporter.java:196)

at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$3.run(ModelWizard.java:706)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

Accepted Solutions (0)

Answers (3)

Answers (3)

nikhil_bose
Active Contributor
0 Kudos

If you want to use load balancing server you need to configure SLD. Ask your basis team to make Load Balancing Server of R/3 for J2EE.

regards,

nikhil

Former Member
0 Kudos

The things are working now . However our big challenge is how to configure sql server in SLD instead of creating a jdbc driver and creating a datasource and using that data source in webdynpro programming . If you have detailed documentation as to how to configure sql 2000 server into sld and later creating JCO , please share

Former Member
0 Kudos

hai Narasimha,

Kindly consult the basis team and check if there is any permission issues yet to be resolved by them for adaptive rfc.

Thanks n Regards

Sharanya.R

Former Member
0 Kudos

The sap userID was added to SYST group in ABAP . Display permission was given . Basically I didn't have permission to create model classes .

Former Member
0 Kudos

Hi,

What i believe, you have given wrong input to the load balancing. If you try the same with single server option, it will wok. Please check the parameters that you specified at the Load balancing tab.

It will work,

Regards

- Vinod

*