on 06-03-2011 10:00 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.
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
User | Count |
---|---|
11 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.