2007 Dec 21 11:48 AM
Hi All,
I want to capture the production order number once it is created and store it into a ztable, is there any badi or user exit for achieving this.
Thanks and Regards,
Navneeth K.
Hi All,
I want to capture the production order number once it is created and store it into a ztable, is there any badi or user exit for achieving this.
Thanks and Regards,
Navneeth K.
2007 Dec 21 11:59 AM
Hi ,
Please Try user exit : SE38 -> SAPMV45A -> MV45AFZZ under '
form userexit_move_field_to_vbep ' and collect your production orders from table xvbep-aufnr into your ztable.
Regards,
Mohan.
2007 Dec 21 12:17 PM
Hi,
No BADI is available for this requirement.
But using Enhancement option we can achieve ur requirement.
the function module Exit "EXIT_SAPLCOZV_001"
Enhancement Name "PPCO0007"(SMOD)
FU EXIT_SAPLCOZV_001
____________________________________________________
Short Text
User Exit for Checking or Changing Header Fields During Order Maintenance
Functionality
This customer exit makes two functions possible:
Changing data in the order header. For this purpose, the order header with the changed data can be transferred back to the calling program as export structure HEADER_EXP. The calling program then saves the data.
Checks that prevent the order being saved or changed. For this, the export parameter NO_UPDATE must be set to a non-initial value. The calling program then branches back to online processing. If data in the order header is changed and the parameter NO_UPDATE is set at the same time, then the changed data is adopted nonetheless. The data is thus available in online maintenance.
Notes
Note that the data that is transferred from the customer exit in the export structure of the order header is no longer checked by the system. The person who uses the customer exit is therefore responsible for data consistency!
There are also fields that cannot be changed in the customer exit since they are reentered later in the program.
These include: the creator of the order, the last person to change it, the creation date and the change date. Also, when the order is created there are various number fields that are still filled with temporary numbers. These include; the order number if the system is working with an internal number assignment.
Parameters
HEADER_IMP
NO_UPDATE
HEADER_EXP
Exceptions
Function Group
XCO1
thanks,
-Selvapandian Arunachalam
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |