ABAP: SD user-exits - custom fields using from KNVV or VBAK

Hi all,
I have a technical question.
I've created some custom fields in table KNVV. The values of these custom fields have to be used during Sales Order creation/modification for determining materials or princing, in sales order user-exits.
My question is:
During the Sales Order creation/modification, in the userexits:
Is it preferable to get directly the values of the custom fields from KNVV?
OR
Is it preferable to transfer values of the custom fields from KNVV to VBAK (which was extended with the same custom fields like KNVV...) with transfer data, and then use only VBAK?
Thanks in advance for your answers.
Have a nice day!

Anderton,
I would prefer moving them to VBAK and then using it. Why?
1. Once you have queried KNVV and moved it to VBAK you do not have to perform the select again.
2. During SO change, you already have the data in VBAK so you do not have to fetch again from KNVV.
3. Lets say the Z field was changed on KNVV after creation of SO and if your requirement is to use the Z field content when the SO was created, you cannot go back to KNVV since the data is changed. But if the same was stored in VBAK, you do not have that problem.
Thanks,
Vikram.M

Similar Messages

  • QQMA0011 - Notification Task User Exit / Custom Fields - Dependencies

    Dear All
    Please refer to my initial question:
    http://scn.sap.com/message/15149603
    Jogeswara Rao Kavala had a very nice input on that question.Now the next question is about building relationships between the fields that are using this custom screen. Assume that I will have two fields:
    Field 1 = Type of the Data
    Possible entries which should be picked up from a pick list are - Equipment/Functional Location/Material etc.
    Field 2= Data value - In this field, depending on the selection from field 1, I would like to select an equipment, FL, or a material. Therefore the search helps must work accordingly. And the data entry check must work accordingly too.
    Is this possible? I know that similar cases was developed for the SAP Standard new Web Dynpro Applications. But I am not sure whether this is something doable by using a user-exit?
    Regards
    GA

    Hi Goraj,
    Except for Dynamic search helps, I feel your requirements can be easily met by ABAPers. (Coding the PBO and PAI modules). But this query in the present form might not have better responses . Some work has to go on this at your end and then in case of hurdles, ABAP forum can be consulted.
    (Even dynamic search helps also possible, but through expert coding).
    Regards
    Jogeswara Rao K

  • How to register User custom field using PHP?

    Hi!
    I am looking for a way to share user specific data between connected users. For example, all participants should know each other IDs(our own system IDs, not LCCS).
    User's custom fields looks the best solution for this, but I can't find a way to register one using PHP, while creating room.
    How to register User's  custom field using PHP? Or may be there are better solution to make such things?

    Got it, just need to add new node to UserManager collection.
    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
    const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
    static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • What User Exit can I use to add a cust field to PO Item overview in ME23n?

    Hi,
    I need help!
    Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    We are on release SAP ERP Central Component 5.0

    Hi,
    Thank you for the response.  I tried this and found  Badi ME_PROCESS_PO_CUST.  Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    Thank you for help - much appreciated,
    Vicki

  • User exits ,customer exits

    anybody tell me difference between userexits and customer exits.

    Hi,
    These r the main differences between user exits and customer exits
    1) user exits r subroutines where as customer exits r function modules
    2) user exits r not upgraded where as customer exits r will upgrade
    3) customer exits r used for creating and additional fields or menu items to stadard tcode where as user exits r used for enabling or disabling the fields on the standrd screen or concatenating the key fields,it is not used adding an additional componenats to stadard tcode
    4) customer exits r reusable where as user exits r not reusable.
    Also:
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    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
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    1. Previously there were only user-exits.
    2. Then came the concept of customer-exits.
    3. user exits were nothing but subroutines
    FORM/PERFORM
    called from standard programs.
    4. The FORM defintion was placed inside
    an empty include file.
    5. So It was called EVERYTIME.
    and we need to MODIFY/REPAIR the
    standard include .
    6. Then it came with concept of customer-exit
    7. It consists of calling a FUNCTION MODULE,
    which is called only if
    the user-exit is ACTIVATED (other wise not called)
    In this case, the code in put inside
    a pre-defined Z include.
    8. Functionality of both is same, howerver
    we can note the following important differences
    a) Customer exit is called only if activated.
    (hence, it does not waste resources)
    b) in customer exit, REPAIR does not happen
    to the standard include.
    Exits are basically the hooks whcih SAP has provided to add your own code.
    User Exits: These are provided only SD module .
    They are Empty subroutines with naming like USEREXIT_.
    We need to have Access key to implement them.
    Customer Exits: These are enhancement techniques.
    There are defined in SMOD and implemented in CMOD.
    Types of Customer exits: Function exit, Screen Exit, Menu exit.
    User Exit and Customer Exit are same ,but SAP Exit and Customer exit are different...
    Customer Exit,
    Enables you to determine values for variables by means of Functional Module exit.The function module used is EXIT_SAPLRRSO_001.
    Create a project in CMOD by selecting the SAP Enhancement RSR00001 and assign this to the enhanced proj and activate it.
    Customer Exit
    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. You find find more information about locating applications with pre-defined exits in Locating Applications that have Exits
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
    SAP EXIT:this processing type contained in variables that are delivered with SAP BW business content.
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
    User Exits: allow you to add additional functions to the SAP standard.
    Programs with user exits contain subroutine calls at certain points in their syntax that are identified by the prefix USEREXIT. The actual user exits are located in an include that has been assigned to a module pool. This is where customers can include any changes (enhancements) that they want to make to the system. These includes are always processed during program flow.
    Advantage: In principle, customers can modify anything they want that is found in the include (tables, structures, and so forth).
    Disadvantage: SAP cannot check the individual enhancements themselves which often leads to errors
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • How to find out FICO user exits that are used by User

    How to find out the FICO user exits that are used by user.

    Go to tcode CMOD. In the project field drop down your list there. Put a Z* there and run the list. These should be all the exits that are activated. Search for the ones that pertain to FI. You can also search by development class. You need a little ABAP knowledge to search easily. You get this by going to the tcode then to status then to the program then to the attributes. There you find the development class. Ie FBAS.
    pls assign points if helpful as a way to say thanks.

  • How to know where the user exits or enhancement used in standard sap code?

    Hi
    I m pretty new to abap.
    How can I know where the user exits or enhancement used in standard sap code?
    As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
    thanks in advance.
    Moderator message : Search for available information, thread locked.
    Edited by: Vinod Kumar on Oct 19, 2011 2:38 PM

    Hi Henry,
    I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
    If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
    PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
    PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
    PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
    Srinivas

  • User Exit to be used in Substitution

    Hello,
    We have recently got an requirement from one of the clients as they want to copy the material description to the GL text field (against Doc Type WA & WE) . I am able to find that this can be achieved by way of creating substitution, but I wander which user exit to be used for this purpose.
    Its been my experience that when ever a question of user exit arise I go blank as which user exit to be used, where will I get all this information with clear update motioning the purpose or use of each SAP delivered user exit.
    I have tried goggling it out but I was not able to find much use full  stuff. Please share your expertise.
    Thanks a ton in advance,
    Regards,
    Shilpa

    Hi Shilpa,
    there is no hard code rule to use the specific user exit for substitutions, attached screen shots will help you to resolve the issue.
    Step 1: Go to the t.code: OKC9, specify the controlling area and event 0001.
    Step 2 :  Create the substitution and select the step (attachment 1)
    Step 3: below mentioned screen shot specify the any existing user exit (naming conversion starts with U) by F4 option and double click on the particular exit
    Step 4: you can see the Report ZGGBS800, here you can create the user exit next free number starts with U naming conversion, once it's created the replace the existing user exit in the substitution rule.
    Hope this will help you to understand the user exit process in substitution rule.
    Note: Only substitution rules there is no hand code rule for user exit, for other transactions we need to check the SAP delivered exits.
    Make sure that substitution rule must be activated once exit created
    Thanks & Regards
    Srinu

  • What user exit should I use to...

    Hi everyone!
    I need to check if the due date or bline date of a posting to a GL line item is filled out, which user exit should I use?
    Btw, I cannot change FSG so it is not an option...
    Here is a list of FB01 user exits:
    Exit Name           Description
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbox: Do not Send IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Note Segmnt Texts
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic Correspondence
    SAPLF051            Workflow for FI (Pre-Capture, Release for Payment)
    Thanks a lot!

    hi Ricardo,
    I think you just have to set up a validation, you don't need an exit for that. You can do that in GGB0. On the other hand due date as field does not exist, so don't look for that
    hope this helps
    ec

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • Customize Approval Form to add custom fields using SharePoint Designer

    Hi,
    i have a created a Custom approval workflow using SharePoint Designer 2010. This is two steps approval WF, All i did put the variable "CancelonRejection" Value "Yes" and one Approval action with 2 different users as Serial. Right now
    Status, Requested by, Consolidated comments and comment fields are available on the approval form. Now i want to add some fields with radio buttons on Approval Form, so that 1st approver can select those radio/check box. Once 1st approver will approved this
    then display all the values on 2nd approver approval from or send email to 2nd approver along with all the information from 1st approver.
    Thanks in advanced!

    Hi,
    According to your post, my understanding is that you wanted to customize Approval Form to add custom fields using SharePoint Designer.
    In the SharePoint Designer, you can customize the task form.
    Here is a great article for your reference:
    Creating Custom Workflow Task Approval Forms with SharePoint Designer 2010
    However, every task can only have one task form.
    That is to say, the two approvors will have the same task form.
    As a workaround, I recommend to customzie the task form using InfoPath.
    You can create different view for the approvors.
    You need to add form load rules to swich views based on the approvors.
    More information:
    Using Multiple Views in Customized List Forms
    Add, delete, and switch views (pages) in a form - InfoPath
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • URGENT: user exit& customer exit

    hi every body,
                     pls let me know the difference between USER EXIT& CUSTOMER EXIT.and How& What Type of the TICKETS are received in realtime.is there any tool for receiving the tickets in SRM.
    Generally how many USERS are must for implementing the SRM project in real time.
    which implementation scenario is best for INDIA?&Why.
    i am requesting the GURUS please send me the detailed answers asap...............points will be rewarded soon.
    thanks
    warm regards
    rakhi

    Hi,
    For difference between USER EXIT& CUSTOMER EXIT,see this very good related thread:
    Re: user exit  vs customer exit
    BR,
    Disha.
    Do reward points for useful answers.

  • User exit to change shi-from address

    Hi Guys,
          Help me if you know an user exit for changing ship-from address while creating sale order.
    Thanks.

    Hi
    EXIT_SAPLV09A_001
    You can use this user exit to control whether an address that was entered manually and has already been used in other documents (referenced), should be referenced again if it changes or whether a new address should be created (duplicated).
    Hope this may help you
    Regards
    Srinath

  • Is there a user exit for Excel download from Web Template?

    Hi,
    Is there a user exit for Excel download from Web Template?
    Thanks,
    Frank

    Hi,
    I need to do some data manipulation before export to Excel.  I could use Table Interface to manipulate the data before rendering to the Web.
    Regards,
    Frank

