I have a custom transaction where in it has a custom GOS Object. URL attachments are maintained in that GOS object, which is working very fine but there is refreshment delay onto the attachments screen.The generated URL attachment does'nt appear immediately,it appears once you trigger the refresh button(%ATTA_REFRESH).So for that i need to incorporate the refresh functionality.
I could able to see the standard SAP process, which uses the method "REFRESH" of "CL_GOS_ATTACHMENTS" ,but as the the importing parameter which is used with nested refrerences, where in im facing the issue.
I have tried with some combinations but finally landed up with short dumps with Null reference.
Same method is also exisitng in another class where in i guess this functionality can be handeled CL_GOS_ATTACHMENT_LIST->REFRESH, which does'nt have any importing parameters. So this needs to be maintained with the references of the object.Prior to calling the method refresh i guess we need to call get_selected_objects method.
Can you guys let me know how can i pass the parameters to the method Refresh.