Launch UBE with parameters

ulysses

Member
I use jdeLaunchUBE to call several UBEs at a defined sequence. Now I´m using a table to pas parameters, but I want to use the usual way.
Is there a possible to use Subsystem to call UBEs with parameters, from a BSFN, without coding a function for each UBE ?
Has anybody used lpVoid pointer ?
 
Hi ulysses,

Did you manage to find a BSFN able to launch a UBE WITH its Parameters (defined through Report's Data Structure)?

Thank you,
 
Hi Adrain,

I have similar demand too from user, there some post suggest to copy the B91300c to new one and add a data structure eg for intercall a "invoice print" - R42565 then pass in the invoice number . a new DSTR call the API "Launch UBE " .

Is it possible to share some sample how it do ?

Appreciate for any suggestion
 
Hi Adrain,

I have similar demand too from user, there some post suggest to copy the B91300c to new one and add a data structure eg for intercall a "invoice print" - R42565 then pass in the invoice number . a new DSTR call the API "Launch UBE " .

Is it possible to share some sample how it do ?

Appreciate for any suggestion
你应该能看懂中文吧,你在报表的RI 新增你要参数条件变量,然后再通过 jdeLaunchUBEEx 调用

/* Load UBE Data Structure */
memset((void *)&dsUBEDS, (int)_J('\0'), sizeof(dsUBEDS));
MathCopy(&dsUBEDS.mnAmountNetPosting001, &lpDS->mnUniqueKeyIDInternal);

/* Launch the UBE */
idJDBReturn = jdeLaunchUBEEx((HUSER)hUser, &zUbeVar, (LPVOID)&dsUBEDS, lpBhvrCom);
 
你应该能看懂中文吧,你在报表的RI 新增你要参数条件变量,然后再通过 jdeLaunchUBEEx 调用

/* Load UBE Data Structure */
memset((void *)&dsUBEDS, (int)_J('\0'), sizeof(dsUBEDS));
MathCopy(&dsUBEDS.mnAmountNetPosting001, &lpDS->mnUniqueKeyIDInternal);

/* Launch the UBE */
idJDBReturn = jdeLaunchUBEEx((HUSER)hUser, &zUbeVar, (LPVOID)&dsUBEDS, lpBhvrCom);
Hi Alan,
I found a way to do it by creating a calling NER BFSN (instead of C):
1. Create NER Data Structure:
a. UBE Name & Version
b. UBE's (Data Structure) Parameters
2. NER will simply launch the UBE, Asynchronously
3. Call the NER wherever is needed, from an APP, or from another UBE
Let me know if you need more details.
 
Back
Top