Question:
Hello!
How can I get selections from Data selection tab of infopackage in update rules, started with this infopackage ?
Thanks in advance,
Alexey.
Answer:
I am having the same problem. Did you find an answer to this question?
Answer:
read table RSSELDONE
Answer:
read table RSSELDONE
In a start-routine I do not have the request number - so its not trivial wich records I have to select.
I guess I could use the date/time fields from RSSELDONE to find the most recent entry and then select all rows with the same ReqID. Something like this:
SELECT rnr FROM RSSELDONE
INTO my_rnr
UP TO 1 ROWS
WHERE logdpid = 'ZPAK_.....'
ORDER BY seldate seltime.
SELECT * FROM RSSELDONE
INTO my_itab
where rnr = my_rnr.
Is this the way you do it?
Answer:
I find the first read on the InfoPackage a little dangerous..
Maybe it's better to go via the RSREQDONE first: there you can select the Request nr in the same way but do the read on field 'ODSNAME'. This field is a 1-to-1 relationship with your DataSource name, only an extension for your source sytem is added to the name. Disadvantage is that then you need to have it 'harcoded' with a case statement, being dependent on the system you're in...
(hope ididn't make it to complicated... otherwise stick with the infopackage-read )
Answer:
You should enhance your comm-structure with the request ID. It could be filled in the transfer rules from structure G_S_MINFO, field REQUNR which is available in every Updta Routine.
Then it will be easy to get the right request/selection from table RSSELDONE within updtae rules.
Answer:
You should enhance your comm-structure with the request ID. It could be filled in the transfer rules from structure G_S_MINFO, field REQUNR which is available in every Updta Routine.
Then it will be easy to get the right request/selection from table RSSELDONE within updtae rules.
Answer:
You should enhance your comm-structure with the request ID. It could be filled in the transfer rules from structure G_S_MINFO, field REQUNR which is available in every Updta Routine.
Then it will be easy to get the right request/selection from table RSSELDONE within updtae rules.