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

Re: Issue in Report in Production server

$
0
0

Hi Arivazhagan,

 

 

I already checked the version. its same. But I cant understand where is the actual problem ?


Re: Following many people in SCN community is wrong?

$
0
0

You could try to get into the Guinness Book of Records for clicking 16k times with a mouse for 50 consecutive days?

Re: BAPI_MATERIAL_GET_ALL - I DONT FIND FIELD "EKGRP"

$
0
0

Hi,

 

Check exporting parameter PLANTDATA.

 

Filed is PLANTDATA-PUR_GROUP.

 

Regards,

Prashant

Connection problem with Eclipse and SSO

$
0
0

Hi experts,

 

 

I'm developing ABAP in eclipse for some time without facing any problems.

Recently, our basis has changed the logon from User/Password to SingleSignOn (much to my enjoy). Unfortunately, since we're using SingleSignOn we can no longer connect to the systems using eclipse.

As soon as I try to connect, the following error occurs:

 

 

Exception Stack Trace:

 

com.sap.adt.communication.exceptions.CommunicationException: CPIC-CALL: 'CMRCV'

null

 

  at com.sap.adt.communication.internal.jco.dispatcher.JCoRequestDispatcher.handleJcoException(JCoRequestDispatcher.java:244)

  at com.sap.adt.communication.internal.jco.dispatcher.JCoRequestDispatcher.dispatch(JCoRequestDispatcher.java:169)

  at com.sap.adt.communication.internal.session.SystemSession.sendRequest(SystemSession.java:168)

  at com.sap.adt.communication.internal.resources.RestResource.invoke(RestResource.java:136)

  at com.sap.adt.communication.internal.resources.RestResource.get(RestResource.java:61)

  at com.sap.adt.compatibility.internal.graph.provider.GraphProviderFactory.getGraphProvider(GraphProviderFactory.java:52)

  at com.sap.adt.compatibility.base.internal.graph.provider.GraphAnalyzer.processExtensionPointGraphProviders(GraphAnalyzer.java:275)

  at com.sap.adt.compatibility.base.internal.graph.provider.GraphAnalyzer.isNodeAvailable(GraphAnalyzer.java:172)

  at com.sap.adt.compatibility.base.internal.graph.provider.GraphAnalyzerProxy.isNodeAvailable(GraphAnalyzerProxy.java:124)

  at com.sap.adt.compatibility.base.internal.graph.provider.GraphAnalyzerProxy.verifyIsLoaded(GraphAnalyzerProxy.java:89)

  at com.sap.adt.compatibility.base.internal.graph.provider.GraphAnalyzerProxy.getGraphAnalyzer(GraphAnalyzerProxy.java:58)

  at com.sap.adt.compatibility.base.internal.Activator.getCompatibilityGraphAnalyzer(Activator.java:92)

  at com.sap.adt.compatibility.internal.graph.analyzer.CompatibilityGraphAnalyzer.<init>(CompatibilityGraphAnalyzer.java:21)

  at com.sap.adt.compatibility.internal.graph.analyzer.CompatibilityGraphAnalyzer.<init>(CompatibilityGraphAnalyzer.java:17)

  at com.sap.adt.compatibility.internal.Activator.getCompatibilityGraphAnalyzer(Activator.java:152)

  at com.sap.adt.destinations.internal.logon.AdtLogonService$1.runInternal(AdtLogonService.java:183)

  at com.sap.adt.communication.util.CancelableBlockingJob$BlockingJob.run(CancelableBlockingJob.java:195)

  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Caused by: com.sap.conn.jco.JCoException: (107) JCO_ERROR_PROTOCOL: CPIC-CALL: 'CMRCV'

null

 

 

  at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:664)

  at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1362)

  at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:736)

  at com.sap.conn.jco.rt.RepositoryConnection.connect(RepositoryConnection.java:48)

  at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:107)

  at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:316)

  at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)

  at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:290)

  at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:885)

  at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:31)

  at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:941)

  at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:33)

  at com.sap.adt.communication.internal.jco.util.JCoFunctionBuilder.createFunctionBuilder(JCoFunctionBuilder.java:58)

  at com.sap.adt.communication.internal.jco.dispatcher.JCoRequestDispatcherRestProtocolStrategy.createFunctionBuilder(JCoRequestDispatcherRestProtocolStrategy.java:132)

  at com.sap.adt.communication.internal.jco.dispatcher.JCoRequestDispatcherRestProtocolStrategy.createRequestFunction(JCoRequestDispatcherRestProtocolStrategy.java:87)

  at com.sap.adt.communication.internal.jco.dispatcher.JCoFunctionExecutor$1.createServiceRequest(JCoFunctionExecutor.java:217)

  at com.sap.adt.communication.internal.jco.dispatcher.JCoFunctionExecutor.runInternal(JCoFunctionExecutor.java:112)

  ... 2 more

