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

ME51N USER EXIT

$
0
0

Any user exit to change the value of eban table or structure LS_UEBAN.

Please help on this.

 

Regards

Rajesh K Singh


Template:Different Overhead cost for Different Material

$
0
0

Hi All,

 

I have used Template allocation to apply overhead cost on materials.

 

The environment I used is Plan=001 and combination I used is Cost center/Activity type.

 

Now issue is for all material system is posting the same overheads amount,I want to allocate different overheads amount to different materials...

 

 

For example

Material A                  Material B

Overhead 1=rs2      Overhead 1=rs1

Overhead 2=rs5      Overhead 2=rs10

 

 

 

 

Please share your views....

 

Regards

Nitisha

client connectivity using VPN

$
0
0

HI,

 

 

My client is having two branches and 10 users. I have VPN connection.

 

I'm trying to install SAP in client system after VPN is get connected. SAP is installing successfully but there are no databases.

 

What i need to do in this case?

 

 

Thanks & Regards,

Sai.

Authorization by End user

$
0
0

Hi Expert,

 

In Marketing Document, my Management wants to give header level Authorization to his end user (like row level items should not be able to be modify by end user .) .

is there any standard Authorization possibility or any other way we can make this authorization to user so that he will not be able to modify the row level document like(A/R Invoice ).

 

 

 

 

Thanks

Problem with Message Mapping: Runtime Exception in PI

$
0
0

Hi Everyone!

 

Im doing a File to XI Scenario. Im facing a couple of issues:

1. I have a folder from where i have to pick a file (.xml) that is throwing an error:

Runtime exception occurred during application mapping com/sap/xi/tf/_MM_DEAL_REQUEST_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_DEAL_REQUEST. Values missing in queue context. Target XSD

I have tried a lot of options including testing my payload in ESR in test mode, there too im getting the same error. Am i doing some thing wrong or is there an issue with the xml that is being placed in the folder by 3rd party?

2. When i give the actual file name as value of File Name in IR, there is just 1 file in the folder, still PI cannot pick the file name. However, If i give "*" as value for Filename, then PI can pick the file.

 

Can anybody help me out with both these issues??

how to replace the value of one field with value of a corresponding field in internal table

$
0
0

example

EBELNEBELPMATNRBELNRWERKSAFNAM
4500000085000101231234534D1
4500000086000104561234634D1G002
4500000087000107891234734D1

 

 

My concern is I want to update the vlaue of WERKS with value of AFNAM wherever it exists. so in this example WERKS in the 2nd row should get updated to the value of AFNAM which is G002.

 

i used to following code but it didn't work.

************************************************************************************************

READTABLE ist_data into wa_data withkey afnam = wa_data-afnam.

         IF sy-subrc = 0.

           wa_data-werks = wa_data-afnam.

         ENDIF.

APPEND wa_data TO ist_data.

************************************************************************************************

 

 

 

Thanks in Advance.

Staging for Production: no staging needed?

$
0
0

Dear experts,

 

I'm facing very strange issue when trying the staging of material for production in EWM 9.2...

 

I get following PMA in EWM:

 

Unbenannt.JPG

Unbenannt.JPG

When I try to trigger the staging by using of /SCWM/STAGE, I get following message:

 

Unbenannt.JPG

What could be a reason for such a warning? I tried to debugg the process and the systems even cannot determinate the materials to be stage...

 

I got following customizing in PSASTAGE:

 

Unbenannt.JPG

I also mapped the doc types (ERP/EWM), the PSAs from ERP are transported and so on...so everything looks good to me.

 

Please could someone give any hint at least in which direction I have to look.

 

Thank you very much in advance

 

BR

 

Denis

PO is not blocking in SUS

$
0
0

Hi Guru's,

 

 

This is High Priority Issue.

 

 

Scenario: When vendors are created in ECC are replicated through some program to SUS and creates a Business Partner to that vendor in SUS.

 

Case1: While creating the PO for that vendor in ECC its get replicated in SUS and mails will triggers to the suppliers who are there in BP and it is in success state in SXMB_MONI..

 

Case2: If that Vendor is not present in SUS it has to block the PO creating in SUS side it will in error state in SXMB_MONI.

 

Case3: This case is Very important, If you created a vendor and that is not replicated in SUS and this vendor number is similar to the one of the BP number in SUS, this is happened unfortunately, Now if you create a PO with this vendor and this PO is passing successfully to SUS. Why it is allowing in SUS side even though that vendor is not present in SUS side.While checking in SXMB_MONI it is showing success message.

 

