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

Re: Saving Workflow log to a Z table

$
0
0

Hi,

 

Can you please explain why you are writing the workflow log to a Z table? Why store the same information in two places - inconsistencies between them are inevitable.

 

I'm sure there'a good reason.. but I can't think of one right now.

 

cheers

Paul


Re: Event trigger in a simple SAP Business Workflow

$
0
0

Hi,

 

How are you raising the event?

Have you verified that the event is actually being raised (in transaction SWEL)

Have you set up the event linkage in the testing client?

Have you tried testing the event raising via SWUE.. etc

 

The correct FM to use is, of course, SAP_WAPI_CREATE_EVENT.

Followed by a Commit Work.

 

cheers

Paul

CHaRM 7.1 API / BAPI

$
0
0

Hi,

 

I am looking to automate creation of the charm process by trying to create charms en masse programmatically via a z-program in SolMan 7.1

 

  1. Are there any std BAPIs for charm creation ? Since charm is based on CRM can the std CRM BAPI CRM_ORDER_MAINTAIN be used ?
  2. How do we handle assignment of charm specific attributes like Projects if we use the CRM BAPIs

 

I am surprised that there does not seem to be easy programmatic access to the business layer of charm(atleast did not see any documentation around it).

 

Regards,

Aditya

Re: Create sales order based on PO (drop shipment)

$
0
0

Hi Kjetil,

 

If you are trying to add DROPship sales order, you have to add Sales Order first before adding PO.

 

Even though they are the same, B1's logic only support sales leading order in this case.

 

Thanks,

Gordon

Re: Relationship Mapping in SBO

Re: [Agentry 6.0.46] Glitch at user switch with unsynced transactions

$
0
0

This is a known issue with SAP development currently.  This can about when the there was changed to the database to encrypted the database.  You will need to open a ticket with SAP Support to get an update on the issue.

 

Stephen

Re: Error in Billing TPV - WPUK

$
0
0

Hello Jesus,

 

Can you please paste here your pricing procedure handling this posting?

 

The fix of this issue might exist there.

 

Regards,

Amit

Re: NUEVOS ARCHIVOS SPP

$
0
0

Hola Abraham yo tengo justo ese mismo problema los mismos errores que te marcan de versión y que no esta declarado el atributo de lugar de expedición cuando migre de la veresion 8.82 a la versión 9.0 de b1 en pl 14 que tenían de diferentes tus spp que no los encuentro.

 

agradezco de antemano tu ayuda.

saludos.


NullPointerException when running report

$
0
0

I am trying to run the eclipse sample report but am receiving errors:


 

root cause 

java.lang.NullPointerException
com.crystaldecisions12.reports.common.filemanagement.PmtFileManager.int(SourceFile:249)
com.crystaldecisions12.reports.dataengine.i.a(SourceFile:4640)
com.crystaldecisions12.reports.dataengine.i.a(SourceFile:3992)
com.crystaldecisions12.reports.dataengine.h.a(SourceFile:2027)
com.crystaldecisions12.reports.dataengine.h.try(SourceFile:1878)
com.crystaldecisions12.reports.reportdefinition.ReportDocument.a(SourceFile:2378)
com.crystaldecisions12.reports.reportdefinition.ReportDocument.a(SourceFile:1716)
com.crystaldecisions12.reports.common.Document.a(SourceFile:521)
com.crystaldecisions12.reports.common.Document.loadDocument(SourceFile:437)
com.crystaldecisions12.reports.reportdefinition.ReportDocument.loadDocument(SourceFile:1516)
com.crystaldecisions12.reports.reportdefinition.ReportDocument.LoadDocument(SourceFile:1479)
com.businessobjects.reports.reportconverter.v12.c.a(SourceFile:59)
com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:159)
com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:137)
com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:228)
com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
com.crystaldecisions.reports.sdk.ReportClientDocument.open(SourceFile:80)
org.apache.jsp.index_jsp._jspService(index_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)


My index.jsp:


<%@page import="

com.crystaldecisions.reports.sdk.</span>" %&gt;<br><br>&lt;%@<span style="color:#cc7832;font-weight:bold;">page </span>import="<span style="color:#6a8759;">com.crystaldecisions.sdk.occa.report.reportsource." %>

