cancel
Showing results for 
Search instead for 
Did you mean: 

Implement the BAdI XSS_REM_INTERFACE.

former_member215786
Participant
0 Kudos
336

Dear.

I need implement the BAdI XSS_REM_INTERFACE. I understand the have that use the method PROVIDE_FILTERED_RGDIR.

The system in this method get the information in the table im_in_rgdir[].

I need that filter this information having in count if exist information in the table BT of the cluster.

How can solve this issue?

Regards

View Entire Topic
siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

read the note 901850 for implementation of badi

former_member215786
Participant
0 Kudos

Dear experts

I put a break-point in the method PROVIDE_FILTERED_RGDIR where the system show the table im_in_rgdir[] with all the entries.

But the requirement of the company is that the employees only can display in the overview the register that are in the table im_in_rgdir[] only in the field date of the table BT cluster exist a register.

My question for close this post is: How can solve this requirement?

Thanks in advance

Regards

Carmen G

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

method IF_EX_XSS_REM_INTERFACE~PROVIDE_FILTERED_RGDIR .

DATA: newest_date LIKE sy-datum.

ex_filtered_rgdir] = im_in_rgdir[.

CLEAR ex_message.

  • remove all in-periods where not:

  • a) paydt is at the past

  • b) paydt is in the near future (3 days)

newest_date = sy-datum + 3.

DELETE ex_filtered_rgdir WHERE paydt GE newest_date.