BAPI_MATERIAL_SAVEDATA  Gross weight BRGEW

Hello,
searched the forum and found older entries regarding transfer of the gross weight with BAPI_MATERIAL_SAVEDATA.
But all adivises I read do not help.
I am aware how to use the BAPI and the tables.
So here the facts:
Base unit of measure and net weight are passed with CLIENTDATA and corresponding CLIENTDATAX.
As gross weight BRGEW is required field the error message appears.
Logical until now.
Now there is the table UNITSOFMEASURE and UNITSOFMEASUREX.
They are for alternative unit of measures.
Some posted to use that to fill gross weight.
Ok. I fill the tables:   lw_MARM = UNITSOFMEASURE
    MOVE p_lw_data-meins TO lw_marm-alt_unit.
    MOVE p_lw_data-ntgew TO lw_marm-gross_wt.
    MOVE p_lw_data-gewei TO lw_marm-unit_of_wt.
    APPEND lw_marm TO p_lt_marm.
    MOVE p_lw_data-meins TO lw_marmx-alt_unit.
    MOVE c_charx TO lw_marmx-gross_wt.
    MOVE c_charx TO lw_marmx-unit_of_wt.
    APPEND lw_marmx TO p_lt_marmx.
==> Now the message M3332 appears.
The alternative unit of measure is the same as the base unit of measure
And yes it is of course the same. I do not want to enter an alternative one.
Could the ISO code help?
But it should not be the key really.
I would be glad to get some answers on this.
BR

Hello,
searched the forum and found older entries regarding transfer of the gross weight with BAPI_MATERIAL_SAVEDATA.
But all adivises I read do not help.
I am aware how to use the BAPI and the tables.
So here the facts:
Base unit of measure and net weight are passed with CLIENTDATA and corresponding CLIENTDATAX.
As gross weight BRGEW is required field the error message appears.
Logical until now.
Now there is the table UNITSOFMEASURE and UNITSOFMEASUREX.
They are for alternative unit of measures.
Some posted to use that to fill gross weight.
Ok. I fill the tables:   lw_MARM = UNITSOFMEASURE
    MOVE p_lw_data-meins TO lw_marm-alt_unit.
    MOVE p_lw_data-ntgew TO lw_marm-gross_wt.
    MOVE p_lw_data-gewei TO lw_marm-unit_of_wt.
    APPEND lw_marm TO p_lt_marm.
    MOVE p_lw_data-meins TO lw_marmx-alt_unit.
    MOVE c_charx TO lw_marmx-gross_wt.
    MOVE c_charx TO lw_marmx-unit_of_wt.
    APPEND lw_marmx TO p_lt_marmx.
==> Now the message M3332 appears.
The alternative unit of measure is the same as the base unit of measure
And yes it is of course the same. I do not want to enter an alternative one.
Could the ISO code help?
But it should not be the key really.
I would be glad to get some answers on this.
BR

