How to set Data selection for launch UBE Api.

nectarsoft

Active Member
We want to send an automated mail to our entire customer with ageing report individually using R03B4201B.

Problem statement:
R03B4201B generates for all customer, we want to send out automated mail for each customer. Which means, R03B4201B need to be run for each customer and generate pdf. Using launch batch application we can attaining this and pick the job number from F986110 and fetch the pdf file. Use business function B0500190 to send mail.

Where we need help is to put a data selection for each customer for in R03B4201B.

Process we defined is:
1. Develop a driver UBE and set the data selection as defined in R03B4201B and fetch reach customer and lauch UBE for every customer and generate UBE
2. Pass the additional Data selection when Launching R03B4201B for customer.
3. Fetch the job number and locate Pdf name and use B0500190 to send email.

Need your support!

Thanks and Regards,

Ravi
 
Hello Ravi,

I think you would need to copy and modify R03B4201B to add a datastructure to pass on the address book number for the customer every time that the R03B4201B report is run. Then you will need to use the Set User Selection system function to make the report run only for the passed customer.

Regards,

Jorge
 
Jorge,

Yes we could do that. I can split the pdf for each customer. The 2nd phase of identify the right pdf and send auto mail is an issue.

Rgds,

Ravi
 
Back
Top