Master Business Function ***PL. HELP***

jdeman

Active Member
Friends,

I am using Purchase Order MBF to create PO through UBE.
I am calling the following functions in sequence:-
F4311BeginDoc
F4311EditLine
F4311EndDoc

My question is how should I trap the errors (if any) if due to some reasons the MBF fails to create the Purchase Orders.

I understand that I can check for the system variables "SV_ErrorStatus = 2" after each above mentioned function call to check if the Business Function call failed. But how should I trap the EditLine detail errors like AN8 invalid or ITM invalid.

Pl. Help
jdeman
 

barrier

Reputable Poster
Look at Business Functions B0100011 and B0100025, specifically functions
InitializePPATapi, ProcessErrorsToPPAT and RetrieveUBEError. Also look at
R31123Z1I (Process Super Backflush Inbound Transactions) for a sample of
their use.

B
 
Top