Quantcast
Channel: SCN : All Content - All Communities
Viewing all 3079 articles
Browse latest View live

VL10B Issue

$
0
0

Hi Experts,

 

due to some issue in EWM -for 1 sto order i rejected the STO.

 

as per my understanding system need to create the same STO again in EWM  for Purchase order (DC to DC -STO)

 

But when i check in VL10B for that purchase order i am seeing error,  for the document created 124644936 is only having one line item, we have another 5 line items missing. can you advice how can i solve the below error, to see all line items in EWM.

 

the document created here 124644936 also i am not able to see in EWM

 

8181818181.PNG

 

 

Please advice

 

 

thanks

vy


CL_HRPA_MASTERDATA_FACTORY cannot be instantiated

$
0
0

I am having trouble using CL_HRPA_MASTERDATA_FACTORY for updating PA infotypes during IDOC processing.

 

The reason for trying to utilize this is primarily that I need to update Cost Allocation (CA), i.e. tables ASSHR and ASSOB. We have a scenario where another SAP system is master for certain infotypes, incl. the CA, and these infotypes are then transferred via ALE to the payroll system. But SAP doesn’t include CA for the infotypes, and note 310993 says that a customer will have to develop this functionality themselves.

 

HR_INFOTYPE_OPERATION and HR_CONTROL_INFTY_OPERATION are thus not suitable, due to not processing PREF, and at least the first one doesn’t mix well with IDOC’s.

 

My problem is that the framework already has been initialized when I want to do something. Function Module for IDOC processing is standard module IDOC_INPUT_HRMD, where I use EXIT_INBOUND_IDOC->PROCESS_IDOC to remove the ASSHR and ASSOB segments – otherwise SAP will choke on these. Later I then use EXIT_INBOUND_IDOC->POST_PROCESS_IDOC to try and update CA, and this is where it fails. This is due to calling IDOC_PROCESS_HRMD in between the two exits in the IDOC module, this then performs INITIALIZE_PS_ADAPTER in program SAPFP50P, and CL_HRPA_MASTERDATA_FACTORY=>SET_FRAMEWORK is executed, setting LEGACY_MODE = X. This last part is SAP standard.

 

Once executed SET_FRAMEWORK cannot be called again, A_IS_INITIALIZED has been set, and LEGACY_MODE also being set results in exception CX_HRPA_VIOLATED_PRECONDITION.

 

I have tried doing the recommended thing of executing PERFORM DO_NOTHING IN PROGRAM SAPFP50P, but this doesn’t work… I have tried doing it directly prior to CL_HRPA_MASTERDATA_FACTORY=>GET_BUSINESS_LOGIC, in the CLASS-CONSTRUCTOR of the class used for the EXIT_INBOUND_IDOC->PROCESS_IDOC and ->POST_PROCESS_IDOC, and I have tried making the latter method instantiate a new class where I PERFORM DO_NOTHING, but none of them seem to work.

 

I have also looked at http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment, this uses the same approach, but doesn’t seem to encounter the problem.

 

I have checked table T77S0, where CCURE switches MAINS and PC_UI are both not set (blank). As a matter of fact, all switches I have seen mentioned in this regard are not set (only CHGLP and GEMAN contain a value).

 

Checking table T582ITVCLAS for e.g. infotype 0014 I can see that the NITF_ADM switch is set to 0… This might raise an eyebrow, as this means not admissible, but the strange thing is that CL_HRPA_MASTERDATA_FACTORY doesn’t know which infotype I want to update, so this shouldn’t matter at this point? And I am actually working in two different SAP systems, one where I tested the update in a single program, and one where I have to implement the update in ALE - and the test went fine, infotype and CA were updated.

 

Is there any way to “destroy” the previous initialization of CL_HRPA_MASTERDATA_FACTORY=>LEGACY_MODE so that I may be allowed to use it? I have all of my code working in a single program, it’s only when inside the IDOC framework that it won’t work.

 

Kind regards

Kim

perform multiple changes on a table through batch...But it doesn't work

$
0
0

Hi Experts,

 

I had created a table and then fetch data from xsodata service. I have performed multiple changes in my table and then submit through batch methods. But it doesn't work it shows the following error. please check my code and help me...:)

 

