BPEM Case category doubt
Hi Experts,
I have a doubt regarding BPEM case categories. In case cat there is a field in Basic data tab called "CASE CREATION TYPE" having following two options:
a) Automatically
b) Manually
I want to know the basic difference between these two. I have done some research on myself and found out this:
a) Automatically: for this clarification case is created automatically when EMMA transaction founds msg defined in the case cat in the application log.
b) Manually: for this we have to generate the case with help of BAPI by manually coding it.
Please share your views about my finding whether its right or wrong?
Thanks in advance.
BPEM case creation depends on the message that is being configured against different case categories.
Automatic case categories are configured generally for standard codes like ISU Billing Job or Invoicing Job. Here the application log is written with different messages during the ISU job and later EMMA transaction is executed which picks all these messages (with variables) and create unique cases.
Manual Case creation is generally used in custom codes to raise a BPEM case as and when an exception is encountered like during sales order creation product code is missing or during account statement generation contact address in missing. In these custom developments application log in not written but the message is directly used to create a BPEM case by directly calling the BAPI.
Similar Messages
-
Create a BPEM Case and link to a ISU Contact Record
Hi All -
I have a question, We would like to create a FOP to do the following
1. Create a BPEM case.
2. Create a ISU Contact for the BP using the method ISUCONTACT-CREATEFROMDATA
The question is can this method be used to attach the BPEM Case to the Contact Object? That is, will it establish a relationship in the BCONT_OBJ table?
I want to look up the BPEM case from the Contact.
Regards,
Pradhip.SYou can definitely do that by adding the business object EMMACASE and object key to be your BPEM case number into the CONTACTOBJECTS/CONTACTOBJECTS_WITH_ROLE parameter of the method you are using.
-
Hi Everyone,
I would like to confirm the following understanding is correct, pls:
1. Transfer of Requirement is set in the SPRO for item category . But I could not find where is this setting, Kindly advise where to turn on this setting.
2. Item categories for BOM (main and sub-items) are configured the same way as normal items or materials, in SPRO.
Have a nice day...
Johnhi
for TOR first check requirement class r assigned to requirement type
in req class switched on tor
if not activate in schedule line category relevant for tor
for BOM
We have to maintain material wt item category group ERLA
than go to vov 4 & maintain
main items ORERLA-+-= TAQ
Sub items ORNORM-+TAQ=TAP
TAQ = relevant for pricing
TAP=price not relevant,
check it out
regards
Edited by: nagsksap on Dec 31, 2010 1:21 PM -
hi all,
which is better to use in below two query's.
select empno from emp where deptno=10
union all
select empno from emp where deprno=20
or
select
case when deptno=10 then empno end case ,
case when deptno=20 then empno end case
from
emp
which is better?
will case expression in select statement will effect the performance?
regards
shashank .kHi,
shashank .kura wrote:
hi thanks for reply ,
now consider these two Please try the queries yourself before posting them. Ask specific questions, such as "Why does the first query produce ...?" or "I though the second query would produce ... using the standard scott.emp table. Why doesn't it?"
select empno,null from emp where deptno=10
union all
select null,empno from emp where deptno=20The query above will only produce results for rows where deptno=10 or 20 (a total of 8 rows in the standard scott.emp table).
and
select case when deptno=10 then empno else null end case ,
case when deptno=20 then empno else null end case from emp order by 1,2This second query will produce one output row for every row in the table (14 rows in the standatd scott.emp table. 8 of those rows will be the same as returned by the first query, and the other 6 will have NULL in both columns.) Also, both columns have the same alias, CASE. (The keyword to end a CASE expression is just END. If you say END CASE, then CASE is taken to be a column alais.)
The following gets the same results as your first query:
select case
when deptno=10 then empno
else null
end AS empno_10
, case
when deptno=20 then empno
else null
end AS empno_20
from emp
WHERE deptno IN (10, 20)
;This will be more efficient than a UNION, because it only has to make one pass through the table.
Edited by: Frank Kulash on Aug 19, 2011 10:26 AM -
Hi,
I need some help with a simple case statement. lets say i have a table called name which has following 2 rows -
ID first_name last_name
1 JOHN SMITH
2 JOHN
i want to write a statement like :-
select id,case when first_name like '%JO%' then 'John in first_name'
when last_name like '%SM%' then 'Smith in last_name'
end result from sample_table;
The result displayed is -
1 John in first_name
2 John in first_name
how can i rewrite this query to also include a 3rd row which will display the result as -
1 John in first_name
2 John in first_name
1 Smith in last_name
I want to display this 3rd row which displays last name also.
Please help.974647 wrote:
Hi,
I need some help with a simple case statement. lets say i have a table called name which has following 2 rows -
ID first_name last_name
1 JOHN SMITH
2 JOHN
i want to write a statement like :-
select id,case when first_name like '%JO%' then 'John in first_name'
when last_name like '%SM%' then 'Smith in last_name'
end result from sample_table;
The result displayed is -
1 John in first_name
2 John in first_name
how can i rewrite this query to also include a 3rd row which will display the result as -
1 John in first_name
2 John in first_name
1 Smith in last_name
I want to display this 3rd row which displays last name also.
Please help.Hi,
welcome to the forum.
Please read SQL and PL/SQL FAQ
Additionally when you put some code please enclose it between two lines starting with {noformat}{noformat}
i.e.:
{noformat}{noformat}
SELECT ...
{noformat}{noformat}
What you want to achieve cannot be done with a single query without using some tricks.
Let's start from the point that your table has 2 rows. If you make a query without using a filter (A WHERE clause) and without using any CONNECT BY clause the number of rows returned by your query will be 2.
So a possible solution is to make a union of the same table applying the condition to select only records that you want to display.
i.e.:
First I select only records having first_name like '%JO%' then I make a union with all rows having last_name like '%SM%'WITH sample_table AS
SELECT 1 id, 'JOHN' first_name, 'SMITH' last_name FROM DUAL UNION ALL
SELECT 2 id, 'JOHN' first_name, NULL last_name FROM DUAL
SELECT id, 'John in first_name' txt
FROM sample_table
WHERE first_name like '%JO%'
UNION ALL
SELECT id, 'Smith in last_name' txt
FROM sample_table
WHERE last_name like '%SM%';
ID TXT
1 John in first_name
2 John in first_name
1 Smith in last_name
Regards.
Al
Edited by: Alberto Faenza on Dec 3, 2012 5:27 PM
Removed case, no need -
Schema ID and Category ID is not picked in case routing
Dear Experts,
Currently I am working on SAP CRM 7.0 SP06. Now I am trying to do the settings for case routing based on rule policy.
I have done the following settings for the above requirement.
I have defined application area (as Case Management) in multilevel categorization.
I have created category schema in web ui with application id as case management.
I have created rule modular as if case category is xxx then route to xxx Org unit.
I have maintained this rule policy under service manager profile.
Now the problem is when I hit escalate button schema id and category id is not picking so my rule is getting failed.
Could you please advice if I missed any settings and also please share if you have some document which will explain steps to get the above functionality.
And also please let me know where we assign Reference category ID to a case.
Kindly share your views over the same.
Thank you.
Regards,
Babu.ok
-
EMMA / BPEM : automatic cases creation
Hi Experts,
I am working on a special scenario with EMMA and I would like to know your advices.
I would like that the system create automatic EMMA cases on IS-U when the replication from CRM fails for some reasons. I am already using ECRMREPL to process the failed contracts. But this transaction is not user-friendly and I would be interested on creating automatic cases when special messages are processed. We can see these messages on SLG1, so I assume it is possible to create automatic EMMA cases ? Right ?
I created a new case category as automatic for my message but it is not working. I can see in the cookbook that a business process need to be defined. But it is not a transaction, and I guess there is no standard business process for ECRMREPL. How I can set the EMMA session for my scenario ? Any idea ?
Hope it is clear...
Regards,
NickHello Nick,
In order to activate EMMA for transaction ECRMREPL, you have to maintain entry for this transaction in the IMG path
Financial Accounting -> Contract Accounts Receivable and Payable-> Basic Functions
-> Enhanced Message Management
-> Specifications for Customer Transaction and Messages
-> Define Customer Transactions for Message Management
For this,
First of all you have to create a custom Business area (eg:ZCRM) and a Custom Business process code (eg: ZCRMCONTR) for this Bus area with respective job analysis class (eg:CL_EMMA_ANALYZE_JOB_APPLLOG) and analysis class ( eg : CL_EMMA_PROC_APPLLOGMSGS_V2 ) and messages for identification of Execution/Bus Obj).
You have to assign this Business Process Code
(eg: ZCRMCONTR) for maintaining entry for Custom Transactions for Message Management.
Then you can create clarification category based on the messages writing to Application log while executing the transaction ECRMREPL., which can be used to create respective cases using EMMA .
Regards,
Riyas. -
BPEM requires a specific BP for each error message i.e. massage EL 43 belongs to EMR00009. I have 130 error messages and I need to assign them to specific BP.
Does anybody know the table or a process how can I check which error message should be assigned to which BP.
Thanks,
TomaszTomasz:
I am not sure what you are looking for here, but the business process code and business process area are mostly useful for differentiating between messages and cases. You can choose to align and assign them as you wish. The useful part is the bp code is the main object and the analysis. For the most part you should not need to define new ones, but choose to assign case categories to bp codes which use the same main object.
A message itself is only assigned to a main object - which is based upon the variables which it uses in building the message. The case category using a message type could have a bp code which uses same or different object, but is based upon the process that generated the message, e.g. EIN00001 for a message generated during invoicing but not for one generated during meter reading.
regards,
bill. -
How to make the tags in XML file case insensitive
Hi,
I have a ReadXML class which reads an xml file. This class also has a method which receives a string-child from another class and uses this string-chile to match it with the child tag in the xml file, and returns the child tag's value.
Now, my problem is this, the child tag in xml may be in a case different from the case of the string-child received from another class.
How do I modify it, so the program does not return a null pointer exception because the strings did not match for want of uppercase or lowercase letters.
Thanks
SangeethaI'm not sure what you are getting at. Is a string child the contents of a node treated as text?
If you are trying to match a child node regardless of case I doubt this is possible as the XML standard says an XML document is case sensitive so if your parser ignored case it would not be XML complient.
Hope this helps. -
Is it possible to import the failure cases from another test plan in MTM ?
Hi,
Is it possible to import the failure cases from another test plan? For example, I have created a new test plan with ID 1002. Now I want to import the failure cases from test plan with ID 1001. Is there anyway to do this?
Thanks,
LesluHi Leslu,
As far as I know, there isn’t that feature in MTM, but we could achieve that by add test cases to the test suite.
As we know, the test case is associated to the test suite, remove the test case from the test suite won’t delete the test case, it just remove the relationship.
So, we could base on the test cases’ id to add the test cases to a test suite of another test plan.
The condition is:
Work Item Type In Group Test Case Category
ID In id1,id2 (e.g. 1,2,)
Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to undo "Set case to" on a column in the data foundation?
Hello,
I have a multisource universe currently pointing at only one database (Oracle). In the data foundation I right-clicked one of the columns named "Category" and selected "Set case to upper case". This broke the query with the following error: "Database error: [Data Federator Driver] [Server] The column name 'CATEGORY' could not be found in the table/alias: 'Table__1'. (IES 10901) (WIS 10901)"
I would like to undo this change but can't find a way to do it. The only options in "Set case to" are upper and lower case, with no option to go back to the original/default. How can I fix this without having to reimport the table? I read that you can tweak case-sensitivity settings in a .prm file but I would rather not change things at the filesystem level.
EDIT: I worked around it by changing the object in the business layer to use the original case of the column name. But is there no way to change back how it actually looks in the data foundation? A minor issue perhaps, but annoying.
Thanks.
Pedro G. AcevedoHi
We can make changes back using the Undo option.
If you have selected Category ..and selected
Selected "Set case to upper case" CATEGORY
selected "Set case to lower case" category
If you want the actual DB field Category use the option :
Edit --> Undo Set (IDT)
If it is still not change back to “Category” , just delete the table from Data foundation and add again to same table once again and create the joins -
How to create a Case Hierarchy
Hi Friends,
Can you pls guide me on how to create a Case Hierarchy?
It's very much urgent.
Thanks in advance and warm regards
PurnenduHello,
Please have follow below steps for case hierarchy,we have implemented for service scenario
General paths:
CRM/Case Management/
CRM/Interaction Center Web Client/Business Transactions/Case Management
Transaction:
SCASE_CUSTOMIZING
Basic Settings
Number range defined
Case type emergency defined
Status Settings
Case status profile defined with values as below
Case attribute settings
Case priority defined (general for all case types)
Case reason defined
Case Category defined
Create function profile and assign to Case Type
ICWebclient settings
Define and Enhance ICWeb client profile for Case processing
Case Search added to Z_XXXX Nav Bar and new Z_XXXX_Case defined. New Nav Bar has Case Management Entry added.
Additional ICWeb client profile defined. Assign new Nav Bar assigned and Case function profile to the new profile.
Assign function profile for ICWebclient
Create new runtime profile and assign to new ICWeb client profile. Also replace appropriate controllers for Case Management. Pls refer to Technical Specification for details.
Case Record Model (transaction scase)
RMS ID
Case Record Model Cycle0 activity. View for linking business objects to Case record.
Set Up Registry
Include new record model and service provider for record model in Case Type
Maintain filters in ICWeb
Column headings
BOL paths, mapper classes and search help for CSRs.
Define Filter profile
Maintain entries to Filter profile.
Assign Filter profile to Case Type
New Business activities for Case
Transaction type Case activity , partner determination and status profile created.
Status profiles for new business activities
Partner Determination procedures for new business activites
Regrds
Shanmuga -
EMMA Not Working for Billing & Invoicing Cases
Hi
I have configured case type and case category for Billing Block - Message type AJ063. Cases are not getting created through EMMA. Where as in ECC 6.0 EHP 0 the same was working. Is there any Note required for ECC 6.0 EHP 2. To be precise Current version is SAPK-60202INISUT. Also to add this we see message that jobs preapred. But when we looked into EMMA executed with Radio button Prepared Jobs enabled then No relavant jobs shown. Same thing happened with AJ098 also.Hi PRESII,
This problem is generally observed in ECC 6.02 support level 03 and below. after you upgrade it from ECC 6.0. SAP has done the chnages and incorporated the same in ECC 6.02 support level 04. I suggest that you upgrade your support level 4 or later and your problem should be solved.
Cheers,
Amin -
Hi Experts,
My requirement is to generate a BPEM case for a custom warning/information message. I understand I'll have to pick it in EMMA log while job preparation. Can someone suggest a Function module to write this custom information message to EMMA log?
Thanks,
DhirajHi,
This can be done just with customizing and no programming is necessary .reate log messages for the start and end of each business .The system generated RUNID can be obtained by calling function module ' EMMA_NONMASSACT_RUNID'. ... via EMMA must write messages in the system.
Update table EMMA_HDR As soon as the business process is executed the application should update thetable EMMA_HDR by providing all the necessary technical information about theexecuted process. When updating or inserting the entry the following informationshould be provided:a. RUNID: A unique job number has to be assigned to every executedbusiness process in the system. The system generated RUNID can beobtained by calling function module u2018EMMA_NONMASSACT_RUNIDu2019.For a mass activity/parallel processing framework, specially designedfunction module (EMMA_MASS_ACTIVITY_RUNID) has already beenimplemented in the frame work and user do not have to do this.b. BPCODE: This is the main business process code that you have setupabove.c. EXTRUNID: Assign a preferably unique ID (50 character text to give amore meaningful text to the executed business process, in order to help theusers to select the job).d. LOGTCODE: The transaction code via which the business process isexecuted.e. XSIMU: check the flag if the business process is executed in simulationmode (not every application offers this functionality).f. XPRUN: define how the business process was executed i.e. either in testmode = 0 or in production mode = 1.g. LOGUSER: System user name of person who executed the processh. LOGDATE: System date of process executioni. LOGTIME: System time of process executionYou can also use the function module u2018EMMA_NONMASSACT_RUNIDu2019 to updatethe EMMA_HDR record.
Message for every processed business object Every application should write a message to identify the processed businessobject. The most recommended way would be to use the message EMMA-011(for start of processing of business object) and EMMA-012 (for end of processingof business object). You can also use your own defined message (for this youhave to do the customizing, follow the cook book chapter 4). You can create thestandard messages by using the standard methodsu2018CL_EMMA_BPC->STARTu2019 and u2018CL_EMMA_BPC->ENDu2019and write these messages into the application logor any other DB the way you want.
CALL METHOD u2018CL_EMMA_BPC->STARTu2019EXPORTINGIV_MAIN_BUS_OBJTYPE = Object TypeIV_MAIN_BUS_OBJKEY = Object KeyIV_TCODE = Transaction CodeIV_START_TIME = UTC Time Stamp in Short Form(YYYYMMDDhhmmss)IV_NO_TIME_MEAS = u2018 u2019 No Time Measurement(Suppress user time measurement)IS_BUSOBJECTS = Business Objects in ProcessIMPORTINGES_MSG = Application Log: Message DataEV_BPGUID_C = GUID of Transaction/Process inCharacter Format
EXCEPTIONBPAREA_INACTIVE = Measurement of Processes of this Process
Area Not ActiveMAIN_BUS_OBJTYPE_INCOMPATIBLE = Process code for processarea not foundCALL METHOD u2018CL_EMMA_BPC->ENDu2019EXPORTINGIV_MAIN_BUS_OBJTYPE = Object TypeIV_MAIN_BUS_OBJKEY Object KeyIV_END_TIME = UTC Time Stamp in Short Form(YYYYMMDDhhmmss)IMPORTINGES_MSG = Application Log: Message
Regards,
Saju.S -
IS-U / CCS - Billing and Invoic - BPEM
Hello,
Please send the details related to BPEM -
Monitoring Tool
BPEM Monitoring the Log.
BPEM Monitoring Erroneous Objects.
BPEM Monitoring Other Erroneous Objects.
Managing Tool
BPEM Case Creation.
BPEM Case Allocation.
BPEM Case Management.
Analysis Tool
BPEM Analysis Process Mamagement.
Thanks and Regards,
Swatantra Pathak.Hi,
Business Process Exception Management (BPEM) is used to analyze and monitor mass activities and online transactions. The BPEM process monitoring allows you to identify successful and incorrect processes at a glance. Problem messages that occur during processes are added to a clarification worklist, using BPEM, and are distributed to the employees responsible.
Please check this link
http://help.sap.com/SCENARIOS_BUS2005/helpdata/EN/BB/456C4156EE001DE1000000A155106/content.htm
http://help.sap.com/bp_waterutilv1600/documentation/General/UT_Overview_V1600_US.ppt
Best regards,
raam
Maybe you are looking for
-
How can I see the phone number that a contact used to call me?
I have several contacts in the addressbook of my iPhone 4 (iOS 5.0.1) for which I have entered multiple phone numbers. In the call history the names of my contacts are shown, which is fine. To call someone back based on the history I would like to k
-
Cenvat credit of additional duty of customs
As per importer price of 10 units Basic 100 Excise 10 Ecess 2 Shecess 1 AED 4.52 We bought 5 units from him we treat it as a case where tax code inclusive of all duties where a backward calculation is used in
-
Safari, itunes, and Adobe Reader wont start up on iBook G4
I have an iBook G4 that I purchased from a friend a few months ago that seemed to be working fine up until two days ago. Now for almost no reason at all, Safari, itunes and Adobe reader will not open anymore. Can someone please help me?
-
Can stop a deleted event error message pop up from recurring.
Can send screen shot but the PC version of ask question fails to up load the word doc which has the screen shot image in it. The down load wheel just runs continuously with out stopping
-
All, I have a customer with a L2 network with multiple VLANS and consisting of multiple access switches with two L2/L3 core switches. Both core switches have a SVI for each vlan using HSRP to provde redundant Default Gateways. The main core switch i