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

NOT_SUPPORTED_BY_GUI - calling BADI from VBA Excel

0
0

Hi,

 

I'm using VBA Excel to trigger a BADI which calls another BADI to upload some data from Workstation to Server.

 

Apparently the VBA coding works fine but when the second BADI is called I get a short dump which says: NOT_SUPPORTED_BY_GUI

 

Is there a certain obtion within the GUI? when I start the BADI manually on the server it works but via RFC/VBA

 

+
Thankful for any hint!


Re: OPA testing: View to be tested is embedded in App.view.xml

0
0

It would really help if you could also post your Data.view.xml and myOPATest.html, otherwise I and possibly others can only make assumptions:

 

Assumptions:

  • You should be calling viewNamespace as "view." with the period.
  • You can omit the viewNamespace in the waitFor by setting it correctly in your qunit.html. See the first link I posted below, the extendConfig function will take care of it.
  • What is the scope of the sap.m.List control in your view, is it within other controls?, as with my own OPA5 tests, I have noticed that sometimes when the targeted control is deeper in hierarchy can cause the waitFor with id not to work correctly. In a case like this, it may be best to fetch the top control by id and dig your way through using getters to get to your target control.

 

Some really useful links:

Re: insert select statement is taking ages

0
0

The total density number for the MKT_OP_DBF.M_ORIGIN_NB column don't look very good:

 

     Range cell density:           0.0000034460903826

     Total density:                0.0053334921767125


Notice the total density value is 3 magnitudes larger than the range density ... which can indicate a largish number of duplicates.  (NOTE: This wide difference between range cell and total density can be referred to as 'skew' - more on this later.)


Do some M_ORIGIN_NB values have a large number of duplicates?  What does the following query return:


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

select top 30 M_ORIGIN_NB, count(*)

from   MKT_OP_DBF

group by M_ORIGIN_NB

order by 2 desc, 1

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


The total density can be used to estimate the number of rows expected for a join (eg, TRN_HDR_DBF --> MKT_OP_DBF).  The largish total density number, when thrown into the optimizer's calculations, may be causing the optimizer to think that the volume of *possible* joins will be more expensive than a join in the opposite direction (MKT_OP_DBF --> TRN_HDR_DBF) which in turn means (as Jeff's pointed out) that you end up table scanning MKT_OP_DBF (as the outer table) because of no SARGs.


From your description it sounds like you've got the necessary indexes to support a TRN_HDR_DBF --> MKT_OP_DBF join order. (Though it wouldn't hurt to see the complete output from sp_helpindex for both tables just to make sure we're on the same sheet of music.)


------------------------


