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

Re: WD -SALV- setting initial view

$
0
0

Hi,

 

 

I'm using this code to set custom view by default and it's ok. However, at runtime, i need  to change this custom view to other custom view.

 

 

 

I try to reuse all code with other view key but alv don't take changes. When i refresh web page, i use the new key and view has been changed.

 

 

 

Other test is to delete the alv component, create it again and set all configuration but changes don't appear.

 

Thanks in advance.

Regards.

 

[...]

    IF sy-subrc EQ 0.

      ls_config_key-config_id    = wa_var-config_id .

      ls_config_key-config_type  = wa_var-config_type.

      ls_config_key-config_var   = wa_var-config_var.

    ENDIF.

    TRY.

        CALL METHOD lo_pers->set_default_variant

          EXPORTING

            config_key = ls_config_key

            set        = abap_true.

      CATCH cx_wd_personalization .

    ENDTRY.

 

* Get the variant information based on variant id

* Load the variant/ Set the default variant

    CALL METHOD lo_pers->load_config_by_key

      EXPORTING

        config_key            = ls_config_key

        fetch_default_variant = abap_true.


Re: GRC 10.1 - ARM - RoleOwner approval

$
0
0

Thanks forma your reply gretchen!

Think in this scenario: user submit request for several roles wich have a same roleowner. So, if role approver reject all roles at líne ítem level, next click on "send" (not in reject) then status of request would be approved and not rejected and it would be incorrect

Re: Detection Catalog Profile

$
0
0

One basic concept about Catalog is:

Catalog types 1 through 9 and A through P are predefined in the SAP System. The standard system contains the following catalog types (among others): You cans see here. Catalogs - SAP Library  whereas we can define Catalogs P through Z  for our specific applications. The list you've mentioned mostly look like custom catalogs. (You can compare with the list). About detection, of the same, I have to think about it. I'll get back to you if I get some clues. The list of catalogs I dealt in my previous post (B,C,5,2,A) belong to Plant maintenance Breakdown purposes. Type D also is used for Notification Header. type 1 is used in Measuring points as Valuation code. similarly 3 is used in QM for Usage Decisions. All these are about standard Catalogs. Detecting the types we created for special purpose for their where-used info, I need to check what is the possible way.


Regards

KJogeswaraRao

Re: GRC 10.1 - ARM - RoleOwner approval

$
0
0

The Role Owner can use the SELECT ALL button in the Line item area and then click the REJECT button just in the header of that line area.  This will set the roles to the reject status in the most left hand column.

 

The reject select at the tope of the screen (where the submit button is), is for request only.  Remember, when you require this at the line item level, the user is APPROVING the request as currently stated, which may mean that some ROLES are rejected and some are approved based upon the status at the beginning of the line.  Approval of a REQUEST does not always mean that all roles are approved, it means that it is approved as stated when the request has reached then end of its workflow.  If the request is rejected, it really does not matter if any roles are approved or not, it means that the ENTIRE request was inaccurate and incorrect.

 

Does that help clarify the difference??

 

Kevin

Re: devolucion y anulacion de factura

Re: How to analyse epm reports usage by user in sap epm

$
0
0

Thanks Roberto. We will try to develop custom logic.

 

 

regards

 

Mahesh

How can i change property "number" of standard tile dynamically

$
0
0

I have created two tile using  xml views..

 

<mvc:View height="100%" controllerName="notif.Page" xmlns:mvc="sap.ui.core.mvc"

  xmlns:l="sap.ui.layout" xmlns:core="sap.ui.core" xmlns:commons="sap.ui.commons"

  xmlns="sap.m">

 

 

  <Page showHeader="true" enableScrolling="false" class="sapUiFioriObjectPage" >

  <TileContainer id="container" tileDelete="handleTileDelete">

  <StandardTile id="st1" icon="sap-icon://quality-issue" title="Notification Create"

  frameType="OneByOne" press="press" />

 

  <StandardTile id="st2" icon="sap-icon://drop-down-list"

 

 

  title="Notification Worklist" frameType="OneByOne" press="press"  />

  </TileContainer>

 

 

  </Page>

 

 

