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

Re: i can't read (selectDialog) event

$
0
0

Hi Satya,

I don't have a straight forward solution.

You would have to do the following steps.

 

1.Install UI5 Inspector - Chrome Web Store.

You will see a new tab added to your chrome console.

 

2.Get the id of the table.(TableSelectDialog has a table control within it.)

You could get it through the UI5 inspector or Elements tab. I prefer UI5 inspector since its neat.

s1.PNG

 

3. Get the id for the table. The id for my table within the tableselectdialog is__dialog0-table.

    Also find the ids for the lnput list items you want to select.

 

Now you could use

sap.ui.getCore('Here place the id of the table').setSelectedItemById('Here place the id of the Input list item you want to set');

you could do setSelectedItemById multiple times for selecting multiple list items.

 

If I consider the previous code and your new requirement for selecting a set of items initially.

The code could look like

 

if(dialog doesn't exist){

 

create dialog

dialog=new sap.m.Dialog('iddialog',{......});

 

sap.ui.getCore('Here place the id of the table').setSelectedItemById('Here place the id of the Input list item 1 you want to set');

sap.ui.getCore('Here place the id of the table').setSelectedItemById('Here place the id of the Input list item 2 you want to set');

sap.ui.getCore('Here place the id of the table').setSelectedItemById('Here place the id of the Input list item 3 you want to set');

 

}

else{

 

call using the id of the dialog


dialog=sap.ui.getCore().byId('iddialog');

}

 

dialog.open();

 

######################

Please note the ids are string values.

 

Hope this helps.

 

Regards,

Naren L Naik


Re: Import File / Appeon / .Net Assembly / LibXL

$
0
0

Hi Paul;

 

  As another alternative ... What about using a PB based Web Service to Read + Write to the Excel spreadsheet using the "LibX.Net.DLL"? The PB Web Service will run like a WebForms application ... A "kissing cousin" to the Winform application. Both of these generate C# BTW.

 

Regards ... Chris

Re: Generic Object Services (GOS) and attachments after ERP 6.0 upgrade

$
0
0

Laurie,

 

2066358 corrected our issue also. Thanks & good luck.

 

Jason

SLD user is getting locked every time

$
0
0

Hi Experts,

 

We are using portal 7.0 version. DB consultant has change the SLD user password in the server level. so that we are not able to access the applications which is using JCO connectios.

 

Due to this create and maintain jco destination button are in disable mode.that SLD user is frequently locking.

 

Please help me any one on this issue.

 

Regards,

Prasad

Re: Viewing documents (tif/bmp/pdf) in powerbuilder 12.6 classic application

$
0
0

Hi Jose;

 

  I'm glad that it's working for you know. These replies have solved your initial problem, please mark your question as answered.

 

Regards ... Chris

Re: Generate PR from stock item in network activity - PS

$
0
0

Hi Mohamed,

 

May be this is a silly request, can you please cross check the network profile ? Whether you have used the same profile for which you have configured.

 

As per your screenshot of OPS8, if you have checked Preq Network and Item Cat MRP L, then you should get the procurement type called in CJ20N Material assignment.

 

Additionally the procurement type you are having in your system shows as Network, which looks different from your IDES perspective.

 

If you have configured procurement type 130 in your system why it is calling NF ? Check the network profile and assignments again. Refresh or log off your system if you have done any config.

 

Regards

Terence

Re: Upload CSV file and display data in SAPUI5 Table

$
0
0

Hello Shariue,

 

Am able to read the file in JSON Format but am not able to bind the table.

 

Can you

please help me

 

I am doing the below code in the file select controller:

 

otable1.bindAggregation("items",{

 

  path: "/modelData",

  template : coltemplate

  });

 

where modelData contains the json format of the file records.

 

Regards,

Vikash

Re: SD Condition Type x COPA

$
0
0

HI,

 

U need to maintained this in KE4I transaction code new condition type to value field.


Re: Gateway entity for BAPI_PR_CREATE

$
0
0

Hello Omri,


Adding to Ashwin, you may follow this link also.

 

Cheers!

 

Regards,