Caused by: RfcException: [null]

    message: CPIC-CALL: 'CMRCV'

null

 

 

    Return code: RFC_FAILURE(1)

    error group: 107

    key: RFC_ERROR_PROTOCOL

 

 

  at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:161)

  at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1329)

  ... 17 more

Caused by:

>RfcIoException:

    message: CPIC-CALL: 'CMRCV'

null

 

 

    Return code: RFCIO_ERROR_NO_DATA(8)<

  at com.sap.conn.rfc.engine.RfcIoOpenCntl.ab_rfclisten(RfcIoOpenCntl.java:1374)

  at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:149)

  ... 18 more

 

Session Data

 

 

As soon as I change the logon method in the SAP GUI to manual connection (Username/Password), I can connect to the systems using eclipse without any problems.

 

My searches in the SCN does not result in any relevant topics. So I hope that you can provide me some additional information to use the combination Eclipse and SSO.

 

 

Regards

Holger

Re: Crosstab + Look through data?

$
0
0

Hi,

 

sorry about the delay. I had to jump on a more important matter and then had a hard drive failure. I did test your idea and it does seem to work but there might be some complication to what we would like to do.  We have reports with several sub reports and in order to get this done we would need to add in a subreport like you said for each.  One of our reports has 15 sub reports so that's an extra 15 subreports that has to be added in just to let this work. It should work this way but it's a time consuming process.

 

I'm not understanding fully how your formula works so perhaps I can just ask this to clear up my question. My understanding is that I will have to put this in 15 times for the report I mentioned above.

 

So let's say this is the report:

 

Main Report:

 

Sub Report #1:

 

MeasureCode = Tonne (Decimal Places is 2)

MeasureCode = Dumps(Decimal Places is 2)

MeasureCode = km (Decimal Places is 0)

MeasureCode = Loads (Decimal Places is 3)

 

 

Sub Report #2:

 

MeasureCode = Tonne (Decimal Places is 2)

MeasureCode = Dumps(Decimal Places is 2)

MeasureCode = Meters (Decimal Places is 4)

MeasureCode = Loads (Decimal Places is 3)

MeasureCode = Weight(Decimal Places is 1)

 

 

So as you can see in sub report #2 we have Meters and not KM and also Weight. In order to get the data our program runs a SQL script for each sub report. So the above example will have these 2 files as the datasets:

 

SubReport1Script.xml

SubReport2Script.xml

 

So in both of the xml it will have the decimal value column.  So my question will be will this work if I do it like this:

 

 

Main Report:

 

Sub Report #0 (Decimal Values):

 

MeasureCode = All Measure Codes (All Decimal Places)

 

 

Sub Report #1:

 

MeasureCode = Tonne (Decimal Places is 2)

MeasureCode = Dumps(Decimal Places is 2)

MeasureCode = km (Decimal Places is 0)

MeasureCode = Loads (Decimal Places is 3)

 

 

 

Sub Report #2:

 

MeasureCode = Tonne (Decimal Places is 2)

MeasureCode = Dumps(Decimal Places is 2)

MeasureCode = Meters (Decimal Places is 4)

MeasureCode = Loads (Decimal Places is 3)

MeasureCode = Weight(Decimal Places is 1)

 

and my datasets will be:

 

SubReport0DecimalScript.xml

SubReport1Script.xml

SubReport2Script.xml

 

 

So basically I'll be adding in one sub report for All measure codes as well as their relevant decimal value's. Then subreport 1 can "match" the measure code with subreport 0 and get the decimal value. Same for subreport 2 and any additional sub reports.

 

Will this work?

Re: Webservice Issue

$
0
0

Hi Naveen,

 

Thanks for quick response.

