on 07-24-2013 10:32 AM
Hi Experts ,
Do we have any BAPI or BADI to update External Batch number in GR tab of Process order instead of system generated one .
Either while creating process order or atleast in change mode , we need to update Batch number field
Please help
Dear,
Use the Exit EXIT_SAPLCOBT_001 under enhancement PPCO0001 where-in based on your requirement you can create batch for your order. You can use CALL FUNCTION 'VB_CREATE_BATCH' to create the batchs as per your requirement.
For details please refer this link,
http://scn.sap.com/message/8004872#8004872
Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohan,
Why do you need a BAPI,could you provide insights?I guess you are saying that batch no. assigned automatically while creation/release of process order?If so check in t-code CORW and select plant/production scheduling profile combination.Click on detail and in 'Auto Batch creation' mark "No auto batch creation in process order".
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi DEEJOY ,
No auto batch creation is achieved by config in Sch . Profile as you said . So Batch number field will be empty after creation . This is fine . My requirement is to update External Batch number in change mode (COR2) in GR tab via Bapi or Badi . In simple words , How to update batch number in Process order either in change mode or while releasing in empty Field ( No auto batch creation enabled already)
Hi,
As per the below documentation, you can use these exits to generate automatic batch number in process order on GR tab:
As part of the external batch number assignment, the following two function module exits are available in the SAP enhancement SAPLV1ZE for checking a new batch number that has been entered.
Further notes
In both exits, a communication structure with the application data for each business transaction (for example, plant or material type ) is available. To obtain more information such as the time, user name, or the date, you must use one of the exits.
Example
In the function module exit EXIT_SAPLV01Z_003, an external number range XY is determined, against which the batch numbers are checked.
In the function module exit EXIT_SAPLV01Z_004, the batch number entered is checked against your own rules.
Activities
Further notes
In contrast to modifications, enhancements are always release-insensitive because they are not included in the SAP original, but in a namespace reserved for the customer.
The general procedure for creating enhancements is contained in the enhancement transaction in the "Utilities - Online manual" menu.
Every enhancement is documented. To access this documentation, choose the "SAP docu" pushbutton in the enhancement transaction.
Regards,
Sandeep
Dear mohan
1 . form T-CODE CORY in batch management view i think you have given" Automatic batch creation at order release "
2 . if you do not want to the system to create batch automatically change to " No automatic batch creation at order release "
3 . When you release the production/process order in GR tab you can give your own external batch number..
reply me if this will helpful for you....
Thanks
Manjunath hn
SAP-PP CONSULTANT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.