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

Re: How can I refresh value in AET table

$
0
0

Hi Tejaswini,

 

  thank again for your reply.

  I am quite new in BOL and not sure that why this code is not work?

  (The result is still have some item remain in AET table)

 

  lr_core = cl_crm_bol_core=>get_instance( ).

   lr_iterator = me->typed_context->zatab0000ie->collection_wrapper->get_iterator( ).

   DO.

     IF sy-index = 1.

       lr_current = lr_iterator->get_first( ).

     ELSE.

       lr_current = lr_iterator->get_next( ).

     ENDIF.

 

     IF lr_current IS BOUND.

       lr_entity ?= lr_current.

       lr_entity->delete( ).

       lr_core->modify( ).

     ELSE.

       EXIT.

     ENDIF.

   ENDDO.


regards,

Boonsom


Re: How to create new Business Role by Copy

$
0
0

Hi Michaela,

 

Your requirement is "select one Role and create a copy new Role which not exist in the IDM and assign all privileges"


I have done in my environment the following way. Tested and working fine.


While creating a new role, select the reference role (of whose privileges are to be copied), and all the privileges are copied to the new role. You can alter this according to your requirement. if you want to implement the exact the same way you need. Else you can use the below approach.


I have created a Z_REF_ROLE attribute with following storage fields.

Scree-1.png


Then I have created a new ordered task with attributes as shown below.


Screen1.png


Under this ordered task, I have created a To Identity Store pass and configured the destination tab as below.


Screen2.png


After that, enable the pass, configure the dispatchers. Now in the IDM UI, you have to do the following. Select the copy business role task in the screen UI.


Screen3.png


In the below scrren, provide the new role name, description and select the reference role from which the privileges has to be configured.


Scren4.png

Click on save/submit.


The new role is created with the privileges copied from the referenced role.


Screen5.png


Thats it !!


Finally here is the script as you requested.


//###############################################


// Main function: z_getrefprivileges

 

 

function z_getrefprivileges(Par){

  //Example calling DSE internal function

  //uStop("Terminated by user");

  var rolemskey = "";

  var sql ="";

  rolemskey = Par;

  sql = "select mcThisMSKEY from idmv_link_ext where mcOtherMSKEY="+rolemskey+" and mcThisOcName in ('MX_PRIVILEGE')";

 

 

  var result ="";

  result = uSelect(sql);

  result = uReplaceString(result, "!!", "|");

  return result;

}

 

//###############################################

 

All the best !!

 

~ Krishna.

Re: Standard process flow in SAP PM

$
0
0

There is no process flow difference between PM & CS for some of the processes. Plant Maintenance is for Internal / own asset maintenance, and CS is for doing any kind of service to the customer & getting revenue out of it.

 

I am not sure which process flow (PM or CS) you are looking for.

 

CS Order type may bear revenues whereas PM Order types can't generate revenues. You can make this setting while defining order type in OIOA (Revenue Allowed tick mark)

 

If you want to bill the customer based on sales order, not based on service order, then service order will not bear any revenue as such, its corresponding sales order will generate revenue. Service order cost will be settled to sales order.

 

SAP Library - Customer Service (CS)

 

SAP Library - Plant Maintenance (PM)

 

 

You can refer above link for each & every process flow.

Re: Crashing WEBI 4.1SP2FP3

$
0
0

Josh,

Here is a cut from the last portion of recent trace log.

 

|92111bf9-cc22-b164-f866-a6f79c6b9718|2014 03 19 20:18:17:831|-0600|Error| |>>|E| |webiserver_KMGBKMMSDATA.WIP.Master|12260|14940|| |1|0|1|0|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|webiserver_KMGBKMMSDATA.WIP.Master.createSession|localhost:12260:14940.40460:1|CvnfsjwWLk18kqaRyc.ln0w887|||||||||||**ERROR:ServerLifeCycleManager:Info: Sessions in state DELETED: 0 [ServerLifeCycleManager.cpp;1150]

ServerLifeCycleManager.cpp:1150:void __cdecl ServerLifeCycleManager::dumpContextOnError(void): TraceLog message 814908