Below is my requirement complete details. Here two systems one is “SAP Studio” and another one “SAP System”.

  1. SAP Studio data having individual ID for each record. This record we call as GUID for SAP Studio
  2. I created a custom button in SAP Studio
  • If any user select record in SAP Studio and click on custom button.
  • Then SAP Studio record data connected to SAP System, and store these values in SAP System (All fields are same in both parties), then generate new ID in SAP System for that record. We call it as GUID for SAP System.
  • New record GUID of SAP System, again reflect in SAP Studio record.

I’m new to SAP and SAP Studio so please help me out.

Thanks in Advance.

 

Thanks,

Manohar

Re: Using reset clearing in collective child

$
0
0

Hi Bodhisattwa,

 

Please find the response as follows-

 

(a) If you post the RT credit line item with clearing restriction 8, I think it will not roll-up to the parent. 

Only when the clearing restriction 8 is removed, the line-item is rolled up to the parent.

 

(b) Rather than enhancing the event, try to put the logic in the custom FM in the clearing step under the clearing variant.

 

Hope it helps....

 

Thanks,

Amlan

Re: Mapping material document with accounting document

$
0
0

Check in Table EKBE and BKPF.

 

When you pass the PO number in EKBE-EBELN,Get

 

Material Document : EKBE-BELNR

& Reference Doc.: EKBE-LFBNR.

 

Pass, EKBE-LFBNR to table BKPF-XBLNR to Get accounting documents

 

You can also create a quick query Join the tables EKBE and BKPF.


Re: User Level Risk Analysis

$
0
0

Hi Prakash,

 

You can definitely use simulation option to check for "What If" scenarios.

 

Creating a client in quality is not a bad idea either. The quality client has to be created on the target system side and you can perform client copy from production using profiles SAP_PROF and SAP_USER

 

All the GRC configuration has to be done to add this new client as target system in GRC.

 

Thanks.

 

 

Regards,

 

Muthu

Re: Removing XML Declarations from Sender Payload

$
0
0

Hi Faruk,

You can try with an XSL inside the adapter, but it looks weird to introduce in the body the XML declaration, if you try the Michals example, it doesn't introduce the XML declaration.

 

Regards.

Re: How to convert Payslip ( PE51) into smartform..

$
0
0

Hi Prachi


We have HR Forms in Std where we use for ESS. Ask ur ABAPer to prepare a driver pool program for that smart form which calls the Payslip the data & create a report where we can run the payslip to display with that custom smartform.


Just try & let me know...


Cheers

Pradyp


 



Save Image @SAPoffice

$
0
0

Hi everybody,

 

I'm trying to develop an application which runs on a mobile device. There you should be able to make a picture with the camera and save it in the SAPoffice. There should also be a link generated between the image and the SAP object. What I did so far was the following:

 

I implemented a function which is able to make a picture. This picture is going to be transformed into a BASE64 string. Afterwards I send this data to the SAP System. I create a SAP Object and now I want to store the image. First of all I created a XSTRING out of the BASE64 string then I converted the XSTRING into BINARY. And now I'm callling the FM 'SO_DOCUMENT_INSERT_API' but here I get an error. The coding looks like the following:

 

DATA:
         lf_folder TYPE soodk,
         lf_folderid TYPE soobjinfi1-object_id,
         lf_size TYPE i,
         lt_content TYPE TABLE OF solisti1,
         ls_document_data TYPE sodocchgi1,
         lf_doctype TYPE soodk-objtp,
         lf_docinfo TYPE sofolenti1,
         lt_words TYPE TABLE OF string,
         lf_token TYPE string,
         lf_att_key TYPE swotobjid-objkey,
         lf_picture TYPE xstring.
  

 

f_folder = 'FOL28000000000004'. "Just named it like this for test purposes
lf_folderid = lf_folder.

CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
     EXPORTING
         text   = is_meldung-pic1
     IMPORTING
         buffer = lf_picture.

CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
     EXPORTING
         buffer          = lf_picture
         append_to_table = 'X'
     IMPORTING
         output_length   = lf_size
     TABLES
         binary_tab      = lt_content.

ls_document_data-obj_name = 'ATTACHMENT'.
CONCATENATE 'image' af_qmnum INTO ls_document_data-obj_descr.
ls_document_data-obj_langu = sy-langu.
ls_document_data-doc_size = lf_size.
ls_document_data-no_change = 'X'.
lf_doctype = 'jpg'.

