Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Error ME 816: CL_API_MASTER_CONDITION_MM=>PROCESS

$
0
0

Hi guys,

 

I have a requirement to create contract from SOA using BAPI_CONTRACT_CREATE. At first, it does not have any issue on EHP5 but then after the upgrade to EHP7 it is giving an issue "Error ME 816: CL_API_MASTER_CONDITION_MM=>PROCESS". I've search sap note 2000517 and the correction is already implemented in the system but i'm still getting this error.

 

Any idea on how to resolve this? or is there any new input to avoid this error?

 

Thanks


Re: Create Web service using nwds

$
0
0

Dear arun,

i can't able to create the EJBproject

EJB.JPG

Re: Create Web service using nwds

$
0
0

Hi,

 

for the reason please check the .log file in the .metadata folder of your NWDS workspace.

 

Regards,Ervin

Re: Create Web service using nwds

$
0
0

Dear Ervin,

   at com.tssap.j2ee.ui.creation.internal.AbstractJ2eeProjectCreation$InnerRunnableWithProgress.run

 

im using sap portal 7.01 SP3

 

 

i taught this is SP level issue 

SOAP to IDoc scenario without BPM

$
0
0

Hi,

 

I have 2 scenario's

 

1) IDoc-SOAP - -response -- IDoc scenario -- (have found some links  to do it without BPM)

2) SOAP -- RFC request -- RFC response -- e-mail (no links found)

 

how can i achive both these scenario's without BPM. Currently i have these 2 scenarios in our 7.1 version with BPM. but our requirement is to migrate this scenario into 7.4 without BPM(No PO).

 

please help us to achive this scenario without BPM.

 

Your help is highly appreciated.

 

thanks,

Praveen

RFC function as a Web service - how to make wsdl type names unique

$
0
0

Hello,

 

We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.

 

There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).

The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.

 

So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.

 

It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.

 

Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?

 

Thanks.

Sandra

 

Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

Re: RFC function as a Web service - how to make wsdl type names unique

$
0
0

Hi Sandra,

If you want to analysis one web services paramaters, you must declare your wsdl to soapui. SOAPUI is showing all param for your web services. I insert one image for you bottom of the page.

Adsız.png

Re: RFC function as a Web service - how to make wsdl type names unique

$
0
0

Thanks.

But the question is more about the fact that we may name a type as we want, SAP does not check (VAGResult in the screen capture below, which becomes <complexType name="VAGResult"... in the WSDL). It may be the same name as a type in another Web Service, both types may have completely different structures. It's a problem from a "philosophical" perspective, as these types share the same namespace "urn:sap-com:document:sap:rfc:functions"; the client software doesn't accept that, we have to rename it; I'd like to know whether SAP proposes a way to prevent choosing a name if it's already chosen for another type of different content.
WS.PNG


Problem with Screen Painter

$
0
0

Hello everbody:

 

I cant dislapy the layout, only salys "  Graphical Layout Editor not available. Continue with alphanumeric editor. "

 

I already did:

 

1 Go to utilities -> setting -> Screen painter -> Check Graphical Layout Editor.

2 Desinstall sap gui 730 and delete the folder called sap in C: , reboot and install all the components, I clicked select all.

3 Verify If I have the file C:\Program Files (x86)\SAP\FrontEnd\SAPgui\gneux

4 go to sm59 -> tcp/ip connections -> eu_scrp_win32 -> check in start on frontend and change the specify time out to 100.

5 Verify If my friends can display the screen paint and they could.

 

I dont have more ideas, I am using windows 8 and sap gui 730

Re: Activation of Statndard Enterprise Services

$
0
0

You only have to use PI for an enterprise service if service category "Point-to-Point Communication Enabled" is "false".

There are a lot of enterprise services you can use without PI.

InventoryByLocationAndMaterialQueryResponse_In - unexpected response content

$
0
0

Hi,

 

I'm testing enterprise service InventoryByLocationAndMaterialQueryResponse_In from package SAP APPL.

 

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=C4BA00F8860E11DB2B24000F20DAC9EF&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=

 

At the ECC-System SAP APPL 6.05 SP8 is installed.

 

For given Location, LogisticsArea, MaterialID and BatchID I want to get the amounts of own stock and supplier consignemnt stock with unrestricted use.

For the supplier consignment stock the SupplierID is needed too.

 

There are 38276 pieces of unrestricted use supplier consignment stock at the logistics area.

 

The service seem's to work.

But I'm wondering at the extensive response.

 

In the response there is always a section "ExpectedInventoryChange" with ChangeTypeCode=3 and ChangeReasonCode=15.

 

Blocked/Restricted stock is sent 3 times for own stock and 3 times for consignment stock.

 

