cancel
Showing results for 
Search instead for 
Did you mean: 

Help me writing - Writing Code at InfoPackage

Former Member
0 Kudos

Hi Experts,

Please help me out writing code at the info package level. For some reasons my generic Extractor supports only Full upload. So now I need to extract data on daily basis for an individual day.

Eg: If I triigger Info package then it has to extract the data (present day -1) means if I trigger on Tuesday then it has to extract the sales orders which are generated on Monday.

Please guide me as how to write this code and where to write in the Info package? Help me with the code as well..

I Appreciate your help in this regard.

thanks

BUlli

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Bulli

I don't know why the generic extraction in your case is not supporting delta, there are three options in RS02 to create delta anyway comming to your point

You can use your 0CALDAY IO in infoPackage selection condition. Restrict its value on current day and previous day, write a ABAP code, for this you have to select transformation type 6( which means ABAP code).

To calculate previous day you can use directly

data: w_previous_day type D.

w_previous_day = sy-datum - 1.

Assign points if it helps.

Thanks

Former Member
0 Kudos

Hi..

Many thanks for the reply. I wil try the same and will let you know the status.

thanks

Bulli