on 10-16-2015 8:27 AM
Chandra Ayyagari's Profile | SCN
Hello Experts,
We are working on SAP WM 6.2. We developed functionality for Stock Availability.We have more than 2 Lakhs material.
Now when User add materials and transmit it shows message like No Stock Availability if quantity is not available and due to this error other process also stopped and we have to discard that material then only it work.
So is there any way to handle this error and continue transmit with materials whose quantity is available and after transmit there should be flag on material which one not transmitted due to no quantity.
Thanks & Regards,
Ashish Sarode
If you can look at Agentry Error Handling: http://help.sap.com/saphelp_smp305sdk/helpdata/en/7c/1377e270061014850186682084ba53/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stephen,
As mentioned above we have more than 1 Lakhs material so we are not downloading all in Agentry so we don't know the exact quantity of that material.
So user adding component without quantity and at the time of transmit they are getting error.Because of this error other materials having quantity also not transmitting.
So is there any way in Agentry to avoid this error and transmit should possible only with material having quantity and there should be flag on order which are not transmitted because of No Quantity error.
Ashish,
For your middle of a transmit error, as mentioned by Steve, you need to create some sort of error handling.
If you do not have an error but you only downloaded limited amount of quantity, then you can create a validation rule to run against each of your users transaction to check if quantify is stated. If not create a hard error to make the user not able to save it as a transaction. State in the validation rule error that saving without a quantity will cause a business logic error during transmit so this hard error will prevent users from saving it. They will need to cancel out and only work on material with quantity.
Read on how to setup Validation rule in work Manager or look at all other validation rule on how they set it up as example.
Best Regards,
Mark Pe
SAP Platinum Support Engineer
Hello Mark,
In Our case we have 3 Lakhs material, So we are not fetching all values in Agentry.Because of that we don't know quantity of material.So is it possible to apply error handling in this case or we have to used any SAP tools for this.
If we can handle it in agentry then can you please explain it with example so that it will help to understand.
Ashish,
Hi. Error handling is not a trivial matter. First of all you have to decide what type of handling you need to do when you get the error: By pass, send IT admin email and others.
Normally Error handling is a special customization project with SAP consulting and services. As this needs to be done in the Agentry error handling features.
Here is an example. But in theory you can do HTTP, JAVA and different types of error handling.
Agentry SQL and Java Error Handling configuration - SAP Mobility - SCN Wiki
You can also modify the Java source code to do the error handling for you.
No matter the case, this is a non-trivial matter and normally a services engagement with Agentry consultants.
Best Regards,
Mark Pe
SAP Senior Support - Platinum Engineer
Ashish,
From Agentry we cannot by pass this kind of error. actually this error is coming from SAP. To by pass this kind of business logic error you have to implement some tools in SAP which will just track the error and allow the user to proceed.
I would suggest you to check in SAP is the entered information is there or not. If not try to get that data in SAP itself rather creating some tools to by pass this kind of errors.
Thanks
Ajitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.