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

Fragment cannot be updated once it is opened

$
0
0

I have a Delete Dialog defined as fragment.  Once the Delete Dialog opened and OK is called, it did some action on server and returnValue is received. I set the oError to be visible, but is still hidden?! Can the fragment's component be updated once it is opened?


-- Delete Dialog.js

 

DeleteDialog.prototype.onOK = function() {

  var oError = sap.ui.getCore().byId("IdError");

  var oLabel = sap.ui.getCore().byId("IdLabel");

 

 

  // _parentDialog is the view that apply onDelete Function. returnValue is possibly error from server.

  var returnValue = this._parentDialog.getController().onRemove();

  if (returnValue == null)

  {

  this._oDialog.close();

  }

  else

  {

  oError.setVisible(true); <-- It is accessed, but no update.

  oError.setText(returnValue);

 

  oLabel.setVisible(true);

  oLabel.setText(returnValue);

  }

  };

  return DeleteDialog;

 

 

}, /* bExport= */true);

 

DeleteDialog.fragment.xml attached.


Re: How to assign custom theme of Fiori Launchpad on EP to custom UI5 iview content ?

Displaying old CRs

$
0
0

Hello All,

 

When there are multiple CRs for a Material, all these changes are nicely captured in the Change Documents.

However, when we open an older CR, it doesn't display the values of the original CR instead it displays the current active data.

 

For example if a material is created with Dangerous Goods Indicator 001, then another CR change it to 002, when we display the original CR it displays 002, whereas users expect to see 001.

 

Is there any way to display the original CR with values as it was processed?

 

Thanks,

 

Hakan

SAP Design studio 1.6 csv as a data source not working in local mode

$
0
0

Hello Experts,

 

I tried to use csv as a data source in my dashboard while running in local mode, but as soon as I add the csv file as the data source I see errors saying "an unexpected exception occurred".

 

Initially, to get the csv, I added a BEx query to the dashboard and extracted it as CSV. Now I am trying to import that CSV file in a new dashboard. I do have the metadata file and the xml file in the repository folder of the local design studio application.

Re: SAP Design studio 1.6 csv as a data source not working in local mode

$
0
0

Can you attach a subset of the CSV file  and the metadata file to your message so community members may be able to better assist?  You should be able to "Edit" your message to attach them.

Re: cant use pbdom to analyze xml in webservice pb 11.5

Re: Type of product availability check

$
0
0

Jaisree,

I think the explanations for the second and third options are extremely clear, I don't think I could explain them any better.

 

Time series in this context is a standard Product Availability Check concept.

Pegging; including Fixed Pegging, is a Planning concept.

Both of these concepts are similar.  For both of these, SAP software creates relationships between supply and demand in Livecache.

 

ATP time series are created dynamically, similar to Dynamic pegging. Within ATP, using time series, there is generally no way to assign a particular supply element to a particular demand element.  The system calculates availability information using Time Series data during ATP, and uses that information to create confirmation results to return back to the calling document (e.g.a sales order).  Some exceptions to the above general statement exist.

 

In Planning, the solution sometimes calls for 'hard-assigning' certain supply elements to certain demand elements.  SAP offers several ways to do this, under the umbrella of 'Fixed Pegging'.

 

Normally,  Product availability check is unrelated to Planning, and any Fixed Pegging you may have established for your planning solution is IGNORED during Availability checking.  However, if are planning in APO, and if you are using Fixed Pegging (neither of which is required for GATP) in your planning solution, you may elect to have the PAC consider the planning results, vs the more common ATP time series.

 

If the above is unclear, then I suggest you do not attempt to use option 2 or 3, without first becoming extremely familiar with how fixed pegging interacts with PAC.  You can learn more about these topics by creating scenarios in a sandbox and experimenting.

 

Best Regards,

DB49

Commit problem with BAPI_ENTRYSHEET_CREATE

$
0
0

I am using two BAPIs to generate data in SAP.  BAPI_CATIMESHEETMGR_INSERT following by BAPI_ENTRYSHEET_CREATE.  The first step to create time entries and the second step to generate the costs.

 

The logic is to run

 

BAPI_CATIMESHEETMGR_INSERT

 

then

 

BAPI_ENTRYSHEET_CREATE

 

then

 

If success for both

        BAPI_TRANSACTION_COMMIT

Else

     BAPI_TRANSACTION_ROLLBACK

Endif.

 

The CATS BAPI runs successfully but we get an error in the ENTRYSHEET BAPI so the ROLLBACK is called.  The error itself is fine as an invalid g/l account is being passed in some instances and the BAPI handles this correct and reports the error correctly.

 

Unfortunately the CATS entries remain in SAP ... they have been committed although no commit was performed by the code.

 

Upon further investigation I am finding that the ENTRYSHEET BAPI is performing a commit although parameter NO_COMMIT = 'X' is being passed and the BAPI is returning an error so shouldn't post.

 

If I step through the entry sheet BAPI it is calling   FUNCTION 'MS_CREATE_SERVICE_ENTRY_MULTI' after stepping over this FM the CATS entry is committed in the system.

 

Wondering if anyone has come across this issue before ... seems quite recent as the program described above has been in production for 5 years.  Want to avoid another long night of stepping through ABAP code.

 

Thanks a bunch

 

 

Stewart


sap hana -simple finance certification

$
0
0

hi

