Quantcast
Channel: SCN: Message List
Viewing all 8927 articles
Browse latest View live

Re: GRC Experts - need your help - error msg with 10.1

$
0
0

Hi Siobhan,

 

What do you do to resolve this issue?

I have the same issue and to solve this is necessary change the CUA configuration, parameter initial password local, but I think this isn't correct procedure and then I open a call in SAP.

 

Regards,

Salomão


Roles to restrict access of ABAP Eclipse

$
0
0

Hello,

 

We have created one common training user ID for abap development but we don't want to give authorization to access abap eclipse i.e. AMDP, CDS, External View etc.

 

Is it possible ?

 

-Amit

BCM IVR "preferred agent" customizer

$
0
0

Hi, everyone!

 

Might someone take a look at this and spot my mistake?
What this is, is SAP's example preferred agent IVR customized to check a list of queues instead of checking just one or every queue:

 

# coding=latin-1
from __future__ import with_statement
import VER
VER.VER(__file__,        """
Company:     SAP
Filename:    PreferredAgentCustomizer.py
Description: Custom method(s) for finding a preferred agent for the call.
Created:     08.04.2014
Modified:    -
""",        '1.0.0.0')
from Env import *
from ICustomize import *
from CEMODBC import ODBCConnection
from SBTools import AGENT, QUEUE
from Tools import TRIM_SQL, makefilter
class PreferredAgentCustomizer(ICustomize):    # ========================================================================    def __init__(self, AppConf):        # Call the base class constructor        ICustomize.__init__(self, AppConf)        # ========================================================================    def FindPreferredAgent(self, params):        """    Find a preferred agent for current call.    <params> is a dictionary containing the parameters passed in from    the application, plus a reference to the application's state    machine, available with key "SM".    Parameters:      MonitoringHistoryDSN : string : Monitoring History database connection string      ANumber              : string : Alternative a-number to be used in search - if not given,                                      SM.CALL["ANumber"] is used by default      QueueID              : string : Only search previous contacts from this queue (optional)      MaxContactAge        : int    : Maximum age (in seconds) for the previous contact - if not given,                                      a value corresponding 30 days is used by default    Returns:      Extension number of the preferred agent, or None if the agent was not found.    """        try:            SM = params['SM']            dsn = params['MonitoringHistoryDSN']            if not SM:                 raise RuntimeError('Invalid value for mandatory parameter [SM]: [%s]' % SM)                        number = params.get('ANumber', SM.CALL['ANumber'])            queueIDs = params.get('QueueID')            queueIDs = queueIDs.split()            maxAge = params.get('MaxContactAge', 60 * 60 * 24 * 30)                        if not dsn:            # We need Monitoring History database connection string in order to continue                raise RuntimeError('Invalid value for mandatory parameter [MonitoringHistoryDSN]: [%s]'                                   % dsn)            # Perform rudimentary caller number validation            number = makefilter('0123456789')(None, number)            if not (len(number) >= 3 and number != 'CLIR'):                WRN('PreferredAgentCustomizer.FindPreferredAgent : Cannot search using caller number [%s]'                   % number)            else:                if queueIDs:                # Validate the given queue identifier                    for queue in queueIDs:                        raise RuntimeError('%s' % queue)                        exists = QUEUE.FIND(queue, None, None)                        if not exists:                            raise RuntimeError('Queue with identifier [%s] not found'                                           % queue)                        # Replace possible queue extension number with queue GUID                        # queueID = queue['GUID']                        # Try resolving the user GUID of the agent who most recently answered the call from <number>                userGUID = self._DoFindAgent(dsn, number, maxAge,                                         queueIDs)                if userGUID:                # Validate the user GUID against CEM's agent store                    agent = AGENT.FIND(userGUID, 'USER_GUID', None)                    if agent:                    # The agent is still known by CEM: return her extension number                        result = agent.NUMBER                    else:                    # The agent (user) has probably been deleted from the system...                        WRN('PreferredAgentCustomizer.FindPreferredAgent : User [%s] not found'                            % userGUID)        except Exception, err:            EXC('PreferredAgentCustomizer.FindPreferredAgent : %s'                % str(err))            return 'ERROR'        SAFE('PreferredAgentCustomizer.FindPreferredAgent : OK')        return ('OK', result)
# ========================================================================    c_SQL = \        TRIM_SQL("""      SELECT TOP 1 [Value1] AS [UserGUID]      FROM   [TAContactLog] cl WITH(NOLOCK)             INNER JOIN [TAContactLogDetail] cld WITH(NOLOCK)             ON cld.[ContactLogGUID] = cl.[GUID]      WHERE  cl.[Source] LIKE ?      AND    cl.[QueueGUID] <> ?      %s      AND    cld.[Event] = 'ConnectedToOper'      AND    cld.[TimeStamp] >= DATEADD(ss, ?, GETUTCDATE())      ORDER BY cl.[TimeStamp] DESC""")    def _DoFindAgent(        self,        monitoringHistoryDSN,        callerNumber,        maxSecondsSinceLastContact,        queueIDs,        ):        """    Perform the agent search in Monitoring History database. Note that direct calls are    excluded from the search -- in order to include them, remove the first AND condition    from the query and the corresponding parameter value (Env.c_OperDirectName) from the    statement parameter list.    """        result = None        if len(callerNumber) > 8:            # Search using last 8 characters            callerNumber = '%%%s' % callerNumber[-8:]        if maxSecondsSinceLastContact > 0:            maxSecondsSinceLastContact = -maxSecondsSinceLastContact            # Connect to database        connection = ODBCConnection(GUID(), self.m_E, monitoringHistoryDSN)        # Prepare the SQL statement and run the query        query = self.c_SQL % (" AND cl.[QueueGUID] IN (")        for queue in queueIDs:            query = self.c_SQL % (("'%s'," % queue if queue else ''))        query = query[:-1]        query = self.c_SQL % (")")        parameters = (callerNumber, Env.c_OperDirectName,                      maxSecondsSinceLastContact)        resultset = connection.execute(query, parameters)        if resultset is not None and len(resultset):            result = resultset['UserGUID']        return result