Has anyone an idea why blocked/restricted stock is sent 3 times in the response or why the "ExpectedInventoryChange" is sent?

 

Is this the right place at SCN for this question?

 

Request

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/APPL/Global2">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:InventoryByLocationAndMaterialQuery_sync>
         <InventorySelectionByLocationAndMaterial>
            <MainInventoryIndicators>
               <LogisticsAreaInventoryRequestedIndicator>true</LogisticsAreaInventoryRequestedIndicator>
            </MainInventoryIndicators>
            <SpecialInventoryIndicators>
               <SupplierConsignmentInventoryRequestedIndicator>true</SupplierConsignmentInventoryRequestedIndicator>
               <SeparateSupplierConsignmentInventoryBySupplierRequestedIndicator>true</SeparateSupplierConsignmentInventoryBySupplierRequestedIndicator>
            </SpecialInventoryIndicators>
            <Material>
               <ID>27295</ID>
               <BatchID>0003042687</BatchID>
            </Material>
            <Location>
               <InternalID>662L</InternalID>
               <LogisticsAreaID>LLES</LogisticsAreaID>
            </Location>
         </InventorySelectionByLocationAndMaterial>
         <ProcessingConditions>
            <UnlimitedQueryHitsIndicator>true</UnlimitedQueryHitsIndicator>
         </ProcessingConditions>
      </glob:InventoryByLocationAndMaterialQuery_sync>
   </soapenv:Body>
</soapenv:Envelope>

 

Response

 

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Header/>
   <SOAP:Body>
      <nm:InventoryByLocationAndMaterialResponse_sync xmlns:nm="http://sap.com/xi/APPL/Global2" xmlns:prx="urn:sap.com:proxy:S02:/1SAI/TASEDC559B282BDB746D3FE:702">
         <Inventory>
            <Location>
               <InternalID>662L</InternalID>
               <Description languageCode="de">Laage</Description>
            </Location>
            <LogisticsArea>
               <ID>LLES</ID>
               <Description languageCode="de">Endmontage SHI-2</Description>
            </LogisticsArea>
            <ExpectedInventoryChange>
               <ExpectedInventoryChangeTypeCode>3</ExpectedInventoryChangeTypeCode>
               <ExpectedInventoryChangeTypeName languageCode="de">Bestandsveränderung erw. eing. Material</ExpectedInventoryChangeTypeName>
               <ExpectedInventoryChangeReasonCode>15</ExpectedInventoryChangeReasonCode>
               <ExpectedInventoryChangeReasonName languageCode="de">In Umlagerung (von Lagerbereich zu Lagerbereich)</ExpectedInventoryChangeReasonName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
            </ExpectedInventoryChange>
            <Item>
               <InventoryUsabilityCode>1</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Frei verwendbar</InventoryUsabilityName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>3</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Qualitätsprüfung</InventoryUsabilityName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>2</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Gesperrt</InventoryUsabilityName>
               <AllRestrictedBatchesStockIncludedIndicator>true</AllRestrictedBatchesStockIncludedIndicator>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>2</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Gesperrt</InventoryUsabilityName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>2</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Gesperrt</InventoryUsabilityName>
               <ReturnsBlockedndicator>true</ReturnsBlockedndicator>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>1</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Frei verwendbar</InventoryUsabilityName>
               <InventorySpecialStockTypeCode>3</InventorySpecialStockTypeCode>
               <InventorySpecialStockTypeName languageCode="de">Konsignation Lief.</InventorySpecialStockTypeName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <SupplierParty>203621</SupplierParty>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">38276.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>3</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Qualitätsprüfung</InventoryUsabilityName>
               <InventorySpecialStockTypeCode>3</InventorySpecialStockTypeCode>
               <InventorySpecialStockTypeName languageCode="de">Konsignation Lief.</InventorySpecialStockTypeName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <SupplierParty>203621</SupplierParty>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>2</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Gesperrt</InventoryUsabilityName>
               <RestrictedUseIndicator>true</RestrictedUseIndicator>
               <InventorySpecialStockTypeCode>3</InventorySpecialStockTypeCode>
               <InventorySpecialStockTypeName languageCode="de">Konsignation Lief.</InventorySpecialStockTypeName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <SupplierParty>203621</SupplierParty>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
            <Item>
               <InventoryUsabilityCode>2</InventoryUsabilityCode>
               <InventoryUsabilityName languageCode="de">Gesperrt</InventoryUsabilityName>
               <InventorySpecialStockTypeCode>3</InventorySpecialStockTypeCode>
               <InventorySpecialStockTypeName languageCode="de">Konsignation Lief.</InventorySpecialStockTypeName>
               <MaterialID>27295</MaterialID>
               <MaterialDescription languageCode="de">RETAINER (CODE I)</MaterialDescription>
               <BatchID>0003042687</BatchID>
               <SupplierParty>203621</SupplierParty>
               <Quantity>
                  <InventoryQuantity unitCode="PCE">0.0</InventoryQuantity>
               </Quantity>
            </Item>
         </Inventory>
         <ProcessingConditions>
            <ReturnedQueryHitsNumberValue>1</ReturnedQueryHitsNumberValue>
            <MoreElementsAvailableIndicator>false</MoreElementsAvailableIndicator>
         </ProcessingConditions>
         <Log>
            <BusinessDocumentProcessingResultCode>3</BusinessDocumentProcessingResultCode>
         </Log>
      </nm:InventoryByLocationAndMaterialResponse_sync>
   </SOAP:Body>