</mvc:View>

 

 

onInit : function (evt) {
    length = null ; 

  

var oModel = new sap.ui.model.json.JSONModel("/Notif/notif/testdata.json");

    oModel.loadData("/Notif/notif/testdata.json");

    var view = this.getView();

    view.setModel(oModel);

   

    oModel.attachRequestCompleted(function() {

      length = oModel.getProperty("/d/results/").length;     

      });

     var l1 = length;

 

    

 

    

},

 

Now i want to change property "number" of standard tiles say st2 dynamically..

 

How can i change this property ?

 

I want to change it in onInit : function (evt)  function  .. actually i want to show number of records on standard tile.....i have 39 records... i want to bind this number to property number of standard tile st2.

 

length variable contains 39... after execution of onInit : function only....

 

 

Please tell me how to do this...

Re: SPED PIS/COFINS D100 NF modelo 57

$
0
0

Oi Kell,


Olhei o código do programa.


Para ser reportado o campo action_requ ( step required ) precisa estar com C, o campo DOCSTA precisa estar com 1, os campos scssta e cancel precisam estar em branco e os campos authcod, docnum9 e CDV têm que estar preenchidos.


Pode verificar o seu documento e confirmar se as informações estão corretamente preenchidas assim?


O código está abaixo:


IF sy-subrc IS INITIAL.

         CHECK ( ls_nfe_active-action_requ = 'C' ).

 

         CASE ls_nfe_active-docsta.

           WHEN '1'. "auth

*        incoming and emitted by third-party

             IF ( ls_j_1bnfdoc-direct = 1

                 OR ls_j_1bnfdoc-direct = 4 )

               AND ls_j_1bnfdoc-entrad IS INITIAL.

 

               CHECK ( ls_nfe_active-scssta IS INITIAL )

                     AND ( ls_nfe_active-cancel IS INITIAL )

                     AND ( ls_nfe_active-authcod IS NOT INITIAL )

                     AND ( ls_nfe_active-docnum9 IS NOT INITIAL )

                     AND ( ls_nfe_active-cdv IS NOT INITIAL ).


att,

Renan Correa


Re: Playing Pre-Recorded Voice Script on Call Pickup

$
0
0

Hi,

I just uploaded an example about PLAY_FILE command to gitHub

https://github.com/sapcctr/ClientComJS

Download these files and place them to same folder. Check that you have mctabuff.msi installed on workstation. Open CDT and the web page (ccsimple.htm) and try out this sample. You need to have file what to play and connected call. Both agent and caller should hear the message.

 

Works only with SP8.

 

Cheers,

-Ville

normally modifiable fields grayed out when editing pcd content

$
0
0

I have come across two instances today when trying to edit pcd content where fields that are normally modifiable are grayed out.

We are upgrading portal from 7.02 to 7.4 and the problems occur on the 7.4 PRD system but not on 7.4 DEV.

The first instance is when editing a KM Document iview. I can not edit the "Path to Document" field.

If I open an iview I have previously edited, the editor shows a "not equals" sign (i.e., field has been changed) for "Path to Document" , but nothing is displayed in the "Path to Document" field and the field is not modifiable.

If I create a new iview, nothing is displayed in the "Path to Document" field and it is not modifiable.

I tried to edit this field in the iview template, but again, not modifiable

I have tried to resolve this by importing the iview template for KM Document iview from the 7.4 DEV system, but when it gets to my affected system, again same behavior.

 

Second problem is in portal roles, where I am not able to edit the Merge Id on folders within the role. I have re-imported the roles from our DEV system where there are Merge ID's on the folders, but once into our PRD system, the Merge ID's are blank and the field is not modifiable.

 

As for our systems, the pcd content was created in 7.02 system originally and imported to our 7.4 DEV system (we are in the middle of a portal upgrade), the non-modifiiable problem occurs in our 7.4 PRD but not 7.4 DEV. Any help with this is greatly appreciated

Thanks,

Tom

Re: Validation for AR Invoice Recurring Template

$
0
0

Hi,

 