<%@page import="com.crystaldecisions.sdk.occa.report.lib.</span>" %&gt;<br><br><span style="color:#cc7832;font-weight:bold;">&lt;%<br></span><span style="color:#cc7832;font-weight:bold;"><br></span><span style="color:#cc7832;font-weight:bold;">  </span><span style="color:#cc7832;">Object reportSource = session.getAttribute(</span><span style="color:#6a8759;">"reportSource"</span><span style="color:#cc7832;">);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  if(reportSource == null)<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  {<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">    ReportClientDocument reportClientDoc = new ReportClientDocument();<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">    String report = </span><span style="color:#6a8759;">"/Sample Reports/Customer Profile Report.rpt"</span><span style="color:#cc7832;">;<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">    reportClientDoc.open(report, </span><span style="color:#6897bb;">0</span><span style="color:#cc7832;">);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">    reportSource = reportClientDoc.getReportSource();<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">    session.setAttribute(</span><span style="color:#6a8759;">"reportSource"</span><span style="color:#cc7832;">, reportSource);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  }<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  CrystalReportViewer viewer = new CrystalReportViewer();<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  viewer.setReportSource(reportSource);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  viewer.setOwnPage(true);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;">  viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);<br></span><span style="color:#cc7832;"><br></span><span style="color:#cc7832;font-weight:bold;">%&gt;<br></span>&lt;%@<span style="color:#cc7832;font-weight:bold;">page </span>import="<span style="color:#6a8759;">com.crystaldecisions.report.web.viewer."%>

 

Re: Issue with listing of articles

$
0
0

Hello,

 

Change the Listing Procedure to B1. If you are not using assortment grade, you need to change the listing procedure B1 to bypass assortment grade check. Once the correct listing procedure is in place, goto MM42 and listing view. Assign pricing procedure B2 for Store and DC. Save your article.

 

Now listing can be executed using several method:

 

  • If you use assortment (which is created in specific distribution chain using WSOA1), assign your MC and the site in the assortment. After this run WSM8 for this MC and assortment, it will create listing condition.
  • If you do not want to use MC level listing and want to go at article level, use assortment module (WSO1) and assign your requirement articles. Now assign this module to an assortment (WSO5) and then run WSM8 again to create listing condition.
  • You can use WSP6 transaction to execute listing for an article and assortment.
  • You can use WSM3 to perform individual listing of articles and site. Here if you do not have assortment, you can select Local Assortment check box to list an article to site's local assortment.

 

Let us know if you need more info.

 

Regards,

Amit

Re: NullPointerException when running report

$
0
0

Sorry, editor was acting up...here is my index.jsp:

 

<%@page import="com.crystaldecisions.reports.sdk.*" %>

 

<%@page import="com.crystaldecisions.sdk.occa.report.reportsource.*" %>

 

<%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>

 

<%

  Object reportSource = session.getAttribute("reportSource");

  if(reportSource == null)

  {

  ReportClientDocument reportClientDoc = new ReportClientDocument();

  String report = "/Sample Reports/Customer Profile Report.rpt";

  reportClientDoc.open(report, 0);

  reportSource = reportClientDoc.getReportSource();

  session.setAttribute("reportSource", reportSource);

  }

  CrystalReportViewer viewer = new CrystalReportViewer();

  viewer.setReportSource(reportSource);

  viewer.setOwnPage(true);

  viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);

%>
<%@page import="com.crystaldecisions.report.web.viewer.*"%>

 

Above the null pointer exception I get this:

javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException---- Error code:-2147467259 Error code name:failed

 

I don't get any errors in the debugger.

 

Also, when I try to run the report directly as a jsp, i get returned a page with a grey table that says "Error" but no actual error. Again, no errors in the bugger, just a blank error page.

 

This seems to run fine when running through Eclipse. However I am using Intellij IDEA now, and I have tried to migrate the eclipse settings over as best I could so perhaps something is acting up there, but I have no idea where to look.

Re: I need a small query.

$
0
0

Hi,

 

FMS may only run against current form. The Tax Code is not in the same form. That is not possible unless you look up saved value from existing table.

 

Thanks,

Gordon

Re: ADS functionality - not able to generate PDF

$
0
0

What error you are getting while testing program FP_PDF_ERRORMESSAGE_TEST .

 

Try testing the same on diffrent workstations. Sometimes this kind of issues occurs due to uncompatible versions of adobe readers installed on local systems.

Pass parameter from one session to another in Personas 2.0

$
0
0

Hi,

 

We have made some entries in ME21N transaction and have launched a report ME2L with using script without saving our data on ME21N. While we launch ME21N from ME2L report all previous entries which were entered are lost and new ME21N screen is open.  As per our requirement we need to be back to ME21N screen to the point where we had left before ME2L report launch.

Please find scrren shot ME21N and script for launch of ME2L report.

 

With Regards

Vishal

Re: Target repository is not showing up for Export Jobs DS4.2

$
0
0

Arujun,

 

Created User qas_User

Assigned Group Administrators

From DataServices selected ds_eu_qas Repo, from security add Principles added newly created user qas_user. Screen shot below.

 

Logged into DS Designer export Job to production. I and not seeing ds_eu_prd but, I am seeing other two..I did above in Qas CMC..Should I do anything in PRD CMC ?

 

add user.PNG


Re: Where I can find the alert inbox in the Pi only Java (7.4)?

Re: BAI2 current day files

$
0
0

Raj,

 

 

You should not post to GL using the current day bank statement. Current day bank statement should be used only for cash management purposes.

 

Having said that you can upload current day bank statement multiple times in a day as the time on the BAI file will be different. You can ask your bank to send only 'delta' transactions so that there will be no duplicate transactions reported.

Re: What are the 2 data archetypes used in SAP APO ?

$
0
0

Vinod,

Where I can found about these kind of information...

Try the Computer Science library at your local University.

 

Best Regards,

DB49

Re: Cross Plant goods issue restriction for work orders in MIGO & MB1A with reference to WORK ORDER

$
0
0

Well as Juren mentioned, you need to limit User1 to plant A. Even the snap you posted depicts that. Don't give plant B access to user1

Explain and show the SAP set up that will support these business requirements

$
0
0

You are selling a product that shows a clear growth trend in its forecasted sales but you need to procure a product from a plant that is part of your organization: this product is manufactured in lots of more than two weeks demand coverage at a time in the "make" plant it has to be transported (send to you) in containers no greater than 800 units and on smaller than 400 units. you also need to make sure that the making plant is able to identify one special container per shipment only, as a material requirement every time they make a production run for your product.

you also need to put together a production plan for the next year using you plant "Sales and Operations Planning (SOP)" management process to incorporate in your production plan a target of 7days of inventory coverage at the end of the end of each month.

Viewing all 8667 articles
Browse latest View live




Latest Images