Without more details (eg, complete stats for both tables, sp_help for both tables - if you decide to post these I'd recommend posting them as a *.txt attachment).


I'm assuming you *know* that a join from TRN_NDR_DBF --> MKT_OP_DBF should be much quicker than what you're currently seeing.  If this is the case, I'd probably want to start with:


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

exec sp_modifystats MKT_OP_DBF, M_ORIGIN_NB, REMOVE_SKEW_FROM_DENSITY

go

exec sp_recompile MKT_OP_DBF

go

-- run your query again

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


By removing the skew from the total density (ie, set total density = range cell density = 0.00000344...) you're telling the optimizer that it can expect a much smaller number of joins for the join order of TRN_HDR_DBF --> MKT_OP_DBF ... and that may be enough for the optimizer to use TRN_HDR_DBF to drive the query.


NOTE: If sp_modifystats/REMOVE_SKEW_FROM_DENSITY provides the desired join order, keep in mind that you'll need to re-issue this command after each update stats command that modifies the stats on the M_ORIGIN_NB column.  For example, modify your update stats maintenance job to issue sp_modifystats/REMOVE_SKEW_FROM_DENSITY for those special cases where you know it helps query performance.


Re: Analysis for Office Publication

Re: Create FMS for BP remarks field

0
0

Hi,

 

Try this FMS:

 

SELECT T0.[Notes] FROM OCRD T0 WHERE T0.[CardCode] = $[$4.0.0]

 

Set auto refresh when itemcode changes.

 

Thanks & Regards,

Nagarajan

Re: Query Duplicate City / Recipient - Billing

0
0

Hi,

 

Try this query:

 

SELECT  t2.[City], T0.[CardCode], T0.[CardName], T2.[State], T1.[SlpName], ( T0.[CreditLine]+ T0.[DebtLine]), T0.[Balance] 

FROM OCRD T0  INNER JOIN OSLP T1 ON T0.[SlpCode] = T1.[SlpCode] INNER JOIN CRD1 T2 ON T0.[CardCode] = T2.[CardCode] where T0.[ShipToDef] = T2.[Address]

 

Thanks & Regards,

Nagarajan

Re: Sales Order DTW: Error in 'OrdersService' during command 'Add'

0
0

Thanks for feedback. There is SAP note for maximum number of record per import. Anyway, two separate (Split) DTW tasks helped to complete your task.

Re: Validation for Asset Value Date

0
0

HI Mukthar,

 

Sorry for getting back on this so late, I recently got access to T.Code OAZ1. However activating validation in OAZ1 will not work. As validation in OAZ1 only works for Asset Accounting, whereas I am creating a validation for Financial Accounting.

 

Regards

Anuj


Re: Stock Inconsistency between MM and HU

0
0

Unfortunately those screenshots are not really giving a proof for an inconsistency.

MCHB is of course the batch stock of today, but the VEPO table entry can be a historic entry for deliveries which are already goods issued.

We do not use real HU management, we just pack our deliveries, I have thousands of such entries in the VEPO table

 

Even without HU management you create trouble if you move the goods away or goods issue goods that are actually allocated to a delivery. You need to customize and activate dynamic availability check to restrict a MM movement to make use of allocated or reserved stock.

Re: In WM-PP Staging system picking next batch even stock is available in first batch

0
0

Can you start your story again for better evaluation. Initially you talked about batch A and B, your screenshots show different batches, which one was A and which one was B ?

As the GR date in the quant is the same date SAP has no option to consider the original GR date. So it will use other characteristics.

What I see is that the batch with the higher batch number (I guess this is your B) is in the bin with the lower bin number.

Can you check whether the picking sequence was eventually the bin number, and if this eventually makes sense then for the quantities that got picked?

Re: After Upgrading to BO 4.1 SP4, Tomcat is not starting..

0
0

Is this issue is resolved, can someone provide the solution. We have also updated from 4.1SP2 to SP4 Patch2. But after that Tomcat is not starting.

Re: Batch Management for Customer requirements

0
0

You would need a characteristics for the approval which allows multiple values. So you could add for example the customer number in the batch classification. And in the search you search with this customer number too and you will only find batches that meet the criteria.

Re: Wrong credentials for NWDI_CMSADM

Re: 0MAT_PLANT_ATTR enhancement issue

0
0

Hi,

 

The fields MINBE, EISBE,  BSTMI and BSTRF are hidden by SAP although they are available in the Extract Structure. In table ROOSFIELD you can see the field SELECTION is 'A' (Field in OLTP and BW hidden by SAP). There might be a reason why SAP decided to hide those fields (maybe problematic during extraction or provided by another extractor).

The fields DISLS and MMSTA should be available. You might have to unhide them in t/code RSA6.

I cannot find field MSTAE in my ECC system.

 

As a work-around you can indeed enhance the Extract Structure. If those (standard) fields are not filled in t/code RSA3 (I expect that you checked it during debugging), then you have do program also a look-up on table MARC.

From a performance perspective, please avoid using SELECT SINLGLE. A better approach is to do an array fetch for all Materials in the Data Package and select the entries from MARA and MARC in one go and make them available in an internal table. From here you can READ the data during the LOOP.

 

Best regards,

Sander

Re: RSDRI_INFOPROV_READ // sy-subrc 11

0
0

Hi Christian,

 

I agree with Roland, please check during debugging how it is processed. I expect that the exception X_MESSAGE is raised in method READ of Class (i.e. the referenced object) CL_RSDRI_INFOPROV. You must be able to find an explanation here.

 

Best regards,

Sander


Re: NOT_SUPPORTED_BY_GUI - calling BADI from VBA Excel

0
0

Hi Christian,

 

It might be (at least the coding example drives me in this direction) that the BAdI functionality is only available for BEx Web and not for Excel/VBA.

Which BAdI are you referring to by the way?

 

Best regards,

Sander

Re: Few folders like Forwarding order management, Freight order management, Planning are missing in NWBC menu.

0
0

Hi Shaktiprasad,

 

There might be some roles missing in your user profile. Check all the roles related to the /SCMTMS/* attached to your user profile.

 

/SCMTMS/BOOKING_AGENT

/SCMTMS/CAPACITY_MANAGER

/SCMTMS/CARRIER_SETTLEMENT_SP

/SCMTMS/CUSTOMER_SERVICE_AGENT

/SCMTMS/CUSTOMER_SETTLEMENT_SP

/SCMTMS/DISPATCHER

/SCMTMS/DISPLAY

/SCMTMS/FREIGHT_CONTRACT_SPEC

/SCMTMS/PLANNER

/SCMTMS/PROCESS_ADMINISTRATOR

/SCMTMS/SERVICE_PROVIDER

/SCMTMS/TRANSPORTATION_MANAGER

/SCMTMS/TRANSPORTATION_MGR_V2

 

Thanks,

Dinesh

Re: Unable to manage a PSA or delete data - too many requests

Re: PO output sent after deletion

0
0

replace your own print program with SAP standard and try again. If the standard works, then you are sure that you did something wrong. But as it is your program you should know best where you made your changes.

Define A Fiscal Year Variant FIRST for Company Code

0
0

Although this was already done and taken care of  Attached a screenshot 

of T-Code OBBP


Once i enter the amount, i am navigated to the Details tab, with the error message


" Define a fiscal year variant for company code DM01 "



Not too sure why would this error surface.  Attached a screenshot

Viewing all 8798 articles
Browse latest View live




Latest Images