Purchase Order total weight

Hi Gurus,
I am working on an enhancement to handle the total weight of the purchase order during creation.We need to validate with few custom fields in MARA table to handle small pack and large pack materials based on container group(ZCONGR) . Based on the materials quantity we need to calculate the total weight of the order and if it exceeds 50 tonnes then we need to trigger a warning message to the user who is trying to create.
Please suggest me how can we handle this are there any enhancement where we can handle this requirement. Thanks.
Regards,
Sanjay

Suggestion:
Implement BADI ME_PROCESS_PO_CUST, put you logic in method PROCESS_HEADER.

Similar Messages

  • Purchase Order Total Amount at Header level and Report Execution

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?
    Edited by: Kiran Mujumdar on Feb 23, 2009 7:08 PM

  • Transaction code for sales order totals and purchase order totals

    Hi i am using alv grid report to display the sales order and purchase order totals by productline(profit center)
    Now i have to call standard transactions from first list to display the totals of sales order and purchase order.I have to display these transctions for specfic orders and their specfic lineitems only.
    in VA05n transaction it is allowing me to enter only the document numer but not item.
    Can any one help to find the standard transaction to display the totals for only specific orders and line specific line items

    Hi Polite,
    The transaction CRMD_ORDER is the superset for all the transactions mentioned by you. So it is better to remember just one transaction instead of remembring the subsets . Once you use the transaction CRMD_ORDER and then Follow the menu Business transaction -> Create (F5) you will get the list of transactions you can create this is nothing but the the transactions you have mentioned.
    If you know the transaction no. you can directly open that in transaction CRMD_ORDER. The other opetion is to use the SAP Menu instead of transactions.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • Sales Order Total Weight Display in a report

    Hi All,
    Is there any way that i can display the total weight and Unit of weight of a sales order in a report. Please let me know all the possibilities..
    RV45A-BTGEW and RV45A-GEWEI are the technical names of the fields that i have to display..
    thank you in advance.
    Suresh

    Hi Suresh,
    After having selected the required fields and the corresponding values into an internal Table..
    do something like this..
    loop at itab.
    at last.
    sum.
    write : / 'TOTAL',itab-BTGEW.
    endat.
    endloop.
    the command sum adds up all the quantity fields..
    regards
    satesh

  • Purchase order total value

    Hi all!
    Is there any table or any function module which gives the total value of the purchase order inclusive of all the taxes and conditions?

    Hi Gud Afnoon,
    Now Try EKBE / EKPO table in SE16 Tc.
    U hav to mention PO no there.
    Can i hav ur mail Id.

  • Purchase order total amount

    hi ,
    i have 5 line items and each line item has its own individual total according to its quantity . now where will i see the total amount of all the line items in the purchase order
    thanks
    muthuraman.d

    Hi,
    In the PO -> HEADER-> CONDITIONS---> Net price
    You can find in the CONDITIONS Tab in the field NET PRICE for all the line items ( this is the total amount of PO)
    please check that.
    regards,
    santosh

  • Sales Order Total Weight

    Hi All,
    Can any one help me in this requirement like i want to get the Total Gross weight and volume of a Sales order how to get this
    for that i use this like i have taken all the weights and volumes for that line items of a particular sales order and need to add those weights for that what to dooo??
    and which is better to use like collect and Sum
    and is there any way to do this requirement
    Thanks
    Surendra

    Use COLLECT on the columns VBAP-BRGEW, VBAP-VOLUM.
    type : begin of ty_summ,
            vbeln type vbeln,
            brgew type vbap-brgew,
            volum type vbap-volum,
           end of ty_summ.
    data : it_summ type standard table of ty_summ.
           wa_summ type ty_summ
    loop at it_vbap into wa_vbap.
    move wa_vbap-vbeln to wa_summ-vbeln.
    move wa_vbap-brgew to wa_summ-brgew.
    move wa_vbap-volum to wa_summ-volum.
    collect wa_summ into it_summ.
    endloop.
    loop at it_summ into wa_summ.
    write :/ wa_summ-vbeln,
              wa_summ-brgew,
              wa_summ-volum.
    endloop.
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 14, 2010 2:05 PM

  • Sales Order: total weight inconsistency when using sales type BOM

    Hello!
      The case is as folows:
      I create a Sales Order, with one line. But this is a master item (sales type bill of materials), it has two components. That's why sbo puts two additional lines in the document. So this sales order will have 3 lines.
      The master item's weight is 10kg, the components's are 3kg and 4kg.
      If I press ctrl-W, the "Volume and Weight Calculation" window shows only the master item, and 10 kg.
      If I send the document to printer, i can see 17kg total amount.
      The layout uses "Sales Order:weight" to show the total amount, and it works well in other cases. But not in this one because every single item is taken into account, regardless of being the master or a component.
      I don't know if it is a bug, or we should use another field to display total amount.
      We might forbid to fill sales weight info for master items as well. This way the weight would be correct (because master weight is always the sum of its components' weight - unlike my sample above) But in this case the 'Volume and weight calculation" would be incorrect.
    Regards, Gergely Humicskó
    Edited by: Gergely Humicsko on Jun 3, 2010 2:58 AM

    Hello Gergely...
    You might want to post this on the SAP Business One Product Development Collaboration Forum as this sounds like it would definitely be an enhancement to SAP B1.  I have no idea if SAP looks at these or even does anything with the entries since they do not provide any kind of feedback, but maybe they might consider it one day...
    Take Care - Zal

  • Query about calculating Purchase Order Total

    Sorry, please ignore this. I've realised my stupid mistake now. Sorry for wasting your valuable time.
    Edited by: jimr on May 27, 2009 11:07 AM

    you have two different REQ numbers,...
    .. ah, you found a mistake.. Good,.. please mark this thread as answered

  • Release Procedure in Indent/Purchase Order

    I want to customise release strategy in indent and Purchase order in SAP. Kindly provide me steps to configure this. will apperitiate your efforts.
    Manjit

    Hi Manjit,
    Release Procedure for Purchase Orders
    In this section, you set up a release procedure for purchase orders (POs).
    Requirements
    If you want to use workflow to release POs, you must make the standard and basic settings for workflow (Basis -> Business Management -> SAP Business Workflow).
    How do you set üp a release procedure for POs?
    To set up the release procedure, you must make a series of settings in Customizing. This section provides you with an overview of the necessary activities.
    You must perform the following steps:
    1. Create characteristics and classes
    For more on this topic, see Edit Characteristics and Edit Classes.
    Note
    If you wish to link your release procedure to workflow, you must perform steps 2 and 3 . You make these settings in Customizing for Business Workflow (Basis -> Business Management).
    Otherwise, continue with step 4.
    Define organizational plan
    For more on this topic, see Edit Organizational Plan.
    Assign standard tasks and activate event-receiver linkage.
    For more on this topic, see Perform Task- Specific Customizing.
    1. Set up release procedure for RFQs
    a) Create release group
    b) Create release code
    c) Create release indicator
    d) Create release strategy
    Note
    You need only carry out the following step if you wish to link your release procedure to workflow.
    e) Assign release code to a user
    For more on this topic, see Define Release Procedure for POs.
    2. Check release strategies
    For more on this topic, see Check Release Strategies.
    Further notes
    For more information, refer to
    · Implementation of a Release Procedure for Purchasing Documents
    · Release of Purchasing Documents (SAP Library -> Basis -> Business Management (BC-BMT) -> SAP Business Workflow (BC-BMT-WFM) -> Reference documentation -> BC Workflow Scenarios in the Applications -> MM Materials Management: Workflow Scenarios)
    Edit Characteristic (CT04)
    In this step, you create characteristics for a release procedure for purchase orders (POs).
    Classification characteristics are the criteria for a release condition. If the criteria of a release condition are satisfied, the associated release strategy is assigned to the purchasing document (e.g. purchase order or RFQ).
    Example
    Release condition for release strategy EA:
    Characteristic Characteristic value
    Total net value of PO Above $10,000
    If the total value of a purchase order exceeds $10,000, release strategy EA is assigned to this PO.
    Requirements
    In communication structure CEKKO you will find all the fields that can be used as characteristics for a release condition (e.g. BSART for the order type and GNETW for the total order value).
    Check which fields you wish to use as characteristics for your release strategy. To do so, choose Tools -> ABAP Workbench -> Development -> Dictionary, enter CEKKO in the field Database table , and choose "Display".
    Note
    If you wish to define a separate release strategy for the various document categories (PO, RFQ, etc.), you must create a characteristic for each relevant document category.
    Activities
    1. Create a characteristic for each field from communication structure CEKKO that is to be a criterion for your release strategy. You have a free choice of names for the characteristic.
    2. Enter the table name and the field name on the tab page Additional data (for example, table CEKKO for field GNETW).
    Note
    o Do not select any of the indicators in the area Procedure for value assignment on the tab page Additional data. Only if none of these indicators is marked can you assign a value or value interval to the characteristic when defining your release strategy.
    o When you create a characteristic for a currency-dependent field (e.g. GNETW), a box appears in which you must enter the currency for the relevant value. The system then converts the currency of the purchasing document into this currency.
    3. Check the data for the chosen field on the tab page Basic data.
    If you want to enter several values or a value interval for a characteristic, set the Multiple values indicator in the area Value assignment.
    Note
    Value intervals can only be specified for numerical values (e.g. an interval of $10,000 to $15,000 for the value of the purchase order.
    4. Check the texts for the field on the tab page Descriptions.
    5. You can maintain default values for a characteristic on the tab page Values.
    If you maintain values here, these values will be displayed as input help under Create Procedure with Classification -> Release Strategy -> Classification . If you wish to use not only the input help but also other values, you must select the Additional values indicator.
    Note
    You can also maintain ' ' as a default value. For example, for account assignment: ' ' for stock material, 'k' for cost center, and 'a' for asset.
    6. If you want to restrict the use of a characteristic to particular class types, specify the relevant class types on the tab page Restrictions. For example, class type 032 for the release strategy.
    Further notes
    Further information on characteristics is available in this Customizing activity via Help -> Application help.
    Customer exits
    Customer exit M06E0004 enables you to change the communication structure for determining the release strategy for purchasing documents.
    Edit Class( CL02 )
    In this step, you create classes for a release procedure for purchase orders (POs).
    You use a class to group together characteristics that are to constitute a release condition for a release strategy. In the step "Define Release Procedure for Purchase Orders " you assign this class to the release strategy.
    Activities
    1. Create a class with the class type 032. You have a free choice of names for the new class (e.g. REL_RFQ for the release of RFQs).
    2. Assign a name for the new class on the tab page Basic data.
    3. You can view an error message if different characteristics with identical values have been assigned to a class. To be able to do so, select the Check with error message indicator in the Same classification area.
    4. If appropriate, select terms to be used as search criteria in searches for your class on the Keywords tab page.
    5. Assign your characteristics to the class via the tab page Characteristics.
    Further notes
    Further information on classes is available in this Customizing activity under Help -> Application help.
    Define Release Procedure for Purchase Orders
    In this step, you set up the release procedure for purchase orders (POs) and can link it to workflow. (Note that in this context "releasing" means "approving", or giving the "green light" to a document.)
    Requirements
    · In the case of a release procedure linked to workflow, you must have previously created the user names, positions, jobs, etc. that you here assign to the release code in the organizational plan and must have linked them to the relevant standard tasks in task-specific Customizing (Basis -> Business Management -> Business Workflow -> Perform Task-Specific Customizing).
    · You must assign the authorization M_EINK_FRG to the persons who are to be involved in the release procedure ( Authorization Management -> Create Authorization Profiles and Assign to Users).Activities
    Here you define the following:
    ·     Release group
    ·     Release codes
    ·     Release indicator
    ·     Release strategy
    ·     Workflow
    Release group
    Create a release group for your release procedure and assign it to a class. In the process, you assign release conditions to the release procedure.
    Release codes
    Here you create the release codes you need for your release strategy and assign the codes to your release group. If a release code is to be used in workflow, indicate this accordingly in the Workflow field
    The Workflow indicator is also used to control role resolution:
    ·     "1 - Role Resolution with Group, Code and Plant (T16FW)"
    Here you use a role resolution that is supplied in the standard system. To do so, you must assign the release point in the section Workflow (see below).
    ·     "9 - Role Resolution via User Exit"
    Here you use the customer exit M06E0005 to define a role resolution of your own.
    Release indicators
    A release indicator shows the release status of a PO.
    Via the following settings, you can define the release indicators you need for your release procedure:
    ·     The Released indicator is used to specify whether messages (PO documents in output format) may be transmitted for a purchase order with this indicator.
    ·     The Changeability indicator shows the effect of changes to the PO (a change to a PO may require a new release strategy to be determined, for instance).
    ·     By means of the Value change indicator, you can specify that the release strategy is to be re-started if a PO is changed and the value of a PO item thereby increases by a certain percentage (e.g. 10%). Set the Changeability indicator to "4 - Changeable, new release in case of new strategy or value change" or "6 - Changeable, new release in case of new strategy or value change/outputted" and enter a percentage in the Value change field.
    Attention:
    The following release indicators are necessary for every release procedure:
    o     Release indicator for initial status
    If the PO is subject to a release strategy, it must normally be released before it can be transmitted to the vendor. Therefore, when a PO is created, it is assigned a release indicator that blocks it from being outputted in message form.
    The Released indicator must not be selected for this indicator.
    o     Release indicator for released status
    This indicator is assigned to the PO when it is released.
    The Released indicator must be selected for this indicator.
    Release strategies
    Create a release strategy for your release group and assign your release codes accordingly.
    ·     Release prerequisites
    With the release prerequisites , you specify the order in which the individual release points (individuals or departments) represented by the release codes may release the document.
    Example
    The following table shows release prerequisites for a strategy with four release codes.
    Code/Release prerequisite
              01     02     03     04
         01     -               
         02          -          
         03               -     
         04                    -
    In this release strategy, the codes 01, 02, 03, and 04 must successively release the purchase order.
    Read the table from left to right. For instance, the third line for release code 03: For code 03, release via code 01 and code 02 is a prerequisite. That is to say, the PO must be released via codes 01 and 02 before it can be released via code 03.
    ·     Release statuses
    Here you specify the status a PO has after certain release points have effected release.
    Specify which release indicator/status a PO is to have after having been released via a certain release code.
    ·     Classification
    In classification, you maintain the values assigned to the characteristics. Via the characteristics and their values, you specify the POs to which your release strategy is assigned.
    Maintain values (individual values or intervals) for your characteristics.
    Example
    Two characteristics and their values have been maintained in classification for release strategy 'EA':
    - Document type - 'NB - standard purchase order'
    - Total value - above $10,000
    All POs with the document type 'NB' and a total value in excess of $10 ,000 are thus subject to a release procedure with the release strategy 'EA'.
    ·     Release simulation
    The release simulation function enables you to check which status a PO will achieve with your release strategy if release is effected by a certain release point.
    Choose "Simulate release" and release the document with the desired release code by double-clicking. The system shows you which status the PO now has as a result of this release.
    Workflow
    Assign a processor ID to your workflow-relevant release codes. The processor (member of staff responsible for processing the document) will then receive a work item when he or she is required to effect release.
    You can assign a processor ID either directly or indirectly:
    o     Direct processor assignment:
    Enter a user name.
    o     Indirect processor assignment:
    Enter a job, for example, or a position. At runtime, the system will then determine the member(s) of staff responsible for processing the document.
    Customer exit
    Customer exit M06E0005 enables you to define your own role resolution which determines the person responsible for releasing purchasing documents in workflow.
    Further notes
    Further information on how to set up a release procedure linked to workflow is available via the menu options Help -> Application Help.
    Check Release Strategies
    In this step, you can check whether the basic settings for your release strategy are complete and correct.
    Checks
    The following checks are carried out for purchasing documents:
    ·     Basic checks
    The system checks whether the necessary release groups exist in the system. For example: Whether a release group has been deleted even though an associated release strategy still exists.
    ·     Checks regarding release groups and release classes
    The system checks whether the release groups and the assigned classes have been maintained correctly. For instance, whether
    o     A class has been assigned to the release groups and whether it exists in the system
    o     Characteristics - which exist in the system and are linked to the communication structure - have been assigned to the class
    o     A customer exit must be maintained for a characteristic
    ·     Checks regarding release codes
    The system checks whether the release codes have been maintained correctly
    ·     Checks regarding release indicators
    The system checks whether the release indicators have been maintained correctly. For example: Whether release indicators exist for the statuses "Blocked" and "Released".
    ·     Checks regarding release strategies
    The system checks whether the release strategies have been maintained correctly. For example, whether:
    o     Release codes have been assigned to the release strategy
    o     The relevant release indicators have been assigned to the initial and final statuses of a release strategy
    ·     Checks regarding link to workflow
    The system checks whether the link between your release procedure and workflow has been maintained correctly. For example, whether:
    o     A processor (member of staff responsible for processing) has been assigned to a workflow-relevant release code and is defined in the organizational plan
    o     A customer exit is necessary for the role resolution
    Result
    The result of these checks is displayed in a log. Further information is available in the Customizing activity under Help -> Application Help.
    Activities
    1. Start the check by performing the Customizing activity.
    2. Check whether any error or warning messages are displayed.
    3. If necessary, correct your Customizing settings for the release procedure.
    4. Re-run the check after making corrections.
    Rewards if Helpful
    Regards
    Sanjay L

  • 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 ?

  • 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.

  • Total open purchase order quantity fro a material

    Hi,
    Waht is the table that contain the total open purchase order quantity (on order quantity, not yet goods receipt) for a material number?

    hi,
    You can check the table EKPO, EKKO, and EKBE...
    also for delivery schedules use the table EKET...
    You also have a report ME2N for the same, use the proper selection parameter...
    regards
    Priyanka.P

  • Purchase order wise total in adobe forms...

    hi all,
           In adobe i am displaying purchase order header items below that i am displaying its line items.i want to display the net price
           for each purchase order below the line items..
    for example..
                  23435325                 3000               nb         
                             m-10       5           1000
                             m-20       6           2000
    purchase order net price            3000
                  23435326                 3000               nb         
                             m-30       5           1000
                             m-40       6           2000
    purchase order net price            3000
    Edited by: sivaprasath sekar on Oct 15, 2009 11:58 AM

    Hi
    You can do the calculation using script.
    Check the meterial numbers are equal and add the total.
    Kind Regads
    Mukesh

  • Requirement Standard SAP Report on Total Purchase Order Value

    Dear Friends,
    Could u please suggest is there any standard SAP report. Requirement has given belwo.
    I required if we have account assignment  Category A as one of inputs, we will get the reqd output  " Total Purcchase order value."
    Note 1) Total Purchase Order Value means - Basic price + taxes + Charges (Freight + Other charges - Discounts etc)
    Note 2) My requirement standard SAP report only.
    Thanks and regrds,
    Vijay Kumar TVN

    Hi,
    T code : ME80FN
    Select :Edit->Dynamic selections>Purchasing document item> Acct. assignment cat.>select A(f4)->execute
    select Material no., PO Number in program selections
    Hope it shall resolve your query....
    regards
    rahul

Maybe you are looking for