How to capture Error message from std BSFN

puppy

Active Member
Hi,

I am facing one issue in JDE Enterprise one.

I am using Shipment confirmation standard NER - F42UI05 in the UBE.

It doesn't have the output parameter to return DTAI - Error message id.It has the output parameter of ERRC -Error condition.If it is error,it will return ERRC as '2'.

My requirement is how to get the DTAI - Error message id.

Is there any std BSFN to capture the error messgae id?

or any solution.

It will be helpful if i get any solution.

Thanks in advance.

Regards,
Puppy.
 
One thing you can do is search for BSFNs with *PPAT* in their name. Dig thru some standard JDE UBEs to see how they are used.

Another thing to do if you want to build your own is search for an API named jdeErrorGetNextDDItemNameInfoEx in the JDE BSFNs and see how that is used.
 
If you have access to jdeTips I wrote an article about testing for and displaying error messages on a UBE. In there there is a reusable BSFN that will store the state of the error stack and allow you to enumerate all the errors on the error stack.

BTW, the reusable utility BSFN uses the api call that barrier mentioned (jdeErrorGetNextDDItemNameInfoEx) if you want to roll your own. There are a few "gotchas" with this API call though.
 
Hi,

Thanks for Barrier & Boster for your guidance.

I will try.

Regards,
Puppy.
 
Back
Top