Here is there any setting to make to stop that PO and in SUS side they are using Proxy to create a PO in SUS and this is  Standard Code and unable find through debugging. In that proxy they are calling Standard FM.   

                

 

Thanks in Advance.

 

 

 

Regards,

Sairama.


Internal Server Error :SAPUI5 consuming oData

$
0
0

Hi all,

 

 

I created a list sap.m   in XML VIEW,

and binded items from oData, i.e from ABAP table,

List items Generated fine.

i'm trying to perform Search Operation, but its throwing Error "Internal Server Error",

 

is there any issue with my below code:?

 

or the prblm is with backend?

 

if so how to resolve?

 

 

 

 

============ VIEW =============

 

<Page

    showHeader="false" >

    <subHeader>

      <Toolbar>

        <SearchField

          liveChange="onSearch"

          width="100%" />

      </Toolbar>

    </subHeader>

    <content>

      <List

        id="idList"

        items="{/flightdata2Set}"

        selectionChange="onSelectionChange"

        mode="MultiSelect"

        includeItemInSelection="true" >

        <infoToolbar>

          <Toolbar

            visible="false"

            id="idInfoToolbar" >

            <Label id="idFilterLabel" />

          </Toolbar>

        </infoToolbar>

        <items>

          <StandardListItem

            title="{Carrid}"

            description="{Carrid}"

            iconDensityAware="false"

            iconInset="false" />

        </items>

      </List>

    </content>

  </Page>

 

 

 

 

 

 

 

==================CONTROLLER=====================

 

var url;

  if(window.location.hostname == 'localhost')

  {

  url = "proxy/" + "sap/opu/odata/sap/*************/";

  }

  else{

  url = "/sap/opu/odata/sap/*************/";

  }

 

  var oModeldata = new sap.ui.model.odata.ODataModel(url);

  sap.ui.getCore().setModel(oModeldata);

 

 

  },

  onSearch : function (oEvt) {

 

 

     // add filter for search

     var aFilters = [];

     var sQuery = oEvt.getSource().getValue();

     if (sQuery && sQuery.length > 0) {

       var filter = new sap.ui.model.Filter("Carrid", sap.ui.model.FilterOperator.Contains, sQuery);

       aFilters.push(filter);

     }

 

 

     // update list binding

     var list = this.getView().byId("idList");

     var binding = list.getBinding("items");

     binding.filter(aFilters, "Application");

   },

 

 

   onSelectionChange : function (oEvt) {

 

 

     var oList = oEvt.getSource();

     var oLabel = this.getView().byId("idFilterLabel");

     var oInfoToolbar = this.getView().byId("idInfoToolbar");

 

 

     // With the 'getSelectedContexts' function you can access the context paths

     // of all list items that have been selected, regardless of any current

     // filter on the aggregation binding.

     var aContexts = oList.getSelectedContexts(true);

 

 

     // update UI

     var bSelected = (aContexts && aContexts.length > 0);

     var sText = (bSelected) ? aContexts.length + " selected" : null;

     oInfoToolbar.setVisible(bSelected);

     oLabel.setText(sText);

   }

 

 

 

 

 

 

 

 

 

 

Can anyone help to resolve the issue,

 

 

 

thanks ,

CHANDRAN.

return delivery for n number of migo documents(present able for 6 documents)

$
0
0

Sir,

 

In MBRL, iam able to post '6' material documents, but i want this for n number of documents, how to achieve this plz share

How to Reset the Deletion Flag through a BAPI/FM of Equipment

$
0
0

Hi All,

 

My Requirement is to reset the deletion flag through a BAPI/FM of Equipment, All though i have a Function Module IMAS_CHANGE_STATUS_SINGLE.But whenever i am executing the IMAS_CHANGE_STATUS_SINGLE by passing the Object Number and Activity Code i.e AM13 for Reset the DeletionFlag it is giving an error, I am completely clueless Please help...

 

 

Thanks in Advance

how can we use the FM for uploading the customer masters

$
0
0

Hi

 

I have requirement to upload the customer masters in SAP and due to some authorization issue's business has decided to go with the following

SD_CUSTOMER_MAINTAIN_ALL  for uploading customers .How  can we use the FM for uploading the customer masters? please throw some light on this  any documentation or function specification  will be of great help

 

Appreciate your help

Cannot view imported Crystal Report

$
0
0

Hi Experts,

 

When i try viewing a crystal report (which I currently imported) in SAP, the system tells me this error : "No matching records found  'Queries' (OUQR) (ODBC -2028)  [Message 131-183]".

 

Any idea how to troubleshoot the said error?

 

I have attached a screenshot of the actual report in SAP B1. As you can see, the icon of the uploaded report is different from others which I can view properly.

 

