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

PermissionControlException when creating PCD objects using the portal API

$
0
0

Hi,

 

in a portal application I'm using the portal API to create PCD objects (worksets, pages, iViews) in an own PCD folder. The portal application uses a special user which has the necessary permission to create the PCD objects in this folder. This is working properly in my development portal but similar scenarios fail in some customer portals. The PCD objects can't be created and the error message "com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): com.sap.portal.system/gpal_hidden_content/gpar/com.sap.portal.pagebuilder/pageBuilder)" is written to the portal logs.

com.sap.portal.pagebuilder is a standard portal application. I didn't need to set any permissions to it on my development portal. But even when adding permissions for the used application user in customer portals the exception remains.

Creating the PCD objects works properly even in customer portals when using an Administrator user in the portal application. So it really seems to be an permission issue.


Does anybody have an idea what the "Access denied" message really means or which permissions are missing or how to find out which permissions could be missing?


Any help is appreciated.


Best regards,

Robert


Re: Workflow setup for notification

$
0
0

Hi Terence,

 

I want a workflow to trigger only for a specific notification type.

 

Also the agent should be determined automatically based on the notification master data.

 

Thank you,

Paulo

Re: NotificationBar with sap.m?

Re: SAP Hybrid App Toolkit Installation Problem (Mac)

$
0
0

I did it, restarted my mac and still got the same error.

 

Do you have another idea?

Re: Question on working with tRFC or qRFC with windows client app

$
0
0

Hi Tobias,

 

I'm not sure, whether I get your question right. But while working with NCO you shall do two level of error handling:

 

a) catch exceptions with C# try {} catch() {}. Those exceptions are mailny related to the rfc call infrastructure (network, authentication, authorisation, abap exceptions, short dumps), see RfcBaseException and it's derived classes.

 

b) Errors coming from the BAPI logic itself. To asses those you need to enumerate through all the messages in the BAPI return tables, e.g.:

 

BAPI_OBJCL_CREATE-return

BAPI_TRANSACTION_COMMIT-return


and I guess:  CVAPI_DOC_CREATE-psx_message

 

Hynek

Crystal Reports Viewer works locally but not on server ("Please wait while...")

$
0
0

This has been asked before, and I've read responses, but I'm stumped.

 

I have a Crystal Report Viewer in my intranet application, which is written in ASP.NET via MS Visual Studio 2013.

 

The Crystal Reports 2013 runtime is on the server.

 

The application stores 4 parameters plus database user id and password in session variables.  These are entered by the user via the first two screens in the application.

 

A third page loads the Crystal Report in a Crystal Report viewer.

 

The report loads and pages perfectly in IE when I run it via Visual Studio.

 

When I publish to the server and run it, the report seems to load and display page 1 normally.  When I try to go to page 2, I see this...

 

"Please wait while the document is being processed".

 

...and a multicolored wait cursor stays indefinitely.

 

I am attaching the code where the problem is happening, as a file to this discussion.  For some reason I can't paste text into this question box.

 

Why does it stall when I attempt to page?

 

Thanks for any help that anyone can give me.

Re: NO Upload into ERP and ERP adapter is called

$
0
0

So far as I see, the Bdoc should have been transferred to ECC because we have the error from ECC. You will need to check why ECC sd_salesdocument_create abort the creation of the sales order in ECC.

 

Spencer

Scope of Check Enhancement in ATP Check for Planned Orders ?

$
0
0

Dear seniors,

 

I am looking for a way to Enhance the Scope of check in our ATP Check for Planned Order Process.

We want to implement a logic for considering demand elements (Order Reservations) for Production Orders with a specific User Status

 

Please let me know if there is an user exit, badi or bapi that can do that

 

Thanks,

Alex


Re: How to get shopping cart from workitem id

$
0
0

You can use the below FM to get the shoppig cart number from the WOKR ITEM ID:

 

SAP_WAPI_OBJECTS_IN_WORKITEM

 

At trasnaction level,you can use SWIA to get the shopping cart details from the work item ID.

Re: You cannot process conditions for delivery costs

$
0
0

Sorry, forgot explaining the solution.

 

For my case, it was a data error. I rectified it with correct PO and it got resolved. The original error 'You cannot process conditions for delivery costs' was resolved when I populated right vendor for Freight_Ven field. I was mistakenly populating the invoicing vendor in this field. Once I populated it from EKBZ table LIFNR filed, it got resolved :-)

 

Thanks all for prompt responses and support.

 

Cheers!!!

Amit

How to implement "Confirm data lost" message while in editing mode?

$
0
0

Hi,

 