|4a6247de-ff22-e5d4-9949-a7956fd517a8|2014 03 19 20:18:17:831|-0600|Error| |>>|E| |webiserver_KMGBKMMSDATA.WIP.Master|12260|14940|| |1|0|1|0|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|webiserver_KMGBKMMSDATA.WIP.Master.createSession|localhost:12260:14940.40460:1|CvnfsjwWLk18kqaRyc.ln0w887|||||||||||**ERROR:ServerLifeCycleManager:Info: Sessions in state INVALID: 0 [ServerLifeCycleManager.cpp;1150]

ServerLifeCycleManager.cpp:1153:void __cdecl ServerLifeCycleManager::dumpContextOnError(void): TraceLog message 814909

|244bd64e-1707-8d84-9b5e-6e0df9dab62e|2014 03 19 20:18:17:831|-0600|Error| |>>|E| |webiserver_KMGBKMMSDATA.WIP.Master|12260|14940|| |1|0|1|0|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|webiserver_KMGBKMMSDATA.WIP.Master.createSession|localhost:12260:14940.40460:1|CvnfsjwWLk18kqaRyc.ln0w887|||||||||||**ERROR:ServerLifeCycleManager:Info: Sessions actually deleted: 0 [ServerLifeCycleManager.cpp;1153]

SchedulerImpl.cpp:668:void __cdecl SchedulerImpl::dumpContextOnError(void): TraceLog message 814910

|16c003da-1ab5-5e64-2ac4-223dc92a8260|2014 03 19 20:18:17:831|-0600|Error| |>>|E| |webiserver_KMGBKMMSDATA.WIP.Master|12260|14940|| |1|0|1|0|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|BIPSDK.ServiceMgr:getManagedService|KMGBKMMSDATA:1556:256.2183:26|webiserver_KMGBKMMSDATA.WIP.Master.createSession|localhost:12260:14940.40460:1|CvnfsjwWLk18kqaRyc.ln0w887|||||||||||**ERROR:SchedulerImpl:Info: max number of threads: 400 [SchedulerImpl.cpp;668]

Re: Error while configuring Facet dimension as a Month (Jan..Dec)

$
0
0

Hi Patrick,

 

This worked.

Many Thanks !!

 

 

Thanks and Regards,

Prathmesh Pai

Re: Startegy and Package sequence (unregular cycle)

$
0
0

Hi Frazer,

 

In such case

You will have 2 plans:

1st one will be a Strategy plan with unit WEEK as discussed above (without 10 week package) and the

2nd one will be a single cycle plan with 10 weeks frequency.

Start-of Cycle Dates should be matched.

 

Then

You need to take help of user-exit IPRM0002 , the logic written there will be skipping the 9 week trigger.

 

Jogeswara Rao K

Anil Kumar Bhargav

Re: Gateway SSO2 logon ticket cannot be verified by HANA

$
0
0

hi Donka,

 

Thanks for your reply. I have checked in the verify PSE and make sure that the only issuing certificate of gateway does exist in the verify PSE file with correct version. hence, the first and second point are not the root cause I think. Regarding the third point, we did not use other PSE for verification.

 

In the simple SAPSSOEXE scenario, the second and third point is not relevant I guess. 

 

thanks,

 

Best regards,

Xian' an


Re: Crashing WEBI 4.1SP2FP3

$
0
0

Hi,

 

The web Intelligence Processing server has a setting for Maximum Connections which defaults to 50. You can extend as per your requirements. The question you need to ask yourself is how many concurrent Webi request will the server receive, then you can configure it accordingly.

 

I would recommend that you do a proper sizing exercise to ensure that you have sufficient resources/servers available.

 

For your Tomcat taking 30% CPU, that's not normal. Have a look at the log files for Tomcat and see if anything is happening there. If you have a lot of Dashboards processing (opening) it will require Tomcat to do some extra processing so that can be normal, but if you aren't doing anything it should calm down. Remember that if you have a big dashboard with lots of connections it will require quite a bit of resources on Tomcat/BO and also client to process.

 

Regards,

Josh

Re: UoM cannot be identify in Inventory Transfer

$
0
0


It solved my problem. Thank you very much!

Re: SAP PI 7.3 Webservice scenario

$
0
0

sender is sending SOAP-XML would it be supported by HTTP_AAE?

Re: SAP REx 3.2 Predefined list of activities for visit type while creating visit on iPad

$
0
0

