cancel
Showing results for 
Search instead for 
Did you mean: 

RUNLOGIC - Application not found

Former Member
0 Kudos

Hello Experts

I have a simple RUNLOGIC script in DEFAULT.LGF to call a script when DATASRC is of type CPUINIT_DRV. When I execute DEFAULT.LGF using a package, am getting the following error:

Application FINANCE was not found

Application: FINANCE Package status: ERROR

Script is below:

*START_BADI RUNLOGIC

QUERY=OFF

WRITE=ON

LOGIC=DRIVER_CALC.LGF

APPSET=BPCAPPSET

APP=FINANCE

DIMENSION DATASRC=CPUNIT_DRV

DEBUG=OFF

*END_BAD

I have checked to make sure the application is up, any thoughts ?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200327
Active Contributor
0 Kudos

Hi Nikil,

Are you sure that you getting "Application FINANCE was not found" error message: there is no such message in RUNLOGIC.

Can you try running that script in UJKT? Is that script located in Application FINANCE or some other Application? Does name of you Application has all capital letters?

Regards,

Gersh

Former Member
0 Kudos

Script is located in application FINANCE. Application name is all capital FINANCE.

Tried a couple of things:

Executed similar RUNLOGIC script in other applications and get a similar error.

Removed the statement "APP=FINANCE" from the script, still getting a similar error.

In UJKT, getting the following error:

UJ_NULL_OBJ_REF:Application FINANCE was not found

Is this got to do with something in the ABAP layer.

Thanks

Nikil

Former Member
0 Kudos

Hi,

Can you please try to activate your appset using UJS_ACTIVATE_CONTENT.

former_member200327
Active Contributor
0 Kudos

Hi Nikil,

is any other script working in your FINANCE Application?

Gersh

Former Member
0 Kudos

Yes other scripts are working in FINANCE application and in other applications as well.

Thanks

Nikil

Former Member
0 Kudos

Performed the following:

Login into SAP Logon and run tcode SE38> Enter program name as UJS_ACTIVATE_CONTENT>Execute

Selected AppsetID, uncheck all check boxes except Activate AppSet and Run (F8).

Getting the following:

UJT_EXCEPTION E 033 AppSet status is not offline, can not export/import transport request

UJS_EXCEPTION E 003 Errors occured during "after import" method call during activation

Any thoughts ?

Thanks

Nikil

former_member200327
Active Contributor
0 Kudos

Hi Nikil,

Can you please check if in table UJA_APPL you have a records with that Appset_ID and Application_ID? If you have , can you check if in table UJA_APPLT you have record with same parameter and Language Key = EN and Description field of that record is not empty?

Cheers,

Gersh

Former Member
0 Kudos

Checked both UJA_APPL and UJA_APPLT tables. Both of them have the right data.

Any other thoughts ?

Thanks

Nikil

former_member200327
Active Contributor
0 Kudos

Hi Nikil,

Do you have Application other than FINANCE in your AppSet? can you check RUNLOGIC there?

Thanks,

Gersh

Former Member
0 Kudos

I have tried RUNLOGIC in two other applications. Get the same error in each of them.

Thanks

Nikil

Former Member
0 Kudos

Hi,

Not sure what might be causing this. But just getting a thought may be the transports need to be imported once again.

former_member186338
Active Contributor
0 Kudos

The AppSet name have to be all capitals. We got the same error and managed to resolve it renaming the AppSet.

Former Member
0 Kudos

Vadim is right, this BADI doesn't support Application Set name in lower case.

I solve this with correction of method IF_UJ_CUSTOM_LOGIC~EXECUTE of class ZCL_BPC_RUNLOGIC:

114 condense ls_param-hashvalue no-gaps.

115 *{ DELETE BPDK900030 1

116 *\ translate ls_param-hashvalue to upper case.

117 *} DELETE

118 p_new_appset_id = ls_param-hashvalue.

119 endif.

former_member200327
Active Contributor
0 Kudos

I have a new version of RUNLOGIC that accepts AppSets and App in mixed cases, member IDs and properties with space inside and other minor fixes.

From major enhancements: it understands now $...$ variables of a DM Package starting from BPC 7.5 SP08, and works in BPC 10.

Hope to update blog soon.

Gersh

Former Member
0 Kudos

Gersh, that's cool!

Will it support "_" in dimension members? )

By the way, thanks a lot for "How to" and BADI!

former_member200327
Active Contributor
0 Kudos

Hi Anton,

It should support underscore in Dimension member IDs in current version; current version doesn't support spaces in member ID.

Regards,

Gersh

Former Member
0 Kudos

Hi Gersh

We are on BPC NW 7.5 SP12 and still have the problem that we can't use the RUNLOGIC script because our appset is in mixed case.

Are you able to share your "new" version of RUNLOGIC with me so that I can implement it?

Thanks in advance for your help.

Gayle

former_member200327
Active Contributor
0 Kudos

Hi Gayle,

Sure, it was published in Jan at scn.sap.com/docs/DOC-35152

Gersh