cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI import error.

Former Member
0 Kudos

Dear Friends,

While importing the RFCs from SAP 4.7 c server.

I am getting the below error and due to this i am not getting all the request and response parameters of the BAPI (specially TABLE parameters are not seen).

Thanks,

jeevan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Also check whether the BAPI is locked in the R/3 side .

Go to SM12 and check it .

Former Member
0 Kudos

Hai Jude,

thanks for the reply..

It is not even locked there.

And one more thing even though the error is the the BAPI is imported into XI it seems the structure not not correct.

For some structure the datatype is :- AnyType.

I dont understand how do i map it with the receiver structure.

Thanks,

jeevan.

Former Member
0 Kudos

Hi Jeevan,

This could be due to chache issue.

Refresh the XI cache by tcode: sxi_cache (full cache refresh). And in IR from menu Environment ---> Clear SLD Data Cache and then try.

Regards,

Sarvesh

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Jeevan

This is due to your object is locked in another developement

follow the steps

1) Goto RWB

2) Click on the Administration link

3) Click on the IR tab and inside this click on Lock Overview link

4) Select all the object by your own user and release the Locks

Now import your BAPI it will be succefull

regards

sandeep

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

If your BAPI is custom then Test it in R/3.

BAPI must have commit.

Make sure it is Remote Enabled and test remote login.

look blog for BAPI creation and check your step

Former Member
0 Kudos

Hi,

If it is custom BAPI then make sure to activate it. Also make sure that if it is remote enabled.

BTW what errror you are getting when your are importing it into XI.

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

What is the actual erro that you are getiing?

Regards

Manjunath

former_member181985
Active Contributor
0 Kudos

could you post the error dump?

- Gujjeti.

Former Member
0 Kudos

Hai,

Sorry for the delay.....

Here is the error :-

**Ready for import**

Import started...

BAPI_SALESORDER_CREATEFROMDAT1:

+ com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: Function Module BAPI_SALESORDER_CREATEFROMDAT1 | urn:sap-com:document:sap:rfc:functions is already locked in another change list by user jeevan

Import failed with 1 error

-


**Ready for import**

Import started...

BAPI_SALESORG_GET_DETAIL:

+ com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: ABAP Dictionary Type BAPIRETURN1 | urn:sap-com:document:sap:types is already locked in another change list by user jeevan

Import failed with 1 error

thanks,

jeevan.

Former Member
0 Kudos

Hi,

Either you Delete or Activate the change list in XI which is having the BAPI_SALESORDER_CREATEFROMDAT1 and then try, it will work.

Regards,

Sarvesh

Former Member
0 Kudos

Hai,

I have Activated all the change List and this is the first time i am importing this BAPI.

jeevan

Former Member
0 Kudos

Hi

Do the following & then try re-importing BAPI -->

*) Goto http://<host>:<j2ee port>/rep/start/index.jsp

*) Click 'Administration' link

*) Click on 'Lock Overview' link

) Select all the Locks & click on "+Remove selected locks*+"

Now import your BAPI & let us know with results.

Rgds

Lalit

Former Member
0 Kudos

Hai Latil,

Thanks for the reply.

But in the lock overview I couldnt see any list of items that are locked.

Thanks,

jeevan.