Skip to Content

Uploading Different types of materials using BDC

Hello Guyz,

Could anyone please explain, How do you take care of uploading different types of Materials using BDC?

There will be lot of Materials in my Flatfile of different Types, say Raw Material(ROH), Semi Finished Materials(HALB) , Finished Goods (FERT) and so on.

How do you take care of the upload for different material types.

Regards,

Sudhir

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 08, 2008 at 12:52 PM

    Hi,

    First take all fielsds in one itab,three recordings.

    Put the condition,

    If MTART = 'ROH'.

    send those fields in to another itab.

    append the itab.

    elseif mtart = 'HALB'.

    send those fields into itab1.

    append itab1.

    elseif mtart = 'FERT'.

    send those fields into itab2.

    append itab2.

    endif.

    if not itab[] is initial.

    loop the itab

    here ur performs

    endloop.

    endif.

    if not itab1 is initial.

    loop the itab1.

    performs.

    endloop.

    endif.

    if not itab2 is intial.

    loop the itab2.

    performs.

    endloop.

    endif.

    if it is helpful give me the points

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 08, 2008 at 12:12 PM

    Hi

    [Check this|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/bdcProgramtoUploadMaterialMasterData+(MM01)]

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleBDCprogramforMM02

    Regards

    pavan

    Add comment
    10|10000 characters needed characters exceeded