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

IBIN table is getting full after ML run

0
0

Hi Experts,

 

We are using Configurable materials and Super Bom in our SAP landscape.

I am facing problem of IBIN table getting full after ML run.

Can you help me to understand the probable causes and solutions please ?


Re: Problem with Message Mapping: Runtime Exception in PI

0
0

Mapping is fine in 1 case. I will explain to u my whole scenario.

Third-party is placing a xml file onto my folder. I have created a data type manually by copying their element names from xml. Is it an error-free way? I don't know.

The message type i created is fine when i test it manually in Operation mapping. But when in test mode i load my customer's xml file in it, then the same error comes: RUNTIME EXCEPTION.

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

Re: Template:Different Overhead cost for Different Material

0
0

Hi Pavan,

 

As I told you earlier that I`m using Template in addition to costing sheet... My costing sheet will be blank because all the calculations will be done in template, I need to write formula in template so that system should pick different rates for different materials.

 

I`m defining quantity in template and rates in KP26....how will I define rates in overhead key??

 

I agree on this point that I have to create different Overheads groups and Overhead Keys..but I have to maintain rates/quantity in template itself...

 

Regards

Nitisha

Re: Authorization by End user

0
0

Hi,

 

not after posting the document , while posting the A/R invoice i want to restrict the user to not able to delete .

Actually scenario is like this :- my end user are picking the items from pick list of Pick and Pack

and creating  manual A/R Invoice but while creating the same item A/R Invoice , he will not able to delete the row or change the Qty.and item . ....

Please help me out .



Thanks

Re: Problem with Message Mapping: Runtime Exception in PI

0
0

