cancel
Showing results for 
Search instead for 
Did you mean: 

Termination of /SAPAPO/SAPLOO_TS_DM while extracting the APO datasource

Former Member
0 Kudos

Hi All,

I am facing some peculiar problem while I run the RSA3 for the planning area datasource in quality box of APO system.

I have generated the datasource for planning area with the option Generate datasource in the planning area view from Extras menu item. This is transported to the quality box and whien i try rsa3 for the same its giving short dump saying /1APO/EXT_STRU110000123 (extract structure) is unknown type. this structure is getting generated dynamically. I checked the extract structure of the datasource in rsa2 there its showing /1APO/EXT_STRU110000172 which is same as in the development box.

Just to verify whether this is a transportaion problem or not I created the a test datasource for the same planning area in the quality box. then i checked the extract structure in rsa2 it shows me /1APO/EXT_STRU110000172 but when i run it in rsa3 same problem, dump saying /1APO/EXT_STRU110000123 (extract structure) is unknown type.

Does anyone faced this similar problem. Pls I shall be much obliged to all who give me the solution for this, since its very ugent for me.

nagam.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Just a thought that maybe you can check.

Can you check whether you have implemented BADI /SAPAPO/SDP_EXTRACT (specifically interface CHANGE_OUTPUT)? Maybe someone has hardcoded the /1APO/EXT_STRU110000123 type in the ABAP routine there and it is the one which is causing the dump. If you have implemented the BADI, then the implementation gets called when you extract data from the planning area (e.g. using RSA3) and the codes there may have caused the dump...

Furthermore, can you post the dump screen here? or send it to me via email. I want to pinpoint just where the dump occured.

Former Member
0 Kudos

Hi Emmanuel,

Thanx a lot for a quick responce. I am new to SDN so i dont know how to reply you with giving points Pls tell me how I can fix points for you. OK

I checked that BADI it was implemented, I checked the ABAP code for all methods CHANGE_INPUT, HANGE_OUTPUT

CHANGE_SELECTION, MODIFY_EXPORT_STRU but I cannot see the include (/SAPAPO/TS_PSTRU_PAREA_EXTRACT) in these mothods where the shortdump occurs. I have down loaded the short dump dont know how to send that here. Pls give me your mail ID so that I can send it through attachment. Just for glance i am pasting here a peice of code of that include.

  • Template.............: /SAPAPO/TS_PSTRU_PAREA_EXTRACT

  • Generation program...: %_T1FB80

  • Generation date......: 23.05.2006

  • Generation time......: 15:52:46

  • Generation release...: 640

  • Generated by.........: GBIHU2

----


**********************************************************************

************************************************************************

PROGRAM /sapapo/ts_gener_ZLSCDP01 MESSAGE-ID

/sapapo/tsm.

type-pools: rs. "H.515120

  • Typen:

TYPES:

gs_typ_extract_stru TYPE /1APO/EXT_STRU110000123,

gt_typ_extract_stru TYPE gs_typ_extract_stru OCCURS 0,

gs_typ_view2 TYPE /BIC/VZLSCDP012,

gt_typ_view2 TYPE gs_typ_view2 OCCURS 0,

gt_h_typ_view2 TYPE HASHED TABLE OF gs_typ_view2

WITH UNIQUE KEY

9ABOMID

9ABOMIO

9APPMNAME

Z_ABC

Z_DEMFAM

Z_PNAME

Z_PROD

Z_COUNTRY

Z_ENVEL

Z_SH

Z_SP

Z_LOC

Its very helpfu for me, but i am not able to solve it completely.

Need your mail id to post that shortdump.

Once again thanx a lot for this favour.

Narendra.

Message was edited by: narendra nagam

Former Member
0 Kudos

Narendra

Emmanuel is quite correct here, if you look at the coding, your ABAPer has hard-coded the extract structure into the include. This extract structure number is different between your two systems and hence why it cannot find that structure on the new box. Look at the line:

TYPES:

gs_typ_extract_stru TYPE /1APO/EXT_STRU110000<b>123</b>,

On your new box this needs to say

TYPES:

gs_typ_extract_stru TYPE /1APO/EXT_STRU110000<b>172</b>,

You will need to repeat this when you move the coding to your "live" environment or find a way to read the structure in.

Regards

Ian

Former Member
0 Kudos

Hi Emmanuel and Ian,

First of all my apologies for replying yu very late because of some holidays here.

Wht ever Emmanuel said and Ian suggested is correct. It has solved my problem.

Thanx a lot, I am assigning right pts to yu guys for this favour.

Once again Thanx a Lot.

rgds

Narendra.

Former Member
0 Kudos

Hi Emmanuel,

First of all my apologies for replying yu very late because of some holidays here.

Wht ever Emmanuel said and Ian suggested is correct. It has solved my problem.

Thanx a lot, I am assigning right pts for this favour.

Once again Thanx a Lot.

rgds

Narendra.

Answers (0)