cancel
Showing results for 
Search instead for 
Did you mean: 

Access infoPackage Selection in start routine of update rule

Former Member
0 Kudos

Is it possible to access the selection creterias from an InfoPackage in the start routine of the update rule ? I need the selection parameters for further database access in the start routine.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stefan,

I think that IP's selection criterias should be in RSLDPSEL table.

Best regards,

Eugene

Former Member
0 Kudos

Eugene,

RSLDPSEL has the selection conditions for an InfoPack not the selection conditions with which a request was run.

Cheers

Aneesh

Former Member
0 Kudos

Aneesh,

It's what exactly I'm saying: selection criterias for infopackage. So, we need to find out what Stefan wanted.

Best regards,

Eugene

Former Member
0 Kudos

Dear all

I've looked into table RSSELDONE - I think it contains the data I need. But how do I get the record number at runtime ?

Former Member
0 Kudos

i_requnr is the request number.

Former Member
0 Kudos

Sorry - the variable is not known. Is it part of an structure ?

E:Field "I_REQUNR" is unknown. It is neither in one of the specified

thank you very much for your support

Former Member
0 Kudos

Sorry, try this:

data : lv_reqnum like rsseldone-rnr.

field-symbols: <fs_gsminfo_req> type any.

lv_reqnum = 'g_s_minfo-requnr'.

assign (lv_reqnum) to <fs_gsminfo_req>.

<fs_gsminfo_req> will have the request number after this.

Former Member
0 Kudos

Thank you very much for your support. It helped quite a lot

Former Member
0 Kudos

Hi Aneesh,

Your solution is fine, but i have a little question, in above code the lv_reqnum variable take the value of the request in run time? ´cause I used the code and not work, I don´t have syntax error but I think that the field-symbol is empty when the start routine of update rule is running.

lv_reqnum = 'g_s_minfo-requnr'.

assign (lv_reqnum) to .

LOOP AT DATA_PACKAGE.

DATA_PACKAGE-BLINE_DATE = DAY.

MODIFY DATA_PACKAGE.

ENDLOOP.

thanks in advance

Message was edited by: Arturo Sanchez

Answers (1)

Answers (1)

Former Member
0 Kudos

Table RSSELDONE.

Former Member
0 Kudos

Thank you very much for your answer.

Best wishes

Former Member
0 Kudos

Just one question remains - how can I determine the request number in run time (in the start routine) ?