Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.