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: 

Program crashes with a short dump on logon

aman_grewal
Explorer
0 Kudos

As I logon into SAP Easy Access I see a short dump.

I have attached the short dump screenshot.

Looks like the function group I created in one of my programs, has an issue possibly with the includes.

I logged out after facing the error, upon logging in each time I get a short dump

I believe SAP program SAPLSHI20 is trying to read the function group includes. The program SAPLSHI20 has been created and maintained by SAP

Question) As I get a short dump right after logging in how can i access the object navigator and remove the function group created.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

I hope it's a development system or sandbox?

Did you or someone in your company change something in definition of structure LVC_S_FCAT and/or internal table LVC_T_FCAT or the Function group (Some OSS note implementation or SP/Addon installation?)

DATA: field_cat_0400 TYPE lvc_t_fcat.
DATA: field_cat_wa TYPE lvc_s_fcat.
* DDIC: LVC_T_FCAT is table of LVC_S_FCAT
APPEND field_cat_wa TO field_cat_0400. " line 119 -> Dump???

Are you or an abaper able to execute a /nSE11 or /nSE80 from dump screen to analyze the problem and eventually solve it by activating standard object or deactivation some Enhancement ?

Else

Consider generation of a transport request on another system and import it from console with TP commands at OS level. (Put for example, structure, internal table definition, function group and any Enhancement in the transport request. If the enhancement doesn't exist create it in object directory, the import would delete it)

For example (But ask your basis)
Switch to the directory /usr/sap/trans/bin 
Execute tp addtobuffer <request> <sid>	
Execute tp import <change request> <target SID> client=<client number> pf=TP_<domainname>.PFL

NB: Basis may be required to use some options of tp import such as U2 or U6 to force import.

In some extreme case consider restoring the system, but some changes will be lost (lot of new 'friends')

If nobody on site has enough knowledge, consider raising an OSS message!

11 REPLIES 11

FredericGirod
Active Contributor

Did you try to access your system using Eclipse ?

the remaining option is to use another system to restore the SAP objects using transport request

aman_grewal
Explorer
0 Kudos

No i don't have any other way to access SAP that SAP Easy Access.

If I refer it to the SAP BASIS team, how can they fix it. What will they have to do in order to restore my programs to a previous state against my userid.

Use only comment sections for response or clarifications. This Space is only for content contributing towards answer.

0 Kudos

you simply need to do a transport request

The import of the dead system could be done using the command line TP addtobuffer ... TP import ... old school command line

Were you able to launch any other transactions? ex. SE03, you may want to give it try to display FG/program indirectly.

launch transaction SE03=>Objects in Request=>Include Objects in Transport Request => in the selection screen displayed , provide Package = $tmp and Person Responsible = < user who created that object > then execute (F8); in the next screen you will see all objects of the user under $tmp, select the object => Right Click=> Display(F5) => this should open the object in SE38(ABAP Editor).

For the other issue - I can not guess the root cause for the short dump though.

former_member1716
Active Contributor
0 Kudos

aman.grewal,

Did you try with transactions? Even though its dumping you still have command bar for you enter the t-code. Is it dumping every time you log on to any t-code?

Regards!

raymond_giuseppi
Active Contributor
0 Kudos

I hope it's a development system or sandbox?

Did you or someone in your company change something in definition of structure LVC_S_FCAT and/or internal table LVC_T_FCAT or the Function group (Some OSS note implementation or SP/Addon installation?)

DATA: field_cat_0400 TYPE lvc_t_fcat.
DATA: field_cat_wa TYPE lvc_s_fcat.
* DDIC: LVC_T_FCAT is table of LVC_S_FCAT
APPEND field_cat_wa TO field_cat_0400. " line 119 -> Dump???

Are you or an abaper able to execute a /nSE11 or /nSE80 from dump screen to analyze the problem and eventually solve it by activating standard object or deactivation some Enhancement ?

Else

Consider generation of a transport request on another system and import it from console with TP commands at OS level. (Put for example, structure, internal table definition, function group and any Enhancement in the transport request. If the enhancement doesn't exist create it in object directory, the import would delete it)

For example (But ask your basis)
Switch to the directory /usr/sap/trans/bin 
Execute tp addtobuffer <request> <sid>	
Execute tp import <change request> <target SID> client=<client number> pf=TP_<domainname>.PFL

NB: Basis may be required to use some options of tp import such as U2 or U6 to force import.

In some extreme case consider restoring the system, but some changes will be lost (lot of new 'friends')

If nobody on site has enough knowledge, consider raising an OSS message!

0 Kudos

Why do you mention a customer function group, does it appear in the Abap stack of the dump, could you export the dump to a txt/htm file and attach it to the discussion?

aman_grewal
Explorer
0 Kudos

I am working on sandbox and I am saving my objects as local.

I can ask the BASIS team to recreate my client, but it will bring my system to earlier state and I will loose all my modifications on other objects I worked on including table entries.

When executing /nSE80, /nSE37, /nSE38 I get the same short dump. Thus I am not able to get to the function group and delete it.

Also why should SAP try to run my function group saved with z_function_group_name in user namespace each time I log on?

Sandra_Rossi
Active Contributor
0 Kudos

You say "Looks like the function group I created in one of my programs", but SAPLSHI20 is a standard program, its behavior cannot be changed by one of "your" programs, unless you did a change of the standard? (enhancement framework, or via use of a modification key)

Could you clarify why you changed it?

aman_grewal
Explorer
0 Kudos

Sandra Rossi:

I didn't change any SAP standard program - SAPLSHI20 or any other. I don't have access to modification key or using enhancement framework.