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

Re: SAPUI5 threading

$
0
0

hi Arie,

 

as far I'm aware, there's no such as UI5 handling the threading.. it's usually browser-dependent. Most cases browsers run in a single process on the client machine while the nature of the javascript itself is to be single-threaded.

 

considering parallel javascript execution, the setTimeout will 'schedule' a function to run after X ms (which is not a guarantee btw) and give the thread back to the browser; it's more of a scheduler, thou it can be used to 'simulate' a multi-threading approach in some cases.

 

when using the OData model, these classes work with a sort of Promise model where you can schedule functions to execute once the "call" is sent, completed or ends in error.. the "call" is a XMLHttpRequest, which is another "native" browser-specific object, and each browser behaves a bit different from the other.

 

there is a maximum number of "concurrent" XMLHttpRequests in execution, and you can check some number here: Home - Browserscope - I'm not too sure if the number are totally correct, but this is a good indication at least.

 

as soon the request reaches your ABAP AS, you can run code synchronously or asynchronously - where usually sync. code would return you results of the method or operation you called, the async. by its nature would not (in most cases) - meaning, usually if you need to notify back the browser you can use a pooling mechanism (which works as a GET, and queries the status of something in your ABAP).

 

when you use a call function starting new task, I believe you can also register a handler to be executed during completion, where you could persist something to be queried over.. case you're running it on WebSockets (btw ABAP implementation is not great and it lacks a lot until 7.5 and stateful sockets is released), you can notify the client browser straight away.

 

 

what you probably need to do is analyse a few different ways of executing your code and checking which way provides best benefits, in terms of execution time and resource consumption.. I don't think there's a "cookbook" or formula for such cases.

 

 

Hope somehow this helps,

Dan.

 

PS: at this very moment I'm struggling with multi-threading in ABAP, it does work well when things are sparse in time but for real multiple concurrency with low latency modifications on a single object - I think you're out of luck.. but it does look like your problem is different from mine.


Re: Running a package in BPC 10.0

$
0
0

Hi Sultan ,

 

Please follow the steps mention in Snote : 1662273

 

Regards,

Venu Tikkavarapu

Re: Time Recording ( overtime Recording) should allow more than 24 hours in a single day

$
0
0

Sorry, what I said before is not right.  You can enter in IT 2002 an attendance type with starting date and end date so that it covers two days.  If start/end times are entered, the start time will be the time the attendance started on the start date and the end time is the end of attendance on the end date.

 

However the attendance type config in T554S should allow 2 days if you want upto 48 hrs attendance.

 

In time sheet, you would enter the OT for both days, and it should create as per the entry an IT 2002 (or IT 2010) record as per your CATS config.

Re: Disable Table checkbox based on a field value

Re: Best approach to project parallel development

$
0
0

hi Arie,

 

I replied to one of your threads earlier, and again.. there is no "cookbook" - you need to find out what works best for your team considering the landscape and tools you can actually use.

 

