E9.2 How we can pass Processing Option to a UBE2 called from UBE1 during runtime

coolkl

Well Known Member
Hello All,

We have a requirement to create a custom report that will read the name of the text file under path Ex: /TestServer/ubeshared and pass this value to the “FILENAME” processing option of JDE standard report R09600.

Question - How we can pass the Processing Option to a UBE2 called from UBE1 during runtime. ( not parameter but PO)

Appreciate your reply.

Thanks,
coolkl
 
I think a report interconnect (RI) is about the only way to do this at run-time and pretty straight forward (set PO var =RI var). I assume that you are trying to avoid modifying R09600?
 
Hello All,

We have a requirement to create a custom report that will read the name of the text file under path Ex: /TestServer/ubeshared and pass this value to the “FILENAME” processing option of JDE standard report R09600.

Question - How we can pass the Processing Option to a UBE2 called from UBE1 during runtime. ( not parameter but PO)

Appreciate your reply.

Thanks,
coolkl
The simple answer is to modify R09600 to include a report data structure with the FILENAME member. Then populate the PO with the RI if it's passed in.

The complicated answer is to write a C function that updates the PO data in the F983051 blob for the version of R09600.

Craig
 
The simple answer is to modify R09600 to include a report data structure with the FILENAME member. Then populate the PO with the RI if it's passed in.

The complicated answer is to write a C function that updates the PO data in the F983051 blob for the version of R09600.

Craig
Although the latter might stop working in any given tools release?

Orchestrator allows processing options to be overridden... Could that route work instead of report interconnect?
 
Last edited:
Another option is to have a workfile store the values as is on the PO dstr
R09600 - Template
- Processing
szBankFileFormat [FORMAT]1. Bank File Format
szTextFileName [FILENAME]2. Text File Name
szTextFileLocation [FILELOC]3. Text File Location
szInterimFileLocation [FILELOC]4. Interm Text File Location
cDeleteTextFile [FILEDEL]5. Delete Text File? 1 = Yes 0 = No
szDateFormatMask [DTMSK]6. Date Format Mask Default = ROA (YYMMDD)
 
Back
Top