Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

POPUP_SHOW_INTTAB

Former Member
0 Kudos

Has anyone used this function module before?

If so, could you give me an example?

Thank you very much,

Bogdan CIOC

1 ACCEPTED SOLUTION

ssimsekler
Active Contributor
0 Kudos

Hi

It seems like this FM is not something to popup. It just parses a raw line as to be an internal table and writes it with 'WRITE' on a list screen.

e.g. You should fill the table parameter "feldtab" like

<u>Rec1:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERNR'

POSITION: '0001'

INTTYPE: 'N'

INTLEN: '8'

<u>Rec2:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERSG'

POSITION: '0002'

INTTYPE: 'C'

INTLEN: '1'

<u>Rec3:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERSK'

POSITION: '0003'

INTTYPE: 'C'

INTLEN: '2'

You enter the line type raw data to the table parameter "inttab".

<u>Rec1:</u>

00012802AAK

<u>Rec2:</u>

00012803BBC

The parameter "TABNAME" has nothing to do as far as I can see.

When you execute, the output will be a list screen with:

00012802 A AK

00012803 B BC

That is, the function parsed the raw data to internal table data.

So, I think it does not seem to do the task its name implies. Maybe it is not finished for the moment. That's all.

Best regards...

*--Serdar

11 REPLIES 11

nablan_umar
Active Contributor
0 Kudos

Hi CIOC,

What are you looking for? This function does not do anything.

ssimsekler
Active Contributor
0 Kudos

Hi

It seems like this FM is not something to popup. It just parses a raw line as to be an internal table and writes it with 'WRITE' on a list screen.

e.g. You should fill the table parameter "feldtab" like

<u>Rec1:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERNR'

POSITION: '0001'

INTTYPE: 'N'

INTLEN: '8'

<u>Rec2:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERSG'

POSITION: '0002'

INTTYPE: 'C'

INTLEN: '1'

<u>Rec3:</u>

TABNAME: 'PA0001'

FIELDNAME: 'PERSK'

POSITION: '0003'

INTTYPE: 'C'

INTLEN: '2'

You enter the line type raw data to the table parameter "inttab".

<u>Rec1:</u>

00012802AAK

<u>Rec2:</u>

00012803BBC

The parameter "TABNAME" has nothing to do as far as I can see.

When you execute, the output will be a list screen with:

00012802 A AK

00012803 B BC

That is, the function parsed the raw data to internal table data.

So, I think it does not seem to do the task its name implies. Maybe it is not finished for the moment. That's all.

Best regards...

*--Serdar

0 Kudos

OK, Serdar, I give you the points, you gave the answer to the question I asked.

But it seems I asked the wrong question :).

So, could anyone tell me if there is a Function Module to show the contents of an internal table in a popup window?

Bogdan

0 Kudos

OK, I simply used an ALV and solved the problem.

(by using the parameters

I_SCREEN_START_COLUMN

I_SCREEN_START_LINE I_SCREEN_END_COLUMN

I_SCREEN_END_LINE

I managed to show my list in a popup).

Bogdan

0 Kudos

That is, the parameters of REUSE_ALV_LIST_DYSPLAY.

0 Kudos

Sorry, I guess I'm a bit tired.

The FM is 'REUSE_ALV_LIST_DISPLAY', ofcourse.

Bogdan

0 Kudos

Hi Bogdan

It is not much trouble to me but I couldn't see points rewarded by you at my contribution list. Anyway, I would like this forum to be based upon just voluntary objectives. But as I am in the same stream with all, I wanted to notice that.

As a second thing, it shouldn't be so difficult to program a dialog screen to show your internal table content in an ALV list or a table control if you are some familiar with ABAP screen programming. But since for another thread we deealt with that FM, look at the FM "F4IF_INT_TABLE_VALUE_REQUEST".

*--Serdar

0 Kudos

There are a couple of generic internal table display popups:

POPUP_WITH_TABLE_DISPLAY_OK

POPUP_WITH_TABLE_DISPLAY

POPUP_WITH_TABLE

will all display contents of internal table and return the value of the line clicked by mouse.

Regards,

D.

0 Kudos

Serdar,

I did award you the points.

I cannot tell you more than that. If you didn't receive the points, then I don't know where the problem is.

Secondly: ofcourse it is not difficult to program a FM to display a screen containing an ALV, I simply needed a quick "off-the-shelf" solution, and my question was: is there an existing solution of this kind?

I solved the problem as explained above, and passed on to the next task on the list.

Thank you for the help.

And again, I really am sorry if you didn't get the points. If that happened because of a mistake I made, I apologise.

Bogdan

0 Kudos

Sorry,

My mistake. I did not reward any points to anyone.

I now corrected this situation.

Bogdan

0 Kudos

Dorian,

I thought SAP does not recommend using FMs that are not released?!

Cheers,

Ramki.