BAPI_MATERIAL_SAVEDATA Question....

Hi,
I want to save more than one material unit conversion in BAPI. How can I add multiple unit conversion and additional value (like definition in other languages) when I Use BAPI_MATERIAL_SAVEDATA BAPI.
Thanks

hi
good
Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIO
Description
You use this structure to transfer the material's customer-defined
fields. For information on transferring these fields, see the function
module documentation.
Note
Besides the table fields already defined, customer-defined table fields
can also be supplied with data. Since these fields are created by the
customer, they are known only during the runtime and must therefore be
determined dynamically.
The structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN,
MLGT, MVKE) and the relevant checkbox structures BAPI_TE_<NAME> (<NAME>
= MARAX, etc.) must first be extended by the customer to include the
fields required. The standard structures contain only the corresponding
key fields. When including new fields in these structures, make sure
that the field has the same name as the field in the database table. In
addition, the fields in the structures BAPI_TE_<NAME> may only be of the
type CHARACTER. The data element BAPIUPDATE must be used for the fields
in the checkbox structure (except for key fields).
The two parameters EXTENSIONIN and EXTENSIONINX are used to transfer the
data to the method. The field STRUCTURE contains the name of the
structure (for example, BAPI_TE_MARA or BAPI_TE_MARAX) used to identify
the work area (for example, WA_BAPI_TE_MARA or WA_BAPI_TE_MARAX) to
which the data is transferred. The remaining fields for the parameter
EXTENSIONIN or EXTENSIONINX contain the data for the key fields (for
example, the material number) and the data for the customer-defined
fields. The number of characters reserved in the two parameters for the
content of a customer-defined field must be the same as the number of
characters for the corresponding work area field. If the number of
characters required is smaller, the remaining characters in the two
parameters must be filled with blanks. Only then may the content of
another field be transferred. Here too, remember that the data is
written to the database only if the corresponding indicator has been set
in the work area.
thanks
mrutyun^

