cancel
Showing results for 
Search instead for 
Did you mean: 

bdc for mm02

Former Member
0 Kudos

hello all,

I am doing bdc from a remote function module with the bdc mode as A for MM02 to change the inspection interval.

My basic problem is that when i execute the FM i am getting the screen of mm02 but it is not going to next step.

If i am pressing enter also then i am not able to select also. what should i do and how to do bdc through function Module

I am using the same logic and same method which we generally do in se38 abap editor.

Pls guide me how to do this?

Thanks & regards

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

If you really need to use BDC then do it with MMZ2 transaction, as you can have a static selection of the view here. In MM02 the view is positioned dynamically in the pop-up, based on already maintained views, because of this you may be on the wrong view in your execution.

Better do it using BAPI method for updation

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your reply

Can you pls suggest which bapi should i use to update the inspection interval for the material.

how to write bdc through a function module???

JL23
Active Contributor
0 Kudos

BAPI_MATERIAL_SAVEDATA

csaba_szommer
Active Contributor
0 Kudos

Is the batch input internal table is populated correctly?

You can create a record in SHDB to carry out the change in MM02 and then you can compare the entries SHDB to the entries in your batch input internal table (bdcdata) which is used in your program.

You can find lots of resources on the net related to BDC programming.

Added: I fully agree with Jurgen that you should use BAPIs instead of BDC.

Edited by: Csaba Szommer on May 4, 2011 9:28 AM