cancel
Showing results for 
Search instead for 
Did you mean: 

Range Variable Issue Generic delta 0calday - Function Module

venkatesh_veera2
Participant
0 Kudos

Hi Gurus,

I tried for the very first time to load data with Generic delta using Function module.

I had created a structure along with ERDAT and used it as a dummy field to extract data but unfortunately, S_S_IF-T-SELECT is not getting filled with this ERDAT range variable. so data is not coming based on the ERDAT and all the data is getting populated. Please, help me as I'm very new to ABAP coding and this generic extractor using delta.

Attached screenshot with Structure, Code, Range Variable, RSA7.

The structure I created:

Code to populate erdta in the ranges variable M_RANGE:

While debugging i found data of vbeln was avalible in the range variable L_RANGE but for M_RANGE it was empty. S_S_IF-T_SELECT is having only one value that is VBELN which we have given the selection. How can we get our ERDAT value here?

Here in generic delta i had taken ERDAT as delta field.

In RSA7 it is 02.08.2018

Thank in advance.

Kind Regards,

Venkatesh

Accepted Solutions (1)

Accepted Solutions (1)

DoanManhQuynh
Active Contributor

Your abap code is fine. This should because of ERDAT is not the selection field.

You could go to RSO2, change your datasource, on toolbar click button display field list to change which field to be selection field.

venkatesh_veera2
Participant
0 Kudos

Hi Quynh Doan Manh,

But in generic delta the field on which we select the delta will be disabled for selection in RSO2.

Regards,

Venkatesh

DoanManhQuynh
Active Contributor
0 Kudos

if that field is delta field then it would be grey out cant be selection field. one workaround is update table ROOSFIELD to make that field selectable. You can check this out:

https://archive.sap.com/discussions/thread/1397310

venkatesh_veera2
Participant
0 Kudos

We need to debug with the delta mode enable and select the system in RSA3 then the value will be available in the S_S_IF-T-SELECT.

Question closed.

venkatesh_veera2
Participant
0 Kudos

thanks for you help!

Answers (0)