Maybe you are looking for

  • Calculation in Webi Report

    Hi Experts , I want to show the result calculation of a Webi Report (derived from Bex query which uses %YT in CKF) . Since BO doesn't support %YT so I am creating the dynamic calculation in Webi : Scenario : Data in Report is like this : If in select

  • Site search will not work in Firefox but works with Chrome

    I run three websites. One is personal (www.rossolson.org) and two are for non-profit organizations (www.outpostministries.org and www.tccsa.tc). All have site search through Google, my own site is paid to be ad-free, the non profits are free and with

  • How to get data by using only file name in XI

    Dear All.        I have 2 senarios . How can I configure it in the Configuration? 1. get data from file name (xxx.txt) --> HTTP 2. convert data into text file            --> File Thak you in advance. Au

  • "any" vs "all" when filtering SMART COLLECTIONS

    Need help from the pros in this group. I've to teach a specific skill to some students tomorrow, and--I must admit--I'm a little lost. Can sometime provide detailed answers to me? I'd be much obliged. I need to know the distinction between filtering

  • Using DSP Module to control C6713 DSK

    Hi, I am doing an Automatic Noise Cancellation design, and am using the LabView DSP Module and downloading code to a TI C6713 DSK.  I need 1 microphone to measure ambient noise, and a 2nd microphone to measure my desired speech signal. I would like t