Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC help ??

Former Member
0 Likes
598

Hi

Please tell me 1 thing,i had made a BDC for MM01 ,its working fine on DEV,but on QAS its not working fine...its showing error msg for few fileds that they don;t exits in this screen.....

i am not able to understand...code is all same on DEV & QAS.....but result on DEV is 100 % correct,where as on QAS its not working fine..even some values which i am passing frm selection-screen are not rcording into mm01 tocde....can any one plz tell me why its happening??

regds

3 REPLIES 3
Read only

abapdeveloper20
Contributor
0 Likes
542

Hi,

The error occurs due to some screen changes happend in QA / PRD server bcx of configuration/functional settings....

TRY RECORDING THE SAME BDC in QA and use the recorded code in development & start implementing your logic and check in QA.

Check and revert back for help if problem persists.

Reward points if useful

Lakshmiraj.A

Read only

Former Member
0 Likes
542

hi,

One other alternative to this problem is find a BAPI which will do instead of re-recording it in PRD. But do check if that BAPI corresponds to the screen changes of MM01 in your PRD.

Reward if useful.

Thanks,

Vaishnavi

Read only

vinod_vemuru2
Active Contributor
0 Likes
542

Hi Vipin,

This is a common problem in MM01/MM02 transaction. How u did the recording? i mean r u selecting all the required views in the initial screen? If yes this is the point of problem.

Do a fresh recording like below to resolve this issue.

Select only basic data view in the initial screen and inter inside the transaction. From there u can select what ever views u want. This problem comes because of the incorrect position of the views in development and quality systems. If u r hardcoding the positions to select the views in the initial screen this problem will occur. Just debug the BDC in all screen display mode in Quality system. I am sure that it will select incorrect view and try to place one views' data in other view.

There are somany BAPIs available. Make use of them instead of BDC which is obsolete. Try BAPIs

BAPI_STANDARDMATERIAL_CREATE

BAPI_MATERIAL_SAVEDATA

Thanks,

Vinod.