2012 Jun 11 7:17 PM
Hi,
I am going to copy materials . I need bdc_code of 'BDC_OKCODE' of purchasing , accounting 1 and accounting 2 ı cant move with tab cause ı will make too many BI and order of tabs will change . I need exact okcodes of these.
Thanks.
2012 Jun 11 7:55 PM
Hi,
You can use SHDB transaction to get it. By the way, don't you want to use the BAPI instead (much more performant essentially)?
Regards
Sandra
2012 Jun 11 7:55 PM
Hi,
You can use SHDB transaction to get it. By the way, don't you want to use the BAPI instead (much more performant essentially)?
Regards
Sandra
2012 Jun 11 8:06 PM
Hi
MMO1 - is enabled with BAPI - BAPI_MATERIAL_SAVEDATA
Use this BAPI to load your Material data. It is very easy and efficient.
Just one time job for writing the ABAP code and you can reuse many times..
Regards
Venkat
2012 Jun 12 5:38 AM
Hi,
If you are particular in getting the ok code of the tabs in material master screen, then execute the function SELECTION_VIEWS_FIND with bildsequenz = 21and pass the material maintenance status ( get from mara table ). The output table bildtab will be holding the ok code in the field GUIFU, Donot forget to concatenate "=" to the ok code.
Kesav
2012 Jun 12 7:36 AM
Hi
You can easily find out all the OK CODES of a specific transaction.
in your case, you can find out all the OK CODES used in the MM01 transacton.
Here is the way...
Go to SE41
Give Progarm name as SAPLMGMM - which is a program for MM01
Select the radio button Function List
Execute
You will get all OK Codes..
Then you can pick up the one you are looking for...
Hope this help you...
Regards,
Venkat
2012 Jun 12 12:49 PM
thanks all to you , folks
ı will try these and bapi . Then I'll see best results