PPAT BSFN - work center Message

puppy

Active Member
Hi All,

I am using BSFN for sending the Batch error to Work center from UBE.

I am able to send the error message to Work center.
But I am not able to retrive the Error message from Work center.

I am using following BSFN

1)F01131 Edit JDEM Error Message
<Zero> -> BF cDoNotLogWarnings
RV GenLng - global <> BF idPPATworkField

This will initilize

2)Proccess batch errors to the JDEM system
"1" -> BF mnLeveloftotaling
RV GenLng - global -> BF idDataBaseWorkField

This will send the error to Work center

3)Get PPAT Messages By Work Field
RV GenLng - global -> BF idPPATWorkField
RV Error Message <- BF szPPATMessage

This will retrieve the error meassge.

Here retrievel BSFN not retrieving error message.

Can anybody help me that I am mapping right parameter?

or what could be the issue while retriving?

Thanks in advance.

Puppy.
 
Looks alright at first glance.. I did use those once a while back.. Some minor differences i'm seeing: #1: Using <Blank> instead of <Zero>, and preceded the call by an explicit init-to-0 of RV GenLng, #2 and/or #3: Mapped RV GenLng <> instead of ->. I don't think any of these are dealbreakers though. But you could try and see what happens.
 
Following is the example from Oracle's website.

==================================================================
SECTION: Address Book Update [GROUP SECTION] (S1)
==================================================================
OBJECT: SECTION
EVENT: Initialize Section
-----------------------------------------------------------------------
// B0100025 to initialize
0001 F01131 Edit JDEM Error Message
UNDEFINED X szUserid
UNDEFINED X mnAddressnumber
UNDEFINED X cDoNotLogWarnings
UNDEFINED X cAllowUserIDToChange
UNDEFINED X szMailboxdesignator
VA rpt_GenericLong_GENLNG <> idPPATworkField
UNDEFINED X cSendErrorsToReport

-----------------------------------------------------------------------
EVENT: Do Section
-----------------------------------------------------------------------
// Error Message DD item 1254 - "Blank Authorized and Secured Usr Invalid"
0001 Set UBE Error("1254")

// BLM0012 - Level Break Message - "&1 Batch In Error."
0002 JDEM S & F Batch Level Error Set
"1234" -> szEdibatchnumber
VA rpt_GenericLong_GENLNG <> idGenLong

//B0100011-Process Level Break Message level 2 so the above message is sent at level 2
0003 Proccess batch errors to the JDEM system
"2" -> mnLeveloftotaling
VA rpt_GenericLong_GENLNG <> idDataBaseWorkField
UNDEFINED X cErrorPreProcessFlag
UNDEFINED X szUserid

-----------------------------------------------------------------------
EVENT: End Section
-----------------------------------------------------------------------
// B0100011 - Process Level Break Message level 1 is the final call to complete the sending of the message
0001 Proccess batch errors to the JDEM system
"1" -> mnLeveloftotaling
VA rpt_GenericLong_GENLNG <> idDataBaseWorkField
UNDEFINED X cErrorPreProcessFlag
UNDEFINED X szUserid
 
I have similar requirement of writing error messages to work centre through NER. But the problem is, when i am calling that NER through my custom report, it works fine. But when I called same NER through BSSV, it gives me an error.(something like IllegalArgumentException). I don't understand why it is giving such error.
can someone help me out.
 
Back
Top