cancel
Showing results for 
Search instead for 
Did you mean: 

How to bypass error while transmit

former_member337066
Participant
0 Kudos

Bill Froelich

AK K's Profile | SCN

Chandra Ayyagari's Profile | SCN

Stephen Streeter

Leonardo Gomez

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
former_member337066
Participant
0 Kudos

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.

mark_pe
Active Contributor
0 Kudos

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

former_member337066
Participant
0 Kudos

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.

0 Kudos

Hi Ashish,

The term "Lakhs" is unknown to me and may not be understood by the majority of members of this community.  Please use an English equivalent so all may understand your message.

Regards, Mike (Moderator)

SAP Technology RIG

mark_pe
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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