I have passed sap fico certification , I am looking forward to do sap  hana  simple finance  certification , can anybody me help  to get relevant documents , where we can get or preparation for exam  thanks

Re: Affordable Care Act (ACA)

$
0
0

Re 780

 

HI Marty,

 

no, I did not have that probelm. You named the file*.pdf, right?

I do not have a system right now since I am on Christmas vacation, but if you still have problems on 12/29, maybe we can compare notes!?

 

Thanks and best regards,

 

Mathiss

Re: SAP APO GATP Configuration

$
0
0

Sudhakar,

The sales org and customer that are contained in the availability check structure coming to SCM from ECC MUST match exactly the CVCs you have created in DP and in Product allocation group.  If the characteristics are coming across with leading zeros, then you need to make your CVCs with leading zeroes as well.

 

Best Regards,

DB49

Re: ngdbc.jar redistribution

$
0
0

I have the same question.

 

How can third parties that want to distribute software that connects to SAP HANA via JDBC obtain the driver?

 

Most database vendors make it easy to redistribute the driver and allow third parties to redistribute the jar containing the jdbc driver. Does SAP allow that too? If so, what are the conditions for redistribution?

 

If SAP does not allow third party redistribution of the jdbc driver, then what is the recommended way to detect the file location of the driver bits so it can be added to the classpath?

Re: Issues using HR_INFOTYPE_OPERATION for operation MODIFY in Custom Infotype of Time Constraint - Z

$
0
0

Time mgt (PT) infotypes need to be in the range 2000-2999 (as per help text for infotypes in V_T554Y).  I am not sure if this applies to custom PT infotypes also.  This help info also says customer infotypes are to be in range 9000 - 9999.

 

In SM30, try to maintain V_T554Y.  The time constraint string field ZKZ has a max length of 50.  In V_554Y_B, this restriction is not visible.  Hence when you select one infotype and double click the row, it displays the constraints for other PT infotypes. Here, if you overshoot the max of 50 rows, the table can not handle this and the extra row causes a problem.  I have seen this happening.  Hence it is advisable to maintain view V_T554Y always.  See if your custom infotype has this problem.  I am not sure if your problem has any bearing with this T554Y issue.

 

Further, why are you using HR_INFOTYPE_OPERATION?  I would recommend updating or creating employee data through LSMW or similar 3rd party s/w, because the BDC session created by LSMW goes through standard employee data maintenance program modules and they process all validations and creating the necessary links (e.g., PD data update for employee position change, updating IT 8 - cap util% & wrk hrs / period) etc)properly.  Updating with custom programs may not provide for such validations and related data changes.

Re: 'StandBy’ hours

$
0
0

Please post ZEPF and its sub PCR's for all ESGG/W/t's.

Also post V_503_ALL.

Usually for Basic pay and similar IT 8 allowances, we use proc cl 10 = 1 which uses /801 for prorating.

Re: User Exit or Badi for IW32 with AUDISP field in Component table

$
0
0

Both exits PPCO0023 and CNEX0026 are alike and are meant for PM Orders (PP Orders too).


Re: User-exits for componentes not triggered when creating WO by reference (IW31)

$
0
0

Hello J,

All these user-exits will trigger during IW31, the moment you enter a component detail and hit Enter. The pre-requisite is all these user-exits should be listed in a project created through tcode CMOD. Means you create a project (say CNEX) and in that in Enhancements assignment section you need to list these user-exits as shown below. Then these exits will trigger.

Capture.JPG

 

Also

One more user-exit which will be of use to you is PPCO0023. Though it is equivalent to exit CNEX0026, I believe this can perform all the three purposes of above CNEX exits, if suitably coded. The pre-requisite rule applies to every user-exit.

 

Hope this resolves your issue.

 

 

Good luck

KJogeswaraRao

Re: When do I use Agentry, SAPUI5/Fiori or mMobiliser?

$
0
0

The UI doesn't need to be coded like the other platforms. With the UI, you set what fields and the type of fields.  You can change just a number to change the placement of the screen.  You also can add small rules to hide the field, or change the field.

GST Cutover Plan and Activities

$
0
0

Hi,

 

I am doing a GST review. Since GST is already implemented in Malaysia, I would like to know the cutover activities that might be required when GST is implemented in India.

 

Kindly share your view from Indian perspective. How we do migration from current CIN method to GST.

Re: Creating, dropping, granting, revoking repository roles

$
0
0

Hello Martin,

 

What error are you seeing when you try to delete the repo role in question? Are you seeing a privileges issue here also? If so you can do the following:

 

Its always helpful to run a trace to see what exact privilege you are missing:

 

1) Please run the following statement in the HANA database to set the DB  trace: alter system alter configuration ('indexserver.ini','SYSTEM') SET   ('trace','authorization')='info' with reconfigure;

 

2) Reproduce the issue/execute the command again

 

3) When the execution finishes please turn off the trace as follows in the Hana studio: alter system alter configuration ('indexserver.ini','SYSTEM') unset   ('trace','authorization') with reconfigure;

 

If you look into the trace file that is generated after you turn off the trace you can see what privilege you are missing to delete the repo role in question.

 

For further information please see:

 

http://scn.sap.com/docs/DOC-68108

 

Regards,

 

Michael

Re: Trigger an Action for every few specified quantum of time in Agentry

$
0
0

The main screen doesn't close as the user moves around the application, as this is the screen the user always returns too.

 

Stephen

Viewing all 8667 articles
Browse latest View live




Latest Images