refering to this best practice for editing / creating objects in Fiori style my question is how to implement this "Confirm all data will be lost when you leave this page without saving" message prompt.

 

I have a split app and these actions must trigger the confirmation prompt while in edit mode:

 

1. User clicks a link on the create / edit page which would lead to a hash change / navigation to another object page

2. User clicks another item in the master view while in edit mode on the details view

3. User changes the hash by opening a bookmarked deep link with the browser

 

One strategy could be to set a flag on the router when a page goes into edit mode.

In case the flag is true the router then would have to intercept all navigation actions with the confirmation prompt and continue only if the user confirms that all data entered on the edit page will be lost.

 

One approach could be to override the navTo method of my derived router and check for edit mode before calling the super class implementation.

This would work for the first two scenarios but not for the third one.

 

How would you implement this, or do you have another approach?

Would you possibly don't care about the third scenario because this would be triggered from "outside" of the application?

 

BTW: How can I check out the source code of SAP Fiori apps? Are they publicly available somewhere or do I have to install them on our SAP system first? Maybe some common questions could be clarified by analyzing some SAP sources.

Re: Strategy 60 don't reduce the Ind Req.

$
0
0

Daniele,

Strategy 60 is not really very suitable for planning SemiFinished goods.

 

Strategy 60 forecasts are placed against the planning material.  These forecasts are consumed by Sales orders against the materials that are linked to the Planning material.  Since there are typically no Sales orders against SemiFinished goods, it makes no sense to plan them using Strategy 60; there would be no consumption.

 

Typically, FGs are planned via strategy 60, and the linked SemiFinished Goods do not use a strategy.  They are planned only via eploded demands from the FGs and from the Planning Material.  These demands represent the exploded from aggregated Sales + Forecast demands.

 

Best Regards,

DB49

Re: Cross Tab totals

$
0
0

In the CrossTab Expert, go to the "Customize Style" tab.  Select the field that is your second row and under "Group Options" check "Suppress Subtotal".

 

-Dell

Re: Providing access to transactions based on a) roles & b) own documents

Re: Querying Sys tables - Calculation Views

$
0
0

I have a very similar need to determine object lineage, and can't seem to find your submitted idea.

 

Is there really no Idea Place for HANA/ HANA Studio? Here's an earth shattering idea to make one:

Idea Place for SAP HANA : View Idea


Re: Issue with dll (crdb_adoplus.dll)

$
0
0

Typically, if you have frm 2 installed and the legacy in the config, that is about it.

 

If you have CR 1-5 or CR 10.2 (these would be from VS 2005 and VC 2005 respectively) uninstall them.

 

Check your CR references, make sure they are v. 13.x

 

Tell me more about this:

 

since asp.net 5 doesn't read it by default, i forced the configuration builder to load it

 

asp .net 5?

 

 

 

- Ludek

Re: IsNull for an Array?

$
0
0

Yeah, I have strings that look like these:

 

10

6

8

9&11

5&10

 

Right now I have this formula:

stringvar array myarray := Split({mystring}, "&")

myarray[1]

 

This gives me the first number. Now I need to access the second number when it is there? How should I do it?

 

I tried using another formula:

 

stringvar array myarray := split({mystring}, "&")

myarray[2]

 

However, for all the strings with only 1 number I get an error. This is why I wanted to do

 

stringvar array myarray := split({mystring}, "&")

if( isnull(myarray[2])) then myarray[1]

Re: Actualizacion automatica de busquedas formateadas

$
0
0

Déjala para que se actualice regularmente con el campo Total del documento

Re: Lagerartikel die keine sind

$
0
0

Hallo Manuel,

 

was mir hier adhoc einfällt, sofern ein neuer Mandant nicht in Frage kommt, ist ein B1i Flow der bei Artikeln die eine bestimmte Eigenschaft haben, den Bestand auf 0 hält. Wichtig dazu wäre als Bewertungsmethode der Standardpreis. Ansonsten ist die Erstellung einer solchen Automatisierung relativ überschaubar.

 

Grüße

Re: consulta query a ventanas definidas por usuario

$
0
0

Lo que pasa es que te está mostrando los valores que tienes definidos para dicho campo, tienes que consultar la tabla de definición de campos de usuario y hacer el join con la tabla de usuario que estás manejando por medio del Field ID

 

 

Por ejemplo, tu tabla se llama @personarecibo entonces tu select debería ser algo como

 

select descr from ufd1 where tableid='@personarecibo'

 

 

Eso te va a traer la descripción de tus campos, es decir

 

juan

antonio

fer

susana

 

Saludos!

Viewing all 8676 articles
Browse latest View live




Latest Images