User exit for controling header and item division

Hi all,
Currently there is restriction in sales document for header division and item division i.e. if header division is 10 then it is not accepting the products of division 20, 30, 40, 50 at item level.
If the restriction is removed then it will allow products of all division in a sales document irrespective of header division (if the customer is extended for all the sales area).
But we would like to allow products of division 10, 20 and 30 in one sales document if header division is 10 or 20 or 30.
How can it possible? Can it be possible through user exit? Any standard user exit is available or we would have to develop one?
Please guide me how to go about.
Regards
Rajesh T.

Thanks Navaneetha Krishnan,
1. Please give some more inputs on Cross Division,
2. To enable to incorporate other division than header at a item level is ok, but restriction on some division at item level is what i want to know, weather through user exit and which user exit? or I will have to create user define User Exit?
e.g. customer 1234 is created for all the sales area
Sales areas are : 1000  10  10
                          1000  10  20
                          1000  10  30
                          1000  10  40
                          1000  10  50
now in ZOR Sales document(where there is no restriction of item division) if I enter sales area 1000  10  10 at header it will allow the product of all division.
but i want if i put at header 1000  10  10 then it should allow the products of division 10 and 20 only and not to allow products of divsion 30,40,50 in one sales document
similar if i put sales area 1000  10  30 at header level it should allow me to enter products of division 30,40,50 and should not allow products 10, 20 in one sales docuemnt
I think this is more clear. request you all to provide details ASAP
regards
Rajesh T.

