User exit EXIT_/SAPAPO/SAPLCIF_PU_001

Hi,
We are using this exit to block Purchase orders from a particular storage location. We gave the condition with a IF clause to ckeck for the ATP category and storage location, but the orders are not getting blocked.
SAP replied to this query that the ordesr are not gettting blocked as there are no orders with this storage location. The product view is showing these orders where the storage location no is referred as sublocation. i think storage location of R3 is refered as sublocation APO.
If anyone has used this user exit before ps infom what is the correct field to be used to block storage location for this exit
Regards,
Sireesh

Hi Andy,
Thanks a lot for the info.
We were able to block the orders when we user the table IT_output. But i wanted to know the logic behiend these tables IT_INPUT and IT_OUTPUT. can you inform which one should be used when or any documentation on this.
Regards,
Sireesh

Similar Messages

  • GATP User Exit EXIT_/SAPAPO/SAPLATPR_002

    Hi
    I am planning to use the user exit EXIT_/SAPAPO/SAPLATPR_002 which is used to modify/change the results of rules evaluation. In the user exit documentation it is mentioned that the user exit is called more than once. In case you have used this user exit can you explain why this happens and if there is a way to avoid this.
    Rajiv

    Rajiv,
    I think I am in same situation as you were.
    Can you please explain me the scenario (what made you change the rule evaluation results) and config you did to achieve the objective?
    Thanks

  • Use EXIT_/SAPAPO/SAPLCIF_PU_001 for changing PO data

    We have in some situations the need to change the delivery date (EKET_EINDT) of a purchase order in the CIF interface, and have been looking at exit EXIT_/SAPAPO/SAPLCIF_PU_001 to do this.
    However the exit is not documented particularly good, and we are struggleing to find which fields to change. Do anyone have some detailed documentation of this exit, or do someone have an idea of what we want to do, can be done in this exit? Are there alternative exits we could look at or perhaps a BadI?
    Thanks for any input.
    Regards
    B. Jakobsen

    Hi,
        You have to check the exact date field in Debugger because there are couple of date fields in the given User Exit.I would suggest to use the CIF user exit in ECC CIFPUR01-Enhancement for Transferring Customer-Specific PO Fields in which you can restrict the functionality on basis of CIFOBJTYPE = 2(Purchase Order).
    In the field TMSTMP, check what value is coming in User Exit and if it is the correct one then you can change it here.
    If further information required please let me know.
    Regards,
    Saurabh

  • User-exit on APO side for the deliveries that are coming from R/3

    Hi,
    When a delivery is created in ECC for a VMI customer, it creates an EI order in APO. We need to record some details of these orders on the APO side.   Can you please let me know the user exit/BADI that gets triggered when a delivery comes to APO through CIF which we can use for our requirement?
    Thanks in advance.

    Hi,
        You can use APOCF006(EXIT_/SAPAPO/SAPLCIF_PU_001) CIF User exit on APO side for CF_OBJECTTYPE = B(Delivery).
    I hope this will help you.
    Regards,
    Saurabh

  • APOCF011  - EXIT_/SAPAPO/SAPLCIF_STOCK_001 Issue

    Hi,
    We have a requirement to change the ATPCAT for certain storage locations from CC to a custo one.
    We have defined the new atp cat 'ZS' and we have activated the enhancement APOCF011 in order to use the exit:
    EXIT_/SAPAPO/SAPLCIF_STOCK_001
    When we generate a new integration model using cfm1 and activate the model from cfm2, at the first time, the exit is not triggered.
    If we deactivate the model and reactivate it, the exit is triggered and our code is changing the atpcat properly.
    The problem is that once completed, I guess it is doing an "insert/modify" so when we check in receipts view the entries are duplicated (one row with original atp CC and another one with the new custo atp cat for the same receipt).
    Probably we are missing something else to be done in order to trigger the exit at first model activation. I guess it should be the solution.
    Or maybe, some way to update the original receipt and avoid creating duplicated ones?
    Thanks in advance,
    Kind regards,
    Agustín

    Hello Agustin,
    I had come across similar requirement in one of my previous implementations and I did use the same user exit that you had mentioned above and it worked well. However, there was one problem with this. Unlike, the integration model activation the problem we faced is that whenever we run CCR report, we were getting unexpected results and hence, we had to get rid of the same by implementing similar logic in the method RELEVANT_FOR_COMPARE_R3_STOCK of the BADI interface /SAPAPO/CIF_DELTA3. May be you could try to implement this and see if it helps. Perhaps, the same method is being triggered too during CIF activation. I am not sure. But, in any case implementing this solution would definitely help you as you'd have to face the CCR issue anyway.
    Hope this helps
    Babu Kilari

  • BADI / USER-EXIT to change Vendor Material Number in ME21n

    Dear Sir,
    We are looking for a BADI/USER-EXIT  in Tcode ME21n , which can change the Value of  "Vendor Material Number" (Vendor Material Number is available under Item Detail in "Material" Tab . The value which need to be populated in the Field "Vendor Matreial Number" is  equal to first 4 character of the Item Code .
    I request the SAP Experts to kindly guide me with a sample Code please .
    I will be highly grateful for the kind help pl .
    Regards
    B Mittal

    Hello B.V.,
    User-Exit:
    First open the relevant Module Pools for ME21n via SE38. Then search for all CUSTOMER_FUNCTION 'xxx' where xxx is a 3 digit number. This number is linked to a User-Exit EXIT_<Module Pool>_xxx. Then investigate this function for it IMPORT parameters. In your case there has to be an interface for "Vendor Material Number".
    For to implement the required changes use the by SAP delivered include ZX<something> inside this function.
    BAdI:
    1. Search in IMG
    2. Find Enhancement Point in the relevant Module Pool.
    Hope this helps,
    Heinz

  • BADI / User Exit for APO Order transaction /SAPAPO/SNPTLB

    Hi Experts,
    We have a proxy interface and currently we are using FUNCTION EXIT_SAPMSNPUSER_006 for the APO Order transaction: /SAPAPO/SNPTLB.
    This exist is triggering before the Order is being saved in APO and at times it is throwing an error 'Order key already exists in live cache' in the APO system.
    Is there any other BADI or User exit available to Save the order in APO before the interface gets processed?, if so, plese guide me.
    Thanks & Regards,
    Vijaya

    Hello Lakshmi,
    I am having the same issue with the message "Order key already exists in live cache" in our system. 
    We are using the user-exit EXIT_SAPMSNPUSER_005 for UoM conversion.  But we are not making any explicit proxy calls
    to /SAPAPO/SNPTLB.  Does the system automatically call this transaction with this user-exit?
    Did you get a resolution for the issue.  I would really appreciate if you can let me know how you have addressed this.
    Thanks,
    Ratnam

  • BADI/User Exit for APO Transaction: /SAPAPO/SNPTLB

    Hi Experts,
    We have a proxy interface and currently we are using  FUNCTION EXIT_SAPMSNPUSER_006 for the APO Order transaction: /SAPAPO/SNPTLB.
    This exist is triggering before the Order is being saved in APO and at times it is throwing an error 'Order key already exists in live cache' in the APO system.
    Is there any other BADI or User exit available to Save the order in APO before the interface gets processed?, if so, plese guide me. 
    Thanks & Regards,
    Vijaya

    Hello Lakshmi,
    I am having the same issue with the message "Order key already exists in live cache" in our system. 
    We are using the user-exit EXIT_SAPMSNPUSER_005 for UoM conversion.  But we are not making any explicit proxy calls
    to /SAPAPO/SNPTLB.  Does the system automatically call this transaction with this user-exit?
    Did you get a resolution for the issue.  I would really appreciate if you can let me know how you have addressed this.
    Thanks,
    Ratnam

  • Process to find user exit for transactions /sapapo/snptlb or /sapapo/sdp94

    Hi All,
         Can you help me out with the approach to find out user exits for transactions /sapapo/snptlb or /sapapo/sdp94?
    What I am looking for is the approach, i mean how to proceed with?
    Win full points for detailed answer !!
    Thanks a lot - Chandan

    Hi Chandan - this is the same as in any module of SAP:
    1) check SPRO
    If nothing is found then do the following:
    1) Goto SE24 and display class cl_exithandler
    2) Enter method GET_INSTANCE and create a break point at Line 25 (CASE sy-subrc)
    3) Execute SAP standard transaction and invoke the process for which you need to create custom coding
    4) Your break point will stop the process in debug mode - check the values of variable 'exit_name', it will contian the name of the BADI currently being executed.
    5) Continue to debug by pressing F8 to see other BADI's
    6) Repeat steps 3 thru 5 for each process that you want to find a BADI for
    Regards
    Andy

  • Product View: BADI/user-exit at "SAVING" for transaction /SAPAPO/RRP3

    Hi to All,
    i need to insert my custom routine BEFORE saving for transaction /SAPAPO/RRP3.
    I should display an error message that stop the saving.
    Does some BADI or user-exit exist for my requirement?
    Best Regards,
    Alessia Bassano.
    Edited by: Umberto Panico on Mar 19, 2009 10:07 AM

    hi
    /SAPAPO/RRP_EXPLODE BAdI for the Explosion of Orders
    /SAPAPO/RRP_IO_COL BAdI: Enhancement of the Order View
    /SAPAPO/RRP_ORD_CONV Enhanced Check for the Convertibility of an Order
    depends on your requirement you can select anyone of the above BADi's.
    if not try to use enhancement points.
    Rgds.

  • User Exit called when online ATP check with GATP

    Hi Guys,
    I got requirement as below,
    Manipulate the GR time defined in the unloading point when the ATP confirmation of sales order is done with GATP online.
    I noticed that the online GATP check from R/3 to APO is not going via normal CIF way of communication or at least even i de-registered CIF queue monitoring, the data transfer can still go through properly.
    There are two questions popped up:
    1. Any body knows the background routine how the data are transferred between R/3 and APO when online GATP is done, and how to debug this process?
    2. Which functional module or exit user is called when online GATP check is done from R/3 sales order?
    If anyone knows something you are also welcome to share your expertise!
    Thanks!
    Tony

    hi! Tony
    These are the Exits in online GATP
    EXIT_/SAPAPO/SAPLATPT_001      APO ATP: Set ATP Segment                           
    EXIT_/SAPAPO/SAPLATPT_002      APO ATP: Select Substitutions                      
    EXIT_/SAPAPO/SAPLATPT_003      APO ATP: Initialize ATP Controller                 
    EXIT_/SAPAPO/SAPLATPT_004      APO ATP: Check for the Existence of a Location Alias
    EXIT_/SAPAPO/SAPLATPT_005      APO-ATP: Handling of Data at End of Check          
    Regards
    Vaibhav Sareen

  • User Exit - APODM006

    Hi,
    We have implemented the above user exit to change the Column Label of planning table and it works fine. Now we have a scenario wherein we have to change the column labels for two different planning tables, one based on Month and other day-wise.
    For the above scenario we want to put the check for planning Book and Data view. In the above user exit there is no import parameter for Planning Book and Data View.
    Any idea on how to carry out this check?.
    Thanks,
    Regards,
    SP

    Hi SP,
    Yes, there is not any import parameter in the Lable change userexit EXIT_/SAPAPO/SAPLMCP2_006.
    I believe each planning book having different dataview Title.
    You can capture the Data view title name in system field SY-TITLE in the userexit and can do the label manupulation.
    Try and let me know if any issues.
    Regards,
    Saravanan V

  • Difference b/w Customer exits and User Exits

    Hi,
    Can anybody explain diff b/w user exits and customer exits .
    How to find out and Impement the coding ..
    Thanks Advance
    Rohan.A

    Hi Rohan,
    Check this matter , this may be helpful to you.
    <b>CUSTOMER EXITS</b>
    The enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
    If you want to enhance the functionality of your SAP System, you should take advantage of the exits available in standard applications. There are two main reasons why you should use exits rather than modifying SAP software yourself. Add-ons attached to exits have the advantage that:
    •        They do not affect standard SAP source code
    When you add new functionality to your SAP System using SAP’s exits, you do not alter the source code of standard SAP programs in any way. The code and screens you create are encapsulated as separate objects. These customer objects are linked to standard applications, but exist separately from SAP’s standard software package.
    •        They do not affect software updates
    When you add new functionality to your SAP System using SAP’s exits, your objects (called customer objects) must adhere to strict naming conventions. When it comes time to upgrade a to a new software release, customer objects’ names ensure that they will not be affected by any changes or new additions to the standard software package.
    Customer exits are not available for all programs and screens found in the SAP System. You can only use customer exits if they already exist in the SAP System.
    <b>User exits :</b>
    1. Introduction
    2. How to find user exits
    3. Using Project management of SAP Enhancements 
    1. Introduction:
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is: 
    EXIT_<program name><3 digit suffix> 
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    Example:
    The program for transaction VA01 Create salesorder is SAPMV45A
    If you search for CALL CUSTOMER-FUNCTION i program
    SAPMV45A you will find ( Among other user exits):
    CALL CUSTOMER-FUNCTION '003'
      exporting
        xvbak   = vbak
        xvbuk   = vbuk
        xkomk   = tkomk
      importing
        lvf_subrc = lvf_subrc
      tables
        xvbfa = xvbfa
        xvbap = xvbap
        xvbup = xvbup.
    The exit calls function module EXIT_SAPMV45A_003
    Hope this is helpful.
    Reward all the helpful answers.
    Regards

  • BADI/User Exit for Order processing

    Hi Experts,
    I have a requirement that whenever someone modifies the order belonging to a specific order category then some error/ warning is issued. Can you please suggest some User Exit/BADI in APO for the same.

    Hi Tiago,
    My requirement is to block the processing of Released process order from both Product view and Detailed Scheduling Board.
    If I am getting you correctly then in the mentioned BAdI and Method --I should call FM --/SAPAPO/OM_PEG_CAT_GET_ORDERS (to fetch orders by order category) to see whether the order category is for released process order or not.
    If its Released process Order --then I should block the change. Is that correct for both Product View and Planning Board?

  • User exits/BAdIs for Forecast consumption by sales order

    Hello Experts,
    My question here is: When Sales Order either new or change comes from ECC to APO, what are key fields considered for Forecast Consumption? Is requirements strategy is considered from location product master or Sales Order brings own data from ECC into it's own structure? I have read from SAP help or documentation that Sales Order coming from ECC does not use requirement strategy from Product Master. Rather it get its own fields like planning strategy/group / requirement class from ECC. It uses location product master only to get consumption parameters like forward/back word consumption days. So I am thinking to use some user exits or BAdIs to enhance the incoming sales orders to consume separate forecast categories in APO.
    My requirement is:
    For the same one product we want sales orders (can have two different order types or identify by a custom field) to consume two different order categories (ie. FA & FC) by enhancing incoming sales orders. So we have regular 1)Forecast key figure which is 'FA' category and 2)Forecast Additional key figure which is FC category. When we release two separate forecasts from DP we release into these two key figures and categories. Now we want incomping sales orders to consume these two categories separately when our sales orders are having two different order types (i.e OR and ZR).
    I want to kow what way we can acomplish this? Are there any user exits or BAdIs for this purpose?
    I looked arount BAdI /SAPAPO/DM_BADI_CSP and I am not quite sure it's going to help. Are there any others?
    I appreciate if anybody explain me the process?
    Thanks in advance!
    Raj

    Standard Logic --- Whatever plant is visible in the Sales Order, the sales order will appear under that Product Location in SNP
    There is no standard way of making the sales order visible in another location.
    Depending on your requirement(Ex: Forecast Consumption, planning etc),using APO-BW we can simulate the requirements in the other plant which can be a nightly run and not immediate.
    Now coming to your question, if the delivering plant is A, how does ECC Delivery document know when the sales order has plant B that the delivering plant is A.
    Can you be more specific.
    THanks
    Kumar

Maybe you are looking for