How do i verify if the xml file given by the customer is valid & not corrupt.? As it is only when i test in Operational mapping (by loading Customer's xml file in ESR) that i get a runtime exception.

Should I request their xsd document also? & create my data type by importing their xsd into ESR??

What is the correct way to go about it?

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

0
0

Try with field symbols ,

 

read table by assigning field symbol and map the value .

call PAL procedure with XSJS - infinite execution time - HIGH PRIORITY

0
0

Hello,

 

--High Priority--

 

We are experiencing a strange behaviour with our HANA instance. We are trying to build a simple linear regression model  to show demo on HANA PAL capabilities. For this we are following HANA academy and developer guides.

 

Situation:

 

We have built an SAPUI5 frontend where an user can simulate the prices and see the impact on sales and so on. So, for every value of purchase price changed on UI by the user will trigger an "XSJS" call to the backend to execute the procedures an send back the results from tables back to the UI.

 

Example Code:

 

Currently we have an "xsjs" script that keeps running forever. I tried to debug each line of the script and found out that the ".execute()" function never ends.The code is as follows:

function procExecute(proc) {
var body;
var conn;
$.response.status = $.net.http.OK;
try {
conn = $.db.getConnection();
var price = $.request.parameters.get('PURPRICE');
var pStmt = conn.prepareCall(proc);
pStmt.setFloat(1, parseFloat(price));
var rs = pStmt.execute();  //the execution never ends in here
 conn.commit(); 
 $.response.status = $.net.http.OK;
} catch (e) {
body = "Error generated";
$.response.status = $.net.http.BAD_REQUEST;
}
 conn.close();
}
procExecute('call "_SYS_BIC"."path1.path2/gen_proc_purchase_to_sales_pred_values_gen1"(?)');

Procedure to be called:

 

create procedure _SYS_BIC.gen_proc_purchase_to_sales_pred_values_gen1(  in PURPRICE DECIMAL(11,4)  ) language SQLSCRIPT sql security invoker
as
BEGIN
DECLARE PURPRICE1 DOUBLE := :PURPRICE ;
DECLARE id_val INTEGER;
EXEC 'SET SCHEMA APP_TEST';
EXEC 'DROP TABLE APP_TEST.PS_RGP_PREDICT';
EXEC 'DROP TABLE APP_TEST.PS_RGP_PREDICTED';
CREATE COLUMN TABLE APP_TEST.PS_RGP_PREDICT ("ID" INT,"PurchasePrice" DOUBLE);
CREATE COLUMN TABLE APP_TEST.PS_RGP_PREDICTED(ID INT,Fitted DOUBLE);
DELETE FROM APP_TEST.PS_RGP_PREDICT;
select max(ID)+1 into id_val from APP_TEST.V_PS_RG_DATA;
EXEC 'COMMIT';
INSERT INTO APP_TEST.PS_RGP_PREDICT values(:id_val,:PURPRICE1);
DELETE FROM APP_TEST.PS_RGP_PREDICTED;
PS_RGP_PREDICT_TBL = SELECT * FROM APP_TEST.PS_RGP_PREDICT;
PS_RG_COEFF_TBL = SELECT * FROM APP_TEST.PS_RG_COEFF;
PS_RG_PARAMS_TBL = SELECT * FROM APP_TEST.PS_RG_PARAMS;
CALL _SYS_AFL.PAL_PS_RGP1(:PS_RGP_PREDICT_TBL, :PS_RG_COEFF_TBL, :PS_RG_PARAMS_TBL, :lv_ps_rgp_predicted_tbl) WITH OVERVIEW;
INSERT INTO APP_TEST.PS_RGP_PREDICTED SELECT * FROM :lv_ps_rgp_predicted_tbl;
END;

Note: We have put initial part of the code onto other procedures for preparing data and generating statistic values (similar to what we HANA PAL developer guide).


When we execute the procedure with a value manually on SQL console, it runs fine and the predicted values are generated. But when called with XSJS, the execution fails. Once the execution fails, we are not able to execute the procedure via SQL console as well.


We do have several xsjs files that calls procedures for other applcaitions and they work absolutely fine.

Can any one suggest  some ideas to fix the above?

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.

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

Re: To Find name of the fields

0
0

Dear Sir.,

Thanks for your time..

I understand this thing..

 

 

Thanks a lot..

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

Re: Secondary database connections in AMDP

0
0

Hi Keane,

 

as far as I know, the AMDP only work with *service connections*. These service connections start with R/3* and only go _to the same database_ as the default connection.

 

If you want to use a connection to another database far away in space, you have to stick to good old CALL DATABASE PROCEDURE.

 

Best regards,

Kilian.

Re: To Find name of the fields

0
0

Hi,

 

Good to know , please close the thread while making the correct or help answer for other people reference.

 

Thanks,

phani.


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

0
0

Hi Jogeswara,

 

Thanks a ton....for the reply.. I got it

installation guide to install SAP applications ERP on Linux SUSE 11 SP3

0
0

Dear All ,

 

i need the installation guide to install SAP applications ( ERP ) on Linux SUSE 11 SP3 , i just install the linux O.S and need to start


below the sources which used to install SAP app. on windows , i need the sources which will use on Linux and the ins. guide


SWPM1.0

51042411_1_Kernal

SYBASE_ASE_15.7.0.041_RDBMS_for_BS_

51039102_13_Kernal

NEED help in Activity report

0
0

Hi Experts

 

I had created a qurrey based on Activity,,

 

but i need to get only the last activity done on each BP, i had linked the query below, pls edit and help me to solve this issue

 

when i run this query am getting only the last activity (1 document only),

 

i need all the last Activity created against Those Bp who has involved in Activity

 

 

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

 

select  OCLG.ClgCode AS 'ActivityNo',OCLG.CardCode as 'LeadCode',OCRD.CardName as 'Lead Name',OCLG.Notes as 'Activity Status',OCLG.Tel,OCLG.Details as 'Reason/Status',

OCPR.Name as 'Contact Person',OCLG.CntctDate,OCLO.Name,OCLG.DocNum as 'Document No',

OUSR.U_NAME as 'Activity Assigned To',

 

 

 

 

                       CASE OCLG.DocType

                       when (23)then 'Sales Quotation'

                     

    else 'Invalid Parameters' end AS 'Document Type (1)',

 

 

                       CASE oclg.Action

                       When ('C') then 'Phone Call'

                       when ('M') then 'Meeting'

                       when ('T')then 'Task'

                       when ('E')then 'Note'

                       when ('P')then 'Campaign'

                       when ('N')then 'Other'

 

 

else 'Invalid Parameters' end AS 'Activity Type (1)',

 

 

                       CASE OCLG.CntctType

                       when (-1) then 'General'

                       when (1) then 'Received E-mail'

                       when (3) then 'Follow Up: Phone'

                       when (2) then 'Follow Up: E-mail'

                       when (4) then 'Face to Face'

 

 

else 'Invalid Parameters' end AS 'Activity Type(2)',

 

 

                       CASE OCLG.Priority

                       WHEN (2) then 'High'

                       WHEN (0) then 'Low'

                       WHEN (1) then 'Normal' 

 

 

else 'Invalid Parameters' end AS 'Activity Priority'                     

 

 

from OCLG

 

 

inner join OCRD on OCLG.CardCode=OCRD.CardCode

inner join OCPR on OCRD.CntctPrsn=OCPR.Name

Left Outer join OCLO ON OCLG.Location = OCLO.Code

inner join OUSR on OCLG.AttendUser = OUSR.USERID

 

 

 

where ClgCode in(select top 1 max(ClgCode) from OCLG)

 

order by OCLG.ClgCode

 

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

 

 

Regards

Re: SAP DMS Hierarchy

0
0

Hi Adnan,

 

I understand your requirement as you like to control the authorization with respect to superior documents.One dept are not to use the superior document of other document.

 

But as per my understanding the auth object C_DRAW_TCD, C_DRAW_TCS will not control the superior document authorization you may require to check the superior document type and validate it BEFORE_SAVE. If your scenario is valid business scenario.

 

Another suggestion to control documents are using document browser and creating folders for each dept and control the folders with status as dept use C_DRAW_TCD, C_DRAW_TCS auth object . So when the users wants to create a document under its department they can create under there folders which can be controlled in standard authorization of DMS and more easy for user since the features are similar to windows browsers.

 

Please revert if you requre any more help on this.

 

Rgds,

Nayeem.

split some employees or DWSs that system doesn't compute some Ttypes for them

0
0

Hi Friends,

 

There are some PCRs for calculating Ttypes in our Positive Time Management system that have the same action for all of employees and DWSs,

but I want split some employees or DWSs that system doesn't compute some Ttypes for them.

 

How can I do it?

 

I appreciate your help in advance.

 

Best Regards,

Leila

Viewing all 8746 articles
Browse latest View live




Latest Images