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

Re: SQL Anywhere and DisableBind=1, An Open Manhole Cover?

$
0
0

Hi Breck

 

After a lot of discussion with SQL Anywhere Support and PowerBuilder Support we reached the conclusion that we were pretty much on our own - I still feel that when using a data control like PowerBuilder and disabling Bind variables - there should be a way in the connection to turn off escape processing in the interface.  Otherwise you may find "\" entered by users in text fields (or hidden in RichText) being translated without much visibility.

 

With that in mind, on your suggestion, and the sample code from Victor Reinhart who also ran into this, we have coded the following which we plan to put in the datawindow sql preview event.  We've just started testing - I would appreciate any comment.

 

====================================================

 

// Datawindow SQL Preview Event

//  Fix (Escape) SQL Anywhere Escape: it changes \\ to \ for any text when DisableBind=1

 

integer li_rc

string ls_sqlsyntax, ls_sql

 

// If database is SQL Anywhere and we are doing an Insert or Update

// Then Escape the Escape Character

IF gs_db='SA' AND Request=PreviewFunctionUpdate! AND &

(SQLType=PreviewDelete! OR SQLType=PreviewUpdate! OR SQLType=PreviewInsert!) THEN

    IF Pos(sqlsyntax,'\')>0 THEN

        ls_sql=f_globalreplace(sqlsyntax,'\','\\')

        li_rc=SetSQLPreview(ls_sql)

    END IF

END IF

 

RETURN AncestorReturnValue

 

======================================================

I've created a simple function for global replace  f_globalreplace which should work to handle replacement in PB much like the SA version you mentioned - this is a simplified version of the pfc string object function.

 

 

 

// Global Function f_globalreplace

//////////////////////////////////////////////////////////////////////////////

//

// Function:   of_GlobalReplace

//

// Access:   public

//

// Arguments:

// as_Source The string being searched.

// as_Old The old string being replaced.

// as_New The new string.

//

// Returns:   string

// as_Source with all occurrences of as_Old replaced with as_New.

// If any argument's value is NULL, function returns NULL.

//

// Description:   Replace all occurrences of one string inside another with

// a new string.

//

//////////////////////////////////////////////////////////////////////////////

//

// Revision History

//

// Version

// 5.0   Initial version

//

//////////////////////////////////////////////////////////////////////////////

//

/*

* Open Source PowerBuilder Foundation Class Libraries

*

* Copyright (c) 2004-2005, All rights reserved.

*

* Redistribution and use in source and binary forms, with or without

* modification, are permitted in accordance with the GNU Lesser General

* Public License Version 2.1, February 1999

*

* http://www.gnu.org/copyleft/lesser.html

*

*/

//

//////////////////////////////////////////////////////////////////////////////

 

 

Long ll_Start

Long ll_OldLen

Long ll_NewLen

String ls_Source

 

 

 

//Check parameters

If IsNull(as_source) or IsNull(as_old) or IsNull(as_new)  Then

  string ls_null

  SetNull(ls_null)

  Return ls_null

End If

 

 

 

//Get the string lengths

ll_OldLen = Len(as_Old)

ll_NewLen = Len(as_New)

 

 

 

ls_source = as_source

 

 

 

//Search for the first occurrence of as_Old

ll_Start = Pos(ls_Source, as_Old)

 

 

 

Do While ll_Start > 0

  // replace as_Old with as_New

  as_Source = Replace(as_Source, ll_Start, ll_OldLen, as_New)

  ls_source = as_source

  // find the next occurrence of as_Old

  ll_Start = Pos(ls_Source, as_Old, (ll_Start + ll_NewLen))

Loop

 

 

 

Return as_Source


Re: Accessing Component.js Model in View.controller

$
0
0

I also remember that during the onInit event, you don't have the model defined the first time your app runs.. so where do you need the values of the a,b,c properties? you can read them from the view as:

 

myModel>/a

myModel>/b

myModel>/c

 

 

but if you need to get/set them after an event, then your model will be defined after view is shown to the end user. Try an event after the onInit function and see if your model is now defined.

Re: Default users accounts consumes aditional licences?

$
0
0

Admin account will not use the existing licenses. If the licenses are consumed, Admin will always have an access.

 

Guest account will be disabled by default. I think other accounts you should not have any issues on consuming exiting licenses.

Unable to open a Community

$
0
0

Hello Team,

 

I am unable to navigate to any community through Open Beta Search.

When I search for :SAP SRM Community" in Open beta, it lists discussions but not home page of community.

 

Kindly advise how to proceed further.

 

Thank you,

Osman.

Re: KI 100 Error on VF02 Release to Accounting

$
0
0

Hi G,

 

Thanks for the suggestion. I have actually previously tried this option. I even did it for movement type 601E but am still getting the error.

 

Regards

SF

Re: Ability to change Analysis for Office datasource ?

Re: KI 100 Error on VF02 Release to Accounting

$
0
0

Can I also check if the plant should be 1000 in step 6?

 

6. Run DP90 to add sub-item for billing in repair order. The item category is IRIN. I noted that the lines added are under plant 1000 which belongs to company 1000.

 

Thanks

SF

Re: TDF - Problema no serviço TMFFIReversalPostSyncIn

$
0
0

Marcos,

 

Bom dia,

 

na verdade, pelos testes que fiz usando o SOAPUI, se não preencho o campo em questão, o serviço me retorna uma mensagem de erro dizendo: "FI/CO interface: Reference key is not filled".

 

No outro teste que fiz direto no ECC utilizando a BAPI "BAPI_ACC_GL_POSTING_REV_POST", o programa apresentou a mensagem: "Interface RW: chave de referência não está preenchida".

 

Quando preencho o campo, em ambos os cenários, o procedimento dá certo, ou seja, é criado um novo documento que estorna o anterior, mas eu preciso que o número do documento de estorno seja obtido de forma automática.


Re: How to move to the top speedy?

$
0
0

Hi Edmund,

 

Try the HOME key, works for me. Let me know if this doesn't work.

 

with kind regards,

Bill

Re: SUM tool 16

$
0
0

Hi SJ.

 

Start the SUM using user id SIDADM not on root

 

BR

SS

Re: Text field in self billing document

$
0
0

You can't enter anything manually during the run of MRRL transaction, it is a report only to generate invoices.

You can't enter a text into a invoice header before an invoice is created.

What you try is to fill this text with a ABAP Code, see this notes for list of Badis and what they are supposed to do: 1156325 - BAdIs in the Logistics Invoice Verification environment

Re: "UFL 'u2ltdate' that implements this function is missing."

Re: Adding title to Fiori launchpad homepage

$
0
0

Dear Shruthi,

 

 

 

Let me try to guide you to a procedure to create a title:

 

 

 

1) Launch the Fiori Launchpad Designer:


     - URL: http://yourservername:port/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html

     - Login with your SAP Gateway userid/password

 

 

 

1) Create a Catalog (if you haven't it created yet).


     - Click on Button, on bottom left hand side:


     Create Catalog.JPG

     - Enter the parameters Title and ID:

 

     Catalog Parameters.JPG

 

     - Click on Save

 

3) Create the Tile (in the Catalog created Test_Catalog)

 

     - Click on Tile Button:


Tile + Button.JPG


     - Select the type of tile you want to create (2 samples below):


     Type of Tiles.JPG


     - Sample Static: Inform the parameters related to the application:


     My Travel Requests - Static Tile.JPG

    

     - Sample Dynamic: Inform the parameters related to the application:

 

     Approve Travel Requests - Dynamic Tile.JPG

 

4) Create the Group (if you haven't it created) and add the catalog created to this group:

 

     - Select Group option and then the Button in the bottom of the screen:

 

     Group Option.JPG

 

     - Enter the parameters Title and ID and click on Save:

    

     Group Parameters.JPG

 

     - Click on Tile Button:

 

     Tile + Group Button.JPG

 

     - Select the Catalog you have created before:

 

     Select Catalog for Group.JPG

 

     - Click on Button to add the Catalog to Group:

 

     Add Catalog to Group.JPG

 

 

So, you are done!!

Re: USER CANNOT RETRIEVED PUBLISHED UNIVERSE FROM REPOSITORY

$
0
0

Try with applying full control on IDT application ,universe folder and connection folder..

Config parameters for SAP Fiori Client on AFARIA app policy

$
0
0

Hi,

 

 

I would like to see an example of configuration parameters / file to set on the application policy for sap fiori client on SAP AFARIA. I saw the documentation, and it has only an example for IOS device but i need it to android. I would like to know if the parameters to include on the configuration tab of the app policy are the same for android

 

this is the example:

 

 

 

Best Regards,

 

 

Mariana


Re: Layout Pagamento pensao alimenticia credito em conta poupança atraves da F-110 - Santander

$
0
0

Eduardo, a conta é utilizada apenas para depósito em poupança? Ou você utiliza a mesma conta pra DOC, TED e tranferência?

 

o campo é j_1bdmexh2-h206 = ‘05‘.

Re: Kapsel Offline Store - Error on Flush

$
0
0

Jamie,

 

It does match. Regarding the Kapsel OData version (as shown in plugin.xml):

 

Captur10a.PNG

 

Regards,


Andres

Hola como se puede trabajar el servidor de licencias con dos IP. Esto porque el cliente no tiene otra infraestructura que usar

Re: Purge Application Log Tables(BAL*: BALHDR, BALDAT...etc.) old history for SAP ECC 6.0 EhP5 System

$
0
0

Just to add

 

- Check if there is any Audit need for any of application logs

- Check the retention period within BASIS and business if needed to

- if deleting , same steps has to be run in client 000

 

-IF there are tight restrictions on deletion --- Go for SARA

- the archiving object is BC_SBAL

 

- the report SBAL_OBJECTS_Records_count can be run anytime - display no of records based on object and sub object ( client 000 has to be selected with productive client )

 

 

Success !!

 

Ganesh.

LMDB verification failed

$
0
0

All,

LMDB   for ECC 6 EHP4 system is failing 

LMDB.JPG

1. So we have  OTEXBAS 0962_700 (Open Text ADA 9.6.2 for SAP Basis Installation  ) installed, but cannot find matching product instance.

nearest option seems  Open Text ADA 9.6.2 for SAP ERP but that relates to OTEXERP  and it leads to further errors during software selection.

2. we have 2 more addons

ODTFINCC 600 and PA_SE_IN 100 but cannot find suitable product instance for those too.


Any help is appreciated.


thanks,


Viewing all 8594 articles
Browse latest View live




Latest Images