Similar Messages

  • Updating account view in BAPI_MATERIAL_SAVEDATA

    Hello!!
    I am using the BAPI_MATERIAL_SAVEDATA to create the views of many materials, but I found a trouble in the BAPI. Three fields aren't updated after the BAPI process.
    They are the Usage of the material (MARA-MTUSE), Origin of the material (MARA-MTORG) and the Produced in-house (MARA-OWNPR) from table MBEW.
    Debugging the BAPI I found that the fields that I filled in the BAPI call aren't filled into the BAPI processing.
    Would someone help me in this question? Anybody was in this situation before?
    Thanks!
    Best regards,
    Diogo.

    Hello Diogo,
    have a look at OSS note 308303 "ALE - Fields in Brazilian solution not maintainable". Perhaps this could help you. Even, if it's a note regarding ALE, this could solve your problem too.
    Anyway - I would search for an OSS note, or open a call in the OSS, as this is a problem with SAP standard functionality.
    Best regards
    Stephan

  • Invoking BAPI_MATERIAL_SAVEDATA as a web service from CAF

    I am new to BAPI world. Currently, we are building a composite application - a part of the application interacts with SAP R3 for creating materials and then getting a list of all created materials. We are using the following BAPIs: BAPI_MATERIAL_SAVEDATA, BAPI_MATERIAL_GETLIST, BAPI_MATERIAL_GETDETAIL.  All these BAPIs are exposed as web services. I have created an external service using wsdl file that corresponds to BAPI_MATERIAL_SAVEDATA.  I would like to create a new material by passing minimum possible parameters. I am setting the values in HEADDATA and MATERIALDESCRIPTION only. I am giving Y to basic_view and N to all other views in HEADDATA. The call succeeds apparently but when I try to retrieve it using BAPI_MATERIAL_GETLIST/GETDETAIL it fails to retrieve. My questions:
    1. What is the best way to create a new material (basic view) by passing minimum parameters?
    2. How to verify if the material is successfully created?
    3. How does CLIENTDATA and CLIENTDATAX differ? There are similar 'X' appends in other places as well. Can anyone please provide any pointer/link about some more basic information on the following BAPIs: BAPI_MATERIAL_SAVEDATA, BAPI_MATERIAL_GETDETAIL, BAPI_MATERIAL_GETLIST.
    Thanks.

    Hi,
       3. To get more information about a BAPI, you can look at the function module documentation. Login to the R/3 system, start transaction SE37 and type in the name of the BAPI and select "Display". Once you see the source code, you'll see a button called "Function module document". Clicking on that will open up the help document for that BAPI.
       For eg., quoting from the docs for BAPI_MATERIAL_SAVEDATA, CLIENTDATA structure is used to transfer the general basic data on a material. CLIENTDATA X structure determines which fields in the assigned user data structure (CLIENTDATA) contain change-relevant information.
       2. When the BAPI_MATERIAL_SAVEDATA is executed, it should ideally contain the material number in the structure HEADDATA. Check if you are getting that. If you have it, then it should've been created. You can double check by starting transaction SE11 and display table MARA. Type in the material number that you received.
      1. All the parameters except HEADDATA is optional for the  BAPI_MATERIAL_SAVEDATA. So you can just choose to pass some of the fields of this structure and that should do it.
    Regards,
    Satyajit.

  • Unit of measure error in BAPI_MATERIAL_SAVEDATA

    Hi Guru's,
    i am trying to upload the material master data using BAPI...while uploading ia m getting beloow error ..please guide me anyone you..where i am doing mistake.....
    1st this error i am getting while executing:
    internal unit HR ,language EN is not maintained.
    and afetr execution in gs_return i am getting below error:
    Unit of measure ****** is not defined; check your entry
    error number :490
    dont get tence for code and all the values ae moving properly into BAPI...and
    here i am consider the unit of mesure as HR (hour)..
    here i am caliculating like ex: for employe (material) generating bill in hour basis.that is per 1hour $100.
    please let me know if my question is not clear..
    thanks in advance and will full points to reply....
    *& Report  ZERP_MATERIAL_CREATE_UPLOAD
    REPORT  zerp_material_create_upload.
    DATA:gs_bapimathead          TYPE bapimathead,
         gs_clientdata           TYPE bapi_mara,
         gs_clientdatax          TYPE bapi_marax,
         gs_plantdata            TYPE bapi_marc,
         gs_plantdatax           TYPE bapi_marcx,
         gs_forecastparameters   TYPE bapi_mpop,
         gs_forecastparametersx  TYPE bapi_mpopx,
         gs_valuationdata        TYPE bapi_mbew,
         gs_valuationdatax       TYPE bapi_mbewx,
         gs_salesdata            TYPE bapi_mvke,
         gs_salesdatax           TYPE bapi_mvkex,
         gs_storagelocationdata  TYPE bapi_mard,
         gs_storagelocationdatax TYPE bapi_mardx,
         gt_materialdescription  TYPE STANDARD TABLE OF bapi_makt,
         gwa_materialdescription TYPE bapi_makt,
         gt_taxclassifications   TYPE STANDARD TABLE OF bapi_mlan,
         gwa_taxclassifications  TYPE bapi_mlan,
         gt_prtdata              TYPE STANDARD TABLE OF bapi_mfhm,
         gwa_prtdata             TYPE bapi_mfhm,
         gt_prtdatax             TYPE STANDARD TABLE OF bapi_mfhmx,
         gwa_prtdatax            TYPE bapi_mfhmx,
         gt_unitsofmeasure       TYPE STANDARD TABLE OF bapi_marm,
         gwa_unitsofmeasure      TYPE bapi_marm,
         gt_unitsofmeasurex      TYPE STANDARD TABLE OF bapi_marmx,
         gwa_unitsofmeasurex     TYPE bapi_marmx,
         gs_return               TYPE bapiret2.
    TYPES:BEGIN OF gty_itab1,
             matnr(18),   "material
             mbrsh(1),    "industry sector
             mtart(4),    "material type
             vkorg(4),    "sales org
             vtweg(2),    "distr chan
             kondm(2),    "mat prcing grp
             ktgrm(2),    "acc asgn grp
             dwerk(4),    "plant
             meins(3),    "base uom
             tragr(4),    "tarns grp
             matkl(9),    "mat grp
             spart(2),    "division
             ntgew(13),   "net weight
             gewei(3),    "weight unit
             werks(4),    "plant
             ladgr(4),    "loading grp
             dismm(2),    "mrp type
             mtvfp(2),    "available check
             disgr(4),    "mrp grp
             dispo(3),    "mrp controller
             beskz(1),    "procurement type
             prmod(1),    "forecasting mode
             bklas(4),    "valution class
             stprs(11),   "std price
             vprsv(1),    "price control
             peinh(5),    "price unit
             lgort(4),    "storage location
             maktx(40),   "mat description
             taxkm(1),    "tax class
             planv(3),    "task list usage
             brgew(13),   "gross weight
             mtpos(4),    "gen it gross grp
          END OF gty_itab1.
    DATA:gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
         gwa_itab1 TYPE gty_itab1.
    TYPES:BEGIN OF gty_itab2,
          abc(178),
    END OF gty_itab2.
    DATA:gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
         gwa_itab2 TYPE gty_itab2.
    PARAMETERS:p_files TYPE string.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    *using call method uploading CSV file into internal table
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = p_files
          filetype                = 'ASC'
        TABLES
          data_tab                = gt_itab2
        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.
      LOOP AT gt_itab2 INTO gwa_itab2.
        gwa_itab1 = gwa_itab2-abc(178).
        APPEND gwa_itab1 TO gt_itab1.
      ENDLOOP.
      LOOP AT gt_itab1 INTO gwa_itab1.
        SPLIT gwa_itab1 AT ',' INTO
              gwa_itab1-matnr
              gwa_itab1-mbrsh
              gwa_itab1-mtart
              gwa_itab1-vkorg
              gwa_itab1-vtweg
              gwa_itab1-kondm
              gwa_itab1-ktgrm
              gwa_itab1-dwerk
              gwa_itab1-meins
              gwa_itab1-tragr
              gwa_itab1-matkl
              gwa_itab1-spart
              gwa_itab1-ntgew
              gwa_itab1-gewei
              gwa_itab1-werks
              gwa_itab1-ladgr
              gwa_itab1-dismm
              gwa_itab1-mtvfp
              gwa_itab1-disgr
              gwa_itab1-dispo
              gwa_itab1-beskz
              gwa_itab1-prmod
              gwa_itab1-bklas
              gwa_itab1-stprs
              gwa_itab1-vprsv
              gwa_itab1-peinh
              gwa_itab1-lgort
              gwa_itab1-maktx
              gwa_itab1-taxkm
              gwa_itab1-planv
              gwa_itab1-brgew
              gwa_itab1-mtpos.
    *header data
        gs_bapimathead-material                      = gwa_itab1-matnr.
        gs_bapimathead-ind_sector                    = gwa_itab1-mbrsh.
        gs_bapimathead-matl_type                     = gwa_itab1-mtart.
        gs_bapimathead-basic_view                      = 'X'.
        gs_bapimathead-sales_view                      = 'X'.
        gs_bapimathead-purchase_view                   = 'X'.
        gs_bapimathead-mrp_view                        = 'X'.
        gs_bapimathead-storage_view                    = 'X'.
        gs_bapimathead-account_view                    = 'X'.
        gs_bapimathead-cost_view                       = 'X'.
    *sales data
        gs_salesdata-sales_org                       = gwa_itab1-vkorg.
        gs_salesdatax-sales_org                      = '8888'.   "'X'.
        gs_salesdata-distr_chan                      = gwa_itab1-vtweg.
        gs_salesdatax-distr_chan                     = '88'.   "'X'.
        gs_salesdata-mat_pr_grp                      = gwa_itab1-kondm.
        gs_salesdatax-mat_pr_grp                     = 'X'.
        gs_salesdata-acct_assgt                      = gwa_itab1-ktgrm.
        gs_salesdatax-acct_assgt                     = 'X'.
        gs_salesdata-delyg_plnt                      = gwa_itab1-dwerk.
        gs_salesdatax-delyg_plnt                     = 'X'.
    *client data
        gs_clientdata-base_uom                       = 'HR '.   "gwa_itab1-meins.
        gs_clientdatax-base_uom                      = 'X'.
        gs_clientdata-trans_grp                      = gwa_itab1-tragr.
        gs_clientdatax-trans_grp                     = 'X'.
        gs_clientdata-matl_group                     = gwa_itab1-matkl.
        gs_clientdatax-matl_group                    = 'X'.
        gs_clientdata-division                       = gwa_itab1-spart.
        gs_clientdatax-division                      = 'X'.
        gs_clientdata-net_weight                     = gwa_itab1-ntgew.
        gs_clientdatax-net_weight                    = 'X'.
        gs_clientdata-unit_of_wt                     = gwa_itab1-gewei.
        gs_clientdatax-unit_of_wt                    = 'X'.
       gs_clientdata-item_cat                       = gwa_itab1-mtpos.
       gs_clientdatax-item_cat                      = 'X'.
    *Plant data
        gs_plantdata-plant                           = '8888'. "gwa_itab1-werks.
        gs_plantdatax-plant                          = '8888'.   "'X'.
        gs_plantdata-loadinggrp                      = gwa_itab1-ladgr.
        gs_plantdatax-loadinggrp                     = 'X'.
        gs_plantdata-mrp_type                        = gwa_itab1-dismm.
        gs_plantdatax-mrp_type                       = 'X'.
        gs_plantdata-availcheck                      = gwa_itab1-mtvfp.
        gs_plantdatax-availcheck                     = 'X'.
        gs_plantdata-mrp_group                       = gwa_itab1-disgr.
        gs_plantdatax-mrp_group                      = 'X'.
        gs_plantdata-mrp_ctrler                      = gwa_itab1-dispo.
        gs_plantdatax-mrp_ctrler                     = 'X'.
        gs_plantdata-proc_type                       = gwa_itab1-beskz.
        gs_plantdatax-proc_type                      = 'X'.
        gs_plantdata-period_ind                      = 'M'.   "HARD CODED FOR PERKZ peroid indicator
        gs_plantdatax-period_ind                     = 'X'.
        gs_plantdata-inhseprodt                      = '0'.   "hard coded for DZEIT inhouse production
        gs_plantdatax-inhseprodt                     = 'X'.
    *forecast parameeters
        gs_forecastparameters-plant                  = '8888'.   "gwa_itab1-prmod.
        gs_forecastparametersx-plant                 = '8888'.   "'X'.
        gs_forecastparameters-fore_model             = gwa_itab1-prmod.
        gs_forecastparametersx-fore_model            = 'X'.
    *valution data
        gs_valuationdata-val_area                   = '8888'. "gwa_itab1-bklas.
        gs_valuationdatax-val_area                  = '8888'.   "'X'.
        gs_valuationdata-val_class                   = gwa_itab1-bklas.
        gs_valuationdatax-val_class                  = 'X'.
        gs_valuationdata-std_price                   = gwa_itab1-stprs.
        gs_valuationdatax-std_price                  = 'X'.
        gs_valuationdata-price_ctrl                  = gwa_itab1-vprsv.
        gs_valuationdatax-price_ctrl                 = 'X'.
        gs_valuationdata-price_unit                  = gwa_itab1-peinh.
        gs_valuationdatax-price_unit                 = 'X'.
    *storage location dat
        gs_storagelocationdata-plant              = '8888'.  "gwa_itab1-lgort.
        gs_storagelocationdatax-plant             = '8888'.  "'X'.
        gs_storagelocationdata-stge_loc              = gwa_itab1-lgort.
        gs_storagelocationdatax-stge_loc             = '8888'.   "'X'.
    *material discription
        gwa_materialdescription-langu                = 'E'.
        gwa_materialdescription-matl_desc            = gwa_itab1-maktx.
    *tax classification
       gwa_taxclassifications-taxclass_1            = gwa_itab1-taxkm.
        gwa_taxclassifications-depcountry            = 'US '.         "HARD CODE FOR TAX
    *prt data
        gwa_prtdata-plant                        = '8888'.   "gwa_itab1-planv.
        gwa_prtdatax-plant                       = '8888'.   "'X'.
        gwa_prtdata-prt_usage                        = gwa_itab1-planv.
        gwa_prtdatax-prt_usage                       = 'X'.
    *unitsof measure
        gwa_unitsofmeasure-alt_unit                  = 'HR '.   "gwa_itab1-brgew.
        gwa_unitsofmeasurex-alt_unit                  = 'HR '.  "'X'.
        gwa_unitsofmeasure-unit_of_wt                  = 'KG'.    "gwa_itab1-brgew.
        gwa_unitsofmeasurex-unit_of_wt                  = 'X'.
        gwa_unitsofmeasurex-sub_uom                  = 'X'.
        gwa_unitsofmeasure-gross_wt                  = gwa_itab1-brgew.
        gwa_unitsofmeasurex-gross_wt                  = 'X'.
    *appending workarea to table's
        APPEND gwa_materialdescription    TO gt_materialdescription.
        APPEND gwa_taxclassifications     TO gt_taxclassifications.
        APPEND gwa_prtdata                TO gt_prtdata.
        APPEND gwa_prtdatax               TO gt_prtdatax.
        APPEND gwa_unitsofmeasure         TO gt_unitsofmeasure.
        APPEND gwa_unitsofmeasurex        TO gt_unitsofmeasurex.
    *calling FM BAPI for uploading the Material master data
        CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
          EXPORTING
            headdata            = gs_bapimathead
            clientdata          = gs_clientdata
            clientdatax         = gs_clientdatax
            plantdata           = gs_plantdata
            plantdatax          = gs_plantdatax
            forecastparameters  = gs_forecastparameters
            forecastparametersx = gs_forecastparametersx
            valuationdata       = gs_valuationdata
            valuationdatax      = gs_valuationdatax
            salesdata           = gs_salesdata
            salesdatax          = gs_salesdatax
          IMPORTING
            return              = gs_return
          TABLES
            materialdescription = gt_materialdescription
            unitsofmeasure      = gt_unitsofmeasure
            unitsofmeasurex     = gt_unitsofmeasurex
            taxclassifications  = gt_taxclassifications
            prtdata             = gt_prtdata
            prtdatax            = gt_prtdatax.
    Check the return table.
        IF sy-subrc NE 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE: / 'Error occured while creating material'.
        ELSE.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          WRITE: / 'material',gwa_itab1-matnr,'created'.
        ENDIF.
      ENDLOOP.

    Hi Aparna..
    even with HUR also i am getting same error.....
    is there any changes required in the SPRO .......
    i mean in BAPI had ..unitofmeasure we have around 21 fields( here extra fields is DEL FLAG)
                          but in unitofmeasurex has only 20 fields...
    we need to anything in SPRO for avoiding DEL FLAG.....
    sorry if i am confusing u.....
    thanks for responce and send few more inputs for resolving the issuee....

  • Issue with EAN/UPC field in "BAPI_MATERIAL_SAVEDATA"

    Hello guys,
    I have a requirement where I am using the BAPI_MATERIAL_SAVEDATA to create a new material by using a reference material. The question is how can i pass EAN/UPC field into it?
    This field exists in Basic Data1 tab in MM01 screens. I am not getting how to pass values into the INTERNATIONALARTNOS type BAPI_MEAN ?? This is there as table parameters in the BAPI?
    Please advice

    Hi
    Issue with BAPI_MATERIAL_SAVEDATA
    Bapi_material_savedata help with parameters
    Regards
    Pavan

  • Using: BAPI_MATERIAL_SAVEDATA

    Hi,
    i try to use the above FM like this:
    REPORT ZGRO_TEST.
    DATA: HEADDATA LIKE BAPIMATHEAD.
    DATA: RETURN   LIKE BAPIRET2.
    DATA: BEGIN OF RETURNM OCCURS 0.
            INCLUDE STRUCTURE BAPIRET2.
    DATA: END   OF RETURNM.
    DATA: BEGIN OF LTEXT OCCURS 0.
            INCLUDE STRUCTURE BAPI_MLTX.
    DATA: END   OF LTEXT.
    DATA: MATNR    LIKE MARA-MATNR VALUE '000000000000000592'.
    START-OF-SELECTION.
      HEADDATA-MATERIAL   = MATNR.
      LTEXT-APPLOBJECT  = 'MATERIAL'.
      LTEXT-TEXT_NAME   = MATNR.
      LTEXT-TEXT_ID     = 'PRUE'.
      LTEXT-LANGU       = SY-LANGU.
      LTEXT-FORMAT_COL  = '*'.
      LTEXT-TEXT_LINE   = 'first  Inspection Text'.
      APPEND LTEXT.
      LTEXT-TEXT_LINE   = 'second Inspection Text'.
      APPEND LTEXT.
      LTEXT-TEXT_LINE   = 'third  Inspection Text'.
      APPEND LTEXT.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
           EXPORTING
                HEADDATA         = HEADDATA
           IMPORTING
                RETURN           = RETURN
           TABLES
                MATERIALLONGTEXT = LTEXT
                RETURNMESSAGES   = RETURNM.
      BREAK-POINT.
    END-OF-SELECTION.
    It works (i hope) OK.
    But i get some return like this:
    <b>RETURN</b>
    The material 592 has been created or extended
    <b>RETURNM with 4 entries</b>
    Trying to create: 592 ____ ____ ____ __________ ____ __ ___ ___
    The material cannot be maintained since no maintainable data transferred
    Trying to change: 592 ____ ____ ____ __________ ____ __ ___ ___
    Material 592 changed
    Question:
    Can i give the FM any Information for using it
    in UPDATE-Mode or is my using in this case correct??
    thanks for help
    Regards, Dieter

    Hello Dieter
    The documentation of the parameter MATERIALLONGTEXT says:
    Note                                                                               
    Different long texts (basic data texts, purchase order texts, internal 
        comments, sales texts, material memos) can be created for a material.  
        This requires the fields APPLOBJECT, TEXT_NAME, TEXT_ID, and LANGU or  
        LANGU_ISO in table parameter MATERIALLONGTEXT to contain entries.      
        Depending on the content of field TEXT_ID, the field TEXT_NAME must have
        the following structure:                                                                               
    The material number is transferred first. If it has fewer than 18      
        characters, the remaining characters must be filled with blanks. If it 
        is a material memo (LTXT), the plant key must also be transferred from 
        character 19 onwards; in the case of a sales text (0001), this must be 
        the sales organization and distribution channel. The combinations      
        allowed for the four different fields are indicated in the following table:
    Thus, I guess the problem might be the leading '0'. You should try to write the material number just as '592'.
    Regards
       Uwe

  • Dynamically Using BAPI_MATERIAL_SAVEDATA

    Greetings all,
    I am trying to utilize BAPI_MATERIAL_SAVEDATA. This BAPI updates the material master. However I have a problem. I have an input file that holds the material number, the actual fieldname being updated, and the applicable data for that field (weird setup yes I know). The way this BAPI is setup,  it seems like the importing parameter structures are all for specific material master tables (MARA, MARD, MARC, etc.).  Within each of these importing parameters there are all the fields of each table, however they are named something different than the field itself, however the data element is the same (this can be seen by looking at the types of the import parameters).
    My question is this: is it possible to take the input file specified above, and successfully use this BAPI? I will be updating both custom fields and standard SAP fields on the material master. However, these fields will NOT always be in MARA, so I must somehow tell the program 'depending on what field is coming in on each record of the input file, move the data to the appropriate import parameter structure on the BAPI (if it is a standard field, otherwise use the extension area of course under the TABLES section of the BAPI).
    I would think a case statement checking for if the field exists in each table down the list on the BAPI import parameters since they correspond to the material master tables. However, I think there has got to be a better way to do this.
    Im sure this isnt enough info for an answer but it is a start. Any ideas! Please Help!

    Hi
    Hope it will help you.
    Pls reward if help.
    REPORT z34332_bdc_create_material .
    data: la_headdata type BAPIMATHEAD,
    la_clientdata type BAPI_MARA,
    la_CLIENTDATAX type BAPI_MARAX,
    la_return type BAPIRET2.
    data: i_materialdescription type table of BAPI_MAKT,
    wa_materialdescription like line of i_materialdescription.
    la_headdata-MATERIAL = '000000000000000004'.
    la_headdata-IND_SECTOR = 'M'.
    la_headdata-MATL_TYPE = 'FERT'.
    la_clientdata-BASE_UOM = 'FT3'.
    la_CLIENTDATAX-BASE_UOM = 'X'.
    la_clientdata-MATL_GROUP = '01'.
    la_CLIENTDATAX-MATL_GROUP = 'X'.
    wa_materialdescription = 'TEST'.
    append wa_materialdescription to i_materialdescription.
    clear: wa_materialdescription.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
    EXPORTING
    headdata = la_headdata
    CLIENTDATA = la_clientdata
    CLIENTDATAX = la_CLIENTDATAX
    PLANTDATA =
    PLANTDATAX =
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA =
    VALUATIONDATAX =
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA =
    SALESDATAX =
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    FLAG_ONLINE = ' '
    FLAG_CAD_CALL = ' '
    IMPORTING
    RETURN = la_return
    TABLES
    MATERIALDESCRIPTION = i_materialdescription
    UNITSOFMEASURE =
    UNITSOFMEASUREX =
    INTERNATIONALARTNOS =
    MATERIALLONGTEXT =
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    write: la_return-TYPE, ',', la_return-MESSAGE.
    clear: la_headdata, la_return, la_clientdata, la_clientdatax.
    Pls reward if help.

  • BAPI_MATERIAL_SAVEDATE + Accounting + consting view

    Hi All,
    I want to use BAPI_MATERIAL_SAVEDATA to create accounting view, but not costing view...
    My question is, how am I doing this?
    How to separate between accounting view and costing view?
    Thanks in advance

    We have never been able to update the QM view (Inspection Setup) with the BAPI in question.  We found that it can be updated however in a separate step using the BAPI BAPI_MATINSPCTRL_SAVEREPLICA or IDoc MATQM01 in release 46C.  We usually do a completely separate data load for the QM views after our material master loads are done.  Other fields in the QM view that are part of MARA and MARC we are able to update with BAPI_MATERIAL_SAVEDATA.

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

  • Satellite P300D-10v - Question about warranty

    HI EVERYBODY
    I have these overheating problems with my laptop Satellite P300D-10v.
    I did everything I could do to fix it without any success..
    I get the latest update of the bios from Toshiba. I cleaned my lap with compressed air first and then disassembled it all and cleaned it better.(it was really clean insight though...)
    BUT unfortunately the problem still exists...
    So i made a research on the internet and I found out that most of Toshiba owners have the same exactly problem with their laptop.
    Well i guess this is a Toshiba bug for many years now.
    Its a really nice lap, cool sound (the best in laptop ever) BUT......
    So I wanted to make a question. As i am still under warranty, can i return this laptop and get my money back or change it with a different one????
    If any body knows PLS let me know.
    chears
    Thanks in advance

    Hi
    I have already found you other threads.
    Regarding the warranty question;
    If there is something wrong with the hardware then the ASP in your country should be able to help you.
    The warranty should cover every reparation or replacement.
    But I read that you have disasembled the laptop at your own hand... hmmm if you have disasembled the notebook then your warrany is not valid anymore :(
    I think this should be clear for you that you can lose the warrany if you disasemble the laptop!
    By the way: you have to speak with the notebook dealer where you have purchased this notebook if you want to return the notebook
    The Toshiba ASP can repair and fix the notebook but you will not get money from ASP.
    Greets

  • Question regarding NULL and forms

    Hi all, i have a survey that im working on that will be sent via email.
    I'm having an issue though. if i have a multiple choice question, and the user only selects one of the choices, all the unselected choices return as NULL. is there a way i can filter out anytihng that says "NULL" so it only shows the selected options?
    thanks.
    here is the page that retrieves all the data. thanks
    <body>
    <p>1) Is this your first visit to xxxxxxx? <b><%=request.getParameter("stepone") %></b>
    </p>
    <p> </p>
    <p>2) How did You Learn About xxxxxxx?</p>
    <p><b><%=request.getParameter("steptwoOne") %></b>
      <br>
        <b><%=request.getParameter("steptwoTwo") %></b>
      <br>
        <b><%=request.getParameter("steptwoThree") %></b>
      <br>
        <b><%=request.getParameter("steptwoFour") %></b>
      <br>
        <b><%=request.getParameter("steptwoOther") %></b>
    </p>
    <p> </p>
    <p>3) What was your main reason for visiting xxxxx?</p>
    <p><b><%=request.getParameter("stepthreeOne") %></b>
        <br>
          <b><%=request.getParameter("stepthreeTwo") %></b>
        <br>
          <b><%=request.getParameter("stepthreeThree") %></b>
        <br>
          <b><%=request.getParameter("stepthreeFour") %></b>
        <br>
          <b><%=request.getParameter("stepthreeOther") %></b>
    </p>
    <p>4) did you find the information you were looking for on this site?</p>
    <p><b><%=request.getParameter("stepfour") %>
    <br>
    <b><%=request.getParameter("stepfourOther") %></b>
    </b></p>
    <p>5) Do you plan on using this website in the future?</p>
    <p><b><%=request.getParameter("stepfive") %></b></p>
    <p>6) What is your gender</p>
    <p><b><%=request.getParameter("stepsix") %></b></p>
    <p>7) What is your age group</p>
    <p><b><%=request.getParameter("stepseven") %></b></p>
    8) Would you like to take a moment and tell us how we can improve your experience on xxxxxxxxxx?
    <p><b><%=request.getParameter("stepeightFeedback") %></b></p>

    i was messing around and came up with this. it doesnt remove the null, but if it is null it adds ABC beside it. so i think i might be getting close. i just need to figure out how to replace the null.
    code]
    <b><%=request.getParameter("steptwoFour") %></b>
         <% if (request.getParameter("steptwoFour") == null ) {
         %>
         <% out.print("abc"); %>
         <% }
         %>

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • Basic question

    Hello, i have a basic question. if i have defined 2 fields in a cube or a dso:
    Name Quantity
    and from the external flat file i get some characters for my quantity field. would my load fail?  for standard dso and for write optimized?
    NOTE: quantity field is a keyfigure defined as numeric.
    and the load coming in has "VIKPATEL" for Quantity field and not numbers.
    thanks

    Hi Vik,
    Yes, the load will fail.
    May be you coud first load this data into BW (into PSA) and set both fields as characters fields. Then you can create DSO, do transformation from this PSA to the DSO, and put your logic as to what do you want to do with those Quantity that is not number (e.g. convert to 0, or 'Not assgined', etc).
    You can use transfer rule, or a clean up ABAP code in the start routine.
    Hope this helps.

  • Mid 2010 15" i5 Battery Calibration Questions

    Hi, I have a mid 2010 15" MacBook Pro 2.4GHz i5.
    Question 1: I didn't calibrate my battery when I first got my MacBook Pro (it didn't say in the manual that I had to). I've had it for about a month and am doing a calibration today, is that okay? I hope I haven't damaged my battery? The calibration is only to help the battery meter provide an accurate reading of how much life it has remaining, right?
    Question 2: After reading Apple's calibration guide, I decided to set the MacBook Pro to never go to sleep (in Energy Saver System Preference) and leave it on overnight so it would run out of power and go to sleep, then I'd leave it in that state for at least 5 hours before charging it. When I woke up, the light on the front wasn't illuminated. It usually pulsates when in Sleep. Expectedly, it wouldn't wake when pressing buttons on the keyboard. So, what's happened? Is this Safe Sleep? I didn't see any "Your Mac is on reserve battery and will shut down" dialogues or anything similar, as I was asleep! I've left it in this state while I'm at work and will charge it this afternoon. Was my described method okay for calibration or should I have done something different?
    Question 3: Does it matter how quickly you drain your battery when doing a calibration? i.e is it okay to drain it quickly (by running HD video, Photo Booth with effects etc) or slowly (by leaving it idle or running light apps)?
    Thanks.
    Message was edited by: Fresh J

    Fresh J:
    A1. You're fine calibrating the battery now. You might have gotten more accurate readings during the first month if you'd done it sooner, but no harm has been done.
    A2. Your machine has NOT shut down; it has done exactly what it was supposed to do. When the power became critically low, it first wrote the contents of RAM to the hard drive, then went to sleep. When the battery was completely drained some time later, the MBP went into hibernation and the slepp light stopped pulsing and turned off. In that state the machine was using no power at all, but the contents of your RAM were still saved. Once the AC adapter was connected, a press of the power button would cause those contents to be reloaded, and the machine would pick up again exactly where you left off. It is not necessary to wait for the battery to be fully charged before using the machine on AC power, but do leave the AC adapter connected for at least two hours after the battery is fully charged. Nothing that you say you've done was wrong, and nothing that you say has happened was wrong.
    A3. No, it does not matter.

  • Jabber/WebEx Connect SSO Questions

    I've got a few questions around exactly what needs to be done to get SAML working for our Connect accounts to successfully authenticate from Jabber for Windows, Mac, iPhone, and Android.
    We have both a Meeting Center and Connect account under WebEx using Loose Coupled Integration. Just this past week I enabled SAML for our Meeting Center accounts which went off without a hitch with the exception of Meeting Center integration with Jabber, which is now broken with a message about SSO enabled Meeting Sites not being supported (I think this would maybe be fixed if we had Tight Coupled Integration with our two account?).
    Anyway, my questions are...
    For Windows, I understand all clients will need to be reinstalled with the MSI argument for the SSO_ORG_DOMAIN switch I've read about, is that correct? Are there any other switches needed for the reinstall? 
    How will this work with the Mac and mobile clients? There's obviously no command line options to specify for the installations here, will they just know to kick over to my IdP for authentication once they see an email address that falls under an org with SSO enabled? If so, why does the Windows client need to be completely reinstalled and not just know to find the IdP from the Cloud Connect service like Meeting Center does with the Productivity Tools?
    We're just doing this for our Connect Web IM accounts, not attempting any sort of SSO with the phone accounts/UC integration yet.
    Any ideas on getting the Meeting Center integration into Jabber working again?

    I'd suggest posting your question over on the Jabber Pilot forum, as this forum is specific to Jabber Guest questions:
    https://supportforums.cisco.com/community/4551/jabber-pilot-support
    -jim

Maybe you are looking for

  • Mailing more than one photo

    I would like to be able to email more than one photo at a time. That is if any developers are reading this thread.

  • Error message cannot be synced

    Whenever i try to sync my ipod an error message pops up. it reads... "The iPod cannot be synced. The disk could not be read from or written to." Can anyone offer advice on how to fix this problem as re-setting and re-installing has not worked. Fifth

  • Touchsmart 310-1125y no touchscree​n after 8.1 install

    After I installed 8.1 on this machine there is no touchscreen function, does anyone have a solution. Thanks

  • Urgent !!! coding for report 9i

    Hi evryone I need oracle proffesional to solve my issue. I have foloowing code Written Onn KEY-Print Trigger (form 6i): DD_PARAMETER(LIST_ID, 'P_FIN_YEAR', TEXT_PARAMETER, :FIN_YEAR); if :bic_cat_no = 3 then      ADD_PARAMETER(LIST_ID, 'P_maint_type'

  • Lightroom 3 raw conversion and fuji xpro 1

    have just bought a fuji xpro 1  and found that lightroom 3 doesnt support raw conversion. i realize that lightroom4 has, but  i dont want to spend x amount of dollars when lightroom 3 meets most of mr requirements. does anyone know if or when lightro