3 Replies Latest reply: Aug 23, 2010 6:39 PM by Avik Ghosh RSS

BDC Recording in MEQ1 transaction

Avik Ghosh
Currently Being Moderated

Hi Experts,

 

I need to do a BDC recording for data posting in MEQ1 transaction, Since I didn't find any BAPI I have to go for the BDC recording. I was given a excel file where there is Procurement Type, Special Procurement Type, Material Number, Version Number and Percentage. In the selection Screen there is option for the following:

1. Plant

2. Company Code

3. Valid Date from

4. Valid date to.

 

Please suggest me how to proceed with this case as there is no scenario of company code in the MEQ1 transaction.

  • Re: BDC Recording in MEQ1 transaction
    sithambaram saravannan
    Currently Being Moderated

    HI there..

    I have done a recording in my syste..Just copy that and change according to your req.

     

     

    perform bdc_dynpro      using 'SAPDM06Q' '0200'.

    perform bdc_field       using 'BDC_CURSOR'

                                  'EQUK-WERKS'.

    perform bdc_field       using 'BDC_OKCODE'

                                  '/00'.

    perform bdc_field       using 'EQUK-MATNR'

                                  '3100010101'.                 <- work area from your internal table value

    perform bdc_field       using 'EQUK-WERKS'

                                  '3100'.                             <- work area from your internal table value 

    perform bdc_dynpro      using 'SAPDM06Q' '0205'.

    perform bdc_field       using 'BDC_CURSOR'

                                  'EQUK-VDATU(01)'.        <- work area from your internal table value

    perform bdc_field       using 'BDC_OKCODE'

                                  '=BU'.

    perform bdc_field       using 'RM06Q-SELKZ(01)'

                                  'X'.

    perform bdc_transaction using 'MEQ1'.

  • Re: BDC Recording in MEQ1 transaction
    Richa Tripathi
    Currently Being Moderated

    Hi,

     

    If you are entering plant the transaction itself takes care of company code....

     

    You need not provide it explicitly.

     

    You can do one thing to use the company code is

    validate the Company code with the plant entered and see that if it is valid and then proceed with the plant.entered in the Screen BDC as stated above.

     

     

     

    Regards,

    Richa

Actions