Total weight of a post item in purchase order message

Hello !
I want to write in the sapscript form used to edit the purchase order the total weight of a post item.
I found in the table EKPO the net weight, but iti is the weight of one article and not of the whole post item.
Does someone know how I can get this information (in which table or structure that is filled the MAIN element of the form) ?
I could multiply this weight by the ordered quantity but it seems not to be possible directly in the form and I want to use the standard program for my sapscript.
I precise that my form is an copy of the standard form MEDRUCK.
I thank you a lot for your help.
Regards,
Céline J.

Any idea ?

Similar Messages

  • "All items from purchase order cannot be invoiced"

    Hello,<br />
    <br />
    I'm on a SRM 7.0 SP 5 system (ext-classic scenario). Here i try to create an invoice with reference to a Purchase Order, but none of my Purchase Orders can be used for reference. I get the following warning message 'All items from purchase order cannot be invoiced'.<br />
    <br />
    - Created via POWL (create with reference -&gt; invoice/credit memo) i always get the warning message 'All items from purchase order cannot be invoiced'. And no items are converted / can be used for invoicing. Additionally when i use the search option 'find purchase order' within the create invoice transaction i can not find any purchase order to use, it shows 'There is no search result' while there are plenty purchase orders marked with 'invoice expected'.<br />
    <br />
    I am able to create invoices without reference.<br />
    <br />
    I tried vendors set up only for 'invoice expected' and 'GR', 'invoice expected' / 'GR' / 'GR-based-IV' and 'invoice expected' only none of them works, indicators set on vendor master are correctly used on the created purchase order. Outputting PO doesn't make any difference neither.<br />
    <p />
    I have not set up the following (do i need to?):<br />
    - Deactivated the 'CRME' transaction type, no Credit Memo transaction type has been configured/is active.<br />
    - I have not defined the 'INV' transaction type as a follow-on document for my ECPO transaction type within the define transaction type transaction.<br />
    - Tollerances<br />
    <br />
    <b>edit</b> -&gt; i've already searched thorougly for SAP notes but no note seems to cover this particular problem.<br />
    <br />
    Help is very much appreciated

    Solved! Added SYS attribute for back-end system in organisational scheme.

  • Not to include item from purchase order to the delivery order

    Hi,
    i need some guidance on above topic. The user requested to have the functionality not to include the item from purchase order to delivery order when the item having  order balance quantity more than the available stock.
    In other words, if a PO contains several items, those order balance quantity which is more than the available stock will not be included in the DO.
    is the above scenario possible?
    please advise.
    Thanks.

    Hi Yue ,
    u can do it , but in this case u have to make use of user exit or BADI.
    option 1 .
    by using user exit , u can delete/change picking/confirm qty .
    option2:
    while doing  the PGI , do can cross check stock avail with PO qty and raise error messages.
    LE_SHP_GOODSMOVEMENT --> see its documentations in se18.
    Regards
    Peram

  • How to restrict the user to enter the item in purchase order?

    I want to restrict user to enter the item in purchase order.
    How can i do this?
    Please help
    Abhishek

    Hi,
       You may create a transaction variant for ME21N in SHD0 transaction. Make the item field as output only as shown below:
    Result:
       You may check the doc: Learning SHD0 with Example
    Regards,
    AKPT

  • Retrieve Material group item in Purchase Order.

    Hi all,
    I would need to retrieve the material group from item in Purchase order to compare in Step condition in workflow.
    I have a copy of WS14000075. The container from this WF hasn't this field, at least that I know.
    How can to retrieve this value from purchase order?
    Some idea for it?
    Many Thanks,
    Regards,
    David.

    Hi Nishant,
    I will obtain the material group, but I need pass to workflow the value for each item and compare it with another values obtained from Z table (this part is implemented).
    I would need something similar to BO BUS2121 attribute "MaterialGroup".
    Many Thanks.
    Regards,
    David.

  • Delete item from Purchase Order

    Dear All,
    I want to cancel line item from Purchase Order.
    But  i am unable to do it as i have already made advance payment against PO/Item.
    Actually advance payment was against another Item of PO but by mistake selected wrong item while f-47.
    Now i want to delete item for which made avance payment and transfer advance payment with another PO item.
    How to do it.
    Regards
    Swati

    Hi,
    Your Issue
    Lets say, you have created two items in a PO, and made adv payment against item 10 instead of 20.
    Now you want to delete the item 10---
    Solution
    I hope you have not done any GRN to both items (10 & 20) of your PO.
    Then make your item 10 as same as your item 20. (Do change the material code, order qty, price etc)
    Then delete the item 20.
    So with this, you have made your errorised PO item as actual item, and deleting yout actual PO item as errorised item.
    This is as good as swaping the items from one item to another item in the same PO.
    This will resolve your issue.
    Thanks,
    Srinu

  • Delete the perticuler Line Items of PURCHASE ORDERS.

    Hi Friends,
    i want delete the perticuler Line Items of PURCHASE ORDERS.
    EXAMPLE :
    I HAVE ONE PO  : 2000010.
    IT HAVING 10 LINE ITEMS. LIKE 1 , 2 , 3 , 4 ,5 ,6 ,7 ,8 ,9 , 10.
    FOR THIS PO , I WANT DELETE THE 5TH LINE ITEM.
    MEAN FOR PERTICULAR PO I WANT DELETE ITS SPECIFIC LINE ITEM NO.
    ANYBODY EXPLIAN..
    THANKS

    Are you looking to do this from an ABAP program or from the PO Screens?   EKPO does have a field for the Deletion Indicator.  Is there a reason why you would choose to do this from an ABAP program rather than the ME22n?

  • Creating Commitment Items In Purchase Order Level

    Hi Friend,
                    I need some information on How to create commitment items  at Purchase Order item level. Any  BADI's,  please suggest me.
    Thanks in Advanced
    Shiv'.

    Hi dude ,
    Here i am not suppose to  create any new tab at item level , could you  little bit clear............,
    Thanks .
    Shiv'.

  • User Exit to add line item in Purchase Order

    Hi SAP Gurus,
    Can any body tell me which user exit is used to add the line items in Purchase Order. I want to link the Packaging material (material type - VERP) to the header material (Material type - FERT) in PO for order type NB or UB. Because our requirement is what, when we enter the finished material in PO then packaging material linked with that finished material should automatically comes into PO as a line item.
    Please help me for the same.
    Thanks in Advance.
    Regards,
    Sujay

    Hi,
    You can use Function Module for this requirement.
    BAPI_PO_GETDETAIL1
    Bye,
    Muralidhara

  • Alternative items on Purchase Order

    Hi Experts:
        I have a question regarding the alternative items on Purchase order. If alternative item A2 is setup for item A1 from Vendor XYZ, and if we place a PO with XYZ for item A1 but they ship item A2: can we receive A2 in stock on the initial PO for A1? Dose SAP have these kind of solutions?
    Thanks and best regards
    Xincheng JIN

    Hi,
    there is one good solution for this sort of requirement...However, the limitations are there; may be suitable for example, we order for envelopes from vendor.  You may order for one type of envelope and vendor may send other type...size may be the same, one envelope with window for address and other type may not have a window....similar such situations can be easily address using the standard SAP's below example: (I implemented this already in 2 projects previously)
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/fb79385feddf6ae10000009b38f8cf/frameset.htm
    Example: Configurable Materials in Purchasing
    You are responsible for procuring office supplies for your company, including envelopes. A printing firm supplies you with envelopes featuring your company logo in various sizes, with or without an address window.
    In order not to have to create separate material master records for every possible combination (e.g. C5 with window, C6 without window), you wish to use a configurable material.
    You must carry out the following activities for a configurable material:
    Create characteristics
    Create class
    Create material
    Create configuration profile
    Create Characteristics
    You define the criteria you use to differentiate between the variants of a material (in this case, the size of the envelope and the address window) by means of characteristics. You must create a characteristic for each criterion under Logistics ® Central Functions ® Classification System ® Master Data ® Characteristics Management.
    Characteristic: Size of envelope
    Enter size_of_envelope in the field Characteristic.
    Choose Create.
    Enter the following data on the tab page Basic Data:
    · Description: Size of envelopes
    · Data type: Character format
    · Number of characters: 20
    This indicates how many characters a characteristic value may comprise.
    · Select the Single value indicator in the area Value assignment.
    If you set the Single value indicator, one value only may be assigned to the characteristic. For example, only one size may be chosen when you specify the dimensions of the envelopes that are to be ordered in a PO.
    Enter the following data on the tab page Values:
    · Enter possible values for the characteristic:
    Characteristic value
    Description
    DIN C4
    229 mm x 324 mm
    DIN C5
    229 mm x 162 mm
    DIN "Langhülle"
    218 mm x 114 mm
    DIN C6
    162 mm x 114 mm
    · Select the Additional values indicator.
    If this indicator is selected, you may also specify values that you have not yet defined here when assigning values to the characteristic.
    Choose the class type 300 (variants) on the tab page Restrictions.
    Choose Save.
    Characteristic: Address window in envelope
    Enter window_in_envelope in the field Characteristic.
    Choose Create.
    Enter the following data on the tab page Basic Data:
    · Description: Address window in envelopes
    · Data type: Character format
    · Number of characters: 4
    · Select the Single value indicator in the area Value assignment.
    Enter the following data on the tab page Values:
    · Values of characteristic: yes , no
    · Do not select the Additional values indicator.
    Choose the class type 300 (variants) on the tab page Restrictions.
    Choose Save.
    Create Class
    You group several characteristics to form a class. The class is then assigned to a material.
    Choose Logistics ® Central functions ® Classification system ® Master data ® Class management.
    Enter the following data on the initial screen:
    · Class : Envelope
    · Class type: 300 (variants)
    Choose Create.
    Enter a short description of the class in the Description field on the tab page Basic data: Envelopes with company logo.
    On the tab page Characteristics, enter the characteristics you created previously: size_of_envelope, window_in_envelope .
    Choose Save.
    Create Material
    Choose Logistics ® Materials management ® Material master ® Create material ® Create (general) ® Immediately.
    Enter the following data:
    · Material: Envelope
    · Industry sector: Office supplies
    · Material type: Configurable material
    Choose Enter.
    Choose the views Basic Data 1, Basic Data 2, Purchasing, and Accounting 1.
    Enter plant 0001.
    Enter the following data on the tab page Basic Data 1:
    · Short description of the material: Envelopes with company logo
    · Base unit of measure: KI (box)
    · Material group: Office supplies
    On the tab page Basic Data 2, check whether the Material is configurable is selected.
    On the tab page Purchasing, select the Subject to batch management indicator.
    On the tab page Accounting 1, enter the following data:
    · Valuation class:
    · Price control: V
    · Moving average price: 99.95
    Choose Save.
    Create Configuration Profile
    In the configuration profile, you assign characteristics to the material via a class.
    Choose Logistics ® Central functions ® Variant configuration ® Configuration profile ® Create.
    Select Material and choose Enter .
    Enter envelope in the field Material.
    Choose Goto ® Profile overview.
    Enter the following data:
    · Priority: 01
    · Profile name: Envelopes
    · Class type: 300 (variants)
    Choose Goto ® Class assignment and enter envelope in the Class field.
    Choose Save.
    Use in Purchasing
    You can now create, change and display this configurable material in all purchasing documents.
    Display
    If a configuration already exists for the material, you can display it in the purchasing document.
    Change
    If the configuration of the material was adopted from a sales order or from the material master record, you can change it in the purchasing document. This may be necessary if a material with the selected characteristic value cannot be supplied (is not available) and has to be changed to the material in the quotation.
    If you change the configuration of a material in the purchasing document:
    A new price determination process is carried out
    You do not change the original configuration in the sales order or in the material master record as a result
    Subsequent changes to the sales order or the material master record do not affect the configuration in the purchasing document
    Create
    If no configuration yet exists for a configurable material, you can create one in the purchasing document. This may be necessary, for example, if a configurable material is to be ordered without reference to a sales order.
    Subcontracting items and the archiving of the characteristic values are not supported.
    For more information on configurable materials, refer to the section  LO Variant Configuration.

  • Authorization Object for Purchase order Message control

    Hi ,
    Is there any stadard authoriztion object to control the print and print preview options for Message control .
    I am requied to control the print and print preview options for purchase order messages for certain users depeding on there authorizaion.
    Thanks in advane.

    Hi,
    When you click on the 'print preview' button on ME22N/ME23N the system
    makes an authority check on transaction ME9F activity 04. The current
    logic forces the print preview functionality to be accessed ONLY by the
    users who print. Therefore, only users that have authorization to use
    ME9F are authorized to use the Print Preview button in ME22N/ME23N.
    Kindly try the authorization objects M_BEST_EKG, M_BEST_BSA and
    M_BEST_EKO = 04.
    You can
    also have a look the  user exit
    EXIT_SAPLMEDRUCK_001 in enhancement LMEDR001 for print program
    SAPLMEDRUCK.
    INCLUDE ZXM01U04
    you can create own coding for all possible AUTHORITY-CHECK.
    BR
    Nadia Orlandi

  • Total weight of the packed item at the delivery

    There is packing in delivery at our case and I have to have the total packed weight of the material. This means that the total weight of the material and the packing materail of the item. From which table I can have the total gross weight?

    Hi,
    Did you try with VEKP and VEPO?
    Regards

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Purchase order message Re-determination after goods issue is posted

    We have a requirement to trigger special function message type (which creates a flat file) in a purchase order when goods issue for all items are posted. We have created a requirement routine for message type to check if goods issue is posted for all line items. Goods issue is posted using BAPI which uses transaction MIGO. When goods issue is posted, we want output to be triggered in purchase order. Requirement is working fine but is there any way to trigger output automatically without going to PO?
    After goods issue is posted, if we go into purchase order using ME22N then we see output proposed or if we make any changes in PO then output is proposed. This will not happen in real life though.
    Any suggestion will be highly appreciated. Thanks.
    Sanjay

    Hello,
    You can create a new output message record in NAST using RV_MESSAGE_UPDATE:
    CALL FUNCTION 'RV_MESSAGE_UPDATE'
          EXPORTING
            msg_kappl = 'EF'
            msg_objky = w_objky
          TABLES
            msg_xnast = itab_nast
            msg_ynast = itab_nast_old
          EXCEPTIONS
            no_update = 1
            OTHERS    = 2.
    Once the record is created, you may submit the program RSNAST00 to output the message.
    Thanks,
    Venu

  • Post changes of Purchase Order with BADI  ME_PROCESS_PO_CUST

    Hello All,
    I have to make changes to a Purchase Order when it is posted. In some cases I have to set the field WEBRE.
    What i tried is the BADi - Method ME_PROCESS_PO_CUST~post.
    Following Code I entered:
    DATA: position TYPE PURCHASE_ORDER_ITEM,
            tab_pos TYPE PURCHASE_ORDER_ITEMS,
            position_data TYPE mepoitem,
            xcheck TYPE MMPUR_BOOL,
            kopf TYPE REF TO CL_PO_HEADER_HANDLE_MM,
            position_check TYPE mepoitem.
      CLEAR: kopf.
      tab_pos = IM_HEADER->get_items( ).
      xcheck = IM_HEADER->IS_CHANGEABLE( ).
      TRY .
        kopf ?= IM_HEADER.
      CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF kopf is  NOT INITIAL.
         kopf->MY_CUST_FIREWALL_ON = 'X'.
      ENDIF.
    LOOP AT tab_pos INTO position.
      position_data = POSITION-item->get_data( ).
      xcheck = POSITION-item->IS_PERSISTENT( ).
      IF position_data-werks(1) EQ 'D' OR
         position_data-werks(1) EQ 'G' OR
         position_data-werks(1) EQ 'P' OR
         position_data-werks(1) EQ '1'.
      ELSE.
        IF position_data-wepos = 'X' and position_data-UMSON is initial.
          position_data-webre = 'X'.
          POSITION-item->set_data( position_data ).   "write data
        ENDIF.
      ENDIF.
       position_check = POSITION-item->get_data( ). " check if it is written
    ENDLOOP.
    Now my Problem is, that my changes in  position_check are ok, but they are not written to database and I don't know why.
    I have made the changes with TA ME22n.
    I also tried ME_PROCESS_PO_CUSTcheck and ME_PROCESS_PO_CUSTprocess_item. With method process_item it is written to database, but it is not the right point of time. I just want these changes when the purchase order is posted.
    Got anybody an idea, maybe another Exit, Badi or what I'm doing wrong?
    Best regards,
    Ronny

    HI
    Try using this BADI
    ME_PURCHDOC_POSTED - Define Follow-On Processing for External Purchasing Documents
    We have used this BADI for updating the fields in the header and item level; after posting
    Thanks & Regards
    KK

