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: 

BADI not transported to QAS

Former Member
0 Kudos

Hi Experts,

I created a badi for MIGO and did some changes in methods. Earlier when i transported it to QA it qas working fine. again i transported the same badi with some changes in it but now it is giving dump that no interface found. I checks in QA system but there is no method exist for tha same badi. I transported it again and getting same error. In DEV it is working fine.

PLease help me as it is very urgent.

Regards,

Nikhil

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Nikhil,

To be precise..a method is missing

<b>In your first TP --was that method being used?</b>

<b>YES!!!</b>it means it was an accidental delete

Can you do the following (yourself or with the basis)

Go to the class -> check the versions and see if multiple versions are there

A version comparison can be done to see the cause

<b>NO!!!</b>it means the method was not present there and it was noticed just now..you need to check with basis team as to why a method is missing in quality and available in quality

reward if it helps and Pls check and revert

Regards

Byju

13 REPLIES 13

Former Member
0 Kudos

Hi Nikhil,

Since you mentioned that no interface found and also no method exists i guess somehow the interface might have got deleted. Cannot say it might have happened in second request because otherwise it would have got deleted from Dev. too.

Go to SE24 in QA and check if the BADI interface exists or not if it does then check in BADI under interface tab there should be entries similar to the DEV. system.

Hope this help otherwise revert for more clarifications if any.

<b>Always reward points to other's efffort if useful.</b>

regards,

Vikas

Former Member
0 Kudos

Hi Nikhil,

To be precise..a method is missing

<b>In your first TP --was that method being used?</b>

<b>YES!!!</b>it means it was an accidental delete

Can you do the following (yourself or with the basis)

Go to the class -> check the versions and see if multiple versions are there

A version comparison can be done to see the cause

<b>NO!!!</b>it means the method was not present there and it was noticed just now..you need to check with basis team as to why a method is missing in quality and available in quality

reward if it helps and Pls check and revert

Regards

Byju

0 Kudos

Hi Byju,

I am sure no methed is deleted in DEV, and in QA no method exist.Instead MIGO is giving dump.

In QAS it is only shoing current version, no history in version management exist.

Even I imported the old working version in QAS (that was earlier working in QAS), again i am getting same dump.

What is the solution for this. bcz of this dump other people are unable to work on migo. how can we deactivate BADI ?, if i will deactivate BADI will the original version work ?

regards,

NIK

0 Kudos

Hi niks,

Pls do the following

go and run migo in Quality server and let it dump

go to ST22 and see the dump information

please copy paste the following details of error from ST22

<b>What happened?

Error analysis

How to correct the error

Information on where terminated

Source code extract</b>

Maybe we can have a clear picture of whats happening,

Regards

Byju

0 Kudos

Hi Guys,

Thanks for ur helpful answers. Due to Qality refresh the class got deleted and that was the reason no method exist in QAS. I transported it to QA again with class.

Regards,

Nik.

0 Kudos

Hi Byju,

Again i got this Error :-

What happened?

Error in the SAP kernel.

The current ABAP "MB_MIGO_BADI==================CP" program had to be

terminated because the

ABAP processor detected an internal system error.

Error analysis

During generation of the class or interface "MB_MIGO_BADI==================CP",

an attempt was made to determine the time

stamp of the Include "ZIF_EX_MB_MIGO_BADI===========CO" for the class or

the interface "ZIF_EX_MB_MIGO_BADI".

Here an error occurred.

One possible cause is that "ZIF_EX_MB_MIGO_BADI===========CO" was

not found.

Trigger Location of Runtime Error

Program MB_MIGO_BADI==================CP

Include MB_MIGO_BADI==================CP

Row 9

Source Code Extract

Line SourceCde

1 class-pool .

2 include MB_MIGO_BADI==================CU.

3 include MB_MIGO_BADI==================CO.

4 include MB_MIGO_BADI==================CI.

5 endclass.

6 class MB_MIGO_BADI implementation.

7 include MB_MIGO_BADI==================CM000.

8 endclass.

Regards,

Nik

0 Kudos

Hi niks,

I have implemented the MB_MIGO_BADI for a similar enhancement ...but for me the interface name is <b>IF_EX_MB_MIGO_BADI</b>...in your error message it is showing as <b>"ZIF_EX_MB_MIGO_BADI"</b>...please can you give me a brief on how you created the instance of the BADI....

i have done the following steps

created an instance of the BADI in se19 with definition name as MB_MIGO_BADI and saved the sample code...done modifications to divert the data flow to the Ztables and given screen names and fields to accept data accordingly