--Pavan G

Re: 2168787 NPS change limit 80ccd deduction error and testing

$
0
0

Do you want the NPS contribution to be deducted from the employee's salary or just to be added as an investment in Chap VI?

Re: GRC AC 10: All SAP roles are not appearing in search while SOD simulation run

$
0
0

Hi Bhupinder,


I am not importing any role to the GRC system, I have just run the sync jobs and they finished without any error.


I believe importing role is only required if using BRM or ARM. I haven't imported any role but can view most of them in search criteria.


It is GRC 10.0 SP 0015.


Regards,

Piyush.

Re: LSMW for PA40 not saving changes

Absence quota generation based on seniority

$
0
0

Hi

 

I have a  requirement as follows, would any of you please suggest me the best options

 

Sick Leave

 

1. Employee date of join will get 40 hours quota, which i am thinking of by dynamic action

2. After 6 months completion - 45 Hours

3. Then every year 98 Hours

 

Means a new employee will get 40 hours upon join, after 6 months 45 hours, after 18 months from date of join 98 hours and from there every anniversary 98 hours.

 

Tried this using Seniority and transfer rule etc, system is not giving the desired outcome, appreciate if you can guide preferably with some screen shots. Thanks.

Getting Dump while opening RFX in SRM

$
0
0

Hi Sap Gurus,

 

Getting below error while open RFX. Please suggest the steps to resolve the issue...

 

 

Capture.PNG

ST22 Screenshot

 

ST22 Screen.PNG

 

Thanks in advance

Re: I am unable to access excel file in Designer

$
0
0

Hi Ram,

 

You need to have Access database engine installed. Check once.

 

Regards,

Gokul


Re: Using external variables in HANA Analytical views via MDX/HDODBC

$
0
0

Ok, this took a while... you know Q4... busy busy busy...

 

What works for me is this.

 

I created a user defined function that returns a table:

 

create function get_users (sel varchar(30)) RETURNS  table (user_id bigint,                                                             user_name nvarchar(256),                                                              total_user_cnt integer,                                                              sel_user_cnt integer)
language SQLSCRIPT AS
begin
declare total_user_cnt integer;
declare sel_user_cnt integer;    select count(*) into total_user_cnt                     from users;    select count(*) into sel_user_cnt                     from users                    where user_name like '%'||:sel||'%';            return select user_id,                   user_name,                   :total_user_cnt as total_user_cnt,                   :sel_user_cnt as sel_user_cnt    from         users    where         user_name like '%'||:sel||'%';    
end;

 

Note, this is not necessary - you could also use the parameters syntax for calculation views.

 

Now, I added the data source (ODBC --- not the MDX driver!) to Excel (I simply ignored the pesky "data truncated" error that might come up).

 

Next, I defined a named field "FILTER" that I reference in the VBA code.

 

Sub Button1_Click()
Dim FILTER As String
FILTER = Sheets("Sheet1").Range("FILTER")
With ActiveWorkbook.Connections(1).ODBCConnection                    .CommandText = "select * from get_users('" & FILTER & "')"                    .Refresh
End With
End Sub

2015-12-14_16-17-58.png

 

And that's really it.

Re: Need to load Excise (ECESS and HCESS) on inventory

$
0
0

Ecess and SEcess is removed in the last Budget. Why you want to load the Ecess and S&HEcess on Material cost?

Re: Restrict Bank Key Creation In FB60 to a One Time Vendor

$
0
0

Hey J Tan,

I think you should use substitution & validation to cater to this requirement.

You need to use a custom code in this substitution.

Here you need to check the one time vendor and fill the bank details thereby

 

Hope this helps,

Regards

Rishab

Re: Showing Image from Agentry application folder

$
0
0

Thanks bill for quick turn around.

can you tel me the path of application folder so that i will able to do that.

Re: Can we pass a columns dynamically in the select statement of Calculation view.

$
0
0

lol we don't know how many records or columns will be read or the real requirement here. why not use if that option is avaliable . we can't simply skip a solution due to disadvatanges

Viewing all 8676 articles
Browse latest View live




Latest Images