This works partially. I created a simple validation for testing purpose to block creation of Recurring Template for AR Invoice.

 

IF @object_type = '540000040'

BEGIN

    set @error = 11002

    set @error_message = 'Recurring Transaction not allowed'

END

 

When the user goes to the Recurring Transaction Templates window under Sales - AR menu, and in that window, in the Doc No. field's Choose From List, he clicks New to create a new document, the window opens with the title "A/R Invoices - Template - T01". He is able to add this document which creates a draft document. Now in the main Recurring Transaction Templates window, if he tries to click on the Update button, he gets the validation error.

 

So he is not able to save the document for use as a Template, but the document still got saved as a Draft document.

 

My requirement is that he should not be able to save even a Draft document, if the document was initiated from the Recurring Template window. Is it possible?

Payment medium format for an incoming payment method configured as “Internal clearing/deposit account”

$
0
0

Hi everybody,

 

I would like to ask you about an issue related to payment medium formats.

 

In the transaction FQP1, we have configured an incoming payment method with the Process in Type “Internal clearing/deposit account”. In addition we have configured an assigned a custom payment medium format.

 

As a result of a payment run program (FPY1) we would like to produce a payment medium with our custom format.

 

We are able to run and clear the corresponding open items but we are unable to generate the payment medium. We have created the variant for the payment medium program SAPFKPY3 but, since there is no house bank associated with our run, we are getting the message No. >2236 “The variant XXXXXXX you specified does not use format”.

 

My question is: Is it possible to generate the payment medium format for an incoming payment method configured as “Internal clearing/deposit account”?

 

Thanks in advance for your help.

 

Victor.

Other Dimensions Filter

$
0
0

Hello All,

 

We have a requirement to run an elimination business rule only after 2015.06.  This rule should not get executed if consolidation package is run for any period before 2015.06. In other words, we have been asked to make  the elimination business rule time dependent.

 

I am looking at the "other dimensions filter" property and haven't found much documentation around it. I have two questions:

 

1. Is it possible to enter TIME in this field? For example TIME=2015.06. I tried and system successfully validated the rule but note 1479403 says that Category and Time dimensions  doesn't work in this filter. This note is for MS version and we are on BPC 10.0 NW version.

 

2. We already have a business rule wherein we are filtering ENTITY in this field. We are filtering ENTITY based on member ID such as ENTITY=0102. I was wondering if it is possible to filter ENTITY based on  its property? If yes, what would syntax be like?

 

Any help will be appreciated and thanked by allotting points.

 

Thanks,

Sanjeev

Re: Sales Order is being currently processed by the same user

$
0
0

Hi Klaus,

 

Thanks for the reply, I did write the statement but still it is not working.

 

Thanks,

Kishore.

Re: Scorecards DB Tables

$
0
0

Yes, but you need to be more specific on what you want.  I spent quite a few hours looking through the database to find what I wanted and a little bit more.

 

I asked SAP a few times for a ERD or model on the IS repository and no luck.  At one point, an SAP-provided IS universe was mentioned however I am yet to see this as of 4.2 SP5.  I ended up building my own.

 

regards

Adrian


Re: Error when trying to open database

$
0
0

Hi Eric

 

 

The error [Database Vendor Code: 904 ], is being thrown by the Oracle client and passed through the report engine without modification. E.g.; check your database documentation for the error, or perhaps google for it. Doing a quick search on google, these may be good to consider:

 

EXP-00008: ORACLE error 904 encountered tips

Database Vendor Code: 904

Pass a Crystal Report Command parameter to an Oracle function - Stack Overflow

Oracle Error code: 904, message: ORA-00904: &amp;amp;qu... | Oracle Community

 

 

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Re: Balance Due amount of AP Invoice

$
0
0

You are right, Unni.

 

PaidToDate includes all types of adjusted document values whereas Paidsum only brings value from Payment.

OData issues in Integration gateway

$
0
0

Dear Experts,

 

We are trying to integrate the backend services in the integration gateway for converting them as odata services.

The issue is when the response from SAP is in Array format then only first item is coming and all others are missed. But when are able to see the response from SOAP UI.


