Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SAPBAPI call

Hi,

I'm getting following error while call SAPBAPI .

err.jpg

Is there any solution to handle exception.

I know that it's because of record not found but due to this my qvd genrator failed.

4 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Set the ErrorMode variable to 0 immediately before your unreliable code. After your code, test the ScriptError variable for values different from 0 (=execution ended with an error) and act accordingly. QlikView Desktop Help has a list of possible error values.

Don't forget to set ErrorMode to 1 somewhere in your script to reinstate normal script error handling.

Best,

Peter

Not applicable
Author

Thank you Peter for your quick reply.

Sorry that's not working in my app can you please check my app?

If there is any issue please guide me to solve this.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Are you still getting the script error dialog?

If so, I'm afraid I cannot be of any further help.

If not, then change the IF clause into something like

IF ScriptError <> 0 THEN

...

Best,

Peter

Not applicable
Author

Yes Peter im still facing same problem.

Thanks for your kind help.

Any other please help me on this issue