Similar Messages

  • Overwriting the Gross-Weight (E1VPDLI-BRGEW) from inbound idoc sdpiid01

    Hi All,
    We are creating document to update confirmation quatities in SAP with inbound idoc SDPICK.SDPIID01 from 3rd party system using XI. We have the correct Gross-Weight(E1VPDLI-BRGEW) in the Idoc, but while posting into SAP, the value getting over-write with I guess net weight. Does anybody know how to stop this Gross wt thing to overwtrie?? Any userexit that I could use for the same???
    Regards
    Navin

    .

  • Standard report - Gross Weight sum by Purchase Order document

    Hello,
    Is there a standard SAP report that will give me the total Gross Weight for a Purchase Order?
    I can find this information by going to SE16 - table EKPO - and doing a sum of Gross Weight (field BRGEW).  However, I'm looking for a standard report that will give me this information as the user does not have SE16 access.
    Any help would be greatly appreciated.

    Thank you for the information, however, I cannot specify a specific Purchasing Document in that transaction, nor does the transaction tell me what specific PO the weight is tied to.

  • BAPI_MATERIAL_MAINTAINDATA_RT update gross weight for generic article

    Hi, I want to update the gross weight (MARM-BRGEW) for a generic article and it's variants. Sometimes, the new gross weight is not propagate to all the article related variants when I'm using BAPI BAPI_MATERIAL_MAINTAINDATA_RT ??
    In the structure headdata, I just pass the article number and flag the basic_view. I used 2 internal table for the unit of measures (bapie1marmrt, bapie1marmrtx).
    Example of my source code:
      st_headdata-material   = st_marm-matnr.
      st_headdata-matl_cat   = st_marm-attyp. (01 for generic)
      st_headdata-ref_matl   = st_marm-matnr.
      st_headdata-basic_view = 'X'.
      st_bapimarm-material   = st_marm-matnr.
      st_bapimarm-alt_unit   = st_marm-meinh.
      st_bapimarm-numerator  = st_marm-umrez.
      st_bapimarm-denominatr = st_marm-umren.
      st_bapimarm-gross_wt   = pa_brgew.
      st_bapimarm-unit_of_wt = st_marm-gewei.
      st_bapimarmx-material   = st_marm-matnr.
      st_bapimarmx-alt_unit   = st_marm-meinh.
      st_bapimarmx-numerator  = 'X'.
      st_bapimarmx-denominatr = 'X'.
      st_bapimarmx-gross_wt   = 'X'.
      st_bapimarmx-unit_of_wt = 'X'.
      APPEND: st_bapimarm   TO tp_bapimarm,
              st_bapimarmx  TO tp_bapimarmx.
      CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
        EXPORTING
          headdata        = st_headdata
        IMPORTING
          return          = st_return
        TABLES
          unitsofmeasure  = tp_bapimarm
          unitsofmeasurex = tp_bapimarmx.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Let's say my article has 3 unit of mesasure which are EA, PAK, CAR. The base unit of measure of the articles (generic + variants) are EA.
    MARM example BEFORE calling the bapi
    MATNR           MEINH   UMREZ   UMREN  BRGEW
    A011125             KAR     48     1      33
    A011125A10090     KAR     48     1      33
    A011125A10091     KAR     48     1      33
    A011125A10092     KAR     48     1      33
    A011125A10093     KAR     48     1      33
    A011125B10590     KAR     48     1      33
    A011125B10591     KAR     48     1      33
    A011125B10592     KAR     48     1      33
    A011125B10593     KAR     48     1      33
    A011125W10090     KAR     48     1      33
    A011125W10091     KAR     48     1      33
    A011125W10092     KAR     48     1      33
    A011125W10093     KAR     48     1      33
    MARM after calling the BAPI with a new BRGEW of 34
    MATNR           MEINH   UMREZ   UMREN  BRGEW
    A011125             KAR     48     1      34
    A011125A10090     KAR     48     1      34
    A011125A10091     KAR     48     1      34
    A011125A10092     KAR     48     1      34
    A011125A10093     KAR     48     1      33
    A011125B10590     KAR     48     1      34
    A011125B10591     KAR     48     1      33
    A011125B10592     KAR     48     1      33
    A011125B10593     KAR     48     1      34
    A011125W10090     KAR     48     1      34
    A011125W10091     KAR     48     1      33
    A011125W10092     KAR     48     1      34
    A011125W10093     KAR     48     1      34
    I don't think that a locking problem....

    Please open a customer message with the detail data, so I will have a look at your system.
    But I remember that there should be a note for that
    Regards
    B

  • Best way to update material gross weight

    Hello guys,
    I have a question, which is best to use to update material gross weight with an inbound interface? Proxy or Idoc?
    With proxy we have seen the function BAPI_MATERIAL_SAVEDATA.
    Wich kind of Idoc could be use? And what's the minimum information to send in the the idoc to update the material?
    Many thanks in advance.
    Regards,
    Xavier.

    Hello Mithun,
    I want to update the basic data of the material.
    What is the minimum data for Idoc MATMAS05?
    Regards,
    Xavier.

  • The billing document has incorrect gross weight on the output

    Hi All,
    I'm facing a problem - the billing document has the incorrect gross weight on the output.
    The output of gross weight is 3 x the true gross weight.
    The program was looping three time during this select causing the value in t_weights-brgew to be 3 times the true value.
    Could someone advise how to resolve this problem?
    Below is part of the program for gross weight.
      REFRESH t_weights.
      SELECT vekp~brgew INTO t_weights-brgew
                        FROM vekp JOIN vepo ON vekpvenum EQ vepovenum
                             WHERE vepo~vbeln = w_vbeln
                             AND vepo~matnr = w_matnr.
        COLLECT t_weights.
      ENDSELECT.
      IF NOT t_weights[] IS INITIAL.
        READ TABLE t_weights INDEX 1.
        READ TABLE out_tab WITH KEY name = 'BRGEW'.
        IF sy-subrc = 0.
        move t_weights-brgew TO out_tab-value.
          MOVE t_weights-brgew TO w_gross.
          MOVE w_gross TO out_tab-value.
          WRITE w_gross TO out_tab-value LEFT-JUSTIFIED NO-ZERO DECIMALS 2.
          MODIFY out_tab INDEX sy-tabix.
        ENDIF.
      ENDIF.
    ENDFORM.                               " of get_nett_gross_weights
    Thank you.

    What is the Structure of the t_weights.
    This may happen due to that condition in select stament, there might be more record for it, so it will add twice or thrice especially due to the JOIN/INNER JOIN statements,
    Try SELECT DISTINCT <..followed by your same code...>

  • Badi for updating Item Gross Weight  (VL01N)

    Hi All
    I am using interface CHANGE_DELIVERY_ITEM and
    FILL_DELIVERY_ITEM of defination name LE_SHP_DELIVERY_PROC to change the gross weight of delivery item.  System is allowing me to change the gross weight in interface CHANGE_DELIVERY_ITEM but is not getting saved in the database.
    Please Advice.
    Ravindra Suvarna

    Hi!
    I have not seen any hint, that this is not possible. But this is difficult to say without own test data, so you have to make some more checks.
    Just place a break-point in your coding and debug a little bit starting with your new gross weight. Look, where it is overwritten again. Maybe it's very soon / easy to find. Think about watch points, too (but there can be a lot of different tables involved).
    Regards,
    Christian

  • Gross Weight Unit of Measure (MARA-GEWEI) SAP ECC 6.0

    Hi There,
    We use something called IPC for sales over the Internet. IPC is showing the customers our materials from the material master in KG and we need to show them in LB. The reason this is happening is because the materials are created in Europe and there is an automatic creation of the material to our system in the US.  We would like to know if there is something we can do in our system to convert the Gross Weight Unit from KG to LB in an automatic way using some kind of conversion rule? What does T006 has to do with this if there is any relationship?
    Thanks for your help.
    Luis.

    KG and LB belong both to dimesion MASS
    KG is the SI unit.
    in any unit belonging to dimension MASS you can enter a fix conversion rate to the SI unit KG.
    this conversion will then automatically pulled if you enter the LB as alternative unit in your materials.
    Further you can call a function module UNIT_CONVERSION_SIMPLE  to convert from one unit to the other

  • Reg Batch in delivery  some items are not showing gross weight please help

    please give me your help
    in Deliveries some items are not showing gross weight
    please give me some help

    Dear Ramsuresh,
              Check are maintaining gross weight in the Master data of those items or not.
    If not maintain in the Material master then create delivery
    I hope it will help you
    Regards,
    Murali.

  • Gross weight not picked in delivery created by vl10d.

    Hi All,
      I am creating background delivery for STO by tcode vl10d. For a particular material gross weight is maintained in material master but it is not geting displayed in gross weight field after creating delivery in loading tab. wat may the cause of this problem & how it can be removed???
    urgent help reqd....
    Thanx
    Deepak Kumar

    Hi Deepak
    It is flowing in sales order??
    Thanks
    G. Lakshmipathi

  • Wrong Gross weight Calculate in Condition Base Value

    Hi,
    We are having SAP 4.7 and we are on patch level 28th.
    In the Stock Transfer order Plant to Depot, we are entering freigh
    condition ZFRG and for ZFRG we have kept Calculation Type - "D" - Gross
    Weight.
    Now while creating STO, System is calculating wrong Gross weight
    in "Condition Based Value" for ZFRG condition type.
    Kindly revert back with solution.
    Thanks,
    Samir Bhatt

    Hi,
    USE FMs SD_BONUS_READ and SD_BONUS_STAT_TARGET to fetch the values.
    Babul.

  • Gross weight and net weight of line item in a delivery

    Hi what exactly the meaning of gross weight and netweight of delivery line item?
    Where can i see these 2 fields in the transaction?How weight differs to the quantity for a particular delivery item?
    Thanks in advane
    Mahesh

    Hi,
    <b>Gross Weight</b>
    The system can use the <b>gross weight</b> at a later stage, depending on what kind of capacity check you run, to check storage bin capacity for warehouse management purposes.
    The system calculates the gross weight of each item by multiplying the delivery quantity by the gross weight per unit that comes from the sales order. If there is no related sales order, the system uses the gross weight from the material master record. You can change the gross weight manually in the delivery document.
    <b>Net weight</b>
    The total net weight of all items in the delivery.
    Use
    The system calculates the net weight of each item by multiplying the delivery quantity by the net weight per unit that comes from the sales order. If there is no related sales order, the system uses the net weight from the material master record.
    Please reward if helpful.
    Thanks & Regards
    Sadhu Kishore

  • Manual Gross Weight from Handling Unit to Outbound Delviery

    Hi Friends,
    I have a question related to gross weight replication from HU to outbound delivery document.  During delivery process, for packing, system calculates the gross weight on the basis of weight from the material master however the weight is not accuare and for that we modify the value with the actual gross weight of the physical packing.  Now when return to the outbound delivery screen, system is not replicating the updated weight entered in HU and showing as blank value.
    Please help, is this standard behaviour or how to correct the problem...we are using ECC5.0
    Appreciate your support.
    Best Regards,
    Goutham

    Hi Gaoutham,
    This issue is related to suspicious development in user exit. I faced the same issue in an earlier project, where the HU weight is not changed manually when u go back to delivery screen. Finally developer had found the some Z table where it was mentioned like if sales organsation so and so... then it should not allow to change the weight manually and the remark was maintained as "X" in front of particular field.
    Please try this and confirm.
    Thanks & Regards,
    Rahul Verulkar

  • Where we can check the Confirmation of gross weight .

    hi,
    iam executing the fm SD_DELIVERY_UPDATE_PICKING_1 , in that i want Confirmation of gross weight  and Confirmation of netweight values, can any body tell me  where we can check that fields.
    thanks in advance.

    not sure if this can help u
    LIKP-NTGEW
    LIKP-BTGEW

  • Gross weight getting cleared

    There is a issue with Material Master loading.for an already created material, if you reload as Alternative UoM same as the Base UoM it is erasing the gross weight.But when we load the same material (Alternative uom is same as of base uom) in another system but plant is different it is not erasing the gross weight.Is there any customizing we have to do to prevent this issue.

    Wrong structure, this field is not used for many years. you have to have the gross weight in E1MARMM
    If you create a material manually, then the gross weight from basic data view is just copied over into the alternative unit  screen to  the base unit., which is table MARM.
    With the IDOC you have to do it the other way around. you need to provide the weight in the E1MARMM structure and the weight will appear in MARA and your basic data view too.
    If you made the field in basic data view mandatory, then you should load the gross weight in both structures.

Maybe you are looking for

  • Oracle.jbo.AttrValException: JBO-27019: Get method for attribute

    Hi Guys, I am trying to add a new column to Oracle quoting.It has already been customized by some consultant few years back. I followed the note 392728.1 on metalink and also have the documentation by the previous consultant but getting the error ora

  • My post disappeared! Down for over a week!

    Wow! my whole post disappeared. Am I talking about a sore subject? Been down for over a week. My issue is that because I am using a usb modem as my internet connection with considerable infrastructure to make it work, support always says its my probl

  • Ipod video screen discoloration?

    im not sure if this is normal or not so im checking. i have a 5g 30g ipod video. when i hold the screen at a slight angle, i see a big rainbow colored spot. when you look head on you dont see it but then if you angle it slightly it catches your eye.

  • Business Rules Runtime Prompts

    Hello, in my planning application, i have a few business rules that cannot be linket do any dataform. Users must run them directly via "Tools->Business Rules" menu'. These Business Rules have Runtime Prompt. User can fill them directly in the text fi

  • [SOLVED] GNOME terminal is completely blank

    When I open the gnome terminal, it is completely blank, not the usual "$ user@computer". Any ideas? Last edited by r42xer (2012-04-28 00:37:04)