Doubt In VA01 User Exit........

Hi,
        we are using <b>sap4.7.</b> In VA01 ( sales Order ) we have a tab called <b>additional data B</b>. where we can write our own user exit coding.
         my doubt is where can i find <b>user exit</b> <b>enhancement</b>. i tried in <b>smod t.code</b> but i am not able to find. can any one tell me the enhancement name if you already done.
thank you,
Regards,
Saravanan.

Check out this documentation.....
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
Under user exits>user exits in sales>user exits in sales document processing
Regards,
Rich Heilman

Similar Messages

  • Use CREATE_TEXT on VA01 user exits

    Hi,
    I need to write item text using FM CREATE_TEXT in VA01 user exits. The FM required VBELN and I don't have when creating order.
    How can I create item text in VA01 user exits ?
    Thanks,
    Quincy

    Hi,
    i have a similar requirement where i need to copy custom populated fields of vbap table into item->text->item notes tab.
    i tried with both create_text and save_text. but i couldn't see the item in the item->texts->item notes.
    here is my code:
    CONCATENATE vbap-zzrelid vbap-zzsorg2 vbap-zzsorg3
                  vbap-zzsorg4 vbap-zzsorg5 vbap-zzsorg6
                  vbap-zzsorg7 vbap-zzsorg8 vbap-zzsorg9
                  vbap-zzsorg10 INTO gt_textname.
      gt_textobject-tdid  = c_0002.
      gt_textobject-tdname     = gt_textname.
    gt_textobject-tdobject   = c_vbbp.
      gt_textobject-tdspras    = sy-langu.
      APPEND gt_textobject.
      CONCATENATE 'relationship Owner:' vbap-zzrelid INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 2 :' vbap-zzsorg2 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 3 :' vbap-zzsorg3 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 4 :' vbap-zzsorg4 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 5 :' vbap-zzsorg5 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 6 :' vbap-zzsorg6 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 7 :' vbap-zzsorg7 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 8 :' vbap-zzsorg8 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 9 :' vbap-zzsorg9 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
      CONCATENATE 'sales org 10 :' vbap-zzsorg10 INTO gt_text-tdline
      SEPARATED BY space.
      APPEND gt_text.
    CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            header          = gt_textobject
            savemode_direct = 'X'
          TABLES
            lines    = gt_text
          EXCEPTIONS
            id       = 1
            language = 2
            name     = 3
            object   = 4
            OTHERS   = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    kindly resolve the problem with the above code.
    Thanks,
    Preethi.

  • VA01 user-exit to modify net price of line item...

    Hello Experts,
    Is there a user-exit to modify the net price value of a line item upon 'ENTERING' in
    VA01 transaction?
    Hope you can help me guys. Thank you and take care!

    Hi,
    The user exits and badis for va01 tcode:
    Enhancement/ Business Add-in Description
    Enhancement
    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 articles for product selection
    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
    RP-relevance for incomplete configuration
    V45S0001
    Update sales document from configuration
    V45P0001
    SD customer function for cross-company code sales
    Business Add-in
    BADI_SD_SCH_GETWAGFZ
    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001
    SD Customer functions for resource-related billing
    Pls. reward if useful...

  • Doubt in Idoc user exit..............

    Hi All,
               i have written the user exit for Sales Order subscreen tab called <b>additional data2</b> , this tab is provided by sap for developer can write their own user exit coding.
               my doubt is whenever PO comes as an <b>Inbound IDOC i need to pass the value from</b> <b>segment to my user exit fields</b>.
               <b>where can i find the inbound idoc user exit for SO .</b>
                Thanks in advance,
    Regards,
    Saravanan.

    Look at enhancement VEDA0001. It has got quite a few user exits you can use. You will also need to enhance the IDOC for the additional fields you have added on your screen.
    Cheers,
    Sanjeev

  • VA01 user exit at line item with partner address

    I need a user exit for VA01 that is at the line item level.  The catch is I also need access to the partner address data.  I have found userexit_pricing_prepare_tkomk (include MV45AFZZ) but that doesn't give you the "instance" address information (the address data that is specific to that order, after being changed).  It only gives you the address number for the partner's default address.
    Does anybody know if such an exit exists?
    Regards,
    Aaron

    Hi Aaron,
    I had a similar requirement Long back & This was my code I written. Hope this helps you.
    *  Extract and Update field for partner-id - Goods Supplying vendor
      CLEAR TKOMK-Y_GSVN.
      PERFORM XVBPA_LESEN(SAPFV45K) USING 'WL'  VBAP-POSNR SY-TABIX.
      IF XVBPA-UPDKZ <> 'D'.
        TKOMK-Y_GSVN = XVBPA-LIFNR.
      ENDIF.
      PERFORM XVBPA_LESEN(SAPFV45K) USING 'ZP'  VBAP-POSNR SY-TABIX.
      IF XVBPA-UPDKZ <> 'D'.
        TKOMK-BSART = 'ZIN'.
        SELECT SINGLE LAND1 FROM LFA1 INTO TKOMK-Y_COMM_CTY  WHERE LIFNR = XVBPA-LIFNR.
      ENDIF.
    FORM XVBPA_LESEN USING US_PARVW US_POSNR US_TABIX.
    DATA: DA_VBADR   TYPE   VBADR.
    DATA: DA_VBPA    LIKE   XVBPA.
    CLEAR DA_VBPA.
    READ TABLE XVBPA INDEX 1 INTO DA_VBPA TRANSPORTING VBELN.
    XVBPAKEY-MANDT = VBAK-MANDT.
    XVBPAKEY-VBELN = DA_VBPA-VBELN.
    XVBPAKEY-PARVW = US_PARVW.
    XVBPAKEY-POSNR = US_POSNR.
    READ TABLE XVBPA WITH KEY XVBPAKEY.
    IF SY-SUBRC > 0.
       XVBPAKEY-POSNR = POSNR_LOW.
       READ TABLE XVBPA WITH KEY XVBPAKEY.
    ENDIF.
    IF SY-SUBRC > 0.
      CLEAR XVBPA.
      IF  US_PARVW = 'WE'.
        CLEAR KUWEV.
      ENDIF.
      IF  US_PARVW = 'RG'.
        CLEAR KURGV.
      ENDIF.
    ENDIF.
    US_TABIX = SY-TABIX.
    * CAM is not activated
    IF ZAV_FLAG IS INITIAL.
      IF NOT XVBPA-ADRNR IS INITIAL.
        CLEAR XVBADR.
        XVBADR-ADRNR = XVBPA-ADRNR.
        READ TABLE XVBADR.
        IF SY-SUBRC > 0.
          CLEAR XVBADR.
        ENDIF.
      ENDIF.
    * CAM is activated
      ELSE.
    *if there is an address
        IF NOT XVBPA-ADRNR IS INITIAL.
    *clear address data
          CLEAR XVBADR.
    *try to read address in internal table XVBADR
          READ TABLE XVBADR WITH KEY ADRNR = XVBPA-ADRNR  ADRNP = XVBPA-ADRNP.
    *if address is not in internal table XVBADR
          IF SY-SUBRC NE 0.
    *read address in CAM tables
       CALL FUNCTION 'SD_ADDRESS_GET'
          EXPORTING
            FIF_ADDRESS_NUMBER    = XVBPA-ADRNR
            FIF_PERSONAL_NUMBER   = XVBPA-ADRNP
            FIF_ADDRESS_INDICATOR = XVBPA-ADRDA
          IMPORTING
            FES_ADDRESS           = DA_VBADR
          EXCEPTIONS
            OTHERS                = 4.
            IF SY-SUBRC EQ 0.
              MOVE-CORRESPONDING DA_VBADR TO XVBADR.
              APPEND XVBADR.
            ELSE.
              CLEAR XVBADR.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.
    Thanks & Regards,
    Dileep .C

  • Calling a screen in VA01 user exits

    hi friends,
    based on certain condition i neet to call custom module pool program from SD user exits in VA01.
    Please suggest.. Pop up with values as in table control will also be OK..
    thanks

    Hi,
    You need to create a custom module pool and call its screen on a suitable place. It is not clear what exactly is your problem.
    There are more possibilities:
    1.) You do not know how to create a module-pool
    2.) You do not know how to call its screen in popup
    3.) You do not know where to place your code for calling your screen
    Solutions:
    1.) Check chapter Dialog Programs: Overview in [BC - ABAP Programming|http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCABA/BCABA.pdf]
    2.) Check chapter Calling Modal Dialog Boxes in [BC - ABAP Programming|http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCABA/BCABA.pdf]
    3.) Look at subroutines in include MV45AFZZ and find the one that You are looking for. You can also check [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    If You need something more, be more specific.
    Regards,
    Adrian

  • VA01 User exit

    Hi
    I have requirement to load values from a certain custom table into Sales Order Header & item data additional screens when I create the order by reference to quotation...
    So for this reason I need to find a User Exit or BADI which will trigger before I enter into VA01 screen or after I click the create with reference button...
    I was able to find the BADI BADI_SD_SALES_ITEM but it cannot modify the fields of VBAP
    Please help me find the user exit which can modify the fields of VBAK and VBAP...

    Grame,
    than you can use Include(Exit)MV45AFZZ and form
    FORM USEREXIT_MOVE_FIELD_TO_VBAK      
    and
    FORM USEREXIT_MOVE_FIELD_TO_VBAP
    code should be like in above perform:
    vbak-zzfield = xxxx-zzfield2.
    VBAP-zzfield = xxxx-zzfield2.
    Amit.

  • VA01 user-exit for external price

    I have a little bit hard question,
    I want to know if anybody have already do thing like that :
    We need to find a user-exit to the VA01, VA02,  for each time I press enter to a line. This user-exit will call a RFC function to an other system to get the price of the material number.
    After getting the price, the user-exit must modify the price of the item.
    Any help will be welcome
    Frédéric

    Hi Wolfgang,
    No I can't, in fact, the price depend of the number of items, the kind of item, the customer, the vendor ....
    So, I really need each time, that this kind of order will be created to send all the informations to an external system, and get back the price.
    I'm agree with you with the disastrous time that will cost. But, I have not really the choice.
    And the more funy, after this, I need to modify a purchase order with special price too
    A friend from SAP, advice me to do this in background job. But, I think, I will need to answer before to my customer and boss, that's possible ...  but cost too much time.
    My question, for the moment, is : Is it possible to modify the price of all the items of an order, in an user-exit/badi, when I save my order ?

  • About VA01 user exit(exigence)

    now,i have a requirement,when i created a sale order,saved,then dap one report that it show this order list,i have test all user exit for va01,but it can't achieve.can anyone tell me how can i do,thank you very much.

    HI
    GOOD
    GO THROUGH THE FOLLOWING USER EXITS.
    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
    THANKS
    MRUTYUN

  • Doubts in abap user exit and coustomer exit

    Hi every bady,
    Any one knows the different between user exit and coustomer exit please answer my question
    with regards,
    Sentha

    Hi,
    Difference between user exits & customer exits:
    User exit - A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP.   XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user.  XX represents the 2-digit exit number
    Customer exit - The R/3 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 R/3 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.
    The following links are also useful:
    User Exit Vs Customer Exit
    coding in user exit in program rffous_t
    User exits
    User Exits
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    Check the following links.
    For customer exits
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1975d943b111d1896f0000e8322d00/frameset.htm
    Difference b/w BADI and user exits
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    User Exits
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Regards,
    Rakesh

  • Doubt in MIGO user exit

    Hi all,
    my requirement is "whenever the user is performing the MIGO transaction and presses the post button,i have to populate all the values what ever the user is entering along with the MBLNR (material document number) field and also to populate somemore fields from 2 ztables and post it into IDOCs".
    For this i have found the userexit which is MBCF0002.
    Im getting all the fields values, what ever the user is entering but for the MBLNR (material document number) field its blank. The reason for this is , only after the successful movement of the material MBLNR field will be generated.
    so ,
    To be Reward all helpfull answers.
    Regards.
    Jay

    Hi,
    You need to use a user exit which is getting triggered only after material document no has been generated. You may use   INCLUDE ZXMBCU01 of EXIT_SAPLMBMB_001. Please note that this exit is getting executed whenever a material document is generated by the system. Hence you need to check your specific tran code+reason code. Please also note that if at all you need to debug this exit, just put /h in command box just before pressing post & then settings---->update debugging shystem should give you the message update debugging has been switched on. You need to ensure this since it's a toggle.
    I hope this helps,
    Regrads
    Raju Chitale

  • VA01 user exit , update value

    hi..
    I need to copy a value in header to, item level, that is after highlighting the lineitem goto --> item --> more functions --> additional data A --> Material Grp 4
    this should occur at the sales order creation stage..
    I tried in USEREXIT_SAVE_DOCUMENT the following but this doesn't seem to work.. Any ideas pls ? thanks
    loop at xvbap.
    xvbap-mvgr4 = vbak-j_3akvgr7.
    modify xvbap.
    endloop.

    Hi,
    U'll get all user exits in MV45AFZZ.
    try USEREXIT_FIELD_MODIFICATION .
    I've used it to modify some fields & its working.

  • VA01 user exit to manually insert condition record for sales order

    Hello Experts,
    I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
    Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
    Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
    Thanks in anticipation.
    Vipul

    Hi,
    What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX'  & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
    I hope this helps,
    Regards
    Raju Chitale

  • Urgent help in va01 user exit

    va01
    userexit_check_vbap.
    an idoc is coming from edi .
    i need to read idoc and depending on condition of field value which is in idoc .
    i need to pass a error log to some transation
    how to read a idoc which is coming form edi
    any sample code is help full

    Hi Vijay,
    There are a number of options depending upon your requirement but these are the things I would try (I don't have access to a system with inbound orders so cannot give conclusive answer).
    1. Use userexits in inbound processing FM to transfer data to the application. In your case this will be IDOC_INPUT_ORDERS and CMOD exit VEDA0001 (FM EXIT_SAPLVEDA_011).  This exit is called prior to to the BDC and contains all the data from the IDOC and the IDOC number.  You could pass this data in a number of ways:
    - import/export to memory
    - use a common function group for all processing - place data into function group memory during EXIT_SAPLVEDA_011 and retrieve back in the sales userexits
    2. The same processing FM IDOC_INPUT_ORDERS exports a flag to memory so you can detect in the sales userexits (da_edi_sign value SDEDI - see include LVEDAF01) - this will be useful for separating IDOC processing to other processing modes
    3. Again using the userexit and the idoc number pass these to the application as in (1).  You should then be able to call the IDOC function modules to read the IDOC content back (with something like FM IDOC_READ_COMPLETELY).  Use this method if the data in the IDOC that you require is not parsed into the sales order tables
    Hope this helps.
    Thanks,
    Pete

  • VA01 - User Exit mv45afzz

    Dear All
    I have crated one validation for VBAK-VKBUR  (Sales office) field in VA01.  - MV45aFZZ
    In  FORM USEREXIT_FIELD_MODIFICATION.  section, I put the validation. 
    On error message, it come out of the session, 
    However, i want to stay in the same session and focus on filed VKBUR.
    my code as
          if <Conditon>
            MESSAGE 'error message here..!' TYPE 'E' DISPLAY LIKE 'S'.
          endif.
    I want the error message and control should stay on the same session.
    Your input will be helpful to me
    Regards,
    Venkat

    Hi,
    You can try as below.
         if <Conditon>
            MESSAGE 'error message here..!' TYPE 'S' DISPLAY LIKE 'E'.
          endif.
    Regards
    Gangadhar

Maybe you are looking for

  • While creating InitialContext I have got error that server was not found...

    Hello. On the server console I'v seen next message: java.util.EmptyStackException      at weblogic.utils.collections.Stack.pop(Stack.java:72)      at weblogic.rjvm.InboundMsgAbbrev.getAbbrev(InboundMsgAbbrev.java:85)      at weblogic.rjvm.MsgAbbrevIn

  • Stock lying in Quality from LQUA

    Hi All,    How  do  i determine the  Stock lying in Quality/Returns/Blocked from LQUA  ....? I mean among  the below set of fields  which can give me Q- stock , Blocked , return stock etc (for WM) LQUA-BESTQ  = space   available stock Q     Stock in

  • Is 17" too heavy/large for an MBA student?

    I will enroll in a business school this year and would like to buy a MBP 15" or 17" for that purpose. My desktop is a 17" lcd, and i feel comfortable about that size, but am worrying about the weight and size of a 17" MBP. any users out there? Will t

  • Novell Client / IPSec Tunnel

    Hi! My organiztion has office and central site inter connected through IPSec VPN using two ISR 1841. On our central site we have Novell server. At our office we have client PC witch Novell client v 4.91. When client copy file to Novell server through

  • Can we Maintain two Cost Center Hierarchies in one Controlling Area

    Dear All, My client established a 2nd plant and he wants seperate Cost Center Hierarchy, cost center groups and cost centers for that 2nd Plant. Can we maintain two cost center hierarchies in one controlling area. Please suggest me steps related to t