Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
jrg_wulf
Active Contributor

Probably, this does not exactly belong here, but i found no better place for it.

Several people i know(me included) like to use TA SE16N for a quick glance at table data or as a means of preselection e.g.  for personnel data.

Something like a query but without the hassle of building one.

It's really great, as long as you only need data from a single table AND all selection criteria are AND related. (Or so I thought)

One problem, I frequently ran into, is when you want to evaluate  a "nested" table. That is a table that has multiple  fields in its structure, basically for the same data, representing a limited table in maintenance view.

For example infotype tables in HR are often built like that and the problem is always, that you do not know, in which field (nnnn01, nnnn02, …) to look for a certain value.

Now quite I recently figured out, that SE16N can do that and I found it worth sharing.

Let's assume, you  need to know all employee, that have a certain date type (say 18) in infotype 41, in a specific time interval, but you have no idea, in which date type column (DAR01, DAR02,…)  it is to be found.

In the past, I would have run several selections, each one with a different DARxx targeted to my date type and then would have assembled the results in Excel.

This is how to do it now

  1. Call TA Se16N with table PA0041
  2. Fill in the first set of selection criteria (DAR01 / DAT01)
  3. Change to Technical View On (SHIFT+F11 or right-click for context menu)
  4. Select Multiple entry (Cntrl+F9 or right-click for context menu or More button in the top)

    Youwill be rewarded with an additional, empty selection screen
  5. Fill in your selection criteria and then press Next Entry (F5 Or Right Arrow in the bottom)
    You get a new empty selection screen. Note the number shown in the top line, it will increase as you circle through your  value sets.
  6. Repeat
  7. When you're through with typing in your values in every possible column, press F8 to get back to your starting selection.
    The only hint, that there are additional select criteria, is the more button in the top, now showing the filled Icon.

The difference is  in the result. After executing  your selection, you will now receive all entries, that match either of your value sets. They are each linked by OR-relation.

Of course, the use of this feature is in no way limited to HR Infotype tables. It's just the most common use for me.

Wherever you need OR-related  sets of values for a SE16N Selection , this feature comes in handy.

Hope you'll enjoy it.







80 Comments
Former Member
0 Kudos

Thank you, Jörg. It's really helpful.

roland_backes
Discoverer
0 Kudos

A big Advantage of &SAP_EDIT fcode or its Workarounds is that changes are logged in tables SE16N_CD_KEY and SE16N_CD_DATA.

Changes values in SE16 Debugging mode does not have this proper logging.

regards

Roland

Former Member
0 Kudos

Very good article for learning.

thanks.

arpan_shukla
Explorer
0 Kudos

Good to know this, it will be help full.

Thanks for sharing.


Former Member
0 Kudos

thanks for Sharing!!!

Former Member
0 Kudos


Good one and much helpful. thanks for sharing!!.

claudia_bolch
Explorer
0 Kudos

Nice one, thanks for sharing :smile:

Former Member
0 Kudos

Thanks for the info, keep sharing :smile:

jogeswararao_kavala
Active Contributor
0 Kudos

Good learning for me. Thank you !

NeerajRao
Explorer
0 Kudos

Good one, Thanks for sharing :smile:

former_member1716
Active Contributor
0 Kudos

Thanks for tjis useful Document :smile:

regards,

Satish

Former Member
0 Kudos

Thanks, this is something new for me , the irony is i was using every day!

thanks one more time

Former Member
0 Kudos

Thx-  Good one

Former Member
0 Kudos

Thanks. Good one. And also Please see UASE16N T.code. This is Client Independent.

Former Member
0 Kudos

And "N" is the short t.code for SE16N.

aravinth_anandhan
Active Participant
0 Kudos

Thanks for sharing ....

Former Member
0 Kudos

That's an interesting feature I was not aware of before. Thanks for sharing! :smile:

Former Member
0 Kudos

Thanks for sharing

0 Kudos

nice read! :smile: thanks for sharing

Former Member
0 Kudos

Interesting... Thanks!

Former Member
0 Kudos

Hi everyone,

i'm a starter. will anyone tell me how to use the thread in this site. i wanted to know the basic knowledge in SAP Functional (FICO). my mail id is rahul_aapka@yahoo.com.

Many Thanks,

Rahul.

former_member188001
Active Participant
0 Kudos

Very helpful ... thanks

0 Kudos

cool 🙂

omar_ali
Explorer
0 Kudos

Thanks Jorg,

Would you or anyone happen to know if I can add a dynamic date (D) in the variant in SE16N?

For example, in the FEBEP table, I'd like to have the posting date (BUDAT) always be current date. Thanks.

jrg_wulf
Active Contributor
0 Kudos

Hi Omar,

sorry to disappoint you but AFAIK variants of se16n are held rather simple. Only direct values, patterns or intervals.

BR - Jörg

former_member193210
Active Contributor
0 Kudos

Nice to know.

Thanks Jörg.

joachimrees1
Active Contributor
Wow, I didn't know that!

Not sure if I had come across a situation where this would have been useful to me, but if I ever do, I'll remember you blog!

I think SE16n has quite some secret (or better: non-obvious) features.
One of them I remember having used is that you can do a "Number of Entries" as a background job:



(That's useful if you run into a timeout when doing it in online).

best
Joachim
SuhaSaha
Advisor
Advisor
0 Kudos
That’s useful if you run into a timeout when doing it in online

You could, on the other hand, use the ADT SQL Console 🙂
joachimrees1
Active Contributor
0 Kudos
Thanks for the Keyword, I found that blog about the ADT SQL Console and thus lerand something new!

Can you give a example, though, on how this helps to do a complicated (= long running) count?
Former Member
0 Kudos
Hi,

but when you save the query as a "variant" the or-selection-tupel is gone. maybe it´s a bug. Has anybody an idea?