Function module Vs BDC for master data upload

Hi ,
Please advice we should use the following function modules for master data upload or we should go for BDC.
MP_RFC_SINGLE_CREATE
MP_RFC_INACT_CHANGE
MPLAN_CREATE
MPLAN_CHANGE
MPLAN_SET_DELETION_INDICATOR
ASSET_MASTERRECORD_MAINTENANCE
MPLAN_ITEM_CREATE
MPLAN_ITEM_CHANGE
GL_ACCT_MASTER_SAVE
GL_ACCT_MASTER_SAVE
GL_ACCT_MASTER_SAVE
Actually, we have already used these function modules in our upload program, but we are not sure if these function modules will create any data inconsistency.
Please let me know, if we should continue using the FMs, or there is any risk using the FMs and we should replace them by BDC.
Thanks in advance.

HI Vikram,
Better to serch for the BAPI for uploading the master data.Becuase we have problems with BDC and FM's.
If you use FM's it does n't contain all the fields which you want.IF you go for BDC this is not maintainable for future releaseas.IF you upgrade then screen may change.
IF don' have any BAPI then better go for BDC.
Thanks

Similar Messages

  • Function Module to change the master data attachments?

    Dear Experts,
    In SAP we can enclose the attachments for the Master data. Do we have any standard function module to change the Master data attachments.
    Let me know if any?
    Thanks and regards,
    Reddy

    Hi Reddy,
    Please make use of function module :
    BINARY_RELATION_CREATE_COMMIT
    For detailed information on how to use the FM please see the thread below:
    USE OF THIS fUNCTION MODULE
    Regards,
    Dilek A.

  • LSMW used only for master data upload?

    Hi
    Can you please let me know if LSMW is used only for master data upload or we can also use it for transaction data ?

    Hi Christino.
    I have come across a standard SDN thread which deals with the uploading master data, refer it:
    [SDN Reference for uploading master data using LSMW|how can we upload master data by using LSMW;
    [SDN reference for which uploading is preferred (Master data or Transaction data)|Which one is better for uploading data LSMW or ECATT ?;
    Good Luck & Regards.
    HARSH

  • Bapi or Function Module to update Material Master Data

    Hi Friends,
               could anyone let me know any BAPI's or Function Modules for Material Master UPdate.
    Thanks in Advance
    Regards
    Tina

    hi Tina,
    check this BAPi BAPI_MATERIAL_SAVEDATA to create and change the material master .
    Try ....
    BAPI_MATERIAL_SAVEDATA
    REPORT Z_BAPI_MAT.
                   STRUCTURE  DECLARATIONS                             *
    TABLES: BAPIMATHEAD,  "Headerdata
            BAPI_MARA,    "Clientdata
            BAPI_MARAX,   "Clientdatax
            BAPI_MARC,    "Plantdata
            BAPI_MARCX,   "Plantdatax
            BAPI_MAKT,    "Material description
            BAPIRET2.     "Return messages
    DATA:V_FILE TYPE STRING.
    DATA:
      BEGIN OF LSMW_MATERIAL_MASTER,
        MATNR(018) TYPE C,  "Material number
        MTART(004) TYPE C,  "Material type
        MBRSH(001) TYPE C,  "Industry sector
        WERKS(004) TYPE C,  "Plant
        MAKTX(040) TYPE C,  "Material description
        DISMM(002) TYPE C,  "Extra Field Added In the Program as itsrequired
        MEINS(003) TYPE C,  "Base unit of measure
        MATKL(009) TYPE C,  "Material group
        SPART(002) TYPE C,  "Division
        LABOR(003) TYPE C,  "Lab/office
        PRDHA(018) TYPE C,  "Product hierarchy
        MSTAE(002) TYPE C,  "X-plant matl status
        MTPOS_MARA(004) TYPE C,  "Gen item cat group
        BRGEW(017) TYPE C,  "Gross weight
        GEWEI(003) TYPE C,  "Weight unit
        NTGEW(017) TYPE C,  "Net weight
        GROES(032) TYPE C,  "Size/Dimensions
        MAGRV(004) TYPE C,  "Matl grp pack matls
        BISMT(018) TYPE C,  "Old material number
        WRKST(048) TYPE C,  "Basic material
        PROFL(003) TYPE C,  "DG indicator profile
        KZUMW(001) TYPE C,  "Environmentally rlvt
        BSTME(003) TYPE C,  "Order unit
        VABME(001) TYPE C,
        EKGRP(003) TYPE C,  "Purchasing group
        XCHPF(001) TYPE C,  "Batch management
        EKWSL(004) TYPE C,  "Purchasing key value
        WEBAZ(003) TYPE C,  "GR processing time
        MFRPN(040) TYPE C,  "Manufacturer part number
        MFRNR(010) TYPE C,  "Manufacturer number
        VPRSV(001) TYPE C,  "Price control indicator
        STPRS(015) TYPE C,  "Standard price
        BWPRH(014) TYPE C,  "Commercial price1
        BKLAS(004) TYPE C,  "Valuation class
      END OF LSMW_MATERIAL_MASTER.
                   INTERNAL TABLE DECLARATIONS                         *
    *to store the input data
    DATA:
      BEGIN OF it_matmaster OCCURS 0.
            INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
    DATA:
      END OF it_matmaster.
    *for material description
    DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
         INCLUDE STRUCTURE BAPI_MAKT .
    DATA:END OF IT_MATERIALDESC.
    *to return messages
    DATA:BEGIN OF IT_RETURN OCCURS 0.
         INCLUDE STRUCTURE BAPIRET2.
    DATA:END OF IT_RETURN.
    SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
    PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1 .
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
                   TO UPLOAD THE DATA                                  *
    START-OF-SELECTION.
    V_FILE = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = V_FILE
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      =  IT_MATMASTER
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
                   DATA POPULATIONS                                    *
    LOOP AT  IT_MATMASTER.
      BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
      BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
      BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
      BAPIMATHEAD-BASIC_VIEW = 'X'.
      BAPIMATHEAD-PURCHASE_VIEW = 'X'.
      BAPIMATHEAD-ACCOUNT_VIEW = 'X'.
      BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
      BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
      BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
      BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
      BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
      BAPI_MARAX-MATL_GROUP = 'X'.
      BAPI_MARAX-OLD_MAT_NO = 'X'.
      BAPI_MARAX-BASE_UOM = 'X'.
      BAPI_MARAX-BASIC_MATL = 'X'.
      BAPI_MARAX-MFR_NO = 'X'.
      BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
      BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
      BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
      BAPI_MARCX-PUR_GROUP = 'X'.
      IT_MATERIALDESC-LANGU = 'EN'.
      IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
      append IT_materialdesc.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
          headdata                   = BAPIMATHEAD
          CLIENTDATA                 = BAPI_MARA
          CLIENTDATAX                = BAPI_MARAx
         PLANTDATA                  = BAPI_MARc
         PLANTDATAX                 = BAPI_MARcx
        FORECASTPARAMETERS         =
        FORECASTPARAMETERSX        =
        PLANNINGDATA               =
        PLANNINGDATAX              =
        STORAGELOCATIONDATA        =
        STORAGELOCATIONDATAX       =
        VALUATIONDATA              =
        VALUATIONDATAX             =
        WAREHOUSENUMBERDATA        =
        WAREHOUSENUMBERDATAX       =
        SALESDATA                  =
        SALESDATAX                 =
        STORAGETYPEDATA            =
        STORAGETYPEDATAX           =
        FLAG_ONLINE                = ' '
        FLAG_CAD_CALL              = ' '
       IMPORTING
         RETURN                     = IT_RETURN
       TABLES
         MATERIALDESCRIPTION        = IT_MATERIALDESC
        UNITSOFMEASURE             =
        UNITSOFMEASUREX            =
        INTERNATIONALARTNOS        =
        MATERIALLONGTEXT           =
        TAXCLASSIFICATIONS         =
        RETURNMESSAGES             =
        PRTDATA                    =
        PRTDATAX                   =
        EXTENSIONIN                =
        EXTENSIONINX               =
    WRITE:/    IT_RETURN-TYPE,
            2   IT_RETURN-ID,
            22  IT_RETURN-NUMBER,
            25  IT_RETURN-MESSAGE.
               IT_RETURN-LOG_NO,
               IT_RETURN-LOG_MSG_NO,
               IT_RETURN-MESSAGE_V1,
               IT_RETURN-MESSAGE_V2,
               IT_RETURN-MESSAGE_V3,
               IT_RETURN-MESSAGE_V4,
               IT_RETURN-PARAMETER,
               IT_RETURN-ROW,
               IT_RETURN-FIELD,
               IT_RETURN-SYSTEM.
    ENDLOOP.
    Regards,
    Naveen

  • Function Module to send Vendor Master Data from SRM to ECC

    Hi Guys
    I heard there is a function module in SRM which can send Vendor Master Data from SRM to ECC please confirm for me if there is such a function Module and what is it called. Thanks

    Hi,
    Vendor Master data is replicated to SRM from ECC. Standard Transactions (BBPGETVD,..) will be used to replicate the data from ECC.
    Vendor Master will exists in ECC, so there is no point in sending the same back from SRM to ECC. If the requirement is the other way around, we can use the transaction BBPGETVD in SRM system.
    Hope this helps.
    Regards,
    Hemanth

  • Maintain number range interval for master data upload for existing employee

    Hi  Experts,
    1)I have the scenario to upload additional data for existing employees in PA. Employees are already existed in SAP HR , But additional Infotypes are required to maintain for those emploees
    2) I have the senario where i have to upload master data for new employees.
    Pls give the detailed description of how to maintain number range interval i.e. External or Internal for upload in both the above scenario. Do we have to maintain number range manually in master data record & then upload it Through BDC or LSMW?
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Edited by: Rob Burbank on Jan 12, 2011 3:49 PM

    >
    s c patil wrote:
    > 2) For new employees i have to maintain desired ( my or client?) number range in SAP system as External number range & then default that number range in NUMKAR & then maintain those number range in master data record & then get the data template filled by client & then upload the data & after that create new number range which is next to existing External number range as an  Internal number range. & then default that Internal number range.
    >
    > Pls reply ASAP
    Yes Mr. Patil...
    For existing employees
    you need to execute HIRING ACTION Through BDC with External number range. While recording you have to use atleast three infotype i.e. IT0000,IT0001,IT0002. In addition you can upload other infotype through PA30.
    For new employees
    While configuration you can create another number range as internal  for new hiring. and use NUMKR feature as well.
    Here I don't understand that why r u looking for upload process for new hiring, if it is not mass hiring. It should be day to day activities which would be done by user through PA40.
    Best Regards,
    Anand Singh

  • .CSV file for Master data upload in GRC PC

    Hi all,
    We want to upload some Master Data for GRC Process Controls 3.0. Since we do not have access to MDUG tool yet, and we have a demo planned soon, we decided to go with the approach of uploading some data using the program GRPCB_UPLOAD.
    So I uploaded a .csv file with the following structure and was able to create master data. But, the object name was not updated.
    Structure
    Object Type     
    Object ID     
    Infotype     
    Sub-type     
    Start     
    End     
    Object abbreviation     
    Object Name     
    Language
    In addition, for some objects, we'd like to update the other attributes with data too.
    Would anyone have the .csv format for such a detailed upload for Process / Sub process / Control?
    Regards,
    Preksha

    Hi all,
    First of all, thanks in advance, but I´ve  tried to upload a template similar to Preksha´s template but when I uploaded it through GRPCB_UPLOAD program it doesn´t work properly, because when I execute the background process, I´ll check its status and then it is cancelled .
    In addition, I follow the recomendations from the pdf called "Process Control Upload Master Data v1" released by RIG in June 2008, but in contrast I can´t upload the structure correctly.
    Do you have any idea? Or could you give me an idea which explains how to create a correct template? Do you have any clue of what I would have done wrong?
    Thanks a lot.
    Regards.

  • Bdc for ip01, data upload in table control

    I was working on a bdc for ip01 . there is a table control - whose 5 rows are visible and I need to fill data upto 6 row . 6th row get filled by scrolling . will scrolling get captured in recording . whether this is possible or not sir . If yes then how?
    Sir please help me.
    With regards,

    Hi
    Scrolling does not get recorded while recording. You can achieve it by having ok_code to p+ or p++.
    Refer the following link for detailed description.
    http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F
    Hope this helps you.
    Regards
    Vinodh

  • Xls. sheet for Master data upload

    Hi Can any body suggest me or send me the sample, how to maintain xls. sheet Template of  particular fields for Infotypes 0,1,2,7,8 etc for the purpose of data upload.
    <removed by Moderator>
    thanks
    S Mishra

    Hi Mishra,
    You can look into the Standard Business Blueprint Templates - Data Transfer Tool of SAP....and get an idea...
    Check this Note 1060029 - SAP Best Practices for HCM US - Variants, Misc, LSMW ...
    You will find files for infotypes and you can set up your templates based on these....
    Other way is to
    Go to SE11 >> Enter the Infotype Number PNNNN (with NNNN being the Infotype)...
    It presents you with the structure.......Copy that structure and you can create your excel sheet with that template....
    Good Luck !!!!
    Kumarpal Jain.

  • Steps for Master data upload from ECC6.0 to BI7.0

    Hi experts,
    I need to load material master and customer master data from ECC6.0 to BI7.0 and i could not see the steps to do so in sdn.
    Can anyone please give me the steps from the beging till end usign Business content 0material_attr/text/Hier .
    I Will assign deserving points to all the answers.
    Thanks in advance.

    Hi,
    Steps:
    1. Go to  RSA5 in  ECC6 to Install Business Content D.S.
    2.If you want do any change then Go to RSA6 in ECC6
    3. Replicate DS in BW .
    4. Create Transformation (to connect DS to MD).
    5 Create Info package ( to load from S/S to PSA ).
    6. Create DTP ( to load from PSA to MD Objects ).
    Please let me know if i am missing any steps.
    Ali.

  • Can any one tell me what is the master data upload sequence in sap pm...? i am new to sap pm module..

    Hi experts,
    Please help me to get the sequence for master data upload in sap pm ......

    Probably yet another Blog/Document for someone to create..
    Here's my offerings:
    Finance data: chart of accounts, g/l accounts cost centres, profit centres, activity types, etc
    Configuration data
    Classes/characteristics
    Inspection characteristics
    Master Warranties/Permits/Partners/Documents
    HR masters
    Work centres
    Materials
    Functional locations
    Equipment (serial numbers)
    Measurement points/documents
    BOMs
    Task Lists
    Maintenance items/plans
    Maintenance plan schedule
    Historical orders (if required)
    Historical notifications (if required)
    Historical Measurement documents (if required)
    PeteA

  • Functional Module to refresh Material Master at different Stage in SD Cycle

    In Material Master we maintain Profit Centre. The requirement is such that the client requires to change profit center very often & the requirement is such that the latest Profit Center is captured at different stages, i.e Sales Order, Delivery & Billing.
    It is already assumed that we will require an enhancement for this & the logic will be that at each stage the enhamcement checks the Material Master & updates the latest update in Material Master.
    It seems that there is a Functional Module, which refreshes the details of Material Master, when it is triggered. I am not aware that which is the Functional Module, which refreshes the Material Master details, when triggered & would like to know the name of functional module?
    Regards,
    Rajesh Banka

    Dear Ashish,
    As an enhancement, we have already considered using User Exit & also the logic to arrive at it. But I was informed that if we trigger one particular Functional Module, it refreshes Material master data at transaction level, but do not know, which functional module it is.
    Thanks for your prompt response.
    Regards,
    Rajesh Banka

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • New SAP Tools for faster Master Data Upload?

    Hi All!
    I am interested in getting some detailed information on different tools that are used for faster master data upload. Please let me know about the tools apart from LSMW, BAPI, eCATT and BDC.
    We basically want to know the following things:
    1.Which are the tools available for this master data upload?
    for eg. SAP MDM, Info Shuttle, other available new age tools etc........
    2. Their performance / feature comparions?
    Please provide performance / feature comparison for different new age tools in detail.
    Thanking you in advance.
    Regards,

    Hi Amar,
    regarding SAP MDM you can read advantages and characteristics here: http://www.sap.com/platform/netweaver/components/mdm/index.epx
    Hope this help you,
    Vito

  • Function Module/Document to change Reversal date for FI  document.

    Can anyone please provide me with the Function Module/Document to change Reversal date for FI  document.

    Hi Vikram,
    Normally, you post a reversing document in the same period you posted the original document.  The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
    Regards,
    Manoj.

Maybe you are looking for