User exit sales realted

I have a requirement related to user Exit. I have done the changes and moved to Quality. Now the Problem is whatever I wrote code earlier, now they change the requirement same code instered into new Include program with in the User Exit. they sent SAP Access Key for that. If I am using the Access Key and willl changes the code in development. how we can move that into quality.
Can any one give suggestion.
Edited by: Jaya Ramesh Gowri Sankar on Feb 27, 2009 7:51 AM

Hi jaya,
First of all comment your earlier code.
then enter the Stndard program for sales (posibally MV45FZZ).
I think you know in which form you have to write your code.
Add a perform statement inside the form.
And write the Code inside it.
It will ask you to create a include inside the standard program.
write the code and transport to Quality.
Regards
Sandipan

Similar Messages

  • USER-EXIT - sales order, credit block

    Moderator message: moved to correct forum.  In future please use meaningful subject.
    my requiremnet is, Delivery for an sales order should be created even if it is a credit block i.e even the credit check is unsuccessful the order should be deliverd when we deliver the order from salesdocument->deliver.
    i need a user-exit for this to put this check.
    can ne one help me.
    regards,
    pavan,

    Hi,
    According to Std SAP if in case credit mgmt is activated system will check for credit limit for that customer before delivery.You will be trying to change the std scenario which is not advisable.
    However,
    Try user exit MV45AFZZ & in that
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    Also check other exits related to delivery & credit mgmt from
    SPRO->Sales & Distr-> System Modifications->User Exits
    and check out the documentation part next to each exit in that category.
    Regards,
    Amit

  • User exit: sales order  VA01: Customer number

    Hi friends,
    While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
    which should contain
    1)customer(sold-to -party?KNEX-KUNNR)
    2)partner function PARVW (VBPA-PARVW?)
    3)country LNDEX KNEX-LNDEX
    Functional spec says, 1)V45A0002
    2)V45A0003
    3)V45S0001
    4)V50EPROP User exits can be levaraged.
    1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
    2)V45A0003: i am able to fetch KUNNR, LNDEX(land1), and able to validate KNEX Fields.
    But I need to fetch partner function (PARVW), which exist in VBPA , KONP etc tables. But I am not able to write the query, which sould have all the primary keys of the table.
    Please help me the way.
    i) the above user exits can be used?if not, help me with user exit name.
    ii)if yes, how to fetch PARVW ..as all the primary keys must be used in the select query.
    Please help me ASAP.

    You can try with the form USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ (this program contains the userexits for SD).
    You can access work aread VBAK and internal tables XVBAP, XVBPA with latest data for that transaction.
    Regards,
    Naimesh Patel

  • User exit - sales order

    Hi Gurus,
    We need to have specific requirement while creating or changing a the sales order.
    In the sale order if the line items are BOM material, then the system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    We wanted to achieve this with the help of a User Exit, which will look at the confirmation qty of each line item and then changes confirmation qty of all the line items if there exist a difference.
    So wanted to which is the actual user exit which we can use to achieve above requirment.
    Regards,
    Babs

    system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    Is this means that you want to compare the quantity in the Sales Order with BOM Master.
    Else you can sue User Exit as MV45AFZZ.
    Best Regards,
    Ankur

  • User exit sales order change (VA02)

    Hi 
    For certain users , field shipping conditions  VSBED (Header)  needs to be  in display mode only in T-code Va02
    i am creating a security object and that will be assigned to those  user roles.
    I need user exit which can be used to trigger this change ( executing security object)
    Sri

    Hi Please check these
    Userexit
    SDTRM001                                Reschedule schedule lines without a new ATP check
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001                                SD Customer functions for resource-related billing
    V45W0001                                SD Service Management: Forward Contract Data to Item
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company code sales
    V45L0001                                SD component supplier processing (customer enhancements)
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)
    V45E0001                                Update the purchase order from the sales order
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool MV45A
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for product selection
    Business Add-in
    BADI_SD_SCH_GETWAGFZ             Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing

  • New include proram -user exit- sales order

    hi
    i have to create a new screen which has to be displayed as a pop up
    from the user exit "<u>userexit_save_document_prepare"</u> which is present in MV45AFZZ
    the processing logic for the screen should be written in include program which is to be included in the specified userexit.
    the include program which i created while syntax checking shows
    "include <u>prg-name</u> is not accesible".
    why this is occuring.
    Another question is whether can i write the modules for pbo,pai and the subroutines i.e form & end-form all in the include program which iam creating.
    It is showing incorrect nesting. write end-form for the form before moduele.
    whether i have to write PBO,PAI,subroutines in independent include programs.
    Please give reply ASAP.

    in that case then
    call like this
    perform check (in program).
    <b>what i am thinking is THIS program in Update Mode may be bcos of that.</b>
    Regards
    prabhu
    Message was edited by:
            Prabhu Peram

  • Free Goods Problem and User Exit if needed in Sales Order

    Hello All,
    The problem is related to Free Goods in Sales Order which is given with an example -
    We have maintained Free Goods ( T Code - VBN1) in inclusive scenario which is as follows -
    For 210 PAC (Pack) of Material A 18 PAC Free.
    Where 1 PAC = 20 BT (Bottle) and 20 PAC = 1 CV (Case Pack)
    In the material master of Material A the Base Unit Of Measurement (UOM) = PAC and Sales UOM = Blank so that we can use any conversion factor maintained for the material.
    The conversion factors maintained for Material A are as follows -
    1 BT = 1BT
    1 PAC = 20 BT
    1 CV = 20 PAC
    Now when we are raising sales order for 11 CV the free goods are not generated in the Sale Order.
    Again if we maintain the Sales UOM in CV and raise the sales order it is showing :
    10 CV as main item and 1 CV as Free which is wrong because in the conversion factor we have already maintained 1CV = 20 PAC , Whereas in the inclusive scenario it is given 11CV = 210 PAC and 210 PAC = 18 PAC is free.So in any case it is taking into account 2 more PACs.
    Please suggest what need to be done in this case in respect of User Exit or Source Code in ABAP if needed.
    Thanks & Regards
    Priyanka Mitra

    Hello Priyanka Mitra,
    We are facing a problem same as you.
    How did you solve this problem?
    We are very glad if you teach it concretely.
    Please advise your solution to us.
    Thanks.

  • What are the user-exits which will trigger on saving Sales Order

    Hello Experts!!!
    I am working on Sales Order VA01. The requirement is I need to pre populate Sold-to-Party field. I find out user-exit (V45A0002  Predefine sold-to party in sales document  ). So it is working fine.
    Now second requirement is I need to capture all the date once user saves Sales Order. Also the time or Sales Order creation I have to make u2018GRAYu2019 some of the fields so user cannot change the value. Can anybody tell me which user-exits should I use to retrieve the entire information user entered and lock fields in Sales Order screen?
    Thanks a lot on advance.

    Hi
    U can't find it there,because it's a include, not enanchement.
    So u need to use the trx SE38, not CMOD.
    For sales ored there aren't the enanchements, but only some FORMs defined in particular includes.
    U need to get the access key by OSS in order to change them.
    These are the rest of the includes where u can find other exits:
           INCLUDE MV45ATZZ.            " Data definitions in MV45ATOP
             INCLUDE MV45AOZZ.             " User-modules PBO
             INCLUDE MV45AIZZ.             " User-modules PAI
             INCLUDE MV45AFZA.             " User-forms < 3.0
             INCLUDE MV45AFZB.             " User-forms
             INCLUDE MV45AFZC.             " User-forms < 3.0D
             INCLUDE MV45AFZD.             " User-forms   3.0E
             INCLUDE MV45AFZF.             " User-forms   3.0F
           include mv45afzg.             " User-forms   3.1G
             INCLUDE MV45AFZH.             " User-forms   4.6B
             INCLUDE MV45AFZZ.             " User-forms
             INCLUDE MV45AFZ4.             " User-forms   4.0
    Anyway u can find some information about these exit in customizing (trx SPRO):
    Sales and Distributions->System modifications->User exits
    Max

  • Name of the structure needed for sales order user exit

    Hi,
    I am planning to write a user exit which will insert the data into my ztable the moment the new sales order is created and is saved.
    I have identified FORM USEREXIT_SAVE_DOCUMENT as the necessary user exit. But the problem is that while inserting the data into the ztable I cannot insert the data from vbak as the data will be inserted into this table after the SO is saved.
    Thus I need to identify a structure which is used to populate the vbak table so that it simultaneously inserts the data in the ztable as well. Can anyone help me with the name of the structure so that these fields i.e. vbeln, vkorg, vtweg, spart are inserted into my ztable?
    Also need to know how to convert the net value i.e. vbak-netwr in Indian Rupees as it gets stored as Dollars ....
    Thanks,
    Vinod.

    Hi,
    One of the structure being used is RV45A, there are several other str's being used as well for various calculations,
    check out program SAPMV45A for the same.
    & in order to convert vbak-netwr to rupees use the below statemetnt,
    WRITE vbak-netwr TO zvbak-netwr CURRENCY INR.
    Regards,
    Raghavendra
    Message was edited by:
            raghavendra ay

  • User exit for sales order-Urgent

    How  Developed a User Exit, which will be triggered when a Sales Order is changed manually. This user exit will check the requested delivery date and update VBKD-BSARK field.
    Pls help me how to do it....
    Pts will be rewarded.....

    Hi,
    The following exits trigger during VA01 creation:
    EXIT_SAPMV45A_002 and
    EXIT_SAPMV45A_003
    Check this include MV45AFZZ also.
    Regards,
    Satish

  • User exit for sales order creation VA01.

    Hi friends,
    While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR  KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
    which should contain
    1)customer(sold-to -party?KNEX-KUNNR)
    2)partner function PARVW  (VBPA-PARVW?)
    3)country LNDEX KNEX-LNDEX
    Functional spec says, 1)V45A0002
                                  2)V45A0003
                                  3)V45S0001
                                  4)V50EPROP User exits can be levaraged.
    1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
    remaining i tried, but I am not able to get the proper PARVW, LNDEX from function module parameters / structures like VBAP/VBPA etc.
    Please help me the way.
    i) the above user exits can be used?if not, help me with user exit name.
    ii)if yes, how to fetch PARVW  , LNDEX, KUNNR...as all the primary keys must be used in the selection query.
    Please help me ASAP.

    Hi,
    Use this enhancement V45A0002.
    Reward points if it helps,
    Satish

  • User Exit or BADI on saving of Sales order cost estimate (CK51N)

    Hi,
    Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
    Regards,
    Bijay

    Hi
    Check the link
    Need Enhancement Spot or BADI for transaction ck51n
    Regards
    Sanil

  • To populate condition in the sale order or a scenario in the USER Exit

    Hi Experts,
    I want to write the code in the USER EXIT to add a condition type in the Sale order when the ship-to-party address is changed in the transaction level from the address maintained in the Master data,
    So can anyone let me know is there any function module or how will i populate condition type.
    I found that the internal table XKOMV contains all the condition types.
    Thanks,
    Prem

    i saw the answer provided by u, i was pleased to find the answered way, so i writing back to u regarding my requirements.
    my requirement.
    while creating sale order, before entering the screen 4001 where we enter sold to party and material and order quantity, i need to populate these fields from my exit.
    i am able to populate the sold to party field from the exist  EXIT_SAPMV45A_002 and
    INCLUDE ZXVVAU04 .
    in the same fashion i need to populate my material filed.
    how do i do it

  • User exit for Dlvy Block at header for sales order for Companycode & materl

    Hi all,
    I have a requirement. I need to apply a Delivery Block for all sales orders which fall
    In a particualr company code "999" and if they have any configurable material in the item level.
    When a Sales Order is generated, during the process of generation, I should
    Write a loigc such that, if the sales orders fall in a particlar company code
    Say for '999' and if they have a configurable material at item level,
    I have to trigger an ABAP Proxy that goes and fetches a Yes/No value from an
    External system. Based on this Flag value I h ave to then apply a delivery block for
    The order at header level.
    So I assume, I should put a logic in some user exit that gets triggered before order is saved.
    And in that user exit I have to check if the Company Code of that order is '999' and if it  has
    Configurable product or not. If it satisfies the 2 conditions, I should, trigger this ABAP Proxy and
    Based on the true/False value I have to set Delivery Block or do not set delivery block for the order
    At header level.
    So I think first I should figure  out following things.
    1) user exit ..where I should put the code to check conditions and to apply delivery block.
    2) write a proxy and trigger that proxy in this user exit.
    Coming to first part, which user exit should I use to set delivery block for the order
    At header level. And how will I check for company code and config product?
    Which variables of the SAP stnd pgm store Company Code and Config product values so that
    I can check those variables for that values?
    Please suggest and help me with this.
    Any help will be highly appreciated.
    Regards,
    Sam

    1)go to the main program sapmv45a
    include MV45AFZZ ->userexit_move_field_to_vbak
    depending on ur conditions ...
    keep a break-point in the form userexit_move_field_to_vbak ,and if it stops there Check for vbak-lifsk .
    Write a condition to set the deliveryblock that is vbak-lifsk = 'xx'.
    2)then regarding your second point ...what is the middle ware used to interact with legacy system
    let me know

  • User exit for sales order - schedule lines

    Hi all,
    I have requirement in SO, that user has not to change the scheduled lines date and quantity in va01, va02.
    I could find FV45EFZ1 as the include program for this and the value of CH_SUBRC should set to > 0.
    But i put break point here and the control wont come to the line. Anyone can help me to find the correct user exit ?
    Thanks and regards
    Jijo

    hii
    Exit Name Description
    SDTRM001 Reschedule schedule lines without a new ATP check
    V45A0001 Determine alternative materials for product selection
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    put a break point int he user exit and check.
    hope , this will solve ur problem.
    Regards,
    sabarinathan.L

Maybe you are looking for