Program for maintaining   package material PR00

hi,
my requirement is
1. Program must select all package materials
2. Loop through each package part number
3. Select all salesorgs for the package
4. Select all relevant Price lists and condition table for Sales orgs
5. Program must read current package PR00 per salesorg/pricelist (if exists)
can u please give me the relevent field names and table names and how can i proceed.
regards,
pavan t.
Edited by: Pavan T on Apr 2, 2008 9:10 AM

Hi Pavan,
1. Program must select all package materials
write code such that
1) data is fetched from MARA table where MTART ie material type is VERP.
2. Loop through each package part number
this is a normal abap statement for looping.
3. Select all salesorgs for the package
from the previous select results put them in MVKE(stores sales views information) table to find in what all sales org's these materials are available.
4. Select all relevant Price lists and condition table for Sales orgs
You need to know the condition table price list and sales org here. To find the condition table you can go to first V/06 select the required pricing condition type > there on the right hand top you will find the access sequence. Now go to V/07 and select this access sequence. On the left hand side click accesses > It will show the condition table.
5. Program must read current package PR00 per salesorg/pricelist (if exists)
Now the program can read the data from the previous condition table with a fetch statement.
Hope it helps.
regards
sadhu kishore

Similar Messages

  • Delivery item for HU Packaging Material

    Hi all,
    I have a problem in Packing (LM46) using HU management. When I pack the HU to a delivery it creates another line item (900001) for the packaging material used in the HU. I have not set this functionality for the delivery type (LF). Can't figure out why this is happening, does anyone know what else I should check for ?
    Thanks in advance,
    D.

    Hi,
    a delivery item is also generated for the packing material, if a plant was determined/added for the packing material and an item type was determined for it
    you should check
    - transaction 0184 for the item type determination and
    - transaction vhar for the plant determination
    (the other case is if
    -an item type was determined for the packing material -> 0184,
    - the delivery item creation for packing material is set for the delivery type -> 0vlk and
    - delivery item creation is also set for the packaging material type -> vhar)
    note 831204 describes these two cases when a delivery item is generated for the packing material
    I hope I could help you.
    Regards,
    Ely

  • Paying the vendor for the packaging material

    Hi,
    I have a scenario wherein I want to pay the vendor for the packaging costs incurred for the packaging item created automatically in the delivery. My packaging vendor and transporter are different. I have shipment as well as shipment cost associated with the delivery.
    How do I pass on the cost incurred on packaging from the delivery so as to pay the vendor?
    Thanks.

    Hi,
    The transportation costs can be calculated on different bases, for
    instance on base of the handling units (C), Per handling unit (E) or
    Shipping unit including delivery item (F). In all cases the handling
    unit must be part of the transport, to become calculation base for the
    transport cost calculation.
    Note 700512 will also helps to you.
    Good luck,
    david

  • /SAPAPO/SDRQCR21 program is not working correctly if we run the program for range of material and plant wise

    Hi APO Experts,
    In our project, we have received more sales order inconsistencies which is not clearing by CCR program and it is clearing by  program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, So We have decided to schedule the background job on daily basis for program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, performing the testing in our quality system and observed the below strange behavior. 
    When I am running the program /SAPAPO/SDRQCR21 with Range of products and some location range with option as Build Reqmts from Doc. Flow, in Background job. In output it is suggesting to delete one sales order. If I checked that Sales order in ECC, it is for an different location, that is not part of my selection and the order is open. In MD04 the Qty is showing 1 ( as per sales order) but in APO RRP3 view the order qty is showing Zero. I have run the CCR, it is coming in different in content and if I push, the different is not going to APO.
    I have tried running the program /SAPAPO/SDRQCR21 with plant which is mentioned in that sales order with option as Build Reqmts from Doc. Flow, in Background job , it is suggesting this sales order under update option correctly.   
    Can you please help me understand why it is behaving differently like the location is not part of my selection and why it is suggesting the wrong action. And also whether is it advisable to run the /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow at plant range and material range in background job.
    Thanks & Regards,
    Sundaram Radhakrishnan

    Sundaram,
    It sounds to me like the sales document records in the OLTP and in APO were created at different times.  This is common in Dev and Qual environments when the systems are commonly created at two different times, and each was a copy of an existing system that contained sales data.  The order number you see in //rrp3 is somewhat irrelevant; system generally uses the guid for many activities.
    FYI during Dev and Qual refreshes, if you are copying from a production environment that contains data, it is always best to create the OLTP and SCM images at the same time, and to copy them both to the Dev and Qual systems at the same time.  If you don't do this, you are faced with the additional tasks associated with getting the copied systems back into synch.
    If this is Dev or Qual, I suggest that you just completely wipe out all sales orders in APO and rebuild them using the CIF.
    If this is a mature production environment, the only time I have ever seen this issue is due to improperly created CIF enhancements.  Speak to your developers to find the root cause, and correct this problem.  Then, wipe out all sales orders and rebuild with CIF.
    Best Regards,
    DB49

  • Customising object for maintaining differant material doc no. ranges ?

    can the object MATBELEG customised  as ZMATBELEG and by taking  the help of ABAPer be achived the required functionality of  maintaining separate number ranges for each plant/company code wise ?. and in what fasion Ztables are maintained for this ??

    hi
    you have to maintain the table as
    Material type
    Plant
    Company code are the fields and number ranges from to
    Edited by: AP on Mar 20, 2009 11:44 AM

  • Interface Program for maintaining a table

    Hi Experts,
    I am having a requirement,.,cud u please tell me how to proceed.
    1. We have a table and maintaining manually.
    2. we need a Interface to do it.
    3. If i create a record with " Create with a template ..user id and a date field in the table should be disabled to change and others can be changed.
    in betwen i need to check some conditions in methods .
    after checking this ..the method gives the number of records that are getting affected in the final table.
    Please let me know if some one has faced this kind of issue.
    Thanks,
    Varun

    Hi,
    generate table view. Own form routines to disable rows or setting defaults values can be added. Pelase refer to SAPDOCU:
    ABAP Workbench (BC-DWB)/ BC Extended Applications Function Library / BC Extended Applications Function Library
    for details.
    Kind regards,
    HP

  • No item generated for packaging material in delivery - packing (how?)

    Hi all,
    I am trying to customize packing for deliveries. I would like to have the packaging material as a line item in the delivery. I know this is possible but I can't seem to make it happen.
    I have already ticked "Gen. pack.matl item" in my delivery type. Also, I have selected in the packaging type "B Item generation in first packed delivery" for "generatedlvItms" option.
    Now, in the delivery after I packed the items, no line item was generated in the delivery for the packaging material. The "No. of Packages" in item overview is correct and the status is "C" completely packed. Btw, I am using manual packing here.
    Is there some more configurations I missed here?
    Thanks in advance for all your help.
    Edited by: Ritchie Caleb Chua on Aug 9, 2011 3:53 AM

    I assume that your basic HU configuration and master data have to be ok because you are able to pack your goods.
    1) Are you able to add your item w/o HUM (=not by creating a HU, just adding the material as a simple item) to the delivery? /For this you need define a record in T184L (where usage "PACK" is not there)/.
    If you are able it means that e.g. your delivery copy control settings are ok (V_TVCPLAK; delivery type: LF and sales doc type: DL --> HUPM/DLN item categories in your case)
    2) If you are able to
    - create the handling unit manually in the delivery
    - add the packing item to the delivery (w/o HUM) and also have the T184L with usage "PACK"
    - item generation is maintained for your packing material time "A" or "B" in field V_TVTY-KZPGN
    - plant determination for packing material type ("A" or "B" in field V_TVTY-WERFD)
    it should work in my opinion (for delivery type LF).
    Edited by: Csaba Szommer on Aug 9, 2011 1:37 PM

  • Limits for packaging Material

    How Do I set Limit for packaging Material.
    For eg: Packaging Material PALLET  should only contain
    50 units or less .

    Hi
    After production order creation or release run the COMAC transaction with all VERP materials or with MRP controller selection as well
    In mass processing - material availability check select scope of process. you can create variant here and schedule back ground job
    after execution see the missing parts list with reqmt qty, committed  qty and shortage in CO24  TCode
    Regards
    Dev

  • Packaging Material PRICE

    Hi All,
    i'm new in SD and i Have a little problem:
    I have to assign a price for my package material (box).
    The price is 3 Eur/PC.
    I have an order with 25 COMPUTERS in 5 BOXES.
    In pricing procedure can I assign a condition type to Package Material?
    I have tried to assign at it a condition record (PR00= 3Eur /PC) but in (Conditions TAB PAGE, in the order) i see only the price for the computers e not for the boxes.
    How can i make visible the price of the packaging?
    Thanks a lot
    Alba

    Dear Alba
    You have to maintain the packaging material code (let us assume it is PACK) as a sub component to your FERT item.  Go to CS01, input the header material which you are selling, plant and in BOM Usage maintain 5  and execute.
    There input the following:-
    ICat::::Component::::Component description::::Qty:::
    L:::::::::PACK:::::::::::::::Packing Carton:::::::::::::1
    Save the above data now try to create a sale order and see whether the packing material is also flowing.
    Also please note that item category for your header material should be TAQ and for packing material, it should be TAN
    thanks
    G. Lakshmipathi

  • Problem with Packaging Material Type

    Hello all Gurus,
    I have a problem with a packaging material type that I have created copying the standrad Packaging material type LEIH. I created a new packing material type ZPAC - Packaging Material copying LEIH.
    I then created a new material master record using this new material type ZPAC.
    When I am using this material for packing in outbound delivery document - VL01N, I am getting the following strange error message:
    20333 does not have packaging material type and is therefore not a pack.mat.
    Please suggest me why this error is coming and how I can rectify this error. Is there any further configuration that I need to do for packaging material types??? Kindly suggest.
    Thanks and Regards,
    Umakanth.

    Hi,
    Material type is not enough, you have to maintain proper master data as well as config.
    At least please maintain value in MARA-VHART for the packaging material. Please also check these links how HUM works:
    http://www.sap-img.com/sap-hu.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c8/a44b779f3211d2858d0000e81ddea0/frameset.htm
    Regards,
    Csaba

  • How to treat packaging material at GR / no track

    Guru ,
    i have done GR for a material with a packaging material which consistutes a handling unit .
    ie handling unit= materaial + packaging material .
    when i did GRN , maetrial is shown in the storage location . fine .
    where is the packaging material along the material gone . NO trace of it .
    please help , my question is genuine .
    manu

    Hi Manu,
    I assume your basic settings for handling units are ok (e.g. item category group settings in material master for packmat and to-be-packed material - e.g. MARA-VHART, MVKE-MTPOS, MARA-MAGRV).
    What you have to do:
    - SPRO > LE > SHipping > Deliveries > Define Item Category Determination for Deliveries - here you have to set: "Delivery type"-"Item category group"-"Usage"-"item category high level item"-Item category" combination (e.g.: LF-LEIH-PACK-<empty>-DLN)
    - SPRO > LE > Shipping > Pack > Define Packaging Material Types - here you have to maintain Plant determination for HU" field for your packmat ("Plant proposed from the first item that was packed).
    Please also ensure whether generation of packaging material type is allowed for the delivery type you use: SPRO > LE > Shipping > Deliveries > Delivery Type - here set "Gen. pack. matl. item"
    If these settingsare ok > create the delivery in VL01N > pack the main item (VL02N > (menu) Edit > Pack). Whe you go back to overview you should see the newly generated item for your packaging material.
    If you want the packaging material item automatically generated when you create the delivery, you have to:
    - maintain packaging instruction for the to-be-packed item
    - set auto pack indicator for delivery type (SPRO > LE > Shipping > Deliveries > Delivery Type - here set "Automatic packing")
    Regards,
    Csaba

  • Getting Batch from Packaging material Number (Batch characteristics)

    Hi Gurus,
    I've a requirement.
    i want to know the batches where the packaging material is used.
    Packaging material is one of the batch characteristics, if i assign the same packaging material number in one batch, that should not be assigned to another batch.
    I want to know in which batches the same packaging material is assigned.
    Please guide me?? which table has the links for batch, packaging material number and main material number???
    How can i find this???
    Thanks in advance.
    Adi.

    we can use the MMCL transaction/BMBC to see this.
    In MMCL we have a FM to get the Data.

  • Goods Receipt for packaging material - Item cat. ELP

    Hi expert,
    I am facing a problem regarding receive Packaging Material Item i MIGO via inbound. Problem detail as below hope you can advise me:
    1. I create PO order 1pc of Throttle
    2. In Inbound Delivery Screen I do Packing for Throttle by using Handling Unit Function, packaging Material is Carton Box.
    3. After Pack complete, Item for packaging material is auto generated in inbound screen:
    - Item Cat. of Throttle = ELN
    - Item Cat. of Carton Box (Packaging Material) = ELP
    4. When i do MIGO via Inbound: there is only 1 item for Throttle is displayed. How to do Goods Receipt for Carton Box item? Do i Miss any setting for that?
    Thanks.

    i thnk u sould maintain material master with two units one is throttle and second is cartoon.
    u shud maintain that how many throttle is equal to 1 cartoon.
    this u can maintain directlt in PO (In condition tab, with these two field : OUN and UN). in PO as a OUN ,give throttle n UN , give cartoon in item overview as well as condition tab.
    and during delivery change the unit in cartoon. then while migo, material will show in cartoon.
    hope it will be helpful.
    Thanks
    Nisha

  • Userexit to update sales order no for packaging material during PGI

    Hi,
    Scenario is like this:-
    1.Sales order will be created for material X
    2.Delivery will take place and packaging of material X will take place.
    3.The packaging material will come as a line item and we do PGI by picking the quantity.
    4.Now when we see the accounting document for PGI,we get the sales order reference for X.
    5.We are not getting the reference of Sales order no for packing material while seeing the accounting document in  PGI.
    6.Since the packing material is not maintained in Sales order thats why the sales order no is not getting updated in the accounting document.
    7.NOW I WANT TO UPDATE THE SALES ORDER FIELD FOR PACKING MATERIAL ALSO ONCE THE PGI IS TAKING PLACE.
    Can any one suggest me if there is any userexit to update the sales order field for accounting document of packing material once PGI happens.
    regards
    Somnath

    Hi,
    Since packging material is not sales order item so it can't be accounted in PGI packging material is aour internal stock and not sellable stock.
    Reward points if helps.
    Thanks & Regards
    Sasikanth.Ch

  • Zero pricing for packaging material

    Hi All,
    I have one scenario, In sales order there are two line items one is standard item and second one is packaging material.For second item I don't want to  maintain price,that means zero pricing.Is there any solution for this.
    Regards,
    Hari Challa.

    Dear Hari,
    You define new item category for the packing material through VOV7 transaction.
    In the item category detail screen you maintain Pricing field as Blank - NO pricing under Business Data tab.
    Do the itemcategory determination for the new itemcategory VOV4 transaction with the packing material itemcategory group+sales document type.
    Now system will not consider price for the packing material.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Budget Check based on PO Delivery Date

    My users are currently facing an issue with PO creation. They are unable to save their POs as the Delivery Date for the line items in the PO has been set to next year. It would seem that the budget check is based on the Delivery Date in the PO, not t

  • I'm a relative moron and need help

    Don't laugh me off the forum, please. I've used Macs in my professional life for years, but I just got my first MacBook for my home/home business yesterday. Just wondering what steps I need to take to get it up and running wirelessly. I have a PC des

  • Cmaps and characters code

    i try to extract glyphIndex from cmap tables ,I'd like to ask about if a character code maybe appear in many cmap tables for Ex: a character code can appear in both cmap0 and cmap4 tables? and if this case happened then should the glyphIndex of the c

  • How can I solve a system of linear equations for the non trivial solution?

    I want to solve the equation A Q =0 where A is a 1xn matrix and Q is an nxn matrix for A. I tried using the Solve Linear Equations sub.vi but it just gave me the trivial solution. What can I do to solve this?

  • Bookmarks in fullscreen

    When I go to fullscreen mode in Youtube, Mozilla hides my bookmarks pane, which is what I want. When I exit fullscreen however, the pane doesn't come back, I have to set it to show manually every time. Is there a way to change this so that it hides f