if you have created a separate interface ...please make sure the interface is available in the next server..answer lies in the <u><i>ZIF_EX_MB_MIGO_BADI</i></u> for sure

Pls check and revert ASAP

Regards

Byju

0 Kudos

Same steps are followed to create the instance , u have to copy the class also

In my case

interface is IF_EX_MB_MIGO_BADI &

class is ZIF_EX_MB_MIGO_BADI

I am not creating any interface its the same as in MB_MIGO_BADI even class is also same with a new name.

U no there is some problem in transportation of objects, bcz while checking it in QA it gives an error and when i transport that object it gives another error, errors are coming one by one, its all bcz of QA refresh when i was in the middle of the development, i think some objects transported before refresh QA are missed from there.

Please tell me what are the objects i have to transport as a fresh copy like, badi implementations, method on which we did changes class etc etc, i am so confused now.

This time i am getting such error:-

Short text

Syntax error in program "ZIF_EX_MB_MIGO_BADI===========CP ".

What happened?

Error in the ABAP Application Program

The current ABAP program "MB_MIGO_BADI==================CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

The following syntax error occurred in program

"ZIF_EX_MB_MIGO_BADI===========CP " in include

"ZIF_EX_MB_MIGO_BADI===========CI " in

line 11:

"The type "ZHZL_MM_STRUCTRE_MIGO" is unknown."

" "

" "

" "

The include has been created and last changed by:

Created by: "HZLABAP "

Last changed by: "HZLABAP "

Error analysis

The following syntax error was found in the program

ZIF_EX_MB_MIGO_BADI===========CP :

"The type "ZHZL_MM_STRUCTRE_MIGO" is unknown."

" "

" "

Trigger Location of Runtime Error

Program MB_MIGO_BADI==================CP

Include MB_MIGO_BADI==================CM000

Row 12

Module type (METHOD)

Module Name GET_INSTANCE

Source Code Extract

Line SourceCde

1 method class_constructor.

2 phandler =

3 cl_badi_cache_handler=>get_instance( ).

4 endmethod.

5 method get_instance.

6 data:

7 inst type intf.

8 field-symbols: <cl_name> type classname.

9 if ctx is initial.

10 raise exception type cx_badi_initial_context.

11 endif.

>>>>> get %_badi-implementations proxy.

13 endmethod.

14 method get_cinstance.

15 create object proxy.

0 Kudos

Hi Niks,

We need to collect all the objects once again with respect to the BADI as a singl transport and send it to Quality system so that we can confirm that transport is causing the problem

Starting with the all the "Z" functionalities and objects to the BADI and the code...please collect all in a single request..if it is a difficult task..there is an option in transport requests

create a transport request...go to SE10...click on modifiable->workbench->display

in the list right click on the new request -> a menu will come ->in that "Include objects CTRL+F11) click..you can write the request numbers of all transports one by one in the order of creaation (otherwise overwrite will happen) and the objects in them will automatically be saved to the new request...Transport this new request which contains all the objects

also please check if MB_MIGO_BADI and its interface of which an instance is there has already been created in Quality system

Please check and revert after transporting the objects

Regards

Byju

0 Kudos

Hi Guys,

MIGO is working fine now in QAS, i saved everything related to MIGO like z class, methods, BADI function module, screen function grop in a new TR and transported to QAS.

Thanks for ur valuable help...

Regards,

Nik

raymond_giuseppi
Active Contributor
0 Kudos

Call transaction SE01. Create a new transport request. Put in the request the objects list from the two previous transports : first implementation of BADI and last implementation of BADI so to insure that each and every object will be transported again in latest version, then transport this new request to QA.

Regards

0 Kudos

Buddy,

As i said i transported it 3 times (all the objects related to MIGO BADI) it only transport the badi but without methods. I activated all the methods which are required or not andactivated the whole badi and then transported.

But in QAS no method exist only the BADI name there, in history tab it is shoing all the transport requests but in implementation mo method exist.

Tel me how i can get the original version of badi without this implementation. I tried through SE19 by giving the name of z badi and clicking on Deactivate in Enhancement implementation in menu. but it is not deactivated. it is shoing same changes in MIGO.

Regards

NIK

0 Kudos

Hi Nikhil,

Also test the transport request object's which were transferred for the second time.

Check if it contains and deleteion entry. Also if you haven't done it may be someone else migh have my mistake deleted and transported the request of some common program.

The option I see here is to ask your basis team to use the backup and revert the changes made to the last day when it was working. As Identifying who had deleted would require you to check all the transported request from the time it stopped working.

Hope this helps.

regards,

Vikas