Similar Messages

  • User exit for change PO (me22n) for  save header and item text.

    Hi Experts,
    I have a requirement to read the header texts/item text  at run time .
    please tell me is there any  save user exit for tc me22n .
    Thanks in Advance.
    Paresh

    Transaction Code - ME21N                    Create Purchase Order
    Exit Name           Description
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • User-exit for deletion of line item in PO

    hi group
    i want to delete a line item of purchase order.
    and after that i have to make some changes
    so i want to know which user-exit will be used here.
    please help its urgent.

    Hi,
    Please fine the list of user exits for the transaction ME22.
    If it serves your purpsoe , please close the thread and reward suitable points.
    Regards,
    Irfan Hussain
    Transaction Code - ME22                     Change Purchase Order
    Exit Name
    Description
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    LWSUS001
    Customer-Specific Supply Source Determination in Retail
    MRFLB001
    Control Items in Release Creation
    No of Exits:         33

  • User exit for tcode ME21N and ME22N

    Hi everyone
    Can anybody tell me the user exits found in the tcodes ME21N nad ME22N, when saving a PO?
    Regards
    Anjali

    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Individual customer source determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MM06E011            Activate PReq Block
    LMEKO001            Extend communications structure KOMK for pricing
    LMEKO002            Extend communications structure KOMP for pricing
    If useful reward.
    Vasanth

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • User Exit for Purchase Order Line Items.

    I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything.  I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document.  Any direction you can point me into would be greatly appreciated.  Thanks.

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

  • Valid to date for BOM Header and Item

    Hello everyone,
    I have been searching for "valid-to" date for BOM header and Items since several days but no luck ..
    I know we can see it using transactions cs11/cs03 etc. But i wish to know the table where they are stored. As I need to extract them to BW.
    Any help will be highly appreciated.
    Thanks in advance!
    Regards,
    Anuj

    Hi Anuj
    In table STPO,the field AEDAT gets updated only when a change number is used,otherwise the valid to date will be shown nil here.
    And also ref the link
    Problem finding Valid To Date or Change number to on BOM
    pavan

  • User Status update on Header and Item in Sales Order

    Hi,
    I need to update the user status in both the header and Item based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
    Could any one please provide me where I can write the code to upate user status in header and Item.
    Thanks
    Srihari.
    Edited by: SrihariKonduru on Dec 23, 2009 4:21 PM

    Hi,
    Thanks for quick reply.
    But I think this will be updated the satus using a report program. But in my case if the user creates a sales order or he is in change mode based on the selection of Distribution channels and Dunning key's I need to update the satus.
    For this I need a exit to write the code. And also I required sample code snippet to update the status in user exit. If that availble it will be great help to me.
    Thanks
    Srihari.

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!
      I need your help or suggestions,
      I need to change the standar order  before to save, i found the user exit PPCO0007,
      i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
      lost, and finally the system set the standard order.
        Someona know how can change the order and the the batch.
         Thanks
    Noemí Huerta

    Hi Noemi
    You can use the enchancement PPCO0007 (exit when the production order is saved).
    Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record.

  • User Exit For PR Create and Change

    Hi,
       Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n)  and aslo changing Purchase Requisiton(Me52/Me52n).
    Mainly i want to exit for validating Plant and material code while creating and changing PR.
    Thanks,
    Sunil sahoo

    Hi,
    Use the exists
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition release
    Regards,
    Nandha

  • Help Needed: User exit for transaction IL01 and IL02

    Hi,
    First of all I would like to take you through my requirement. The
    requirement is: When I try to instal an equipment(EQ) at a functional
    location(FL) in SAP, I want to pass on the values of these two
    technical objects(EQ,FL) to an external system through SAP XI.
    I identified two user-exits for this purpose,
    they are ILOM0001 and ILOM0002. I found the first exit (ILOM0001) more
    relevant than the other as the exit ILOM0001 is responsible
    for 'Additional checks before saving a functional location'. The
    function exit for the exit ILOM0001 IS EXIT_SAPMILO0_001.
    When I load the transaction IL02 and try to instal an equipment at a
    functional location in debug mode nowhere did I notice this function exit.
    Please clarify whether this exit is called with a different name
    internally or I am looking at a different exit altogether.
    Your early response is highly appreciated.
    Thanks,
    Vijay

    Solved..........

  • Which BAPI is for reading Header and Item for BOM.

    Hi All,
    I am using BAPI named 'CSAP_MAT_BOM_READ' to read Material type BOM header and Item.
    1. Is there any BAPI available to read Equipment Header and Item  ?
    2. Is there any BAPI available to read Functional Loc Header and Item  ?
    3. Any BAPI to Write into Database table from my internal table (Header and Item) ?
    Edited by: amit soni on Aug 26, 2011 11:25 AM

    1. BAPI_EQUI_GETDETAIL
    2. BAPI_FUNCLOC_GETDETAIL
    3. BAPI_EQUI_CREATE, BAPI_FUNCLOC_CREATE for equipment, and functional location respectively.
    Have you browse in BAPI transactions?

  • User exit for split of PO items

    Hi all.
    In the creation of purchase orders from SRM shopping carts, we have a requirement to split the service purchase order lines in different items when the tax code in SRM is different. I mean, the requirement is to have only services with the same tax code in SRM in the same PO item. If the SRM tax code is different for a concrete service I have to split it in another PO item.
    In short, what I need is to know any user exit, badi, etc... in the creation of PO for the splitting of PO items. Can anyone of you help me?
    Thanks in advance.

    Hello Manosij.
    I have not much experience in SRM. I think that the difference between scenarios is where the subsequent documents of a shopping cart are created, is that right? In my case, the PO is created in the backend, in R/3.
    In the shopping cart (in SRM) the services are created everyone in a different SC item, with the possibility of having different tax codes for each one. However, in the purchase order (in R/3), the services are grouped all together in a unique PO item, all of them under a unique tax code (EKPO-MWSKZ). What I need to do is to have a PO item for each different tax code from the SC. The services have to be under their correspondent tax code in the PO.
    For example, I am creating a SC with two services, one of them with tax code VP and the other one with tax code V5. The PO must have two items, one with tax code VP and the other one with tax code V5. Currently, the PO is being created with a unique item with tax code VP. If both items in the SC would have tax code VP, it would be correct to have the PO with a unique item with tax code VP.
    I hope this clarify my requirement.
    Thanks.

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • User exit for order operation and internal assignment (SAPLCY18)

    Dear all,
    I am currently facing the problem below, which I have posted in PLM forum. However, I have been advised to ask in EAM forum, since probably my problem is more EAM-related.
    The problem currently facing is related to PM order operations. The customer's requirement is to use operations and to include the personnel numbers involved. For this solution, our proposal is to have the operations and within internal operation data to use the tab requirement assignments in order to include the personnel numbers. Also at this level, the client expects to maintain the the 'hr' (work requirements) for each personnel. For example there are used 2 personnel ids with hr requirements of 2hrs and 3 hrs respectively. Let me mention that in the operation screen, the hr requirements are initially defined equal to 1 hr.
    In the above case the message "The work of all the splits is greater than the work in the operation" apperas, since 1hr 5hrs. The question is if there is any way (user exit, badi) to update the work requirements in the operation with the sum of the internal assignment data.
    Program SAPLCY18 may be help, although I have not found the work around.
    More explanatory details to help:
    The combination using Work-Number of capacities-Duration and the Calculation key is already used, however the requirement is to use specific personnel numbers. SAP, as far as I am aware, allows you to define personnel numbers within internal operations.
    TAB Requirements assignements is available as long as in the operations main tab you have completed for the selected line the values Work-Number of capacities-Duration and Calculation key. Thus, in TAB Requirements assignments you can input the personnel numbers and the work of each one.
    The question is if we can use the Requirements Assignments TAB, using the button internal in the operations tab in order to define the personnels involveld and according to the work (hrs) to update the respective field of the operation (otherwise let's say to update the duration field for each personnel id and automatically the operation respective duration field to be updated).
    Your feedback is highly appreciated,
    thank you in advance,
    Bou.Lis

    PeteA,
    thank you for your response. I am actually looking for such a development solution (more-or-less I know that it is not possible using standard SAP customizing) but unfortunately I have not yet found such a user exit or BADI that could help solving the problem facing.
    Do you have any idea of such a development tool to use?
    Thansk and regards,
    Bou.Lis

Maybe you are looking for

  • Do I need to return my mac.

    I purchased some DVDs on the web for backing up photos and had no end of trouble with them. Basically sometimes they would not be recognised (Literly when you put them in the drive the mac would not see them) Some times it would but the burn would al

  • Error message in the log file

    Hi, I'm running CF 7.0.2. The app is using Flash forms. I have this onError function in my Application.cfc. <cffunction name="onError"> <cfargument name="Except" required="yes"> <cfargument name="EventName" type="string" required="yes"> <cflog file="

  • I cant play my music in my car. I have a 2011 camry with a usb port.

    my ipod still works fine, my iphone 5 keeps saying its incompatible. anyone have a solution???

  • How to shutdown the PC using Lab View

    Hi, We are doing UPS project. In this project we have to shutdown the PC if there is a battery low condition. I want to know whether is their any library function in Lab View to shutdown the PC. And also we want make this labview to run in background

  • How to create Scrollable tables in ADF?

    Hi all, For the above I tried to use the solution as suggested by Frank Nimphus in the url *"http://thepeninsulasedge.com/frank_nimphius/2007/11/08/adf-faces-embedded-and-scrollable-tables/"*. However my problem was not solved and I did not get any s