cancel
Showing results for 
Search instead for 
Did you mean: 

User exit/BADI required for coding for the selection custom fields in RSA3

0 Kudos

Hi,

I have a requirement in the Datasource extractor. I need to add custom Z fields in the Data souce of the 2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit ZXRSAU01.

Now I can view my custom Z fields in the list as well as on the selection fileds while executing the transaction RSA3. But I need to write code for the selection criteria part. On entering value in the selection criteria of my custom z field, no values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.

On debugging, to my understanding only the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel < Datasorce> .... and the fetch cursor is included inside the macros.

Please let me know any user exits or Badi;s available for it.

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think you should be able to filter your records in ZXRSAU01 itself. Just filter the records before you update to c_t_data.

Regards,

Durgesh.

0 Kudos

Hi shivu,

you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:

[Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]

The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.

Best,

Chris