Skip to Content
avatar image
Former Member

User Exit in VA03

Hi,

I need throw an error when company code of the sale org <> company code of the internal order number entered by the user. Also an error at line item level, if company code of the sale org <> company code of the plant entered by the user

Please can someone help me with the userexit or any other solution.

Thanks

Radhika

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 10, 2007 at 02:18 PM

    VA03 is a DISPLAY t-code. User can not enter info using this t-code.

    Do you mean VA02?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 05:36 PM

    Hi

    Use the include program MV45AFZZ of the sales order for writing this user exits

    take the company code from the VBAK-BUKRS and take the AUFNR order number from this VBAK and WERKS Plant from VBAP and find the related comp[anycode from the config tables like T001K etc and write the code in the program at the header table level i.e in the form Move fields to VBAK table

    keep a break point and create the sales order using VA01 and check the code

    Regards

    Anji

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2007 at 02:56 AM

    Hi Radhika,

    I think you need to work on VA02 and not VA03

    Transaction Code - VA03 Display Sales Order

    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

    No of Exits: 15

    Transaction Code - VA02 Change Sales Order

    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

    No of Exits: 15

    USER EXIT

    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

    http://www.sap-img.com/ab038.htm

    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm

    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

    http://www.sap-img.com/abap/what-is-user-exits.htm

    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html

    Rewards if useful.........

    Minal

    Add comment
    10|10000 characters needed characters exceeded