Skip to Content
0
Former Member
Dec 12, 2007 at 07:11 AM

SE-16 is Ending Up in dump for Views

35 Views

Hi Everyone ,

we have a Z of SE-16 that is ZE-16, Now what has happened is the Z view say zbv_ekko, when these views are inputed it ends up in dump.

Now that whenever we execute SE-16, ZE-16, SE-11 a report get generate.

say to view a Z_EKKO_EKPO, /1BCDWB/DBZBV_EKKO this report gets generated and the FM responsible for cretaion of this report is RS_TABLE_REPORT_GENERATE

Now when ZE-16 is executed it creates a report Z/1BCDWB/DBZBV_EKKO

this report has a problem for views for tables it is fine but for views it has a problem which ends up in dump.

sometimes when we execute SE16 we get a pop-up to choose feilds and when we either select or just press ok, we can see Delete screens info at the bottom and selection screen appears, delete screen is deleting the previous selection screen and creates a new one.

Now I guess this is were the error is .. when I run SE-16 no pop-up comes when i run ZE-16 pop-up comes.

when i look at the report it generated the only difference is in a perform

Report /1BCDWB/DBZBV_EKKO

FORM DELETE_MARKED_LINES.

ENDFORM.

Report Z/1BCDWB/DBZBV_EKKO

FORM DELETE_MARKED_LINES.

DATA: RCODE(1) TYPE C,

ACTION VALUE 'D'.

PERFORM AUTHO_CHECK(SAPLSETB) USING 'ZBV_EKKO' 'INSR'.

  • ROUTINE ZUM ANZEIGEN AUS DEM RAHMENPROGRAM RUFEN

PERFORM MARKED_LINES_SHOW(SAPLSETB) USING ACTION

CHANGING RCODE.

IF NOT RCODE IS INITIAL.

  • LÖSCHEN WURDE BESTÄTIGT.

sort PZBV_EKKO by %_index descending.

LOOP AT PZBV_EKKO.

***JR SPERREN???

move-corresponding PZBV_EKKO to ZBV_EKKO.

IF NOT GLOBAL_AUTH = EXTERN_CALL.

DELETE ZBV_EKKO from ZBV_EKKO.

ENDIF.

READ TABLE IZBV_EKKO index PZBV_EKKO-%_index.

IF SY-SUBRC = 0.

DELETE IZBV_EKKO INDEX SY-TABIX.

ENDIF.

ENDLOOP.

PERFORM GET_MAXLEN(SAPLSETB)

TABLES %_TAB2

USING RSEUMOD-TBLISTBR

CHANGING MAXLEN

ULINE_LENGTH.

PERFORM LIST_OUTPUT.

ENDIF.

ENDFORM.

Now that this piece of code gets generated and when we use syntax check...

in this perform, the line

DELETE ZBV_EKKO from ZBV_EKKO.

it says ZBV_EKKO is write protected , couldn't figure out why this is happening.

and even say for some view in SE-16 it gives pop-up for a new selection , it doesnot generate this perform code..

when both the FM are same i couldnt figure out the problem.

Note that I tested the FM and gave the report name as /1BCDWB/DBZBV_EKKO

From that time I get a dump in SE-16 too and the difference same the perfrom has the same code and ending up in dumps.

Please let me know ur views on this..

Regards,

Raj