on 06-25-2015 12:21 PM
Hi Guys,
I have a requirement, in which I need to call a background job from FPM From guibb, and so I am using Job open , submit program and job close approach to create background job , and calling it from the method of the FPM class. My issue is that I need to save some data in the background report and so I need to have the instantiated refrence object of the Method in the background report. But i am unable to pass the refrence object from the method to the background report as it nullifies the instantiation of the object once it goes to the background job processing.
I have tried to use parameters option of the report to pass the refrence variable using SUBMIT PROGRAM, but it does not allow to create a parameter in the report of type refrence variable .
So please help me in this regard that how can I pass the instantiated object value to the background job....
Hi Ankur,
Have you tried using shared object ? The only other option to pass object instance using SUBMIT PROGRAM will be serialize object reference before submitting and DE serializing the object reference in the submitted program.
Note:
- If using the shared object approach: Shared objects are stored at application server level, so you will need to propagate the changes to all application server to get consistent behavior.
- If using the serialization approach: This is only possible is the class definition of the object instance implements the IF_SERIALIZABLE_OBJECT interface.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.