Attaching few screenshots which will explain the development flow and logs.

 

Any help in this area is really appreciated.


Thanks

Ady

Re: Crystal Reports XI R2 (11.5) is not working in Classic ASP application in Windows 2012 Server

$
0
0

Windows 2012 is not supported by CR XI R2 (11.5.x). See this blog for possible solutions:

Report Designer Component (RDC) in classic ASP applications on Win 2008 Server and Win 7 - Possible Solutions

 

Please note that CR XI R2 has been out of support for a number of years, so no fixes.

The Report Designer Component SDK (used in your ASP app), has been retired in CR XI R2.

 

Recommendation:

Update your app to use the latest version of Crystal Reports and either the CR SDK for .NET or Java.

 

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Duplicidad en informe de contabilizacion

$
0
0

buenas tardes, estoy realizando un informe sobre verificación de los asientos contables que se crean a la hora de realizar una factura, ya que por errores del sistema desconocido todavía porque este caso fue escalado a SAP, me esta doblando los valores del impuesto y en algunos casos también de las retenciones de impuestos.adjunto imagen del problema por si a alguno le ha pasado. El caso es que estoy generando una consulta para verificar que no me haya ocurrido en otras facturas, pero como estoy evaluando por cuentas (tabla JDT1), al visualizarlo me duplica la linea.

este es el query:

 

SELECT DISTINCT T0.[DocDate]'Fecha', T0.[DocEntry]'codigofact',T0.[DocNum]'Factura', T0.[BaseAmnt]'BAse fact', (T0.[DocTotal]- T0.[VatSum]- T0.[RoundDif])'Base fact', 
case when T3.[ShortName]='41354205' then T3.[Credit] else 0 end [GRAV] ,
case when T3.[ShortName]='41354206' then T3.[Credit] else 0 end [5% GRAV] ,
case when T3.[ShortName]='41354210' then T3.[Credit] else 0 end [NO GRAV] ,
SUM(case when (T1.[TaxCode]='ISVG')  then isnull(T1.Linevat,0) else 0 end) as 'IVA 16%',
case when T3.[ShortName]='24080505' then T3.[Credit] else 0 end [IVA 16%-as] ,
SUM(case when (T1.[TaxCode]='ISVRT') then isnull(T1.Linevat,0) else 0 end) as 'IVA 5%',
case when T3.[ShortName]='24080506' then T3.[Credit] else 0 end [Iva 5%-as] ,
SUM(case when (T1.[TaxCode]='IVEXE') then isnull(T1.Linevat,0) else 0 end) as 'IVA Exento',
case when T3.[ShortName]='24080506' then T3.[Credit] else 0 end [iva 0%-as] ,
T0.[WTSum] 'Retefuente',
T0.[TotalExpns]'Gastos', 
case when T4.[Account]='13551610' then T4.[WTAmnt] else 0 end [RCRE-ft] ,
case when T3.[ShortName]='23691005' then T3.[Credit]else 0 end [RCRE-as] ,
case when T4.[Account]='13551515' then T4.[WTAmnt] else 0 end [RTAV-ft] ,
case when T3.[ShortName]='23657505' then T3.[Credit]else 0 end [RTAV-as] 
FROM OINV T0  INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry] INNER JOIN OJDT T2 ON T0.[TransId] = T2.[TransId] INNER JOIN JDT1 T3 ON T2.[TransId] = T3.[TransId]  INNER JOIN INV5 T4 ON T0.[DocEntry] = T4.[AbsEntry] WHERE T0.[DocDate] ='20150613'
group by T0.[DocDate], T0.[DocEntry],T0.[DocNum], T0.[BaseAmnt],T0.[DocTotal],T0.[VatSum],T0.[RoundDif],T3.[ShortName],T3.[Credit] ,T0.[WTSum] ,T0.[TotalExpns]
 , T0.[TotalExpns],T4.[Account],T4.[WTAmnt]

asi me lo esta mostrando:

DUPLICADO.jpg  

La idea es que me salga una linea por factura para comparar los valores contables

 

Saludos

Viewing all 8851 articles
Browse latest View live




Latest Images