User Exit QAAT0001 to select insp. plan based on movement type during stock

Hello,
I am have a scenario mentioned in subjectline and would be thankful if somebody can share some detail about it.
I created one more Inspection type Z1 apart from 08. Assigned it to insp. origin 08 as variant 03.
Created Z1 usage that i am using in my inspection plan. Assigned 08 and Z1 inspection types in material master and two insp. plans with usage 08 and Z1.
Now wanted to use user exit QAAT0001to select insp. plan. It would be a greatr help to me if somebody let me know the steps I am doing are correct and what could be the ABAP CODE for that Exit.
Thanks in anticipation

Hi,
use EXIT_SAPLQAAT_002 under importing parameters ...unser I_TQ32 ...check the values....
and try to modify E_NO_INSPECTION under exporting parameters .
Thanks,
Shailaja Ainala.

Similar Messages

  • User Exit in APO to change Planning version defaults

    Hi,
    Is there any user exit/BADI I can use to User Exit in APO to change Planning version defaults.
    Regards,
    Tarun

    Hi Emmanuel,
    I am searching for this exit in APO-DP.I have a requirement where we CIF master data (location) from SAP R/3 to SAP APO.However the location are saved in default planning version/model ( ie 000) I need to save these locations in another planning version and I am looking for an appopriate user exit/BADI which can accomplish this.
    Regards,
    Tarun

  • How ETT is picking based on movement type

    Hi all
    Please tell how Excise Trasction Type (ETT) is picked based on movement type?
    Also for Retrun delivery to vendor (mvmt type: 122) ETT picking is OTHR, if i want to make it to pick OTHR Sub trasaction type 10 how should i want to do it?
    Regards
    K.R.Srinivasan

    Hi,
    First of all ETTs are not picked up as per movement types. These are defined in SAP Standard program to be picked for different transactions.
    For e.g. GRPO for Goods Receipt against PO, DLFC for Outgoing Excise Invoice, OTHR for J1IS, etc....
    And it will not pick up the Subtransaction type 10 automatically during J1IS (or any transaction), you have to specify this manually during J1IS.
    For this you have to do necessary Account Determination for ETTs, Excise group and Subtransaction type 10
    Check in SPRO > Logistics - General > Tax on Goods Movements > India > Account Determination > Specify Excise Accounts per Excise Transaction
    And in SPRO > Logistics - General > Tax on Goods Movements > India > Account Determination > Specify G/L Accounts per Excise Transaction

  • User Exit or BADI For MRP Planning

    Dear all ,
               I want to Control the MRP Planning ( MD01 ) only for Demand Orders..
    Tell me any User exits / Badi for that Issue..
    i checked in this enchancement M61X0001, this is correct or wrong ,,,,
    With Regards ,
       GJ

    HI
    Possible exits
    LMDR2001  User exits restr. profiles of opt. pur.ord.-based load bldg
    LMDZU001  User exits in additional planning.
    I hope there are no BADi's for this try for implicit enhancements if u r using ECC 6.0
    Regards
    Edited by: Rasheed salman on Dec 20, 2008 9:54 AM

  • Code for i_step = 2 in user exit ZXRSRU01 for selection screen validation

    Hello Experts,
    I have BI report, in which on selection screen I have 4 formula variable.
    I want to check, what number user has entered in these variables and summation of these fields should not be getter than 100 or less than 100. It should be 100 only. If that summation is not 100 then, I have to display message and again go back to selection screen so that user will make the correction.
    I came to know that for this I have to write a code in user exit ZXRSRU01, when  i_step = 2. I have written the code but it's not working. I have declare one more variable which is not ready for input and which I am checking in the code.
    Can anyone help me out in this regards.
    Thanks
    Chetan

    Hi
    Have you gone through the proper steps for creating and activating the enhancement?
    You can find more detailed documentation in the[ SAP Help|http://help.sap.com/saphelp_nw70/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm].
    Regards

  • User exit/BADI to change the Accntg doc which gets created during Billing

    I am trying to do the following . Is this possible ?
    When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.
    I am using  exit EXIT_SAPLV60B_008  as suggested but I don't see the accounting line items in any of the internal tables in this exit.
    My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.
    Thanks in advance.
    Regards,
    Ankur Bhandari
    1 01 32517 Jaaaa 3,700.83 USD
    2 50 3100000 MERCHANDISE SALES 3,199.96- USD
    3 40 3100000 MERCHANDISE SALES 160.00 USD
    4 50 3200000 DELIVERY INCOME 132.00- USD
    5 50 3200000 DELIVERY INCOME 10.00- USD
    6 50 2170156 SALES TAX COLLECTED 198.87- USD
    7 50 3400000 WARRANTY INCOME 320.00- USD
    8 15 32517 Jaaaa 3,700.83- USD
    9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD
    Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?
    Need to do this just before the accounting document gets generated.
    Is this possible ?

    Hi Ajay,
    I just want throw a light on your issue.
    There are couple of other user-exits also available here.
    Just check the required data is available or not?
    EXIT_SAPLV60B_001              User Exit AC Interface (Header Line)               
    EXIT_SAPLV60B_002              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_003              User Exit RW Interface (Cost)                      
    EXIT_SAPLV60B_004              User Exit AC Interface (GL Account Item)           
    EXIT_SAPLV60B_005              User Exit AC Interface (Accruals)                  
    EXIT_SAPLV60B_006              User Exit AC Interface (Tax Line)                  
    EXIT_SAPLV60B_007              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_008              User Exit AC Interface Transfer Tables             
    EXIT_SAPLV60B_010              User Exit Item Table for the Customer Lines        
    Thanks,
    Ramakrishna

  • User Exit for PO Calculation Schema Determination by PO Document Type

    Hello,
    Due to complex pricing requirements for both standard inbound purchase orders and return to vendor purchase orders, we need two separate calculation schemas to be applicable to each vendor.
    I have configured the primary calculation schema (ZM1000) which is correctly calculated on our standard purchase orders.  Through ENHANCEMENT-POINT mepo_header_fill_neu_01 SPOTS es_saplmepo (program SAPLMEPO) we have implemented code to change the calculation schema to the return schema (ZM1002) if the document type is one of our return purchase order types.
    ENHANCEMENT 1  ZMEEI_PO_PRICE_SCHEMA_DETM.    "active version
    IF fekko-bsart eq 'ZR1' or fekko-bsart eq 'ZR2' or fekko-bsart eq 'ZR3' or fekko-bsart eq 'ZR4'  .
         fekko-kalsm = 'ZM1002'.
    ENDIF.
    ENDENHANCEMENT.
    We are facing an issue where once the data is correctly entered into the return PO and the pricing has been determined there are errors.  The following is observed in the pricing analysis:
    1)  The correct calculation schema is determined (ZM1002).
    2)  Pricing conditions which have a condition record under the main calculation schema (ZM1000), but which do not exist in the return one (ZM1002) still appear in the pricing.  This is an issue.
    3)  Price conditions which have a condition record under the new schema (ZM1002), and which should appear, receive the message "Condition record exists, but has not been set".  This is an issue.
    When the pricing is re-determined manually at the line item level, it recalculates correctly and issues 2 and 3 above are adjusted accordingly.
    Question:
    Is there something missing in our code above which is cause these issues or is there a better user exit we should be using to address this requirement?
    Thanks in advance!

    Melih
    What we ended up doing was using ENHANCEMENT-POINT item_process_main_01 SPOTS es_saplmepo (program SAPLMEPO) to re-price the line items automatically when processing.  This solved our issue.
    IF EKKO-BSART = 'ZR1' or EKKO-BSART = 'ZR2' or EKKO-BSART = 'ZR3' or
    EKKO-BSART = 'ZR4'.
    lf_ext_calctype = 'C'.
    ENDIF.

  • Is there a user exit to restrict BOM change and display using material type?

    Hi Gurus,
    There’s a need to limit access to BOMs on a per material type however the client does not want to use the functionality of "BOM Authorization Group" in BOM header details.
    Do we have a user exit that can satisfy the said requirement?
    Thanks,
    Mae

    Hi
    Restriction to Changes of BOM will have better control using authorization object .Go to PFCG with your basis guy and try to explore the objects
    You can use C_AENR_BGR object to restrict.
    Otherwise , try apply BADI BOM_UPDATE
    Regards
    JH

  • Re:User exit  for number range assignment assignment to purchase order type

    Hi All,
    Is there any user exit which assign the purchase order type to number range.
    Please help.
    Regards,
    vivek

    Hi
    Implementing the User exit
    MM06E003
    Number range and document number
    Goto Transaction CMOD ,  Create a Z - Project proceed as follows:
    Choose Create.
    Describe the nature of the project by providing a short descriptive text.
    Choose Save.
    The system then prompts you to assign a change request. This assignment allows you to transport the project and its components into a productive system once you have completed it.
    Specify which SAP enhancement packages you want to include in your project by choosing SAP enhancements.
    Enter the Enhancement MM06E003.
    Click on Components
    Docuble Click on the Exit & it will Take you to the Function module . Write your ABAP code in the Include ZXM06U17
    Activate the Z - Project
    Thanks & Regards
    Kishore

  • Report for material consumption based on movement type

    Can any one guide me in developing a report to find the material consumed during a certain period ,
    selectio screen should be based on material no , plant , location , month

    You would need to fetch the accounting number (BELNR) from BKPF based on the purchase order number (XBLNR) and then proceed accordingly with BSIK and BSAK.
    Select .......
              from bkpf
              into table <it>
              where xblnr in so_xblnr
    Something like above.
    Few other important tables in MM and FI:
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    AGKO Cleared Accounts
    ANAR Asset Types
    ANAT Asset type text
    ANEK Document Header Asset Posting
    ANEP Asset Line Items
    ANEV Asset downpymt settlement
    ANKT Asset classes- Description
    ANLA Asset Master Record Segment
    ANLB Depreciation terms
    ANLC Asset Value Fields
    ANLH Main asset number
    AT02T Transaction Activity Category- Description
    AT02A Transaction Code for Menu TIMN
    AT10 Transaction type
    AT10T Name of Transaction Type
    BKDF Document Header Supplement for Recurring Entry
    BKORM Accounting Correspondence Requests
    BKPF Accounting Document Header
    BLPK Document log header
    BLPP Document log item
    BLPR Document Log Index and Planned Order (Backflush)
    BNKA Bank master record
    BP000 Business Partner Master (General Data)
    BPBK Doc.Header Controlling Obj.
    BPEG Line Item Total Values Controlling Obj.
    BPEJ Line Item Annual Values Controlling Obj.
    BPEP Line Item Period Values Controlling Obj.
    BPGE Totals Record for Total Value Controlling obj.
    BPJA Totals Record for Annual Total Controlling Obj.
    BSAD Accounting- Secondary Index for Customers (Cleared Items)
    BSAK Accounting- Secondary Index for Vendors (Cleared Items)
    BSAS Accounting- Secondary Index for G/L Accounts (Cleared Items)
    BSEC One-Time Account Data Document Segment
    BSEG Accounting Document Segment
    BSID Accounting- Secondary Index for Customers
    BSIK Accounting- Secondary Index for Vendors
    BSIM Secondary Index, Documents for Material
    BSIS Accounting- Secondary Index for G/L Accounts
    CEPC Profit Center Master Data Table
    CEPCT Texts for Profit Center Master Data
    COBRA Settlement Rule for Order Settlement
    COBRB Distribution Rules Settlement Rule Order Settlement
    COKA CO Object- Control Data for Cost Elements
    COSP CO Object- Cost Totals for External Postings
    COSS CO Object- Cost Totals for Internal Postings
    CRCO Assignment of Work Center to Cost Center
    CSKA Cost Elements (Data Dependent on Chart of Accounts)
    CSKB Cost Elements (Data Dependent on Controlling Area)
    CSLA Activity master
    FEBEP Electronic Bank Statement Line Items
    FPLA Billing Plan
    FPLT Billing Plan- Dates
    GLPCT EC-PCA- Totals Table
    KNA1 General Data in Customer Master
    KOMK Pricing Communication Header
    MAHNV Management Records for the Dunning Program
    REGUT TemSe - Administration Data
    SKA1 G/L Account Master (Chart of Accounts)
    SKAT G/L Account Master Record (Chart of Accounts- Description)
    SKB1 G/L account master (company code)
    T003T Document Type Texts
    T007S Tax Code Names
    T087J Text
    TAPRFT Text tab. for investment profile
    TKA01 Controlling Areas
    TKA09 Basic Settings for Versions
    TKVS CO Versions
    TZB0T Flow types text table
    TZPAT Financial Assets Management product type texts
    VBSEGS Document Segment for G/L Accounts Document Parking
    VTBFHA Transaction
    VTBFHAPO Transaction Flow
    VTBFHAZU Transaction Activity
    VTBFINKO Transaction Condition
    VTIDERI Master Data Listed Options and Futures
    VTIFHA Underlying transaction
    VTIFHAPO Underlying transaction flows
    VTIFHAZU Underlying transaction status table
    VTIOF Options Additional Data
    VWPANLA Asset master for securities
    Also, visit the following links:
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.erpgenie.com/abap/tables.htm
    http://goldenink.com/abap/files_in_sap.html

  • REM- Planned order with Movement type 311

    Hi,
    I want to use movement type 311 along with planned order in MFBF but system is not allowing me.
    Do I need to mention movement type 311 somewhere in configuration of planned order.
    Regards,
    Samir Wadajkar

    Dear
    Basically Movement 311 will be used for Material Staging.Material Staging can done with reference to the Material or with reference to the Planned Order etc...
    You can do the following with MF60:
    1. Direct stock transfer : You must select Staging type (Storage location level)
    To use direct stock transfer, you must maintain an issue storage location for each component in the BOM (or in the material master record or the production version). The system only displays those requirements for which you have defined an issue storage location
    2. Stock transfer reservation : You must select Staging type ‘1’ (Storage location level)
    The system then automatically displays the storage location view of the pull list. The system also only selects the corresponding requirements.
    In Global Settings, you must adopt the default settings and you must also select Stock transfer reservation.
    I hope you must have maintained the Customization Setting for Stock Determination Strategy with reference to your plant with 311 movement.
    Further details refer below link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/8a/a5a8d04adc11d189740000e8322d00/content.htm
    Hope this is clear to you
    Regards
    JH

  • How to restrict the users not to change receiving batch no. in 305 mov.type

    Dear MM Guru,
    We are using mov.type 303 & 305 for transferring the materials from one plant to another plant. t.code is MB1B (Non split valued item)
    While receive the goods through 305 mov.type the user having the chance to change the receiving batch number. To control this changes, is there a way where we can restrict the users not to do the changes in receiving batch no. or can we do the GR with reference to the material document 303 mov.type.     
    Regards,
    Sivanandan

    Hi,
    Generally there is a possibility to change the batch no. If you want to restrict it means go for enhancement. Use BADI to acheive this.In  MB_MIGO_BADI you can set not to change the batch no. Hope it works. Thanking you.

  • QM Quality  Module - error in transfer insp to blocked via move type 350

    QM Notification - Additional Functions in Action bar  - error in Insp to blocked (movement type 350)
    We are trying to implement the movement of goods from inspection to
    blocked stock through QM. We have added an item to the action bar and
    are using movement type 350.
    We have implemented several inventory transactions via the action  bar in Quality notifications.  All the transactions work except  this one.  We get the message "Must change Inspection Quantity  in QM system".  This is Movement type 350.  The Inspection to  Free (Movement type 321) works fine, as do Blocked to Inspection  (type 349) and Free to Inspection (320).
    Has anyone encountered and resolved this?

    Dear LudovicBento
    You cannot run this FM as QM stock can be  moved only by QA11 tcode. You may try to create a BDC to post the material
    from Quality
    Regards
    Gajesh

  • STO based delivery movement type determination

    Hi,
    I had a question.
    For deliveries created from sales order, the delivery item movement type is derived from the schedule line category definition. But for stock transfer order based delivery, there's no sales order created , then there's no schedule line category there.
    How does SAP determine the movement type in this case?
    Thanks.

    1. For replenishment delivery, the movement type is still determined from schedule line category.
    2. For every delivery item category, there is a corresponding sales item category with the same name.
    3. Tcode VOV5, you can find the corresponding schedule line categtory at the same.
    4. Tcode VOV6, you can then find the movement type in schedule line category. BTW: the filed "Movement Type 1-Step" is for one-step STO. Movement type in field  "Movement Type" is for two-step STO.
    5. In addition: for replenishment delivery, even though there is no sales order, the copy control is still defined from SO to delivery. The sales order type is the default order type in delivery type cusotmizing.

  • OLAP Variable with user exit for Infopackage Selection 0fiscper

    Hi Frds/ Guru's ,
                    I have a requirement to use a OLAP Variable for Fiscal year period 0fiscper(Characteristic ) in the Infopackage Selection. . I need to extract the data for Previous Year and Current Year , that is to be automatically selected with a OLAP Variable . The standard one's provided by SAP are not satisfying my requirement,as they are getting populated with SAP Exit and I am not getting the ranges .I am planning to create a variable and use the processing type as Customer Exit and Populate it with ABAP code in respective Enhancement RSR00001.
    Even Can I create a ABAP Routine ? Please suggest me which is better to do in respect to performance of dataload  , will be really glad if anyone can provide some code for doing this as u might have faced the situation sometime .
    I have checked with all the threads available , could get some idea but will be really thankful if u gimme some hints in writing the code , at Exit level and routine level .
    Thanks,
    Krish

    thnx

Maybe you are looking for