Error : 2015-12-12 16:34:32 The following problem occurred: no handler for data -

 

 

var oChange2 = Model.createBatchOperation("oPath", "PUT", UpdateValue, oData);

var oChange3 = Model.createBatchOperation("oPath", "DELETE", LastName, oData);

 

                       //@@@@@@@@@@@@@@//

 

                       var oReadOperations = [oChange2,oChange3];

                       Model.addBatchChangeOperations(oReadOperations);

                       Model.submitBatch(function(oData){

                                                   

                         oModel.refresh();

                         console.log("success?:" + oData);

                         },function(err){

                                alert("error occurred: " + err);

 

                          });

                     

                     

                   

                }

 

Thanks & Regards, Lakshman.

About selection into a select dialog control

$
0
0

Hello Experts,

 

I have created a select dialog similar to the one in explored: OpenUI5 Explored (Select Dialog), and databinding works good: the items are listed. The problem I am facing: after selecting an item, the message toast does not indicate the name of the item. The coding I am using:

 

For the fragment:

 

<core:FragmentDefinition   xmlns="sap.m"   xmlns:core="sap.ui.core" >        <SelectDialog    noDataText="No Products Found"    title="Select Product"    search="handleSearch"    confirm="_handleChoose"    close="onCloseDialog"    items="{/ZUI5_TEST_TMATERIAL_SET}">  <StandardListItem  title="{MAKTX}"  description="{MATNR}"  iconDensityAware="false"  iconInset="false"  type="Active" />  </SelectDialog></core:FragmentDefinition>

and the controller looks like:

