Skip to Content
0
Former Member
Feb 19, 2009 at 02:14 PM

Split dates in SAP Query

75 Views

Dear experts,

While using a query over a specific period in which a person has multiple periods they are displayed as mulitple lines. In the output I want to include the validity period of this line.

SAP uses during runtime the fields:

SYHR_splits_wa-begda

SYHR_splits_wa-enda

These contain the exact dates I want to have in the output.

While creating infosets a number of (extra) fields calculated during runtime can be used as a selection & output option (the all start with SYHR_)

a. Is there a way to add SYHR_splits_wa-begda?

What we tried to do was create a new field in the infoset with:

Newfieldname = SYHR_splits_wa-begda.

This way we were not able to genereate.

Declaring the field SYHR_splits_wa-begda leads to the fact that it remains empty during run time (and the query goes into an endless loop)

Any suggestions on how to include the start date of the split in the output is very welcome!

regards,

Sebastiaan van de Weerdt