Hello Viktor,

 

The transaction types in the device is configured in the following SPRO Path : CRM -> SAP Retail Execution (Mob App) -> Visits -> Map CRM Activities to Retail Execution Visits and Activities.

 

Regards

Pramod

Re: Enforce Landed Costs

$
0
0

Hi,

 

I have tried with different conditions. But not able to enforce landed cost for GRPO.

 

My conclusion is:

 

1. Not possible to enforce landed cost

 

2. It depends on nature of business process. It is not necessary all GRPO need landed cost posting

 

3. It may be enforced by user training.

 

Thanks & Regards,

Nagarajan


Re: Restricting authorizations in PA30 within the payroll department

$
0
0

Hi,

 

if you want to use the personnel number check (authorization object:

P_PERNR) you have to activate it via transaction OOAC. In case

you want to achieve that one user can only maintain his own personnel

number we would recommend not to use P_ORGIN in the authorization

profile, but only P_PERNR. You can assign all infotypes that are

necessary via P_PERNR in the authorization profile. But

please activate 'P_PERNR' AND 'P_ORGIN' via transaction OOAC as

described in the attached note 362675.

 

 

Additionally, if you have IT0316 & IT328 defined, you might want to

consider just using IT0316.

IT0316 represents the authorization for data entry profiles and

depends on the profile setting. If a user has authorization for

IT0316 and for a specific profile authorization group (subtype of

infotype 0316) that has profiles not requiring approval assigned to it

the user can approve the data, even if he/she does not have

authorization for infotype 0328.

 

The good news is that this behaviour can be controlled on the infoset level by activating the corresponding switch "PROC_PERNR_PARTIAL_AUT" in the DATA section of the infoset code. Once this switch is set to "X", ad hoc query will always process all PERNR records and leave blanks where the user doesn't have authorization.


Note that this only works for PNP and PNPCE database.

 

 

For example:

I have developed many roles with auth object P_ORGIN. I need to develop a new role with NEW auth object Z_XXXXX. Transactions PA20,PA30, PA51 and PA61 are required in all roles to maintain HR Master data.

I found a conflict between P_ORGIN and Z_XXXXX:

=> When I assign Z_XXXXX auth object to new role. The new roles checks only to P_ORGIN values to assess the restrictions.

I don't want to assign Z_XXXXX to transactions PA20,PA30, PA51 and PA61 because I would force my previously created roles to check for this new object.

I created new auth object, because I need restrictions based on personnel subarea,

 

Authorization Objects P_ORGIN - Authorizations in Performance Management (Objective Setting and - SAP Library

 

P_ORGIN (HR: Master Data) (SAP Library - Authorizations in mySAP HR)

 

 

Regards,

pradip

Re: Tax Rouding on AR invoice

$
0
0

Hi,

 

Please close this thread if you got answer.

 

Thanks & Regards,

Nagarajan


Re: Remote cube using 0EC_PCA_4

$
0
0

Possible to logon web dynpro application with encrypted pwd like MD5?

$
0
0

Hi All,

 

Could you please tell me what's the way you encrypt your webdynpro applications so that only authorized users can access? For user convenience, I plan to let user store their account locally and validate it online before open the application, however, considering the security reason, I cannot store plain password on client side. But the validation function module  SUSR_LOGIN_CHECK_RFC only accept plain password and the FM BAPI_USER_GET_DETAIL does return encrypted password, but I don't know the way it encrypts so I cannot check it either. How do you think I can do encrypt task then?

 

Also could you please explain the function of "Alternative Logon Procedure" in "Logon Data" tab for specific webdynpro application in transactio SICF? I'm thinking if it's the possible way to solve my issue.

 

Thank you very much!

 

Best Regards,

 

Jeff

Re: profit center missing EHP7 retail

$
0
0

Hi..

I understand that Raffaele Splendores requirement is that a profit center is automatically assigned to material master when user create material master or extend it for the plant .

Re: SAP PI 7.3 Webservice scenario

Re: XCLOCK not working with ora user (./RUNINSTALLER)

$
0
0

Hello Deepanshu sharma,

 

I already said here before that I did exactly that, but unfortunately it didn´t work!

 

Any tips?

 

BR

samid raif

Viewing all 8594 articles
Browse latest View live


Latest Images