Thank you in advance.

 

Regards,

Arlene

item movement report

$
0
0

Hi All

below query is working fine for the items (Quantity and value) where landed cost is not involved but giving wrong cost if the landed cost document is involved somewhere. please correct the same, its bit urgent.

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

Declare @FromDate Datetime

Declare @ToDate Datetime

Declare @Group nvarchar(10)

Declare @Whse nvarchar(10)

 

 

Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')

Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')

--Set @Group = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam = 'Mfg-Standard Board')

Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = '[%2]'  )

 

 

Select

Warehouse as 'Warehouse',max(b1.itmsgrpnam) as 'Item group name',

a.Itemcode,

max(a.Dscription) as 'Description'

,(max(a.[Opening Value]) /(case when (SUM([Opening Balance]))=0 then  1 else (SUM([Opening Balance])) end)  ) as 'Price',

sum(a.[Opening Balance]) as [Opening Balance],

(sum(a.[Opening Value])) as 'Opening Value',

sum(a.[IN]) as [Receipt],

(sum(a.[IN Value])/ (case when (SUM([IN]))=0 then  1 else (SUM([IN])) end))as 'Receipt Qty Price',

(sum(a.[IN Value]) )as 'Receipt  Qty Value',

sum(a.OUT)*-1 as [Issue],

(sum(a.[out Value])/ (case when (SUM([OUT]))=0 then  1 else (SUM([out])) end)) as 'Issue Qty Price',

(sum(a.[out Value]))*-1 as 'Issue Qty Value',

