Skip to Content
author's profile photo
Former Member

bdc for mm02

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Posted on May 04, 2011 at 07:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 04, 2011 at 07:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 04, 2011 at 08:51 AM

    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???

    Add comment
    10|10000 characters needed characters exceeded