on 12-02-2005 9:11 AM
<i>Hello Friends,
I like to implement user exit SAPL1ZE for txn MSC1N.
I need to check value from the screen fields.
Now, shall I have to consider the flow logic of the main program, because if I write some code in this, How the flow cud be.
For this enhancement, I have to over power the PAI module developed by SAP. I don't find any Exit function module call here.
Your help is greatly appreciated.
Thanks,
Senthil</i>
Hi,
For checking Batch Number created exit EXIT_SAPLV01Z_004 can be used. Inside this function module u will find INCLUDE ZXVBZU04 wherein u can write the appropriate code. U can pass NEW_CHARG & X_BNCOM structure values as the importing parameters and write the code. CUST_NOT_ALLOWED will be the exporting parameter for this.
U can have more knowledge from below comments.
FU EXIT_SAPLV01Z_004
____________________________________________________
Text
Check New Batch Number According to Customer Rule
Functionality
Using this customer function call (CFC), you can use your own rules to check if a manually entered batch corresponds to certain numbering conventions.
The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using the structure BNCOMZ.
If you set the parameter CUST_NOT_ALLOWED, you reject the batch number. This leads to an error in the calling application and therefore to rejection of the batch number.
Parameters
NEW_CHARG
X_BNCOM
CUST_NOT_ALLOWED
Exceptions
Function Group
XVBZ
Pl. award appropriate points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to check the New Batch Number created then u can used the exit EXIT_SAPLV01Z_004 in which you have user Importing parameters NEW_CHARG & structure X_BNCOM.
I hope you are looking for this .
Thanks
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please tell what is the actual requirement. Why do you need to over power the PAI module.
Also you can go to the Transaction->SPRO->SAP Reference IMG -> Logistics->Batch Management->....
you can find all the User Exits and BADIs available for batch transactions with the documentation. Please check. Hope it helps...
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are sure about the user exit, you can set an explicit break point in the user exit and check when you run the transaction the flow goes to the place where the break point is set,
Following are the user exits available for MSC1N transaction,
BATCHCHK Function Module Exits for Check in Case of Batch Changes
MBCFC010 Propose batch number on Inventory Management item screen
SAPLCHVW Batch where-used list
SAPLMHD1 Shelf life expiration date
SAPLV01D Determining the initial status of a batch
SAPLV01P Function Module Exits at Time Batches Are Updated
SAPLV01Z CFCs for internal batch number assignment
SAPLV1ZE CFCs for external batch number assignment
SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
hope this helps,
Rgds,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil,
There are no userexits for trxn MSC1N.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.