jQuery.sap.require("sap.m.MessageToast");
sap.ui.core.mvc.Controller.extend("VariantConf.view.Welcome", {
onInit : function() {    },        _getDialog: function () {         // create dialog lazily         if (!this._oDialog) {            // create dialog via fragment factory            this._oDialog = sap.ui.xmlfragment("VariantConf.view.Subwindow", this);            this._oDialog.setModel(this.getView().getModel());            // connect dialog to view (models, lifecycle)            this.getView().addDependent(this._oDialog);         }         return this._oDialog;      },        onOpenDialog : function () {         this._getDialog().open();      },        onCloseDialog : function () {         this._getDialog().close();  },  _handleChoose: function(oEvent) {  var aContexts = oEvent.getParameter("selectedContexts");  if (aContexts.length) {  sap.m.MessageToast.show("You have chosen " + aContexts.map(function(oContext) { return oContext.getObject().Name; }).join(", "));  }  oEvent.getSource().getBinding("items").filter([]);  }  });

after debbuging, the variable aContext obtains the array (one value selected), but the part: oContext.getObject().Name does not deliver the name of the selection.

I appreciate your suggestions.

Kind Regards,

Gabriel

System is not taking price from latest PO in case of Subcontracting

$
0
0

Dear SAP Experts,

 

I am facing an issue. When we run cost estimate run of subcontracting material from t-code CK11n , system is not taking current PO price. We want that system take price from current PO. Please guide me how to resolve this issue.


Regards

 

Muhammad Umar

How to replace table in SAP HANA views

$
0
0

Hi Expert,

 

i have created on Analytic view e.g. AV_EMP which is build on "EMP"."EMPMASTER" table.

 

now, we have done modification and created new table in new schema. i.e. "EMP_NEW"."EMP_MASTER_NEW". I want to replace this table with old one in same view.

 

could you please let me know, best way to replace table in same view.

 

- Umesh

how to define a writeable Global variable in transaction?

$
0
0

hi all,

  Now i have a case as that when i get data from a source ,such as PCo/Oracle ,

  i just want it is kept  and i could get it regular intervals when i execute this transaction or another one.

  As the data also should be writeable , so i could not use Global variate.

  is there any solution ?

  and what's the life cycle of transaction, is it died automatic after execute?

 

  Thank you in advance!

Material Search

$
0
0

I have created new storage type LGR. In the storage type search for picking LGR storage type is 1st & then LGC is defiend by me.

 

But when transfer  order is created for Picking material that is available in sufficient qty at Storage type LGR. Material is picked from LGC storage type.

 

How this can happen as I have material in LGR but still it is picked from LGC.


Material Closet

$
0
0

Hi:

 

on the material closet screen , I see shelf and bin.

how is it integrated with SAP ERP-MM , how system know which plant -storage location to do replenishment pls.

 

when we create OU MR , is the system check the stock in SAP ERP MM online? and replenishment will be done if  SAP ERP MM stock below reorder point? and order  according to max stock level?

report

$
0
0

Hai sir,

 

There is any Tcode for (Sales Order, Delivery Document & Invoice).

 

or

 

Tcode for (Delivery Document & Invoice)

 

 

Thanks

Nagendra

Class Type 055 Contract Class.

$
0
0

Hi

 

When I try classify contracts in CL20N by class type 055 field contract number is inactive.

I can not assign class to object in CL20N, but assign object to class in CL24N is possible.

What is the reason, that field RMCBC-EBELN in CL20N is create by SAP  with input status - not possible?

 

I'm getting below two errors.

 

Inconsistent characteristic value assignment. Message no. C1821. - TCODE - CL20N

 

Message no. CL408  - TCODE - CL24N

 

Regards,

 

Ganesh

ck11n issuse

$
0
0

   Hi sap guru's,

 

While i am doing the ck11n i am getting a issuse " No price could be determined for the material "

 

Please help me to resolve the issuse

 

Thank yo in advance

Planning strategy

$
0
0

Please my friend I need to know which strategy use when I need to create PIR and convert only PR to PO but I need planed order for finish and semi finish take vp not convertible then I received sales order after run MRP create new planned order for finish and semi finish consuming from PIR planned order and able to convert to production order I thought in strategy 50 but PIR plnd order for semi can be to convert and I don’t want that I want finish and semi finish planned order from PIR not able to convert (vp) only PR convert to po .


PIR = PR convert to PO + semi plnd order not convertible + Finish plnd order not convertible

sales =semi plnd order convertible + Finish plnd order  convertible consuming from  PIR planed order

Please help


System Landscape Recommendations for SAP Customer Activity Repository

$
0
0

Based on the established methodology of SAP's System Landscape Governance Board, this presentation provides system landscape recommendations for SAP Customer Activity Repository (CAR) based on SAP HANA and SAP CAR Application Bundle (CARAB). You can find more information about the availability of the product within SAP's Platform Availability Matrix http://service.sap.com/pam. Further information about the product can be found here: http://help.sap.com/car .

View this Presentation

System Landscape Recommendations for Ariba Network Integration 1.0 for SAP Business Suite


System Landscape Recommendations for SAP Master Data Governance 8.0

System Landscape Recommendations for SAP Fiori

$
0
0

Based on the established methodology of SAP's System Landscape Governance Board, this presentation provides system landscape deployment recommendations for SAP Fiori for SAP Business Suite and SAP HANA.

View this Presentation

Tables memory usage?

$
0
0

Dear Experts,

 

We plan to replicate the tables from our SAP system (replication server running with MS SQL database) to HANA Database.

 

We would like to calculate the memory usage of each table in SAP system before replicating its tables to HANA database.

 

From SAP system (transaction DB02) i get the memory usage of a table as 17 MB but the same table shows 15 MB after the executing the SQL query from SQL database.

 

Why do we get this difference? Any ideas, please?

 

 

Thanks & best regards,

Sreenu

Storage bin specific Vs product specific physical inventory

$
0
0

Hello all,

 

In EWM, when to use storage bin specific physical inventory and when to use product specific physical inventory?

 

Is it decided by any business scenario?

 

Regards,

 

Chaitanya

How to copy record from one subtype to another subtype within a same infotype in ESS portal?

$
0
0

Hi,

 

I have to implement a method which will solve my problem. For example user create or edit exist record of address (IT 0006, subtype 1) and I would like that these changes also appeared in the same infotype 0006, but in another subtype - example subtype 2. What is more these changes will be taking place through the portal ESS.

 

I know that I have to use Badi HRPAD00INTYBL and method  if_ex_hrpad00inftybl~modify_computations, but I still have problem. Example class CL_EXM_IM_HRPAD00INFTYBL shows how to copy record from IT 0002 to custom infotype, but I need do this copy within the same infotype.

 

 

Thanks in advance for any ideas.

 

Best regards

Viewing all 3079 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>