considering UI5 development, case you want multiple developers to be working in parallel on the same code-base, I would advise you to have a development environment locally to each developer (a web-container, SAP does have a skinned version of Oracle's Orion called Web IDE which I have been using) while keeping the code centralized in a repository - probably a git repository.

 

about Componentisation, you can read more at SAPUI5 SDK - Demo Kit - there was no need in things I've done in the past for such, but it seems you can even have components in different contexts and you can request and load them as long CORS is not in the way.


the next obvious step is to have automated deployment tools, and you can use the same "automation" the SAP Web IDE uses, in some nightly script to pull files from git and deploy using one of the rest services under /adt ICF node (you can have a read on SREST package in ABAP, it reminds a distant bastard brother of JAX-RS 1.0) - case you are deploying into XS engine, I'm sure there are similar endpoints for such - so just re-use what SAP developed in your own custom script (give curl a try if you are running it as a shell script).



last, you confused me a bit on your "iView" reference.. but if I understood:


when you want to use "real" web-components, I suggest you wrap your UI5 artifacts either in Polymer or X-Tags - this will enable you to have real "web components" in a way that you could easily embed a whole UI5 application inside a "div" of another UI5 application, without styles and javascript clashes.


I can already tell it works quite well; I was able to embed a whole UI5 application using Personas 3 (which is pretty much an UI5 application itself) - this is possibly a good way if applications needs to be part of each other in isolation (or not totally as you still can dispatch event thru them using postMessage for inter-communication, as long they are on the same domain).



and explaining my suggestion above: usually people would wrap a whole application within an iView with URL isolation method, but of course, when you want a nice mesh-up of applications the iView concept of the Portal does not work well - for obvious reasons... if this is not the usage you mention with your iView related comment, then maybe I did not understand at all what you said there.



Hope somehow this info helps,

Dan.

Re: Livecache/maxdb patch upgrade.

$
0
0

Thanks Thorsten,

 

I have applied patches using note 1529690. Thanks for your help.

 

Thanks

Amar

Re: Post invoice for return delivery in Goods-Receipt-Based Invoice Verification

$
0
0

What you are passing in Invoice indicator ?

  • INVOICE_IND- If you are posting a credit memo it should have value as 2.

1. I'm not sure which material document to choose. I have two GR entries available, one is with movement type 101 and the other one is with movement type 122.

 

I think only use 122 when Invoice is not posted. You post credit memo for movement type 161 which with reference to return po created separately.

 

If you still want to post credit memo Invoice_Ind = 2.

 

But what you will do the material document that have 102 in it ?-- that is cancellation of 101 document ?

 

101- You can post invoice with Invoice_ind=1

 

2. If there were multiple Goods Receipts, how do I submit them to the bapi ?

Do I need to submit two records in ITEMDATA parameter for the same PO line with different Goods-Receipt reference?


Do you have GR-IR Indicator checked in the PO - then I would recommend one document at a time..

Do you try to post multiple even you do not have GR-IR indicator checked. This will make easy to trouble shoot and document mapping.


3. If there were multiple Goods Receipts, how do I know if an vendor credit invoice has been created for the Goods Receipt document in the past?


You can check PO history table EKBE. It have various You have to pass indicator as 2- Invoice receipt. When you validate indicator -SHKZG= H .. means that number is credit memo .. in RSEG table of invoice number you find material document number -LFBNR and LFGJA as well as LFPOS

Resource Related Billing and Billing Indicater

$
0
0

Hi,

 

We have Project system with hierarchical WBS elements (WBS 1 as Parent WBS and WBS 2 as lower level WBS).

 

Top level WBS (WBS1) is marked as Billing Element.

 

Create sales order with one line item and assigned WBS 2 to Account Assignment tab. No issue there. System is allowing WBS to be assigned to Sales Order although it has No Billing Element Marked.

 

Transaction FB60 - I posted some invoice with WBS 2. (Lower level WBS). Now I run DP90 and execute with Sales Order. I am not able to generate Debit Memo Request. Is it because, WBS 2 is not with billing Element?

 

If I go back to sales order and assigned Top Level WBS1 to sales order and run DP90, That also does not work. (In CJI3 I can see Cost sitting on WBS 2 (Lower level WBS) and not at Top level WBS1.)

 

We have requirements to bill from TOP level WBS even though Vendor Payment is posted on Lower Level WBS.

 

What is the best we can make this possible? Is there configuration node for the setting?

 

Thanks,


Re: Use google account to log into Cloud for customer

$
0
0

Hi Bradley,

 

Not out of the box but you have the option to integrate with SAP Cloud Identity - a product that offers login from social identities. SAP Cloud Identity Service

 

Regards,

Karthik

Re: Tablespace reorg failing with error ORA-12008 and ORA-01555

$
0
0

Hi Ashish,

 

Please execute "show parameter undo", firstly, you need to check if the value of undo_retention is set to 43200.If not , please set it. Also please ensure the undo tablespace is autoextend and you have enough space on disk.

Interface determination not working

$
0
0

HI experts,

     I have a scenario where XML is coming from one Party and based on Interface determination condition it should create either of the one IDOC.

 

I have used the below consdition

 

/p1:MT_InvoiceGeneration/HeaderRecord/OrderType = ZOR  AND /p1:MT_InvoiceGeneration/HeaderRecord/InvoiceIndicator = OC  OR /p1:MT_InvoiceGeneration/HeaderRecord/OrderType = ZXOR  AND /p1:MT_InvoiceGeneration/HeaderRecord/InvoiceIndicator = OC

 

for one Idoc ----- should create ORDERS for this

 

 

and no condition for other one .... should create COND for that.

 

However it looks like not working and it is creating both IDOCs every time.

 

 

Attach is the screenshot as well.

 

Can you please suggest a solution for the same.Logic.PNG

Getting Started with the Almika Pre-Filled System

$
0
0

Dear Cloud for Customer Community,

 

I just recently was granted access to the pre-filled C4C system (with the sample company Almika).  When I log in with my initial user, there's not much I can do.  According to the welcome e-mail, I'm supposed to unlock business users to start utilizing specific functionality (like sales).  I can unlock the user, but I can't figure out how to update the e-mail address of the user, so when I generate the password, it goes to a real e-mail address.

 

There must be some Getting Started document available.  Can someone please offer some initial help?

 

Thanks,

Tony

Re: MAIN_SWITCH/STARTSAP_TRANS Error

$
0
0

Dear Martin,

 

I am also facing same issue, Can you guide me how to fix the issue.

 

Regards,

Sanjeev Kumar

Transport request of client-dependent for Switch Framework

$
0
0

Dear gurus

 

I activated switch framework LOG_MM_SIT in SFW5.
As a result, new movement type and new special stock indicator "T" is created.
Later, I did client-copy from other server which switch framework is not activated yet.
So, in this copied client, I have problem that swith framework is activated, but
configuration doesn't exist (No movement type or indicator).
I dont find the way to create TR for client-dependent.

Is there any way?

 

Yossy

Re: SAP Lumira Desktop Edition: "Could not connect to Central Management Server (CMS)": error

$
0
0

Hi Medha,

 

Thank you for your reply.

 

I've checked my deployment as per your suggestion.

 

Both Lumira Desktop and Lumira server are installed on the same machine, so I assume there is no firewall between them.

I am able to ping Lumira Server with no problems.

 

I have run the TELNET <server_name> 6400 command and was able to connect.

 

I am wondering if I am actually using correct connection parameters while connection from Lumira Desktop to my BI platform.

The image below shows my parameters used at Lumira Desktop  and the error message:

LumiraServer_ConnError.PNG

 

Am I using correct connection parameters above ?

 

My server name is TSYDBOXI4.

Here are metrics for my Lumira Server:

 

LumiraServer.PNG

 

 

Should I be using a different request port for my Lumira server ?

 

My credentials are correct as I can connect to CMC with this administrator account.

 

Many thanks for your help.

 

Regards,

 

Davor


Re: Retrieve element id's of table row in UI5

$
0
0

Hi Dennis,

 

I agree with your point. I have used cell manipulation, since to get hold of input control. Now, I removed the getCells() method, instead I used jQuery to fetch the input control id. Please check the sample - Table Input without cell manipulation Thank you Dennis!


And just on a lighter note, old logic will still work, even though you have more number of list items in table. Please check the sample - Table Input with Cell Manipulation


Regards,

Sai Vellanki.

HU number is not continuous

$
0
0


Dear experts,

 

we only use HU in OBD and we have set our HU number range as 1000000000 to 1999999999. the system shows that we are currently use number 103779199.

 

In my understanding, each HU is generated when we create an OBD and the number should be 10000000000, 1000000001, 10000000002, etc. in short, the HU number should be continuous. and since we have use to No 103779199, all number before it should already exist.

 

however, one i pick a number randomly like 1000083180 and try to use it to display an HU in HU03 or HUMO, system shows that the HU doesn't exist.

 

could you please help to explain why this happen? has the HU been deleted or there is other reason? why the HU number is not continuous?

 

Thanks in advance

 

Regards,

 

Fu Qiang

Re: doc or API for Data binding syntax attributes

Re: Read from DSO Option in Transformations not working.

$
0
0

Hi,

 

I cannot find any relevant SAP Note. Please raise an SAP Support Message.

Please keep us informed.

 

Best regards,

Sander

Re: In Defining Splitting of Forecast Requirements for MRP . We are giving enteries as A,B,C.. Please explain me why we are giving like that... What is the meaning of the Indicator A,B,C?

$
0
0

Dear Dinesh,

 

There is no possible entries on this splitting indicator and at the same time I also can enter D, E, F etc to the same column and system accept the entries.

 

If you are look at the table structure, splitting indicator column is one of the key together with the rest of the other keys (plant, period indicator)

 

I believe the function of the splitting indicator is to avoid duplication of record so that the data are unique and usable.

 

For e.g

I may have 2 entries where the period indicator is Monthly but having different forecast period splits (no of week, no of day) for the same plant code. To segregate these entries as, you may use the splitting indicator key as A or B or C... etc

 

Plant                    Split Indicator     Period Indicator     No of Days     No of Week

2000                         A                         M                         10               2

2000                         B                         M                         15               3

2000                         C                         M                         18               2

 

Since the split requirement are assigned in MRP3 of material master, you may create the split indicators and assigned accordingly to the corresponding materials. This can be configured for 2 or 3 materials which are having splitting requirements but being differentiated according to the number of days & week.

 

 

Hope this helps

 

Thanks

Karthik

Viewing all 8594 articles
Browse latest View live




Latest Images