CALL FUNCTION 'SO_DOCUMENT_INSERT_API1'
     EXPORTING
         folder_id                  = lf_folderid
         document_data              = ls_document_data
         document_type              = lf_doctype
     IMPORTING
         document_info              = lf_docinfo
     TABLES
         object_content             = lt_content
         contents_hex               = lt_content
     EXCEPTIONS
         folder_not_exist           = 1
         document_type_not_exist    = 2
         operation_no_authorization = 3
         parameter_error            = 4
         x_error                    = 5
         enqueue_error              = 6
         OTHERS                     = 7.

     IF sy-subrc <> 0.
     ENDIF.

The exception that I get is 'CX_SY_DYN_CALL_ILLEGAL_TYPE'. I really hope someone can help me solving this problem... so looking forward to your answers.

 

Greetings

Stef

Re: Subcontracting + Third Party Sales?

$
0
0

Hi,

   1. Create a virtual storage loc in plant A.

   2. Transfer the goods to the virtual storage loc from plant B using any stock transfer method (301 or STO),

   3. If the BOM exists and you want subcontract scenario, create a subcontract PO to the vendor (plant B) with the main component. Issue the subcomponents from the virtual storage location to vendor (plant B) with respect to PO. Maintain "free" indicator in PO if its FOC.

   4. Do GR for the subcontract PO to the new virtual storage loc. Now, physically stock is in plant B, but virtually (in SAP), its in plant A, virtual storage loc.

   5. Maintain the correct shipping point (that is shipping point of plant B) to the virtual storage loc and plant combination.

   6. Create Sales order in plant A and deliver the goods from plant A, virtual storage loc. In this case, physically you will be delivering from plant B, but in SAP, it will be from plant A.

 

   Alternatively, refer the document, which may give you some idea: Third-Party Subcontracting using SC Vendor Concept

 

But may I know why you are transferring to plant A virtually only and follow complicated and odd business process?????

 

Regards,

AKPT

EJB(3.0) Session Bean error : javax.naming.NoInitialContextException

$
0
0

Hi Guru's

I need your help to fix my first EJB programme

 

I have created a DC project for EJB 3.0. (SampleClass & SampleClassRemote)

I have created DC Java project for calling the session class.

But I think the lookup string is wrong. When I checked "ejb-j2ee-engine.xml" not shown any JNDI property like old EJB project.

 

For the current attached project (EJBSample.zip http://scn.sap.com/#),I have given

EJB/EJBSample.zip at master · sreejithkolattu/EJB · GitHub

(can download as raw)

String lookupString = "ejb:/interfaceName=com.test.ejb01.SampleClass";

and getting error " javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial "

 

I have attached the two projects with this.If possible can you please check that code and correct me?

 

below is the project structure of my programme

EJB sample.png

 

Thanks in Advance:

Jacob

Re: My first Rest API UI in SAP NW IDM 7.2

$
0
0

Thanks Keith for quick response.

 

Yes. My bad We don't have REST V2 deployed. Ours is SAP NW IDM 7.2 SP7.

From section 'Deploying the REST Interface Version' i could see prerequisite as SAP NetWeaver Identity Management Identity Center 7.2 SP8 so the document may not applicable for us.

 

I had a quick look at SAP NetWeaver Identity Management Identity Cent... | SCN and will check for any info available on XSRF token missing  or authorization applicable for our environment.


Re: Populating maximum Line Items on restriction of number

$
0
0

Hi,

 

I think this can be acieved through Multi Message mapping. can you share if you any step-by step for this.

I have to send the data to ECC through proxy.

Thanks.

Re: Problem with exploring information space (how to mask measure in attached facets)

$
0
0

Hi Mani,

 

Thank for your reply. So you mean I can't mask the values showing attached in each of facet?

 

Regards,

Yee Mon

Hello,can any one send me the documents related to textile industry business process , businees blue print etc thanks .

$
0
0

Hello,can any one send me the documents related to textile industry business process , business blue print etc   thanks .

Re: regarding downloading output in a text file

$
0
0

Hi Rakesh,

 

it seems you have not searched the existing knowledge available in SDN.

Please search on SDN and you will get n number of threads for your need.

 

One important which I would like to share is What is difference between GUI_download and Open dataset

This one should help you in understanding the two different ways/needs of file downloading.

 

Hope this helps you

 

- harshad

Re: JDO applications SAP Netweaver 7.3

$
0
0

Hi Portal User,

 

try to not close the connection. You can comment the java code line.

 

Regards.

Viewing all 8509 articles
Browse latest View live


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