Vbak link with cdhdr, cdpos for different plants

Hi Experts
I think I have ask this questions in many forum but unable to get the proper answer
I want to link VBAK-VKBUR with cdhdr, cdpos ......which contain all the plants code
               VBAK-VBELN..........document no
               udate
               ddtext
               value old
               value new
               username
               vbak-vkbur
I wrote the report but how do I know for which plants the document no was selected
I have already selected  cdhdr and cdpos tables only want to fetch those records
from cdhdr,cdpos belongs to plants , I would be thankful if someone can send me code.
regards

from VBAK-VKBUR you have to search for all relevant sales orders in VBAK.
From the list of sales orders (VBAK-VBELN) you have to read the CDHDR table for the relevant changes (Headers).
Then look into CDPOS for the change items (with old and new values etc).
regards,
Hans

Similar Messages

  • Import PO for different plants having  diff. excise group

    Dear All ,
    How to capture & post the Excise Duty for an Import PO ,
    Where the PO is created for different plants .The plants have
    different excise groups.
    Regards
    R B Panda

    The only way to do it is to assign a small notional value (like 0.01 USD) to the item, so that the conditions tab does not disappear.
    The only problem will be that the GR/IR clearing account will have an open entry, which can be cleared via MR11 with minimum accounting impact.
    Regards,
    Aroop

  • STO with scheduling agreement, between different plants, different co.codes

    Hi All,
    For STO with scheduling agreement, between different plants under different company codes, please let me know the configuration and order flow process
    Regards,
    kumar

    Hi,
    When you create a stock transport scheduling agreement, you can schedule the exact delivery dates for a stock transfer. Proceed as follows:
    From the Purchasing menu, choose Outline agreement -> Scheduling agreement -> Create trnspt sch.agm. ME37
    Fill out the initial screen. In the field Supplying plant enter the plant issuing the material. The agreement type LU is defined in the standard system. The item category must be U.
    When you press ENTER, the details screen for the header data is displayed.
    Enter the validity period and check the other entries on this screen, if necessary.
    Enter the individual items in the item overview screen. Enter a receiving plant for each item in the Plant field.
    Save the scheduling agreement.
    Enter delivery schedules for the scheduling agreement with the function Outline agreement ->Scheduling agreement -> Follow-on functions -> Delivery schedule.
    For configurations
    Go into SPRO
    Menu path is
    IMG -> MM -> Purchasing -> Scheduling agreement -> Set up stock transfer scheduling agreement
    A) Define shipping data for plants
    B) Create and define checking rule
    C) Assign delivery type and checking rule
    D) Assign Document type
    Hope it helps.

  • Number range userexit same type of PR but  for different Plant

    I would like to have the same type of PR but  for different Plant, I would like to have different Number range.
    The exit  MM06E003 M06B0003 Mo=06B0004  not work for ME51N.
    Any other  exits help for this

    HI
    Put this code in  EXIT_SAPLMEREQ_009
    DATA pr_header TYPE mereq_header.
    DATA pr_items  TYPE mmpur_requisition_items.
    DATA pr_item   TYPE mmpur_requisition_item.
    DATA: l_item   TYPE mereq_item.
    DATA: l_zmm_numrange    TYPE zmm_numrange.
    MOVE-CORRESPONDING eban TO l_item.
    CALL METHOD im_req_header->get_items
      RECEIVING
        re_items = pr_items.
    READ TABLE pr_items INTO pr_item INDEX 1.
    CALL METHOD pr_item-item->get_data
      RECEIVING
        re_data = l_item.
    CHECK l_item-werks = '6301'.
    CALL METHOD im_req_header->get_data
      RECEIVING
        re_data = pr_header.
    SELECT SINGLE * INTO l_zmm_numrange
       FROM zmm_numrange
       WHERE  werks EQ l_item-werks
         AND doc_type EQ 'PR'
         AND bsart EQ pr_header-bsart.
    IF sy-subrc EQ 0.
      ex_range   =  l_zmm_numrange-numki.
    ENDIF.

  • Change the issue quantity for different plants

    We are facing a problem in the following issue.
    A material is being used in two plants. The material is procured from vendors in packets. The pack quantity varies for each plant for the same material since it is procured from different vendor. The base unit of measure for the material in the material master is maintained as NOS and the unit of issue is PAC. The alternative unit of measure in the material master can be maintained for only one PAC. If the pack quantity varies for different plant, how to maintain in the material master.
    For example : -
    Plant I u2013 Vendor A u2013 Pack quantity u2013 200nos.
    Plant II u2013 Vendor B u2013 Pack quantity u2013 300 nos.
    While creating reservation in plant II for one pack, the stock keeping quantity is 200 nos. On issue the issue quantity is 200 nos, but our requirement is the system should issue 300 nos. Kindly give solution to the problem.

    Hy afzal,
    I don't think it is possible to maintain different Conversion factor for 2 different plant for a single material.
    Acording to me there is 3 way to comeout of this problem.
    1) Create different Material codes for both plants.
    2) Insted of using alternate unit of measure use Batch specific unit of measure.But for this Materials are Batch Managed.
    [Batch Specific Unit of measure|http://help.sap.com/bestpractices/BBLibrary/Documentation/Q24_BB_ConfigGuide_EN_US.doc]
    3) Try to convince one of the vendor to change its packing qty/Packet.
    Regards,
    Dhaval
    Edited by: Dhaval Choksi on Jul 31, 2008 11:25 AM
    Edited by: Dhaval Choksi on Jul 31, 2008 1:26 PM

  • No entry in CDHDR & CDPOS for change in Production Order

    Hi,
    I am unable to get entries in Tables CDHDR & CDPOS for any change in Production Order. Actually I need the Number of times a Production Order has been changed. Please help on this.
    Cheers
    Abhishek

    You can trace the below navigation so that you will get good idea :
    goto CO03 -> enter production order # -> enter ->goto -> change management
    Thanks
    Seshu

  • Number range of  accounting document for different plants

    whenever a billing document is created in SD (using the T-code VF01); an accounting document will be simultaneously created in the FI module. one document type(TS,number range---60:1 to 9999 ) have four  plants .different plants have own number range and sequential document number .
    eg: doc. type   num.range    fr       to           plant cty       co code
             TS           61            1        1000       PLANT_1      3100
                            62           1001    2000       PLANT_2      3100
                            63           2001    3000       PLANT_3      3100
                            64           3001    4000       PLANT_4      3100
    How can that carry out this function ?
    thank you for your help !

    Hi leung,
      As Mr.Rohit has mentioned it has to be done with the z table and the available user exit.
    Wht we have done is.we have created no ranges in obj rv_beleg.Eg
    AA   0000000001 to 0000099999
    AB   0000100000 to 0000199999
    AC   0000200000 to 0000 299999.
    Using the user exit we have created a Z table.And assignd for this ombination in the Ztable.
    Plant X   Billing type A   AA
    Plant Y   Billing Type A  AB
    Plant Z    Billing type A  AC
    Once this combination matches the appropriate invoice no range gets picked up.
    Regards,
    K.Vivek

  • Material group in material master for different plants

    Warm greetings Masters of Material Management
    We have one material master for three different plants example  1000, 2000 &3000 with same material group  with different valuation class
    If we change material group in plant 2000 it is reflected in 1000 & in 3000
    My question is  this the standard practice that material group changed in one plant will be reflected in other plants
    Regards
    shamul heq

    Thank u Amola  
    The current situation, if user change  material group for plant 2000, it is effected in plant 1000 & in 3000
    the impact of this is in purchase requisition
    As the release statergy  is triggered from material group    to different department
    How can we solve this issue
    regards
    shamul heq

  • Purchasing Info Record- Different Regular Vendor for different Plant

    Dear Guru,
    I'm encounter a problem with PIR.
    I have this PIR 9001 (Vendor A) and 9002 (Vendor B) for material A, which i have extended to 2 different Pur.Org 0001 under company code 0001 and Pur.Org 0002 uner Company code 0002.
    For Pur.Org 0001, i set the Regular Vendor as Vendor A, but when i trying to set the regular vendor for Pur.Org 0002 to be as Vendor B, i receved the message as "Up to now, vendor A has been regular vendor for this material".
    And After i changed this Regular vendor to vendor B, this changed have also affected the PIR for Pur. Org 0001.
    Can i know if there is a way to change the PIR Regular vendor at Pur.Org or Plant level?
    Thank you very much,
    Regards,
    Chee Wee

    Hi,
    Regular vendor is at client level.
    That's why, you cann't maintain more then one vendor (Source of supply) for the same material.
    If you want to maintin separate vendor for the each plant and same material combination, then don't activate / select regular vendor option in the info record. You have to maintain source list.
    Sour list is nothing but a list of source of supplies for the specific plant and material combination with in the validity period of time. If there are more then one vendor for the specific plant and material combination for the same validity period of time, then you can activate fixed vendor option in the source list. Then at the time of creating PO, SAP will pick fixed vendor for the Plant and Material combination.
    So first, system will check whether regular vendor is there for this material in the info record. If is there,system will pick regular vendor in the PO. If not, then system will check fixed vendor in the source list for the material and plant combination. If yes, then system will pick fixed vendor from the source list. If not system will propose all the vendors in the source list. If the source list it self not created, then user has to give vendor number manually.
    Regards
    KRK

  • Stock Posting for Different Plants

    Hi MM Gurus,
    Is it possible to post directly to a Work Order reservation from a different plant?
    Example: A WO is raised and a reservation created for plant A and we want to move stock
    from plant B and post it directly against the reservation. Is there a one step process?
    Thank you,
    Jograd

    Hi,
    If you wish to do that, then open the production order, go to components tab, change the plant & sloc details in the component tab & save. Now you can post from the other plant directly via MB1A or MIGO or co27 with 261 mvt. If
    Hope it answers your query.
    Regards,
    Vivek

  • Single Purchase Order for different Plants of Different Company Codes

    Hi Experts,
    I have a scenario, My Client has 3 Company Codes (1000, 2000, 3000 )
    Company Code 1000 has 2-Plants    ( A001 and A002 )
    Company Code 2000 has 1-Plant      ( B001 )
    Comapny Code 3000 has  3-Plants   ( C001, C002, C003 )
    All these 3-Company codes has centralised purchase organisation.
    My Client requirement is to raise a single purchase order for external vendor, for all the plants A001, A002 which is in one company code and similarly in same Purchase Order for B001 plant which belongs to 2000 Company Code and Similarly for same purchase order for C001, C002, C003 plant which belongs to 3000 Company Code.
    1)Is it possible to raise a Single Purchase to External Vendor for plants of Different Company Codes ?
    2)Does it affect the accounting document ?
    3)How to inward and where to inward these goods ? with respect to plant wise ?
    Please Guide with Valuable inputs.
    Thanks in Advance
    Best Regards
    Javeed
    Best regards
    Javeed Ahamed

    1) How about Profit Centre ? We have Framed each Profit Centre with respect to Plant
    Why should there be a problem?
    2)In Case of Migo does we have to be careful and do stepwise MIGO with respect to different Plants ?
    of course people have to be careful when performing transactions.
    if you have multiple items in a PO then you can easily receive all items in one go. So people have to careful and need to check if they really received each of the PO items. Especially if people have authorization for many plants, then the user who is usually performing the receipts for plant A can easily post the receipts of plant B too.
    3) How to Process MIRO ? Can we process Partial MIRO"S with respect to Line-items of those particular Plants ?
    MIRO allows to post the invoice like it is send to you from your vendor. If it is just for a part of your PO then this is just a fact and MIRO allows to post this kind of invoices too.

  • InfoPackage to load multiple flat file for different plant

    Hi
    There is a requirements to load the data from multiple flat files by different plant into BI which source data is coming from other system. Each flat file has it own naming convention.
    As data has to load via infopackage into the targeted cube. Then I have to create multiple infopackage in order to load the data according to the number of flat files that provided. However, new plant will be created due to expansion of bussiness. If that is the case, additional infopackage is required to create as and when there is a new plant. 
    Is there a way to create a infopackage to load the data from flat file by plant? Your advice is much appreciated.
    Thanks and regards
    Kang Ring

    Hi,
    The best way I can suggest is....
    1. Create a folder in AL11 for your requirements.
    2. In InfoPackage under Extraxction Tab you can have File Name , just side of this you can fine ABAP Routines ICon there you click on that and asks Name give some and then it will takes to your into ABAP Code there you can access the AL11 and then write code in such way that to take file irrespective of the File name, whatever the file is there in that Folder it ahoud take from that AL11 Folder path.
    3. Load the Data using PC.
    4.At the end of the PC Delete the File in AL11 folder , becasue we don't need it for next load.
    Else
    See the thread
    Re: Automation of load from application server
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jun 4, 2010 11:03 AM

  • Different order unit for different plant

    Hi,
    I ahve a material whose base unot of measure is kgs. Its purchase order unit for plant 1000 is Tonnes, and I want to have a different purchase order unit say LBS for plant 1100. Is it possible?
    Please advice.
    Regards,
    Vengal Rao.

    Hi,
    You can maintain different order units for the different plants, since purchase view is at plant level.
    Order unit field is available in the purchase view.
    If required, you can maintain different order unit in the PO/Contracts other then the order unit in the material master record for that material and plant by activating variable order unit in the material master record - purchase view. In this way, you can maintain different order units in the PO for the same material and plant.
    Regrads
    KRK

  • Linking with Outlook & alerts for uncompleted tasks?

    We are wondering if it's possible to do the following with Project (we use Project Professional 2010):
    1. create alerts of some type for uncompleted tasks?
    2. link with Outlook (2010) to send schedule notifications to resources to let them know or remind them that they're scheduled for something, or communicate with their calendars somehow?
    Thanks in advance.

    AAA Home --
    This functionality is only possible if your organization is using Microsoft Project Server 2010.  Assuming you are only using the desktop application and not Project Server 2010, you might be able to achieve this functionality through custom software
    development by writing a macro in the VBA programming language.  Hope this helps.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Materail for different plants.

    Hi Experts,
    One material is having different plants . if I create or change of material , I want to fetch the plant based on material.
    Example :
                        Matnr   10043  plant UK01
                        Matnr   10043  plant UK02
                        Matnr   10043 plant  UK03  ......If i make changes to Material 10043 for plant UK02 . I want to fetch UK02 value based on material 10043. Is there any key field to identifychanges to material-plant based on material from marc or any table ?
    Thanks - Vinay

    Hi ,
    Actually I am writing a program to fetch plant value based on material.
    Thanks - Vinay.

Maybe you are looking for