on 05-04-2011 7:31 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.