Beruflich Dokumente
Kultur Dokumente
com/category/abap/)
Transactions VA01, VA02 and VA03 are used to create, change and display sales order respectively.
Everything you need to know about sales order transaction VA01/VA02/VA03 is here. Well not everything,
but this blog gives you all enhancement options available.
Screen exit
/
4309 4.0: Subscreen: Header – Additional data A
PBO and PAI module of these screens are defined in user modifiable include, so correspoding code can
written there.
Apart from above mentioned user-exit there many form exits define in program where you can put custom
code. These form exits are well documented in in program SAPMV45A with sample code. To see these
form exits open program SAPMV45A in SE80 and expand ‘subroutine’ node of tree. All form starting with
USEREXIT can be used to write custom code. Some of the commonly used are
USEREXIT_AVAIL_CHECK_CREDIT
USEREXIT_CHECK_VBAK
USEREXIT_CHECK_VBAP
USEREXIT_CHECK_VBEP
USEREXIT_CHECK_VBKD
USEREXIT_CUST_MATERIAL_READ
USEREXIT_NEW_PRICING_VBAP
USEREXIT_NEW_PRICING_VBKD
USEREXIT_NUMBER_RANGE
USEREXIT_READ_DOCUMENT
USEREXIT_REFRESH_DOCUMENT
USEREXIT_SAVE_DOCUMENT
USEREXIT_SAVE_DOCUMENT_PREPARE
Most of the enhacement in VA01/VA02/VA03 are done using these form exits.
Roughly using below step you can modify these transaction to include new input field.
1. First include the new field in table VBAK or VBAP, depending on what level to want to add the input.
VBAK is sales order header data and VBAP is sales order item data.
2. Modify the screen exit to include you field.
3. Implement PBO modules to enable disable fields based on transaction VA01, VA02 and VA03.
4. Write code in PAI module or form-exit (depending on the requirement) to validate the input and give
error message.
Share this:
(https://www.samplecodeabap.com/sales-order-transactions-va01va02va03/?share=facebook&nb=1)
(https://www.samplecodeabap.com/sales-order-transactions-va01va02va03/?share=twitter&nb=1)
(https://www.samplecodeabap.com/sales-order-transactions-va01va02va03/?share=linkedin&nb=1)
Related
Duplicate Sales Order Check Number Range Enhancement SFTP from SAP using
(https://www.samplecodeab… for Sales Order, Billing, Winscp Client
sales-order-check/) Delivery and Shipment (https://www.samplecodeab…
(https://www.samplecodeab… sap-ecc-abap/)
April 16, 2014 range-sales-billing-delivery-
In "ABAP" shipment-enhancement- April 6, 2014
exits/) In "ABAP"
/
April 8, 2014
In "ABAP"
Leave a Reply
Subscribe
/
Top Posts & Pages
SAP Range Table (https://www.samplecodeabap.com/sap-range-table-example-abap/)
How to Implement Value Help using Smartfield and Odata Annotation
(https://www.samplecodeabap.com/value-help-smartfield-odata-annotation/)
Screen Size and Setting to display ALV Grid Fullscreen
(https://www.samplecodeabap.com/screen-size-display-alv-grid-fullscreen-sap-abap/)
Sales Order transactions VA01/VA02/VA03 (https://www.samplecodeabap.com/sales-order-
transactions-va01va02va03/)
Enhanced Table Maintenance with Automatic Change Recording
(https://www.samplecodeabap.com/table-maintenance-automatic-change-recording/)
Recent Posts
Workflow: Making User Decision Task fit for consumption in My Inbox
(https://www.samplecodeabap.com/workflow-making-user-decision-task-fit-for-consumption-
in-my-inbox/)
S4 HANA Output Management – Master Form Layout (Contd)
(https://www.samplecodeabap.com/s4-hana-output-management-master-form-layout-contd/)
S4 HANA Output Management – Introduction, Master Form Layout Edit and Setup
(https://www.samplecodeabap.com/s4-hana-output-management-introduction-master-form-
layout-setup/)
How to Transport S/4 Extensions (https://www.samplecodeabap.com/how-to-transport-s-4-
extensions/)
My Inbox: Auto Approve Workflow Task (https://www.samplecodeabap.com/my-inbox-auto-
approve-workflow-task/)
/
Recent Comments
Davi on Send ALV Report Output as CSV Email Attachement
(https://www.samplecodeabap.com/alv-report-output-email-sap-abap/#comment-1510)
Daniele on S4 HANA Output Management – Master Form Layout (Contd)
(https://www.samplecodeabap.com/s4-hana-output-management-master-form-layout-
contd/#comment-1507)
Daniele on S4 HANA Output Management – Introduction, Master Form Layout Edit and
Setup (https://www.samplecodeabap.com/s4-hana-output-management-introduction-master-
form-layout-setup/#comment-1506)
Michael Smith on How to Implement Value Help using Smartfield and Odata Annotation
(https://www.samplecodeabap.com/value-help-smartfield-odata-annotation/#comment-1505)
Ken on Dynamic Programming – Reference Variables
(https://www.samplecodeabap.com/dynamic-programming-reference-variables/#comment-
1504)
Copyright
(http://creativecommons.org/licenses/by/4.0/)
This work is licensed under a Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).
This means you are free to copy, distribute, or transmit any of this blog’s content. However, you must attribute the content to me in
some easily identifiable way (preferably with a link back to the post from which the content originated).
The statements and opinions expressed within this blog site are mine and not of any of my employer.
/
Tags
abap oo (https://www.samplecodeabap.com/tag/abap-oo/) ACT
(https://www.samplecodeabap.com/tag/act/) adobe (https://www.samplecodeabap.com/tag/adobe/) alv
(https://www.samplecodeabap.com/tag/alv/) annotation
(https://www.samplecodeabap.com/tag/annotation/) bdc (https://www.samplecodeabap.com/tag/bdc/) call transaction
code
(https://www.samplecodeabap.com/tag/call-transaction/) class (https://www.samplecodeabap.com/tag/class/)
library (https://www.samplecodeabap.com/tag/code-
library/) customising (https://www.samplecodeabap.com/tag/customising/) debug
(https://www.samplecodeabap.com/tag/debug/) device type (https://www.samplecodeabap.com/tag/device-type/) dictionary
(https://www.samplecodeabap.com/tag/dictionary/) dynamic programming
(https://www.samplecodeabap.com/tag/dynamic-programming/) EDI
(https://www.samplecodeabap.com/tag/edi/) email (https://www.samplecodeabap.com/tag/email/)
enhancement (https://www.samplecodeabap.com/tag/enhancement/)
external call (https://www.samplecodeabap.com/tag/external-call/) field symbols (https://www.samplecodeabap.com/tag/field-symbols/)
FPM (https://www.samplecodeabap.com/tag/fpm/) function module
(https://www.samplecodeabap.com/tag/function-module/) hp printer (https://www.samplecodeabap.com/tag/hp-printer/) implicit
enhancement (https://www.samplecodeabap.com/tag/implicit-enhancement/) interface
(https://www.samplecodeabap.com/tag/interface/) lxdck (https://www.samplecodeabap.com/tag/lxdck/) module pool
(https://www.samplecodeabap.com/tag/module-pool/) number range
(https://www.samplecodeabap.com/tag/number-range/) output control (https://www.samplecodeabap.com/tag/output-
control/) ovs (https://www.samplecodeabap.com/tag/ovs/) performance (https://www.samplecodeabap.com/tag/performance/)
report (https://www.samplecodeabap.com/tag/report/) s4hana
(https://www.samplecodeabap.com/tag/s4hana/) SAP HR (https://www.samplecodeabap.com/tag/sap-hr/) sap
note (https://www.samplecodeabap.com/tag/sap-note/) sapscript
(https://www.samplecodeabap.com/tag/sapscript/) search help (https://www.samplecodeabap.com/tag/search-help/) select
option (https://www.samplecodeabap.com/tag/select-option/) sftp (https://www.samplecodeabap.com/tag/sftp/)
smartforms (https://www.samplecodeabap.com/tag/smartforms/) snippet
(https://www.samplecodeabap.com/tag/snippet/) spad
spro
(https://www.samplecodeabap.com/tag/spad/)
(https://www.samplecodeabap.com/tag/spro/) transaction
(https://www.samplecodeabap.com/tag/transaction/) transport (https://www.samplecodeabap.com/tag/transport/) value help
(https://www.samplecodeabap.com/tag/value-help/)
Meta
Log in (https://www.samplecodeabap.com/wp-login.php)
Entries RSS (Really Simple Syndication) (https://www.samplecodeabap.com/feed/)
Comments RSS (Really Simple Syndication) (https://www.samplecodeabap.com/comments/feed/)
WordPress.org (https://wordpress.org/)