cancel
Showing results for 
Search instead for 
Did you mean: 

7.5NW SP07: RunLogic BADI

Former Member
0 Kudos

Hi,

i used the following code for RUN LOGIC badi.

*START_BADI RUNLOGIC

QUERY=OFF

WRITE=ON

LOGIC=VALIDATIONS.LGF

APPSET=TEST

APP=DISCL

DIMENSION PROFITCENTRE = 100

DIMENSION VERSION = ACTUAL

DIMENSION RPTCURRENCY = LC

DIMENSION Z_TIME = 2011.MAR

DEBUG=OFF

*END_BADI

And while validation both through UJKT and script i am getting following mesage:

UJK_VALIDATION_EXCEPTION:BAdI "No implementation was selected for the current BAd" not found.

Please look into it

Anurodh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

When you created the BADI did you create a filter for "BADIIMPL_NAME" and set it to "RUNLOGIC"?

When calling a BADI from ScriptLogic, it must be called through the filter value.

Former Member
0 Kudos

Ok. I need to create the BADI.

One more thing what code do i need to write inside that BADI.

Former Member
0 Kudos

I think the best person to comment on this would be Gersh Voldman himself as he is the author of the how-to guide. Having implemented the badi in our system....

- All we did, was get the latest version of the how-to paper from sdn and take the attached transport files in the guide. Asked the basis to import the requests in the development system. You are good to go. Just look for the naming conventions to be followed on the guide. Hope this helps. You dont have to create anything. Its all set up for you. You need to create the script logic.

Thanks,

Sreeni

Former Member
0 Kudos

Hi,

Just want to add that open the guide from the sdn link and look for the transport files. The files are not seen when you save the guide to the pc and open it from there. Just thought of sharing. Hope this helps.

Thanks,

Sreeni

former_member200327
Active Contributor
0 Kudos

Hi Anurodh,

I hope you referring to RUNLOGIC from that How-To Guide. In that case you have to just import transport attached to the guide.

If you want to implement your own BAdI and name it RUNLOGIC then you have to create it and write your own code.

Hope this clarifies things,

Gersh

Former Member
0 Kudos

Hi All,

i know that i have to transport the code in the system. But before transporting is it possible that i can see that code.

I can't blindly transport the code in the system without proper review.

Anurodh

former_member200327
Active Contributor
0 Kudos

You can try importing it in some sandbox and review there. It's 2,000+ lines of code. I don't think there is away to see the code without transporting it.

Former Member
0 Kudos

can you send the code to my mail box.

former_member200327
Active Contributor
0 Kudos

First of all, I don't see your mail box in your business card. Second, it's not just one program, it's a class with a number of methods and a Function group and a Message Class, so I don't now how you are going to see all connections between them if I just send you the code.