</SOAP:Envelope>

Idempotency configuration in ECC

$
0
0

Hi,

 

I want to use enterprise service GoodsMovementERPCreateRequestConfirmation_In_V1 within a nonSAP application to post GoodsMovements at an ECC system.

 

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=…

 

The service works and I can do all movement types I want.

 

Now I want to have idempotency activated at the ECC system.

 

But nobody of the ECC guys knows, what has to be done for this.

 

What transaction has to be used?

 

Is there a default value for the time frame for which the system keeps responses for already processed service calls?

 

If not, I would propose 100 days, because this is the worst case, the nonSAP application could send a message again.

 

Are 100 days to large for the idempotency time frame of an ECC system?

 

Regards

Roland

Re: Settings for idempotent enterprise services in ECC

$
0
0

Is it transaction SPRO?

 

I don't have permission for SPRO in the ECC system.

 

Is there a path

SAP Reference IMG -> Cross-Application Components -> Processes and Tools for Enterprise Applications -> Enterprise Services -> Define Settings for Idempotent Services ?

 

Is there a "time frame" setting? If yes, is there a default value?

 

Are there any other settings for idempotency?

 

Regards

Roland

Create Web Service from existing WSDL

$
0
0

We need to provide a web service on our SAP machine. Usually to generate the web service I use the wizard from the ABAP workbench, as described in the SAP documentation. However, this time we already got a WSDL, which is what the consumer of the web service expects.

 

So what I need now is to load the existing WSDL in SAP, in order to generate a mock web service with the correct interface (parameters), incl. a function module for it. Then afterwards I would implement its logic.

 

Any ideas how to achieve this?

Generate Proxy from WSDL with multiple Files

$
0
0

I need to load a WSDL (to generate a web service consumer proxy). However, that WSDL is build from multiple files, both .wsdl and .xsd, not a single one. It seems the SAP wizard to generate the proxy does expect one single WSDL file however.

 

Is there a way in SAP to load a WSDL with multiple files, or do I need to (manually) flatten all these files into one single file?


Access SICF service without authentication

$
0
0


Hi Experts,

 

I have created a service in SICF. In the Logon Data tab, I have mentioned the procedure as "Required with Logon Data".

I have mentioned the service user in the logon data.

 

My requirement is to access this service from a different system without entering userid and password as I have already mentioned the same in the service.

 

But everytime I am trying to access the service it asks for the user id and password.

 

Am I missing something?

Re: Error in Consuming external WSDL in ABAP

$
0
0

Hi

Any luck trying to get this sorted ?

 

Thanks

How to activate Business Add-In (BAdI) for Enterprise Service

$
0
0

Hi,

 

I have connected enterprise service

 

 

from our ECC system to our PI 7.1 and did first tests.

 

I'm getting response to my requests from the ECC system.

But in the response, there are only the production order IDs for the requested work centre.

 

I suppose that the BAdI PORD_SE_PRODUCTIONORDERSWQR, mentioned in service description, has to be activated for the service in the ECC system, to get all the other optional production order elements, defined in the service response message type.

 

Am I right?

 

Which steps in the ECC backend are neccessary to activate a BAdI for an enterprise service?

 

Regards

Roland

Re: SAP consume external web service - HTTP Code 200 : OK

$
0
0

Hi Prabaharan!

have you get the answer? is it only content type problem? have you find some settings for it?

 

thanx

Re: SAP consume external web service - HTTP Code 200 : OK

$
0
0

Hi,

 

Are you doing integration with UPS?

 

The content type issue was not due to UPS side.  It was due to the way the port was configured in SAP.

 

Check this one first:

 

Once you created the proxy in SE80 and you set up your logical port in SOAMANAGER.  It should automatically generate your SM59 connection of type G (HTTP). The generated RFC name can be see in your port in SOAMANAGER as well.

 

Do a test connection of the same in SM59.   It should give you text/xml in the request and response.

 

Check this and get back.

 

Regards,

Praba

Viewing all 1056 articles
Browse latest View live


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