I've not yet tested if it works (so there might be logic errors), since every time I activate it I'm greeted with the following error:

 

12:51:15.577 (03672/RelThr:POLL_ChangeTrack) ERR> [EXC] : ImportCustomizer : Exception : '5F75F7DC-FFA2-4991-B652-909A9CCC0CF7'

12:51:15.577 (03672/RelThr:POLL_ChangeTrack) ERR> <type 'exceptions.KeyError'> : 'PreferredAgentCustomizer_queues'

12:51:15.577 (03672/RelThr:POLL_ChangeTrack) ERR> File: .\ConfMultiAppl.py (3359)  Func: ImportCustomizer         <None>

 

This seems to indicate that some dictionary is missing the key that is currently being requested. Which dictionary - I have no idea
I'm also quite stuck since I'm currently having a hard time thinking outside the box.

 

So, once again, could anyone take a look at this with a different angle and point out what causes the KeyError?

 

Best wishes,
Jaanus

New deduction wage type in payroll

$
0
0

Dear All,

 

My client want to deduct co-opp store amount from employees.It is a variable deduction.

So, please suggest how i will do the same. How i will create the wage type, from which wage type i will copy and how i will do all the steps, so that it will be deducted from employees. Please note that it is a variable deduction.

 

 

Thanking you all.........

 

Sanjukta

Communication Channel Status

$
0
0

Hi,

 

Can anyone let me know if there is any service in PI through which we can get the status of the communication channels (start/stop/error....) just like AdapterMessageMonitoringVi.

 

I checked below ones. But could't get the status of the channels.

 

channel_status.jpg

 

Regards,

Aditya Vempati

Re: NEED to check pending workitems for user's in SRM system

$
0
0

hi,

unfortunately with the t_code SWI6 you can not see more than 1 user's workitems.

 

to see open workitems for a group of users you should read the table SWWUSERWI.

( the record with no_sel flag should be the workitem sent to another agent , so you should use as input the userID and the flag NO_SEL = blank .)

 

bestr regards

Laura

Re: Hide menu buttons in ALV after the list is displayed using REUSE_ALV_GRID_DISPLAY

$
0
0

Hi,

 

To hide buttons pass internal table to ' IT_EXCLUDING ' which is import parameter of REUSE_ALV_GRID_DISPLAY FM..

Re: SQL Scripting

$
0
0