((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing,

((sum(a.[Opening Value])  + sum(a.[IN Value])) - Sum(a.[out Value] ) )as ClosingValue,

 

((sum(a.[Opening Value])  + sum(a.[IN Value])) - Sum(a.[out Value] ) )/ (Case When (sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT) = 0 then 1 else (sum(a.[Opening Balance]) + sum(a.[IN]))End) as ClosingPrice

 

from(

Select

N1.Warehouse,

N1.Itemcode,

N1.Dscription,

(sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],

(sum(N1.inqty*N1.CalcPrice)-sum(n1.outqty*CalcPrice)) as [Opening Value],

0 as [IN],

0 as [IN Value],

0 as OUT,

0 AS [out Value]

 

From dbo.OINM N1

Where

N1.DocDate < @FromDate and N1.Warehouse = isnull(@Whse,N1.Warehouse)

Group By

N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price

 

Union All

select

N1.Warehouse,

N1.Itemcode,

N1.Dscription,

0 as [Opening Balance],

0 [Opening Value],

sum(N1.inqty) as [IN],

sum(N1.inqty*CalcPrice) as [IN Value],

0 as OUT,

0 AS [out Value]

 

 

From dbo.OINM N1

Where

N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and

N1.Inqty >0

and N1.Warehouse = isnull(@Whse,N1.Warehouse)

Group By

N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price

 

Union All

select

N1.Warehouse,

N1.Itemcode,

N1.Dscription,

0 as [Opening Balance],

0 [Opening Value],

0 as [IN],

0 as [IN Value],

sum(N1.outqty) as OUT,

sum(N1.outqty*CalcPrice) as [out Value]

From dbo.OINM N1

Where

N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and

N1.OutQty > 0

and N1.Warehouse = isnull(@Whse,N1.Warehouse)

Group By

N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price) a, dbo.OITM I1,dbo.oitb b1

where a.ItemCode=I1.ItemCode and

I1.itmsgrpcod = b1.itmsgrpcod

--and I1.ItmsGrpCod = @Group

Group By

a.Warehouse,

a.Itemcode

 

Order By a.Itemcode

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

Regards

D. K. Tyagi

How to assign notification on the basis of planner group and work centers?

$
0
0

Hello Experts,

 

I am using work manager 6.2 application and doing customization in that but I stuck at one place as I want to assign notification on the basis of planner group and work centers.

 

Actually the scenario is that each planner group is having no. of work centers and only one planner group is assign to engineer and under this engineer no. of technicians are there with different work centers.now I want to assign notification according to the requirement of user only.means if engineer logged in he has to see all the notifications but if any technicians logged in he has to see the notifications which is of his use only not all.


What can I do for this if anyone have idea please share with me I really require your help.

 

 

Thanks & Regards

      Prajakta


Data missing from sap PA30

$
0
0

Dear Experts,

PA30 datas are missing from sap PA30 after power failure.We cannot view anything in initial screen,missing all info types,EE group,Name etc as shown in the below screen.....

pa30.JPG

Career Shift from SAP Bid Manager to SAP Functional Consultant

$
0
0

Hi All,

 

Currently i am working with SAP Consulting Firm as Bid Manager, Over all I have 5 years of Experience all in to (SAP) Pre-Sales and Bid Management and worked for all Major Geographies (North America , APAC , EMEA (Europe, Middle East, Africa)  and have worked for customers in E&U, Automotive and Manufacturing also worked extensively on Government Space and now i am planning to start my next phase of career in SAP Delivery and willing to opt for SAP SD Module and mover towards SAP CRM. (I am Currently using SAP CRM for tracking and Managing our Sales activities as well)

 

I am Planning to complete my certification form a very reputed SAP Partner.

 

Please suggest me opportunities and Challenges i can have in this transition

 

Thank you in Advance.

 

Regards

Avinash Thakur

Blank records in Infoset Query

$
0
0

Hi,

 

Below is my scenario,

I am having a custom Infotype with Time constraint 2,

I have added this Infotype in the Infoset Query along with IT 0000 Pernr.

 

Now the data is as below:

 

IT 0000 start date - 01.01.2014 to 31.12.9999

 

Custom Infotype start date - 01.01.2012 to 31.12.9999

 

 

When I run the Infoset Query for the Employee with IT 0000 -PERNR and Custom Infotype,

I expect only one single row with different columns,

 

How ever I am getting two different rows, with first row having blank records for IT 0000 and value for Custom Infotype and

second line having IT 0000 value and again Custom Infotype values.

 

 

How do I get rid of the first blank line??

 

Please let me know if I am not clear on this, as I have tried to search entire SCN and could not find an answer for this behavior.

 

Thanks,

Madhukar

To Find name of the fields

$
0
0

Hi friends.,

I want to find the particular field table names.

But i don't know how to find the table name for it.

Please let me know how to find those table names please...

 

Purchasing group                  EBELP          NUMC     5     Item Number of Purchasing Document

Material group                       MATKL          CHAR     9     Material Group

Material Group Description     MATKL          CHAR     9     Material Group

Material                                MATNR          char       18    MATERIAL NUMBER

Material Description               MATKL          char        9     Material Group

Manufacturer Code                EMATN          char       18     Material Number Corresponding to Manufacturer Part Number

MPN                                    MFRPN          char       40     Manufacturer Part Number

Ext. Material Group               EXTWG          char       18     External Material Group

Material Division                    SPART           char       2         Division   

Total Issue Qty                      MB_BSTMG   Quan     13     Goods receipt quantity in order unit

Unit                                      LSMEH          UNIT      3     Unit of Measure From Delivery Note

 

 

Thank You...,

Secondary database connections in AMDP

$
0
0

Hi all,

 

I'm trying to write a simple method which will use a secondary database connection (new functionality available for AMDP - New in AS ABAP 7.4 SP8 - Use of Secondary Database Connection when calling AMDP Methods).

 

My sample code is as below:

 

CLASS Z_CL_JK_AMDP IMPLEMENTATION.

 

 

  METHOD classify.

    me->JK_CLASSIFY_AMDP(

      EXPORTING iv_client         = sy-mandt

                it_bp_id          = it_bp_id

                connection        = 'R/3*KJ1'

      IMPORTING et_classification = et_classification

       ).

 

 

  ENDMETHOD.

 

 

  METHOD JK_CLASSIFY_AMDP BY DATABASE PROCEDURE

                       FOR HDB

                       LANGUAGE SQLSCRIPT

                       USING snwd_bpa.

 

 

[some other code]

 

  call "KEANEJ"."JENINSERT"();

 

  ENDMETHOD.

ENDCLASS.

 

I have verified that the call to the procedure works on the default connection. The secondary database connection KJ1 exists, and the user with which it is associated has permissions on the relevant HANA parts to work (schema permissions, etc). However, the editor (in eclipse) shows an error that the procedure JENINSERT doesn't exist (which it does't on the ABAP system, but does on the DB to which the secondary connection exists).

 

Additionally, some testing on another ABAP system leads me to believe that there may be some sort of fallback functionality, that perhaps it defaults to the DEFAULT connection if it can't find the secondary connection? If I comment out the procedure call, for example, and run the method above, it runs correctly, although the call out to the KJ1 connection doesn't seem to happen. If I change the name of the connection to something that I am sure is not a connection, the method will still run, which is why I think it may be defaulting to the DEFAULT connection.

 

Has anyone used the secondary database connection functions? Have I gone wrong somewhere, perhaps in the format of my connection?

 

 

Thanks,

 

Jen

Viewing all 8608 articles
Browse latest View live


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