Maybe you are looking for

  • Special characters in GBLink

    Hello, I'm testing using of special characters when I send requests to the Adobe Content Server. I succeessfully created publisher with name "Test&Symbols©&<" and assign book to this publisher. Problem appeared when I try to download book. I generate

  • How to Write Path to Exclude Specific Folder From Scanning in Endpoint Antimalware policy

    Dears, I have configured endpoint protection antimalware policy to make scanning windows servers, and I have some specific folders which I need excluded from scanning because of they are critical folders, so, when I wants to excluded the folder, how

  • Add Obstacle and Health in Android Runner Game

    I am making a runner game in air for android actionscript 3. It has two buttons. One for Jumping and one for running. It runs to the right. As my character runs to the right the background also scrolls to the left. Now the problem is I need to add so

  • Can't restore or sync my iphone 4s - error 3014 error-1

    I can't restore my iPhone 4s from my iMac udated to last versions of both itunes and mac os 10.8.2 iTUNES refuse to restore the iphone i specify that i 1) tried 3 different usb cables 2) tried 3 diffent usb ports 3) disconnetted all accessories from

  • Youtube 3d support

    I have a Samsung A850 fifty inch projection hdtv 60 hz, which supports youtube 3d using Firefox on windows 7, using an Nvdia HDMI video card,and shutter glasses.. There is a new tablet, Momo5, which supports 2160p output to a 3d tv. Can you explain t