Being a German myself I am familiar with that one...

Enjoy your new HANA SQL and BW on HANA skills!

 

- Lars


Re: Contabilidad electrónica, en octubre

$
0
0

Hola Natalia,

 

Según yo, tambien hay que modificar los datos de los bancos propios (House Banks) por que son a través de los cuales se hacen los pagos. Esto se debe hacer en la transacción FI12. Según yo, con eso ya debería traer la información del banco origen.

 

Saludos

BSEG Table Download issues

$
0
0

Hi SAP Experts,

 

As per the client requirement, we need to download BSEG table for 5 fiscal years.

We are running it per fiscal year in background in SE16 and getting the spool file in SM37.

As it has huge data, we are getting dump while downloading the spool file. 

Kindly let us know the way to download these spool files.

 

Regards,

 

Vikram

Re: Assignment of Assortment to Assortment Users

$
0
0

Hi,

 

this is somehow a strange question. As I don't know which master data is created in your system and I don't know which stores you want to assign to which assortments how should I be able to provide you the necessary data?

 

You just have to select the appropriate assortments and the you can assign stores...WSOA6.jpg

Here's an example... but as said above: it depends on the master data maintained in YOUR system...

 

Regards

Tobias

How to identify duplicity of information

$
0
0

Dear Gurús,

 

I am experience duplicity of information for Customers and Vendors, when I validate the information in balances from SAP FI, I could see some information entered in the system twice.

 

There is some settings that allows inform when information is duplicated??

 

I appreciate your support and any answer will be helpfull.

 

Thank you,

 

AR

Re: How call to a specific flavor?

$
0
0

Hi,

 

In SAP Personas 2 SP3 you can use the Switch flavor option:

 

 

So the script would end up looking somethign like this:

 

To get the id of the flavor either select it using the picker tool, or save your script, navigate to the transaction itself and enter edit mode. And then left click on the flavor name to copy the flavor id, then paste it onto your script button when you return to your SMEN flavor.

Pre-SP3 on Personas 2 you can enter the name of the flavor instead.

 

regards,

 

 

Hope this helps.

Re: Can anyone please help on issue in SAP Data Services 4.1

$
0
0

Am I right in assuming you have your target table twice in your data flow? Once for updates and once for inserts?

If so, forget about transaction control, map your updates into inserts and write them into a separate table; then in a 2nd data flow update your target table from that extra table.

If not, you'll have to give a bit more details about your logic.

Re: Range value have to give one is Mandatory  and another one options in crystal report Enterprise is it possible

$
0
0

thanks I got the result....

 

thanks so much


Re: Do let me know if we can use database as Oracle Exadata 11.2.0.4 for PO system?

$
0
0

Hi,

 

Process Orchestration (PO) is a SAP product. For sure it is supported.

Please make sure the complete set (PO version - database - operating system) is supported by SAP.

If not, you could face issues on future production systems in case problems occurs.

 

Kind regards,

Dimitri

Re: Access Request 10.1 - Manual Provision Non-SAP Request Type

$
0
0

Dear Chris,

 

another way to achieve that is by routing your request to a specific path and set the MSMP settings to "manual provisioning". Manual provisioning can also be activated at the MSMP stage level configuration, which means that even though it is not set in the Global/System provisioning settings, but is set at the path level, still a separate button would be available on the Request Approval screen.

 

Hope this helps.


Regards,

Alessandro

Re: TECO in Background

$
0
0

Hi All,

 

Thanks for all your support and i find that its COGI errors that is preventing TECO in background whereas i am to do TECO manually.

 

Closing the thread.

 

With Regards

Re: XML View Button not working second time

$
0
0

Hi Nils,

 

Thanks a lot  you for your reply. Please find the below error.

 

Uncaught Error: Error: adding element with duplicate id 'myDialog'

 

I have tried using the different id's but still getting the same error. Could you please advice me,

Re: IN MR11 No data selected. Check selection parameters!! Message no. CKMLGRIR009

$
0
0

Hi Dibyendu

 

its not a service PO

in selection criteria i given PO number, co.code, surplus types both ticked,

Qty Var. Less Than/Equal To= 100%

Value Variance Less Than/= To= Blank

GRIR clearing and Delivery cost accounts ticked

Viewing all 8927 articles
Browse latest View live